build(deps): bump @astrojs/sitemap from 3.6.0 to 3.7.0 #120

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/astrojs/sitemap-3.7.0 into main
dependabot[bot] commented 2026-02-01 20:06:12 +01:00 (Migrated from github.com)

Bumps @astrojs/sitemap from 3.6.0 to 3.7.0.

Release notes

Sourced from @​astrojs/sitemap's releases.

@​astrojs/sitemap@​3.7.0

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`
    },
    

    }), ],

@​astrojs/sitemap@​3.6.1

Patch Changes

@​astrojs/sitemap@​3.6.1-beta.2

Patch Changes

@​astrojs/sitemap@​3.6.1-alpha.1

Patch Changes

... (truncated)

Changelog

Sourced from @​astrojs/sitemap's changelog.

3.7.0

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`
    },
    

    }), ],

3.6.1

Patch Changes

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​astrojs/sitemap since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) from 3.6.0 to 3.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@​astrojs/sitemap</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.7.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14471">#14471</a> <a href="https://github.com/withastro/astro/commit/42963732165959795067e11486f10fa2ac5a48cd"><code>4296373</code></a> Thanks <a href="https://github.com/Slackluky"><code>@​Slackluky</code></a>! - 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 <code>chunks</code> 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.</p> <pre><code>integrations: [ sitemap({ serialize(item) { th return item }, chunks: { // this property will be treated last on the configuration 'blog': (item) =&gt; { // 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) =&gt; { if (/glossary/.test(item.url)) { item.changefreq = 'weekly'; item.lastmod = new Date(); item.priority = 0.7; return item; } } <pre><code> // the rest of the path will be stored in `sitemap-pages.0.xml` }, </code></pre> <p>}), ],</p> <p></code></pre></p> </li> </ul> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.6.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/15033">#15033</a> <a href="https://github.com/withastro/astro/commit/dd067798c02bff4968b23ce92670685a4e99ccdc"><code>dd06779</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Updates how routes are retrieved to avoid relying on a deprecated API</li> </ul> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.6.1-beta.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/15187">#15187</a> <a href="https://github.com/withastro/astro/commit/bbb5811eb801a42dc091bb09ea19d6cde3033795"><code>bbb5811</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Update to Astro 6 beta</li> </ul> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.6.1-alpha.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/15036">#15036</a> <a href="https://github.com/withastro/astro/commit/f125a73ebf395d81bf44ccfce4af63a518f6f724"><code>f125a73</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Updates how routes are retrieved to avoid relying on a deprecated API</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md"><code>@​astrojs/sitemap</code>'s changelog</a>.</em></p> <blockquote> <h2>3.7.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14471">#14471</a> <a href="https://github.com/withastro/astro/commit/42963732165959795067e11486f10fa2ac5a48cd"><code>4296373</code></a> Thanks <a href="https://github.com/Slackluky"><code>@​Slackluky</code></a>! - 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 <code>chunks</code> 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.</p> <pre><code>integrations: [ sitemap({ serialize(item) { th return item }, chunks: { // this property will be treated last on the configuration 'blog': (item) =&gt; { // 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) =&gt; { if (/glossary/.test(item.url)) { item.changefreq = 'weekly'; item.lastmod = new Date(); item.priority = 0.7; return item; } } <pre><code> // the rest of the path will be stored in `sitemap-pages.0.xml` }, </code></pre> <p>}), ],</p> <p></code></pre></p> </li> </ul> <h2>3.6.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/15033">#15033</a> <a href="https://github.com/withastro/astro/commit/dd067798c02bff4968b23ce92670685a4e99ccdc"><code>dd06779</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Updates how routes are retrieved to avoid relying on a deprecated API</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/44f4e78259d8787d04186c11e854d3e224961241"><code>44f4e78</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/15188">#15188</a>)</li> <li><a href="https://github.com/withastro/astro/commit/220b979428d4ac55f45ff1ededfcbf0bc66775de"><code>220b979</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/42963732165959795067e11486f10fa2ac5a48cd"><code>4296373</code></a> Feature(sitemap): named files chunking strategy (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/14471">#14471</a>)</li> <li><a href="https://github.com/withastro/astro/commit/e73deb88727cfcb12d9b60808a39893413c41ec2"><code>e73deb8</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/15031">#15031</a>)</li> <li><a href="https://github.com/withastro/astro/commit/dd067798c02bff4968b23ce92670685a4e99ccdc"><code>dd06779</code></a> chore(sitemap): migrate to astro:routes:resolved (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/15033">#15033</a>)</li> <li><a href="https://github.com/withastro/astro/commit/3805e65dbab47ef5db2561f01692febb85da5024"><code>3805e65</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/14707">#14707</a>)</li> <li>See full diff in <a href="https://github.com/withastro/astro/commits/@astrojs/sitemap@3.7.0/packages/integrations/sitemap">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@​astrojs/sitemap</code> since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@astrojs/sitemap&package-manager=npm_and_yarn&previous-version=3.6.0&new-version=3.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/astrojs/sitemap-3.7.0:dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git switch dependabot/npm_and_yarn/astrojs/sitemap-3.7.0

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git switch dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git rebase main
git switch main
git merge --ff-only dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git switch dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git rebase main
git switch main
git merge --no-ff dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git switch main
git merge --squash dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git switch main
git merge --ff-only dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git switch main
git merge dependabot/npm_and_yarn/astrojs/sitemap-3.7.0
git push origin main
Sign in to join this conversation.
No description provided.