Packages

@astrojs/sitemap

3.7.6 · 18 Nov 2026MIT6.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @astrojs/sitemap From 3.3.1 to 3.7.6

14 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 3.3.1yours
  2. 13 releases
  3. 3.7.6target
0
changes to make
0
advisories fixed
5
new
10
fixes

Release by release

  1. 3.7.6

    18 Nov 20261 fix
    • Fixed

      Fixes i18n locale matching for pages whose first path segment is named like an Object.prototype property, such as /constructor/ or /toString/. These were treated as locales, producing invalid alternate links. Also rejects an i18n defaultLocale that is only an inherited object property rather than a configured locale.

  2. 3.7.5

    13 Nov 20261 new
    • New

      Speeds up sitemap chunk generation for large sites by tracking assigned URLs with a Set.

  3. 3.7.4

    31 Aug 20261 fix
    • Fixed

      Fixes the sitemap outputting a URL with an empty path for the homepage (e.g. https://example.com instead of https://example.com/) when trailingSlash is set to "never" or build.format is set to "file"

  4. 3.7.3

    26 May 20261 fix
    • Fixed

      Improves <lastmod> accuracy in the sitemap index. Each <sitemap> entry in sitemap-index.xml is now stamped with the most recent lastmod of the URLs in the child sitemap it points to, instead of repeating a single global date on every entry. When a child sitemap has no per-URL lastmod, the entry falls back to the lastmod option as before. This gives search engines a per-file freshness signal, so they can tell which child sitemaps actually changed without refetching all of them.

  5. 3.7.2

    26 Mar 20261 fix
    • Fixed

      Fixes i18n fallback pages missing from the generated sitemap when using fallbackType: 'rewrite'.

  6. 3.7.1

    10 Mar 20263 fixes
    • Fixed

      Update to Astro 6 beta

    • Fixed

      Updates usage of zod to own dependency rather than relying on astro/zod

    • Fixed

      Updates how routes are retrieved to avoid relying on a deprecated API

  7. 3.7.0

    16 Jan 20261 new
    • New

      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.

  8. 3.6.1nothing new or fixed in the note

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.