From 7b3eedface0e08402391f414509ad793863e8808 Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Wed, 17 Sep 2025 12:29:02 +0200 Subject: [PATCH] =?UTF-8?q?fix(website):=20update=20@astrojs/sitemap=203.5?= =?UTF-8?q?.1=20=E2=86=92=203.6.0=20(#39648)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap)) | [`3.5.1` -> `3.6.0`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.5.1/3.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fsitemap/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fsitemap/3.5.1/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes
withastro/astro (@​astrojs/sitemap) ### [`v3.6.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#360) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/sitemap@3.5.1...@astrojs/sitemap@3.6.0) ##### Minor Changes - [#​14285](https://redirect.github.com/withastro/astro/pull/14285) [`bedc31b`](https://redirect.github.com/withastro/astro/commit/bedc31ba7318dd89545503eaeeac4e0615843834) Thanks [@​jdcolombo](https://redirect.github.com/jdcolombo)! - Adds a new configuration option `namespaces` for more control over XML namespaces used in sitemap generation Excluding unused namespaces can help create cleaner, more focused sitemaps that are faster for search engines to parse and use less bandwidth. If your site doesn't have news content, videos, or multiple languages, you can exclude those namespaces to reduce XML bloat. The `namespaces` option allows you to configure `news`, `xhtml`, `image`, and `video` namespaces independently. All namespaces are enabled by default for backward compatibility and no change to existing projects is necessary. But now, you can choose to streamline your XML and avoid unnecessary code. For example, to exclude the video namespace from your sitemap, set `video: false` in your configuration: ``` // astro.config.mjs import { sitemap } from '@​astrojs/sitemap'; export default { integrations: [ sitemap({ namespaces: { video: false, // other namespaces remain enabled by default } }) ] }; ``` The generated XML will not include the `xmlns:video` namespace: ``` ```
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). --- website/package-lock.json | 10 +++++----- website/package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index e682decc174..66dff0fc11f 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1", "dependencies": { "@astrojs/check": "0.9.4", - "@astrojs/sitemap": "3.5.1", + "@astrojs/sitemap": "3.6.0", "@astrojs/starlight": "0.31.1", "@astrojs/starlight-tailwind": "3.0.1", "@astrojs/tailwind": "6.0.2", @@ -190,14 +190,14 @@ } }, "node_modules/@astrojs/sitemap": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.5.1.tgz", - "integrity": "sha512-uX5z52GLtQTgOe8r3jeGmFRYrFe52mdpLYJzqjvL1cdy5Kg3MLOZEvaZ/OCH0fSq0t7e50uJQ6oBMZG0ffszBg==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.6.0.tgz", + "integrity": "sha512-4aHkvcOZBWJigRmMIAJwRQXBS+ayoP5z40OklTXYXhUDhwusz+DyDl+nSshY6y9DvkVEavwNcFO8FD81iGhXjg==", "license": "MIT", "dependencies": { "sitemap": "^8.0.0", "stream-replace-string": "^2.0.0", - "zod": "^3.24.4" + "zod": "^3.25.76" } }, "node_modules/@astrojs/starlight": { diff --git a/website/package.json b/website/package.json index c0c39f02301..4968f185dec 100644 --- a/website/package.json +++ b/website/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@astrojs/check": "0.9.4", - "@astrojs/sitemap": "3.5.1", + "@astrojs/sitemap": "3.6.0", "@astrojs/starlight": "0.31.1", "@astrojs/starlight-tailwind": "3.0.1", "@astrojs/tailwind": "6.0.2",