Astro: @astrojs/[email protected] Release

Release date:
January 16, 2026
Previous version:
@astrojs/[email protected] (released January 7, 2026)
Magnitude:
909 Diff Delta
Contributors:
5 total committers
Data confidence:
Commits:

20 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored January 14, 2026
Authored January 15, 2026
Authored January 15, 2026
Authored January 8, 2026
Authored January 16, 2026
Authored January 13, 2026
Authored January 14, 2026
Authored January 9, 2026
Authored January 15, 2026
Authored January 13, 2026
Authored January 7, 2026

Top Contributors in @astrojs/[email protected]

ematipico
Princesseuh
btea
ArmandPhilippot
jcayzac

Directory Browser for @astrojs/[email protected]

All files are compared to previous version, @astrojs/[email protected]. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

Minor Changes

  • #14471 4296373 Thanks @Slackluky! - Adds the ability to split sitemap generation into chunks based on customizable logic. This allows for better management of large sitemaps and improved performance. The new chunks option in the sitemap configuration allows users to define functions that categorize sitemap items into different chunks. Each chunk is then written to a separate sitemap file.

    integrations: [
      sitemap({
        serialize(item) { th
          return item
        },
        chunks: { // this property will be treated last on the configuration
          'blog': (item) => {  // will produce a sitemap file with `blog` name (sitemap-blog-0.xml)
            if (/blog/.test(item.url)) { // filter path that will be included in this specific sitemap file
              item.changefreq = 'weekly';
              item.lastmod = new Date();
              item.priority = 0.9; // define specific properties for this filtered path
              return item;
            }
          },
          'glossary': (item) => {
            if (/glossary/.test(item.url)) {
              item.changefreq = 'weekly';
              item.lastmod = new Date();
              item.priority = 0.7;
              return item;
            }
          }
    
          // the rest of the path will be stored in `sitemap-pages.0.xml`
        },
      }),
    ],