From b0535ca0a98846b46a3ab16c52c4d6adda7cfa10 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Tue, 28 Jul 2026 09:47:09 -0700 Subject: [PATCH 1/3] [ci] release (#17528) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/khaki-peaches-appear.md | 5 - .changeset/logger-runtime-loading.md | 5 - .changeset/metal-lions-smell.md | 5 - .changeset/soft-things-deny.md | 5 - .changeset/strict-socks-decide.md | 7 - examples/advanced-routing/package.json | 4 +- examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 4 +- examples/framework-alpine/package.json | 2 +- examples/framework-multiple/package.json | 6 +- examples/framework-preact/package.json | 4 +- examples/framework-react/package.json | 4 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 4 +- examples/integration/package.json | 2 +- examples/minimal/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 4 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/with-markdoc/package.json | 4 +- examples/with-mdx/package.json | 6 +- examples/with-nanostores/package.json | 4 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 19 ++ packages/astro/package.json | 2 +- packages/integrations/cloudflare/CHANGELOG.md | 8 + packages/integrations/cloudflare/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 7 + packages/integrations/markdoc/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 8 + packages/integrations/mdx/package.json | 2 +- packages/integrations/netlify/CHANGELOG.md | 8 + packages/integrations/netlify/package.json | 2 +- packages/integrations/node/CHANGELOG.md | 7 + packages/integrations/node/package.json | 2 +- packages/integrations/preact/CHANGELOG.md | 7 + packages/integrations/preact/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 7 + packages/integrations/react/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 7 + packages/integrations/vercel/package.json | 2 +- packages/internal-helpers/CHANGELOG.md | 6 + packages/internal-helpers/package.json | 2 +- packages/language-tools/vscode/CHANGELOG.md | 6 + packages/language-tools/vscode/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 7 + packages/markdown/remark/package.json | 2 +- packages/markdown/satteri/CHANGELOG.md | 7 + packages/markdown/satteri/package.json | 2 +- pnpm-lock.yaml | 176 +++++++++--------- 56 files changed, 243 insertions(+), 166 deletions(-) delete mode 100644 .changeset/khaki-peaches-appear.md delete mode 100644 .changeset/logger-runtime-loading.md delete mode 100644 .changeset/metal-lions-smell.md delete mode 100644 .changeset/soft-things-deny.md delete mode 100644 .changeset/strict-socks-decide.md diff --git a/.changeset/khaki-peaches-appear.md b/.changeset/khaki-peaches-appear.md deleted file mode 100644 index abb8f9a020eb..000000000000 --- a/.changeset/khaki-peaches-appear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where an error while finalizing a request could prevent a response from being sent diff --git a/.changeset/logger-runtime-loading.md b/.changeset/logger-runtime-loading.md deleted file mode 100644 index 2a1221a8ed7c..000000000000 --- a/.changeset/logger-runtime-loading.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a case where a custom `logger.entrypoint` failed to load at runtime in a built server bundle. diff --git a/.changeset/metal-lions-smell.md b/.changeset/metal-lions-smell.md deleted file mode 100644 index 06adf71c65cd..000000000000 --- a/.changeset/metal-lions-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes action path resolution so that properties of a resolved action function are not treated as routable path segments diff --git a/.changeset/soft-things-deny.md b/.changeset/soft-things-deny.md deleted file mode 100644 index f9b1b397eaa4..000000000000 --- a/.changeset/soft-things-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where the custom 404 (or 500) page was not rendered when a middleware rewrite targeted a route that returned an empty 404/500 response, and a blank page was returned instead diff --git a/.changeset/strict-socks-decide.md b/.changeset/strict-socks-decide.md deleted file mode 100644 index 8b990b8d3f0e..000000000000 --- a/.changeset/strict-socks-decide.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch -'@astrojs/internal-helpers': patch -'astro-vscode': patch ---- - -Updates dependency `js-yaml` to v4.3.0 diff --git a/examples/advanced-routing/package.json b/examples/advanced-routing/package.json index 1ded7002196f..bfbd480ca15f 100644 --- a/examples/advanced-routing/package.json +++ b/examples/advanced-routing/package.json @@ -13,8 +13,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^11.0.2", - "astro": "^7.1.4", + "@astrojs/node": "^11.0.3", + "astro": "^7.1.5", "hono": "^4.12.14" } } diff --git a/examples/basics/package.json b/examples/basics/package.json index 03b4ba4cd7e3..c00383776974 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.1.4" + "astro": "^7.1.5" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 7ee48e2479b4..168b28aef0ca 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^7.0.4", + "@astrojs/mdx": "^7.0.5", "@astrojs/rss": "^4.0.19", "@astrojs/sitemap": "^3.7.3", - "astro": "^7.1.4", + "astro": "^7.1.5", "sharp": "^0.35.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index e20c18d72d47..d0c5c234124a 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^7.1.4" + "astro": "^7.1.5" }, "peerDependencies": { "astro": "^5.0.0 || ^6.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index f7cb30d18624..cf1811a0aaf2 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -14,8 +14,8 @@ "test": "vitest run" }, "dependencies": { - "@astrojs/react": "^6.0.1", - "astro": "^7.1.4", + "@astrojs/react": "^6.0.2", + "astro": "^7.1.5", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^4.1.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 871ce66fa808..309a6c27e6d0 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -16,6 +16,6 @@ "@astrojs/alpinejs": "^1.0.0", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.15.8", - "astro": "^7.1.4" + "astro": "^7.1.5" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 466cdb2e6fa6..644286a6ea00 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -13,14 +13,14 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^6.0.1", - "@astrojs/react": "^6.0.1", + "@astrojs/preact": "^6.0.2", + "@astrojs/react": "^6.0.2", "@astrojs/solid-js": "^7.0.1", "@astrojs/svelte": "^9.0.1", "@astrojs/vue": "^7.0.1", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^7.1.4", + "astro": "^7.1.5", "preact": "^10.28.4", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 9e56c8484f22..a95972b48c77 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^6.0.1", + "@astrojs/preact": "^6.0.2", "@preact/signals": "^2.8.1", - "astro": "^7.1.4", + "astro": "^7.1.5", "preact": "^10.28.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index b06c4f8bdaae..33c481fa0510 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^6.0.1", + "@astrojs/react": "^6.0.2", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^7.1.4", + "astro": "^7.1.5", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index bafecde9f7c4..c2aaf112e3c7 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/solid-js": "^7.0.1", - "astro": "^7.1.4", + "astro": "^7.1.5", "solid-js": "^1.9.11" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 73767bd62ad9..1163ce6d29e0 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/svelte": "^9.0.1", - "astro": "^7.1.4", + "astro": "^7.1.5", "svelte": "^5.53.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index c8a8c9ba54b2..d61ee41175c1 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/vue": "^7.0.1", - "astro": "^7.1.4", + "astro": "^7.1.5", "vue": "^3.5.29" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index e20b0cb739eb..a78107cc8ac0 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -13,7 +13,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^11.0.2", - "astro": "^7.1.4" + "@astrojs/node": "^11.0.3", + "astro": "^7.1.5" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index ab7f01102989..a4362f38e23f 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^7.1.4" + "astro": "^7.1.5" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 2ddf8c765fad..bc417f83943b 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.1.4" + "astro": "^7.1.5" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index a0bdcd703dcf..42a6fe397b5b 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.1.4" + "astro": "^7.1.5" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index f57cb540083a..e76e33b61b55 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,9 +14,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^11.0.2", + "@astrojs/node": "^11.0.3", "@astrojs/svelte": "^9.0.1", - "astro": "^7.1.4", + "astro": "^7.1.5", "svelte": "^5.53.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 0f5c0424189c..17fb972fa0ae 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.1.4", + "astro": "^7.1.5", "sass": "^1.97.3", "sharp": "^0.35.0" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 7267b00b2916..3fef2cdec13d 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/node": "^22.10.6", - "astro": "^7.1.4" + "astro": "^7.1.5" }, "engines": { "node": ">=22.12.0" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 0ade31b72e36..a856a1f59bd6 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -13,7 +13,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^2.0.5", - "astro": "^7.1.4" + "@astrojs/markdoc": "^2.0.6", + "astro": "^7.1.5" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index cdc4ffc757dd..eb1a9abd91cb 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^7.0.4", - "@astrojs/preact": "^6.0.1", - "astro": "^7.1.4", + "@astrojs/mdx": "^7.0.5", + "@astrojs/preact": "^6.0.2", + "astro": "^7.1.5", "preact": "^10.28.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index d875b802f5c7..b1cabb9feb7d 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^6.0.1", + "@astrojs/preact": "^6.0.2", "@nanostores/preact": "^1.0.0", - "astro": "^7.1.4", + "astro": "^7.1.5", "nanostores": "^1.1.1", "preact": "^10.28.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 087e91010b3e..b73c9c76c51a 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^7.0.4", + "@astrojs/mdx": "^7.0.5", "@tailwindcss/vite": "^4.2.1", "@types/canvas-confetti": "^1.9.0", - "astro": "^7.1.4", + "astro": "^7.1.5", "canvas-confetti": "^1.9.4", "tailwindcss": "^4.2.1", "vite": "^8.0.13" diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 75ad9fc9c6f5..fbf70e954b0b 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^7.1.4", + "astro": "^7.1.5", "vitest": "^5.0.0-beta.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 60e107d1a1cf..87f22338533d 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,24 @@ # astro +## 7.1.5 + +### Patch Changes + +- [#17524](https://github.com/withastro/astro/pull/17524) [`7613030`](https://github.com/withastro/astro/commit/761303051021764c5b8bc43ae4e32629c15b61a8) Thanks [@matthewp](https://github.com/matthewp)! - Fixes a bug where an error while finalizing a request could prevent a response from being sent + +- [#17480](https://github.com/withastro/astro/pull/17480) [`f61ba9c`](https://github.com/withastro/astro/commit/f61ba9cfb028d9f7448eda3fea2726e179d66391) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes a case where a custom `logger.entrypoint` failed to load at runtime in a built server bundle. + +- [#17525](https://github.com/withastro/astro/pull/17525) [`e614b7b`](https://github.com/withastro/astro/commit/e614b7bd8a0dae403b1f9c219250847d326cbff2) Thanks [@matthewp](https://github.com/matthewp)! - Fixes action path resolution so that properties of a resolved action function are not treated as routable path segments + +- [#17284](https://github.com/withastro/astro/pull/17284) [`c775c1f`](https://github.com/withastro/astro/commit/c775c1f984d1c176bf26a0f9c435bf6c0d585443) Thanks [@matthewp](https://github.com/matthewp)! - Fixes a bug where the custom 404 (or 500) page was not rendered when a middleware rewrite targeted a route that returned an empty 404/500 response, and a blank page was returned instead + +- [#17474](https://github.com/withastro/astro/pull/17474) [`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18) Thanks [@nicksnyder](https://github.com/nicksnyder)! - Updates dependency `js-yaml` to v4.3.0 + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + - @astrojs/markdown-remark@7.2.2 + - @astrojs/markdown-satteri@0.3.5 + ## 7.1.4 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index e56b5f0bc5ad..805df83e5fd8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "7.1.4", + "version": "7.1.5", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index 0387dd944b9b..0cc0053ddbba 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/cloudflare +## 14.1.6 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + - @astrojs/underscore-redirects@1.0.3 + ## 14.1.5 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index a6c0d6853de5..c3bf499f8089 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/cloudflare", "description": "Deploy your site to Cloudflare Workers", - "version": "14.1.5", + "version": "14.1.6", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 43ff1773eaa7..25d3ca02eaef 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/markdoc +## 2.0.6 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 2.0.5 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 28079e937200..a8c3433ef0ea 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc in your Astro site", - "version": "2.0.5", + "version": "2.0.6", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 8daf45c830a8..a3d2fcfe5921 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/mdx +## 7.0.5 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + - @astrojs/markdown-remark@7.2.2 + ## 7.0.4 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index c71c7400bd63..dffc0689474f 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "7.0.4", + "version": "7.0.5", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index 061c74959543..fd52711c1b7b 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/netlify +## 8.1.3 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + - @astrojs/underscore-redirects@1.0.3 + ## 8.1.2 ### Patch Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 88cfe6f0a8d5..b86b27de032a 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "8.1.2", + "version": "8.1.3", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 9d74846a8ee6..a52f4a545898 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/node +## 11.0.3 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 11.0.2 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 61963aef3ab1..3c4d07f5cf02 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/node", "description": "Deploy your site to a Node.js server", - "version": "11.0.2", + "version": "11.0.3", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 846f39d2d8c0..c4324d0fff53 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/preact +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index f7f611735f63..08460ded527c 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/preact", "description": "Use Preact components within Astro", - "version": "6.0.1", + "version": "6.0.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index f0d5c88f96d7..8e7a69ba3051 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/react +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 33e93ab4a936..9df8f4ac5c43 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "6.0.1", + "version": "6.0.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 17616c9b74b5..57572a81ca67 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/vercel +## 11.0.4 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 11.0.3 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index d934fb762c82..e1006d2886bd 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "11.0.3", + "version": "11.0.4", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/internal-helpers/CHANGELOG.md b/packages/internal-helpers/CHANGELOG.md index b927263cdcbf..825f0f4adb38 100644 --- a/packages/internal-helpers/CHANGELOG.md +++ b/packages/internal-helpers/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/internal-helpers +## 0.10.2 + +### Patch Changes + +- [#17474](https://github.com/withastro/astro/pull/17474) [`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18) Thanks [@nicksnyder](https://github.com/nicksnyder)! - Updates dependency `js-yaml` to v4.3.0 + ## 0.10.1 ### Patch Changes diff --git a/packages/internal-helpers/package.json b/packages/internal-helpers/package.json index f3d24b834c77..95d3cc41c9f4 100644 --- a/packages/internal-helpers/package.json +++ b/packages/internal-helpers/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/internal-helpers", "description": "Internal helpers used by core Astro packages.", - "version": "0.10.1", + "version": "0.10.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/language-tools/vscode/CHANGELOG.md b/packages/language-tools/vscode/CHANGELOG.md index 13af19055a04..5cdd00f3840b 100644 --- a/packages/language-tools/vscode/CHANGELOG.md +++ b/packages/language-tools/vscode/CHANGELOG.md @@ -1,5 +1,11 @@ # astro-vscode +## 2.16.18 + +### Patch Changes + +- [#17474](https://github.com/withastro/astro/pull/17474) [`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18) Thanks [@nicksnyder](https://github.com/nicksnyder)! - Updates dependency `js-yaml` to v4.3.0 + ## 2.16.17 ### Patch Changes diff --git a/packages/language-tools/vscode/package.json b/packages/language-tools/vscode/package.json index 51badd26cbf7..e92068527a04 100644 --- a/packages/language-tools/vscode/package.json +++ b/packages/language-tools/vscode/package.json @@ -24,7 +24,7 @@ "color": "#17191E", "theme": "dark" }, - "version": "2.16.17", + "version": "2.16.18", "author": "withastro", "license": "MIT", "publisher": "astro-build", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 2169fac7352c..4b2371a8bf6d 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/markdown-remark +## 7.2.2 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 7.2.1 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index e1e14d2dc28a..0efa68a6bb68 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "7.2.1", + "version": "7.2.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/markdown/satteri/CHANGELOG.md b/packages/markdown/satteri/CHANGELOG.md index 020cd2ac243f..af122f061cd9 100644 --- a/packages/markdown/satteri/CHANGELOG.md +++ b/packages/markdown/satteri/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/markdown-satteri +## 0.3.5 + +### Patch Changes + +- Updated dependencies [[`c895b12`](https://github.com/withastro/astro/commit/c895b12b99a73f5a9f98d6699452d12c138f8a18)]: + - @astrojs/internal-helpers@0.10.2 + ## 0.3.4 ### Patch Changes diff --git a/packages/markdown/satteri/package.json b/packages/markdown/satteri/package.json index d4f9229d8329..16445543496b 100644 --- a/packages/markdown/satteri/package.json +++ b/packages/markdown/satteri/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-satteri", - "version": "0.3.4", + "version": "0.3.5", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63b6e91e7a3e..686744cb7c61 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -242,7 +242,7 @@ importers: version: 0.2.0 eslint: specifier: ^10.4.0 - version: 10.4.0(jiti@2.6.1) + version: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) eslint-plugin-regexp: specifier: ^3.1.0 version: 3.1.0(eslint@10.4.0) @@ -272,7 +272,7 @@ importers: version: 6.0.3 typescript-eslint: specifier: ^8.59.1 - version: 8.59.2(eslint@10.4.0)(typescript@6.0.3) + version: 8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3) valibot: specifier: ^1.2.0 version: 1.4.2(typescript@6.0.3) @@ -385,10 +385,10 @@ importers: examples/advanced-routing: dependencies: '@astrojs/node': - specifier: ^11.0.2 + specifier: ^11.0.3 version: link:../../packages/integrations/node astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro hono: specifier: ^4.12.14 @@ -397,13 +397,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^7.0.4 + specifier: ^7.0.5 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.19 @@ -412,7 +412,7 @@ importers: specifier: ^3.7.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro sharp: specifier: ^0.35.0 @@ -421,16 +421,16 @@ importers: examples/component: devDependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/container-with-vitest: dependencies: '@astrojs/react': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/react astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -461,16 +461,16 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/framework-multiple: dependencies: '@astrojs/preact': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/react '@astrojs/solid-js': specifier: ^7.0.1 @@ -488,7 +488,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -512,13 +512,13 @@ importers: examples/framework-preact: dependencies: '@astrojs/preact': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/preact '@preact/signals': specifier: ^2.8.1 version: 2.8.2(preact@10.29.0) astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -527,7 +527,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/react '@types/react': specifier: ^18.3.28 @@ -536,7 +536,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -551,7 +551,7 @@ importers: specifier: ^7.0.1 version: link:../../packages/integrations/solid astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -563,7 +563,7 @@ importers: specifier: ^9.0.1 version: link:../../packages/integrations/svelte astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -575,7 +575,7 @@ importers: specifier: ^7.0.1 version: link:../../packages/integrations/vue astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro vue: specifier: ^3.5.29 @@ -584,40 +584,40 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^11.0.2 + specifier: ^11.0.3 version: link:../../packages/integrations/node astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^11.0.2 + specifier: ^11.0.3 version: link:../../packages/integrations/node '@astrojs/svelte': specifier: ^9.0.1 version: link:../../packages/integrations/svelte astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -626,7 +626,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -641,28 +641,28 @@ importers: specifier: ^22.19.0 version: 22.19.19 astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^2.0.5 + specifier: ^2.0.6 version: link:../../packages/integrations/markdoc astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^7.0.4 + specifier: ^7.0.5 version: link:../../packages/integrations/mdx '@astrojs/preact': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/preact astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -671,13 +671,13 @@ importers: examples/with-nanostores: dependencies: '@astrojs/preact': - specifier: ^6.0.1 + specifier: ^6.0.2 version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^1.0.0 version: 1.0.0(nanostores@1.1.1)(preact@10.29.0) astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro nanostores: specifier: ^1.1.1 @@ -689,7 +689,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^7.0.4 + specifier: ^7.0.5 version: link:../../packages/integrations/mdx '@tailwindcss/vite': specifier: ^4.2.1 @@ -698,7 +698,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -713,7 +713,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^7.1.4 + specifier: ^7.1.5 version: link:../../packages/astro vitest: specifier: ^5.0.0-beta.2 @@ -5244,7 +5244,7 @@ importers: version: 4.0.2 '@shikijs/twoslash': specifier: ^4.0.2 - version: 4.0.2(typescript@6.0.3) + version: 4.0.2(supports-color@8.1.1)(typescript@6.0.3) '@types/estree': specifier: ^1.0.8 version: 1.0.8 @@ -5499,7 +5499,7 @@ importers: version: 5.2.0 '@netlify/vite-plugin': specifier: ^2.12.3 - version: 2.12.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)(vite@8.1.0) + version: 2.12.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)(supports-color@8.1.1)(vite@8.1.0) '@vercel/nft': specifier: ^1.3.2 version: 1.3.2 @@ -5872,7 +5872,7 @@ importers: version: link:../../internal-helpers '@preact/preset-vite': specifier: ^2.10.5 - version: 2.10.5(@babel/core@7.29.0)(preact@10.29.0)(vite@8.1.0) + version: 2.10.5(@babel/core@7.29.0)(preact@10.29.0)(supports-color@8.1.1)(vite@8.1.0) '@preact/signals': specifier: ^2.8.2 version: 2.8.2(preact@10.29.0) @@ -6388,7 +6388,7 @@ importers: version: 8.1.0(@types/node@22.19.19)(esbuild@0.28.0)(jiti@2.6.1)(sass@1.98.0)(tsx@4.22.3)(yaml@2.9.0) vite-plugin-vue-devtools: specifier: ^8.1.0 - version: 8.1.0(vite@8.1.0)(vue@3.5.30) + version: 8.1.0(supports-color@8.1.1)(vite@8.1.0)(vue@3.5.30) devDependencies: astro: specifier: workspace:* @@ -6416,7 +6416,7 @@ importers: version: link:../../../../../astro vite-svg-loader: specifier: 5.1.1 - version: 5.1.1(vue@3.5.30) + version: 5.1.1(supports-color@8.1.1)(vue@3.5.30) vue: specifier: ^3.5.30 version: 3.5.30(typescript@6.0.3) @@ -6431,7 +6431,7 @@ importers: version: link:../../../../../astro vite-svg-loader: specifier: 5.1.1 - version: 5.1.1(vue@3.5.30) + version: 5.1.1(supports-color@8.1.1)(vue@3.5.30) vue: specifier: ^3.5.30 version: 3.5.30(typescript@6.0.3) @@ -6455,7 +6455,7 @@ importers: version: link:../../../../../astro vite-svg-loader: specifier: 5.1.1 - version: 5.1.1(vue@3.5.30) + version: 5.1.1(supports-color@8.1.1)(vue@3.5.30) vue: specifier: ^3.5.30 version: 3.5.30(typescript@6.0.3) @@ -6791,7 +6791,7 @@ importers: version: 11.7.5 ovsx: specifier: ^0.10.10 - version: 0.10.10 + version: 0.10.10(supports-color@8.1.1) tsx: specifier: ^4.22.0 version: 4.22.3 @@ -17859,12 +17859,12 @@ snapshots: '@eslint-community/eslint-utils@4.9.1(eslint@10.4.0)': dependencies: - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.2': {} - '@eslint/config-array@0.23.5': + '@eslint/config-array@0.23.5(supports-color@8.1.1)': dependencies: '@eslint/object-schema': 3.0.5 debug: 4.4.3(supports-color@8.1.1) @@ -18541,7 +18541,7 @@ snapshots: uuid: 13.0.0 write-file-atomic: 5.0.1 - '@netlify/dev@4.18.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)': + '@netlify/dev@4.18.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)(supports-color@8.1.1)': dependencies: '@netlify/ai': 0.4.1 '@netlify/blobs': 10.7.5 @@ -18549,7 +18549,7 @@ snapshots: '@netlify/database-dev': 0.10.1 '@netlify/dev-utils': 4.4.3 '@netlify/edge-functions-dev': 1.0.17 - '@netlify/functions-dev': 1.2.8 + '@netlify/functions-dev': 1.2.8(supports-color@8.1.1) '@netlify/headers': 2.1.8 '@netlify/images': 1.3.7(@azure/identity@4.13.0)(@netlify/blobs@10.7.5)(@vercel/functions@3.4.3) '@netlify/redirects': 3.1.10 @@ -18621,7 +18621,7 @@ snapshots: dependencies: '@netlify/types': 2.6.0 - '@netlify/functions-dev@1.2.8': + '@netlify/functions-dev@1.2.8(supports-color@8.1.1)': dependencies: '@netlify/blobs': 10.7.5 '@netlify/dev-utils': 4.4.3 @@ -18629,7 +18629,7 @@ snapshots: '@netlify/zip-it-and-ship-it': 14.5.6 cron-parser: 4.9.0 decache: 4.6.2 - extract-zip: 2.0.1 + extract-zip: 2.0.1(supports-color@8.1.1) is-stream: 4.0.1 jwt-decode: 4.0.0 lambda-local: 2.2.0 @@ -18732,9 +18732,9 @@ snapshots: '@netlify/types@2.6.0': {} - '@netlify/vite-plugin@2.12.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)(vite@8.1.0)': + '@netlify/vite-plugin@2.12.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)(supports-color@8.1.1)(vite@8.1.0)': dependencies: - '@netlify/dev': 4.18.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3) + '@netlify/dev': 4.18.3(@azure/identity@4.13.0)(@vercel/functions@3.4.3)(supports-color@8.1.1) '@netlify/dev-utils': 4.4.3 dedent: 1.7.1 vite: 8.1.0(@types/node@22.19.19)(esbuild@0.28.0)(jiti@2.6.1)(sass@1.98.0)(tsx@4.22.3)(yaml@2.9.0) @@ -19087,7 +19087,7 @@ snapshots: '@poppinss/exception@1.2.3': {} - '@preact/preset-vite@2.10.5(@babel/core@7.29.0)(preact@10.29.0)(vite@8.1.0)': + '@preact/preset-vite@2.10.5(@babel/core@7.29.0)(preact@10.29.0)(supports-color@8.1.1)(vite@8.1.0)': dependencies: '@babel/core': 7.29.0 '@babel/plugin-transform-react-jsx': 7.28.6(@babel/core@7.29.0) @@ -19344,11 +19344,11 @@ snapshots: dependencies: '@shikijs/types': 4.0.2 - '@shikijs/twoslash@4.0.2(typescript@6.0.3)': + '@shikijs/twoslash@4.0.2(supports-color@8.1.1)(typescript@6.0.3)': dependencies: '@shikijs/core': 4.0.2 '@shikijs/types': 4.0.2 - twoslash: 0.3.8(typescript@6.0.3) + twoslash: 0.3.8(supports-color@8.1.1)(typescript@6.0.3) typescript: 6.0.3 transitivePeerDependencies: - supports-color @@ -19828,15 +19828,15 @@ snapshots: '@types/node': 22.19.19 optional: true - '@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2)(eslint@10.4.0)(typescript@6.0.3)': + '@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2)(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.59.2(eslint@10.4.0)(typescript@6.0.3) + '@typescript-eslint/parser': 8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3) '@typescript-eslint/scope-manager': 8.59.2 - '@typescript-eslint/type-utils': 8.59.2(eslint@10.4.0)(typescript@6.0.3) + '@typescript-eslint/type-utils': 8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3) '@typescript-eslint/utils': 8.59.2(eslint@10.4.0)(typescript@6.0.3) '@typescript-eslint/visitor-keys': 8.59.2 - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) ignore: 7.0.5 natural-compare: 1.4.0 ts-api-utils: 2.5.0(typescript@6.0.3) @@ -19844,14 +19844,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.59.2(eslint@10.4.0)(typescript@6.0.3)': + '@typescript-eslint/parser@8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3)': dependencies: '@typescript-eslint/scope-manager': 8.59.2 '@typescript-eslint/types': 8.59.2 '@typescript-eslint/typescript-estree': 8.59.2(typescript@6.0.3) '@typescript-eslint/visitor-keys': 8.59.2 debug: 4.4.3(supports-color@8.1.1) - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) typescript: 6.0.3 transitivePeerDependencies: - supports-color @@ -19887,13 +19887,13 @@ snapshots: dependencies: typescript: 6.0.3 - '@typescript-eslint/type-utils@8.59.2(eslint@10.4.0)(typescript@6.0.3)': + '@typescript-eslint/type-utils@8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3)': dependencies: '@typescript-eslint/types': 8.59.2 '@typescript-eslint/typescript-estree': 8.59.2(typescript@6.0.3) '@typescript-eslint/utils': 8.59.2(eslint@10.4.0)(typescript@6.0.3) debug: 4.4.3(supports-color@8.1.1) - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) ts-api-utils: 2.5.0(typescript@6.0.3) typescript: 6.0.3 transitivePeerDependencies: @@ -19937,7 +19937,7 @@ snapshots: '@typescript-eslint/scope-manager': 8.59.2 '@typescript-eslint/types': 8.59.2 '@typescript-eslint/typescript-estree': 8.59.2(typescript@6.0.3) - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) typescript: 6.0.3 transitivePeerDependencies: - supports-color @@ -19947,7 +19947,7 @@ snapshots: '@typescript-eslint/types': 8.59.2 eslint-visitor-keys: 5.0.1 - '@typescript/vfs@1.6.4(typescript@6.0.3)': + '@typescript/vfs@1.6.4(supports-color@8.1.1)(typescript@6.0.3)': dependencies: debug: 4.4.3(supports-color@8.1.1) typescript: 6.0.3 @@ -20282,7 +20282,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vscode/vsce@3.7.1': + '@vscode/vsce@3.7.1(supports-color@8.1.1)': dependencies: '@azure/identity': 4.13.0 '@secretlint/node': 10.2.2 @@ -20305,7 +20305,7 @@ snapshots: minimatch: 3.1.2 parse-semver: 1.1.1 read: 1.0.7 - secretlint: 10.2.2 + secretlint: 10.2.2(supports-color@8.1.1) semver: 7.8.5 tmp: 0.2.5 typed-rest-client: 1.8.11 @@ -21659,7 +21659,7 @@ snapshots: '@eslint-community/eslint-utils': 4.9.1(eslint@10.4.0) '@eslint-community/regexpp': 4.12.2 comment-parser: 1.4.5 - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) jsdoc-type-pratt-parser: 7.1.1 refa: 0.12.1 regexp-ast-analysis: 0.7.1 @@ -21676,11 +21676,11 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@10.4.0(jiti@2.6.1): + eslint@10.4.0(jiti@2.6.1)(supports-color@8.1.1): dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@10.4.0) '@eslint-community/regexpp': 4.12.2 - '@eslint/config-array': 0.23.5 + '@eslint/config-array': 0.23.5(supports-color@8.1.1) '@eslint/config-helpers': 0.6.0 '@eslint/core': 1.2.1 '@eslint/plugin-kit': 0.7.1 @@ -21856,7 +21856,7 @@ snapshots: extendable-error@0.1.7: {} - extract-zip@2.0.1: + extract-zip@2.0.1(supports-color@8.1.1): dependencies: debug: 4.4.3(supports-color@8.1.1) get-stream: 5.2.0 @@ -24053,9 +24053,9 @@ snapshots: outdent@0.5.0: {} - ovsx@0.10.10: + ovsx@0.10.10(supports-color@8.1.1): dependencies: - '@vscode/vsce': 3.7.1 + '@vscode/vsce': 3.7.1(supports-color@8.1.1) commander: 6.2.1 follow-redirects: 1.15.11 is-ci: 2.0.0 @@ -25213,7 +25213,7 @@ snapshots: scule@1.3.0: {} - secretlint@10.2.2: + secretlint@10.2.2(supports-color@8.1.1): dependencies: '@secretlint/config-creator': 10.2.2 '@secretlint/formatter': 10.2.2 @@ -25868,9 +25868,9 @@ snapshots: twoslash-protocol@0.3.8: {} - twoslash@0.3.8(typescript@6.0.3): + twoslash@0.3.8(supports-color@8.1.1)(typescript@6.0.3): dependencies: - '@typescript/vfs': 1.6.4(typescript@6.0.3) + '@typescript/vfs': 1.6.4(supports-color@8.1.1)(typescript@6.0.3) twoslash-protocol: 0.3.8 typescript: 6.0.3 transitivePeerDependencies: @@ -25917,13 +25917,13 @@ snapshots: dependencies: semver: 7.8.5 - typescript-eslint@8.59.2(eslint@10.4.0)(typescript@6.0.3): + typescript-eslint@8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.59.2(@typescript-eslint/parser@8.59.2)(eslint@10.4.0)(typescript@6.0.3) - '@typescript-eslint/parser': 8.59.2(eslint@10.4.0)(typescript@6.0.3) + '@typescript-eslint/eslint-plugin': 8.59.2(@typescript-eslint/parser@8.59.2)(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3) + '@typescript-eslint/parser': 8.59.2(eslint@10.4.0)(supports-color@8.1.1)(typescript@6.0.3) '@typescript-eslint/typescript-estree': 8.59.2(typescript@6.0.3) '@typescript-eslint/utils': 8.59.2(eslint@10.4.0)(typescript@6.0.3) - eslint: 10.4.0(jiti@2.6.1) + eslint: 10.4.0(jiti@2.6.1)(supports-color@8.1.1) typescript: 6.0.3 transitivePeerDependencies: - supports-color @@ -26160,7 +26160,7 @@ snapshots: dependencies: vite: 8.1.0(@types/node@22.19.19)(esbuild@0.28.0)(jiti@2.6.1)(sass@1.98.0)(tsx@4.22.3)(yaml@2.9.0) - vite-plugin-inspect@11.3.3(vite@8.1.0): + vite-plugin-inspect@11.3.3(supports-color@8.1.1)(vite@8.1.0): dependencies: ansis: 4.2.0 debug: 4.4.3(supports-color@8.1.1) @@ -26188,14 +26188,14 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-vue-devtools@8.1.0(vite@8.1.0)(vue@3.5.30): + vite-plugin-vue-devtools@8.1.0(supports-color@8.1.1)(vite@8.1.0)(vue@3.5.30): dependencies: '@vue/devtools-core': 8.1.0(vue@3.5.30) '@vue/devtools-kit': 8.1.0 '@vue/devtools-shared': 8.1.0 sirv: 3.0.2 vite: 8.1.0(@types/node@22.19.19)(esbuild@0.28.0)(jiti@2.6.1)(sass@1.98.0)(tsx@4.22.3)(yaml@2.9.0) - vite-plugin-inspect: 11.3.3(vite@8.1.0) + vite-plugin-inspect: 11.3.3(supports-color@8.1.1)(vite@8.1.0) vite-plugin-vue-inspector: 5.3.2(vite@8.1.0) transitivePeerDependencies: - '@nuxt/kit' @@ -26227,7 +26227,7 @@ snapshots: stack-trace: 1.0.0-pre2 vite: 8.1.0(@types/node@22.19.19)(esbuild@0.28.0)(jiti@2.6.1)(sass@1.98.0)(tsx@4.22.3)(yaml@2.9.0) - vite-svg-loader@5.1.1(vue@3.5.30): + vite-svg-loader@5.1.1(supports-color@8.1.1)(vue@3.5.30): dependencies: debug: 4.4.3(supports-color@8.1.1) svgo: 3.3.3 From ff97b86ab02d199af5fe0f6e9984e9919c8276bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Gawe=C5=82?= Date: Tue, 28 Jul 2026 19:38:23 +0200 Subject: [PATCH 2/3] fix(build): introduce two-staged build to prevent race condition with concurrent i18n rewrites (#17536) * fix(build): introduce two-staged build to prevent race condition with concurrent i18n fallbacks * switch to ordered paths to avoid expensive loops on big arrays * move phases generation to when filteredPaths are created, keep two stage build --- .changeset/chatty-eels-lose.md | 5 + packages/astro/src/core/build/generate.ts | 142 +++++++++--------- packages/astro/test/build-concurrency.test.ts | 20 +++ .../astro.config.mjs | 17 +++ .../package.json | 8 + .../src/pages/[...slug].astro | 13 ++ .../src/pages/articles/[slug].astro | 18 +++ pnpm-lock.yaml | 6 + 8 files changed, 161 insertions(+), 68 deletions(-) create mode 100644 .changeset/chatty-eels-lose.md create mode 100644 packages/astro/test/fixtures/build-concurrency-i18n-fallback/astro.config.mjs create mode 100644 packages/astro/test/fixtures/build-concurrency-i18n-fallback/package.json create mode 100644 packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/[...slug].astro create mode 100644 packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/articles/[slug].astro diff --git a/.changeset/chatty-eels-lose.md b/.changeset/chatty-eels-lose.md new file mode 100644 index 000000000000..d744998c695c --- /dev/null +++ b/.changeset/chatty-eels-lose.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes concurrent static builds failing to generate i18n rewrite fallbacks for dynamic routes diff --git a/packages/astro/src/core/build/generate.ts b/packages/astro/src/core/build/generate.ts index 94597735d541..349334069e70 100644 --- a/packages/astro/src/core/build/generate.ts +++ b/packages/astro/src/core/build/generate.ts @@ -103,7 +103,10 @@ export async function generatePages( // Filter paths for conflicts (same path from multiple routes) const { config } = options.settings; const builtPaths = new Set(); - const filteredPaths = pathsWithRoutes.filter(({ pathname, route }) => { + const filteredPaths: typeof pathsWithRoutes = []; + const fallbackPaths: typeof pathsWithRoutes = []; + for (const pathWithRoute of pathsWithRoutes) { + const { pathname, route } = pathWithRoute; // i18n domains won't work with prerendered routes if (hasI18nDomains && route.prerender) { throw new AstroError({ @@ -117,42 +120,41 @@ export async function generatePages( // Path hasn't been built yet, include it if (!builtPaths.has(normalized)) { builtPaths.add(normalized); - return true; - } - - // Path was already built. Check if this route has higher priority. - const matchedRoute = matchRoute(decodeURI(pathname), options.routesList); - if (!matchedRoute) { - return false; - } - - if (matchedRoute === route) { - // Current route is higher-priority. Include it for building. - return true; - } + } else { + // Path was already built. Check if this route has higher priority. + const matchedRoute = matchRoute(decodeURI(pathname), options.routesList); + if (!matchedRoute) { + continue; + } - // Current route is lower-priority. Warn or error based on config. - if (config.prerenderConflictBehavior === 'error') { - throw new AstroError({ - ...AstroErrorData.PrerenderRouteConflict, - message: AstroErrorData.PrerenderRouteConflict.message( - matchedRoute.route, - route.route, - normalized, - ), - hint: AstroErrorData.PrerenderRouteConflict.hint(matchedRoute.route, route.route), - }); - } else if (config.prerenderConflictBehavior === 'warn') { - const msg = AstroErrorData.PrerenderRouteConflict.message( - matchedRoute.route, - route.route, - normalized, - ); - logger.warn('build', msg); + if (matchedRoute !== route) { + // Current route is lower-priority. Warn or error based on config. + if (config.prerenderConflictBehavior === 'error') { + throw new AstroError({ + ...AstroErrorData.PrerenderRouteConflict, + message: AstroErrorData.PrerenderRouteConflict.message( + matchedRoute.route, + route.route, + normalized, + ), + hint: AstroErrorData.PrerenderRouteConflict.hint(matchedRoute.route, route.route), + }); + } else if (config.prerenderConflictBehavior === 'warn') { + const msg = AstroErrorData.PrerenderRouteConflict.message( + matchedRoute.route, + route.route, + normalized, + ); + logger.warn('build', msg); + } + continue; + } } - return false; - }); + const paths = route.type === 'fallback' ? fallbackPaths : filteredPaths; + paths.push(pathWithRoute); + } + const generationPhases = [filteredPaths, fallbackPaths]; // Generate each path if (config.build.concurrency > 1) { @@ -161,35 +163,37 @@ export async function generatePages( // // NOTE: ideally we could consider an iterator to avoid the batching limitation const BATCH_SIZE = 100_000; - for (let i = 0; i < filteredPaths.length; i += BATCH_SIZE) { - const batch = filteredPaths.slice(i, i + BATCH_SIZE); - const promises: Promise[] = []; - for (const { pathname, route } of batch) { - promises.push( - limit(() => - generatePathWithPrerenderer( - prerenderer, - pathname, - route, - options, - routeToHeaders, - logger, + for (const paths of generationPhases) { + for (let i = 0; i < paths.length; i += BATCH_SIZE) { + const promises = paths + .slice(i, i + BATCH_SIZE) + .map(({ pathname, route }) => + limit(() => + generatePathWithPrerenderer( + prerenderer, + pathname, + route, + options, + routeToHeaders, + logger, + ), ), - ), - ); + ); + await Promise.all(promises); } - await Promise.all(promises); } } else { - for (const { pathname, route } of filteredPaths) { - await generatePathWithPrerenderer( - prerenderer, - pathname, - route, - options, - routeToHeaders, - logger, - ); + for (const paths of generationPhases) { + for (const { pathname, route } of paths) { + await generatePathWithPrerenderer( + prerenderer, + pathname, + route, + options, + routeToHeaders, + logger, + ); + } } } @@ -197,15 +201,17 @@ export async function generatePages( // back to the original routes in allPages. The prerenderer operates on deserialized route // objects (reconstructed from the serialized manifest), so distURL mutations during generation // don't affect the original route objects that are later passed to the astro:build:done hook. - for (const { route: generatedRoute } of filteredPaths) { - if (generatedRoute.distURL && generatedRoute.distURL.length > 0) { - for (const pageData of Object.values(options.allPages)) { - if ( - pageData.route.route === generatedRoute.route && - pageData.route.component === generatedRoute.component - ) { - pageData.route.distURL = generatedRoute.distURL; - break; + for (const paths of generationPhases) { + for (const { route: generatedRoute } of paths) { + if (generatedRoute.distURL && generatedRoute.distURL.length > 0) { + for (const pageData of Object.values(options.allPages)) { + if ( + pageData.route.route === generatedRoute.route && + pageData.route.component === generatedRoute.component + ) { + pageData.route.distURL = generatedRoute.distURL; + break; + } } } } diff --git a/packages/astro/test/build-concurrency.test.ts b/packages/astro/test/build-concurrency.test.ts index f475f735a026..1d594d9c3ea9 100644 --- a/packages/astro/test/build-concurrency.test.ts +++ b/packages/astro/test/build-concurrency.test.ts @@ -27,3 +27,23 @@ describe('Building with concurrency > 1', () => { assert.equal(built, false, 'Build should not complete'); }); }); + +describe('Building i18n fallbacks with concurrency > 1', () => { + let fixture: Fixture; + + before(async () => { + fixture = await loadFixture({ + root: './fixtures/build-concurrency-i18n-fallback/', + build: { + concurrency: 4, + }, + outDir: './dist/build-concurrency-i18n-fallback/', + }); + }); + + it('builds rewrite fallbacks after their source pages', async () => { + await fixture.build(); + + assert.match(await fixture.readFile('/es/articles/slow-page/index.html'), /Article: slow-page/); + }); +}); diff --git a/packages/astro/test/fixtures/build-concurrency-i18n-fallback/astro.config.mjs b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/astro.config.mjs new file mode 100644 index 000000000000..663ae6bc7595 --- /dev/null +++ b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/astro.config.mjs @@ -0,0 +1,17 @@ +import { defineConfig } from 'astro/config'; + +export default defineConfig({ + i18n: { + locales: ['en', 'es'], + defaultLocale: 'en', + fallback: { + es: 'en', + }, + routing: { + prefixDefaultLocale: false, + redirectToDefaultLocale: false, + fallbackType: 'rewrite', + }, + }, + trailingSlash: 'never', +}); diff --git a/packages/astro/test/fixtures/build-concurrency-i18n-fallback/package.json b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/package.json new file mode 100644 index 000000000000..ef7df535db50 --- /dev/null +++ b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/package.json @@ -0,0 +1,8 @@ +{ + "name": "@test/build-concurrency-i18n-fallback", + "private": true, + "type": "module", + "dependencies": { + "astro": "workspace:*" + } +} diff --git a/packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/[...slug].astro b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/[...slug].astro new file mode 100644 index 000000000000..f8b2c53ffef6 --- /dev/null +++ b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/[...slug].astro @@ -0,0 +1,13 @@ +--- +export function getStaticPaths() { + return [ + { + params: { slug: 'about' }, + }, + ]; +} + +const { slug } = Astro.params; +--- + +

Catch-all page: {slug}

diff --git a/packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/articles/[slug].astro b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/articles/[slug].astro new file mode 100644 index 000000000000..015aee50befe --- /dev/null +++ b/packages/astro/test/fixtures/build-concurrency-i18n-fallback/src/pages/articles/[slug].astro @@ -0,0 +1,18 @@ +--- +import { setTimeout } from 'node:timers/promises'; + +export function getStaticPaths() { + return ['one', 'two', 'three', 'four', 'slow-page'].map((slug) => ({ + params: { slug }, + })); +} + +const { slug } = Astro.params; +const isDefaultLocale = Astro.currentLocale === undefined || Astro.currentLocale === 'en'; + +if (slug === 'slow-page' && isDefaultLocale) { + await setTimeout(500); +} +--- + +

Article: {slug}

diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 686744cb7c61..5ec3ce2286cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2652,6 +2652,12 @@ importers: specifier: workspace:* version: link:../../.. + packages/astro/test/fixtures/build-concurrency-i18n-fallback: + dependencies: + astro: + specifier: workspace:* + version: link:../../.. + packages/astro/test/fixtures/build-readonly-file: dependencies: astro: From 296e1b03770e55fe969130300c3c55674ae59b1a Mon Sep 17 00:00:00 2001 From: thelazylama <67310144+thelazylamaGit@users.noreply.github.com> Date: Wed, 29 Jul 2026 03:45:41 +1000 Subject: [PATCH 3/3] fix(dev): refresh stale CSS for component `