diff --git a/.changeset/dark-carpets-turn.md b/.changeset/dark-carpets-turn.md deleted file mode 100644 index 66ca84d94ab9..000000000000 --- a/.changeset/dark-carpets-turn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/preact': patch -'@astrojs/react': patch -'astro': patch ---- - -Bumps `devalue` dependency to v5.8.1 diff --git a/.changeset/fancy-roses-spend.md b/.changeset/fancy-roses-spend.md deleted file mode 100644 index 6a09ef9b822e..000000000000 --- a/.changeset/fancy-roses-spend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/cloudflare': patch ---- - -Fixes `astro/fetch` and `astro/hono` being discovered at runtime during dev instead of pre-bundled diff --git a/.changeset/few-apples-double.md b/.changeset/few-apples-double.md deleted file mode 100644 index fbafeedc5843..000000000000 --- a/.changeset/few-apples-double.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fix a false positive in the dev toolbar accessibility audit for anchors with text inside closed `
` elements. diff --git a/.changeset/fix-advanced-routing-404-fallback.md b/.changeset/fix-advanced-routing-404-fallback.md deleted file mode 100644 index 4ec812e69c1b..000000000000 --- a/.changeset/fix-advanced-routing-404-fallback.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where `experimental.advancedRouting` with `astro/hono` handlers threw `TypeError: Cannot read properties of undefined (reading 'route')` for unmatched routes instead of rendering the custom 404 page. diff --git a/.changeset/fix-astro-marks-all-features.md b/.changeset/fix-astro-marks-all-features.md deleted file mode 100644 index de27ed113427..000000000000 --- a/.changeset/fix-astro-marks-all-features.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a false "does not call the middleware() handler" warning when using `astro()` in a custom `src/app.ts` and the first request is a redirect route. diff --git a/.changeset/fix-i18n-redirect-header.md b/.changeset/fix-i18n-redirect-header.md deleted file mode 100644 index 20379088e472..000000000000 --- a/.changeset/fix-i18n-redirect-header.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes `redirectToDefaultLocale` not working after the Advanced Routing refactoring. diff --git a/.changeset/fix-node-build-format-file.md b/.changeset/fix-node-build-format-file.md deleted file mode 100644 index 9977835242f1..000000000000 --- a/.changeset/fix-node-build-format-file.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/node': patch ---- - -Fixes prerendered pages returning 404 when using `build.format: 'file'` or `build.format: 'preserve'` with the Node adapter in standalone mode. - -Previously, clean URLs like `/about` would fail to resolve to `about.html` on disk, because the static file handler only supported the default `directory` format (`about/index.html`). Now the handler correctly resolves clean URLs to `.html` files when the build format produces them. diff --git a/.changeset/fix-route-pattern-casing.md b/.changeset/fix-route-pattern-casing.md new file mode 100644 index 000000000000..b6df67b69bfa --- /dev/null +++ b/.changeset/fix-route-pattern-casing.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes `Astro.routePattern` to preserve original casing of dynamic parameter names from filenames. Previously, a file at `src/pages/blog/[postId].astro` would return `/blog/[postid]` for `Astro.routePattern` due to an internal `.toLowerCase()` call. It now correctly returns `/blog/[postId]`. diff --git a/.changeset/funky-deserts-invite.md b/.changeset/funky-deserts-invite.md deleted file mode 100644 index 17e6aa26a626..000000000000 --- a/.changeset/funky-deserts-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improves optimized fallbacks generation when using the Fonts API by using better metrics for bold variants diff --git a/.changeset/thick-trains-talk.md b/.changeset/thick-trains-talk.md deleted file mode 100644 index e4a272f8d5c4..000000000000 --- a/.changeset/thick-trains-talk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@astrojs/cloudflare': patch -'@astrojs/netlify': patch ---- - -Fixes a link in the documentation specifying where to open an issue for the adapter. diff --git a/examples/advanced-routing/package.json b/examples/advanced-routing/package.json index f64acc986a83..651f8ae20e21 100644 --- a/examples/advanced-routing/package.json +++ b/examples/advanced-routing/package.json @@ -13,8 +13,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^10.1.2", - "astro": "^6.4.2", + "@astrojs/node": "^10.1.3", + "astro": "^6.4.3", "hono": "^4.12.14" } } diff --git a/examples/basics/package.json b/examples/basics/package.json index cb08f47d4c67..3d3bfd6704f9 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.4.2" + "astro": "^6.4.3" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 8deaba1db381..a77697ca619f 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -16,7 +16,7 @@ "@astrojs/mdx": "^6.0.1", "@astrojs/rss": "^4.0.18", "@astrojs/sitemap": "^3.7.3", - "astro": "^6.4.2", + "astro": "^6.4.3", "sharp": "^0.34.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index 2a05f5803795..637cf89665a4 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.4.2" + "astro": "^6.4.3" }, "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 6ba832281aad..7aa9066ed94e 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": "^5.0.6", - "astro": "^6.4.2", + "@astrojs/react": "^5.0.7", + "astro": "^6.4.3", "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 e29b643af81a..30a870dda1e9 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -16,6 +16,6 @@ "@astrojs/alpinejs": "^0.5.0", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.15.8", - "astro": "^6.4.2" + "astro": "^6.4.3" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index acfa396e0101..ce9230233a02 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -13,14 +13,14 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^5.1.4", - "@astrojs/react": "^5.0.6", + "@astrojs/preact": "^5.1.5", + "@astrojs/react": "^5.0.7", "@astrojs/solid-js": "^6.0.1", "@astrojs/svelte": "^8.1.2", "@astrojs/vue": "^6.0.1", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^6.4.2", + "astro": "^6.4.3", "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 7741372638a2..3ca4ce35f07b 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^5.1.4", + "@astrojs/preact": "^5.1.5", "@preact/signals": "^2.8.1", - "astro": "^6.4.2", + "astro": "^6.4.3", "preact": "^10.28.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 0b3c7485ef3a..8f9ae9245cd7 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^5.0.6", + "@astrojs/react": "^5.0.7", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^6.4.2", + "astro": "^6.4.3", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index b1ced5c90aed..136b9ee4ce9d 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/solid-js": "^6.0.1", - "astro": "^6.4.2", + "astro": "^6.4.3", "solid-js": "^1.9.11" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 653ec36a9685..535283683379 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/svelte": "^8.1.2", - "astro": "^6.4.2", + "astro": "^6.4.3", "svelte": "^5.53.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 382d9aa1063b..3b9eff1f0490 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/vue": "^6.0.1", - "astro": "^6.4.2", + "astro": "^6.4.3", "vue": "^3.5.29" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 1d4080683ae8..22bef2ec20b2 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -13,7 +13,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^10.1.2", - "astro": "^6.4.2" + "@astrojs/node": "^10.1.3", + "astro": "^6.4.3" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 342c86c32b99..7e4fb41b86dc 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.4.2" + "astro": "^6.4.3" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index bc62438e81a3..a775378d7163 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.4.2" + "astro": "^6.4.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index f383dc0b6710..39fde75051b0 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.4.2" + "astro": "^6.4.3" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 30fa4683a126..990d4cbb4097 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,9 +14,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^10.1.2", + "@astrojs/node": "^10.1.3", "@astrojs/svelte": "^8.1.2", - "astro": "^6.4.2", + "astro": "^6.4.3", "svelte": "^5.53.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index f8dc36aa6e74..4000c2cddfeb 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.4.2", + "astro": "^6.4.3", "sass": "^1.97.3", "sharp": "^0.34.3" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index c3b10908ea3e..d3e038d8f7b4 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/node": "^22.10.6", - "astro": "^6.4.2" + "astro": "^6.4.3" }, "engines": { "node": ">=22.12.0" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 4052c12de294..97b044850a93 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/markdoc": "^1.0.6", - "astro": "^6.4.2" + "astro": "^6.4.3" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index b0d5e201a02f..d01039d9401c 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -14,8 +14,8 @@ }, "dependencies": { "@astrojs/mdx": "^6.0.1", - "@astrojs/preact": "^5.1.4", - "astro": "^6.4.2", + "@astrojs/preact": "^5.1.5", + "astro": "^6.4.3", "preact": "^10.28.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 370a85ec2cb3..9781c2953127 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^5.1.4", + "@astrojs/preact": "^5.1.5", "@nanostores/preact": "^1.0.0", - "astro": "^6.4.2", + "astro": "^6.4.3", "nanostores": "^1.1.1", "preact": "^10.28.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 9347117dcd75..b3d86b20edc7 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -16,7 +16,7 @@ "@astrojs/mdx": "^6.0.1", "@tailwindcss/vite": "^4.2.1", "@types/canvas-confetti": "^1.9.0", - "astro": "^6.4.2", + "astro": "^6.4.3", "canvas-confetti": "^1.9.4", "tailwindcss": "^4.2.1" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index caabf32ef35c..17a6db6b6f2c 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^6.4.2", + "astro": "^6.4.3", "vitest": "^4.1.0" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index eeaf2d4b895e..a66ae650e470 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,21 @@ # astro +## 6.4.3 + +### Patch Changes + +- [#16900](https://github.com/withastro/astro/pull/16900) [`17a0fbd`](https://github.com/withastro/astro/commit/17a0fbd34d11db765e79caf269bfd5f43ef51da8) Thanks [@ocavue](https://github.com/ocavue)! - Bumps `devalue` dependency to v5.8.1 + +- [#16016](https://github.com/withastro/astro/pull/16016) [`0d85e1b`](https://github.com/withastro/astro/commit/0d85e1b7ea58a243bd1b61bdfb951c4fd87b9db5) Thanks [@felmonon](https://github.com/felmonon)! - Fix a false positive in the dev toolbar accessibility audit for anchors with text inside closed `
` elements. + +- [#16911](https://github.com/withastro/astro/pull/16911) [`79c6c46`](https://github.com/withastro/astro/commit/79c6c469a735bece8a80200f7b188e15f1abff24) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes a bug where `experimental.advancedRouting` with `astro/hono` handlers threw `TypeError: Cannot read properties of undefined (reading 'route')` for unmatched routes instead of rendering the custom 404 page. + +- [#16899](https://github.com/withastro/astro/pull/16899) [`239c469`](https://github.com/withastro/astro/commit/239c469cd2cd66d147a302a2ca14e07a0891f9b8) Thanks [@matthewp](https://github.com/matthewp)! - Fixes a false "does not call the middleware() handler" warning when using `astro()` in a custom `src/app.ts` and the first request is a redirect route. + +- [#16887](https://github.com/withastro/astro/pull/16887) [`493acdb`](https://github.com/withastro/astro/commit/493acdb4abc56534e9efa68af16e3ef273d7d88b) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes `redirectToDefaultLocale` not working after the Advanced Routing refactoring. + +- [#16908](https://github.com/withastro/astro/pull/16908) [`ef53ab9`](https://github.com/withastro/astro/commit/ef53ab91e8362b50bb1a3ab73d9350b93ea41de4) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves optimized fallbacks generation when using the Fonts API by using better metrics for bold variants + ## 6.4.2 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index c99ccd7f0aac..403b13674d0c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "6.4.2", + "version": "6.4.3", "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/astro/src/core/routing/create-manifest.ts b/packages/astro/src/core/routing/create-manifest.ts index 8138aac697fb..28685e505146 100644 --- a/packages/astro/src/core/routing/create-manifest.ts +++ b/packages/astro/src/core/routing/create-manifest.ts @@ -1002,7 +1002,7 @@ function joinSegments(segments: RoutePart[][]): string { return segment.map((rp) => (rp.dynamic ? `[${rp.content}]` : rp.content)).join(''); }); - return `/${arr.join('/')}`.toLowerCase(); + return `/${arr.join('/')}`; } function replaceOrKeep(original: string, from: string, to: string): string { diff --git a/packages/astro/src/core/routing/parse-route.ts b/packages/astro/src/core/routing/parse-route.ts index 2dd3b0fe690f..9c2a1b8ae9a9 100644 --- a/packages/astro/src/core/routing/parse-route.ts +++ b/packages/astro/src/core/routing/parse-route.ts @@ -102,5 +102,5 @@ function joinSegments(segments: RoutePart[][]): string { return segment.map((part) => (part.dynamic ? `[${part.content}]` : part.content)).join(''); }); - return `/${arr.join('/')}`.toLowerCase(); + return `/${arr.join('/')}`; } diff --git a/packages/astro/src/runtime/server/render/head.ts b/packages/astro/src/runtime/server/render/head.ts index 333cce4dfe9e..239f6e07e576 100644 --- a/packages/astro/src/runtime/server/render/head.ts +++ b/packages/astro/src/runtime/server/render/head.ts @@ -70,11 +70,7 @@ export function renderAllHeadContent(result: SSRResult) { // In the future, it may be better to have only an array of head elements to avoid these assumptions. content += styles.join('\n') + links.join('\n') + scripts.join('\n'); - if (result._metadata.extraHead.length > 0) { - for (const part of result._metadata.extraHead) { - content += part; - } - } + content += result._metadata.extraHead.join(''); return markHTMLString(content); } diff --git a/packages/astro/test/units/routing/parse-route.test.ts b/packages/astro/test/units/routing/parse-route.test.ts index f5a7ed699bb2..3cade77d4aeb 100644 --- a/packages/astro/test/units/routing/parse-route.test.ts +++ b/packages/astro/test/units/routing/parse-route.test.ts @@ -25,4 +25,30 @@ describe('parseRoute', () => { assert.equal(pageRoute.route, '/blog/post'); assert.equal(pageRoute.isIndex, false); }); + + it('preserves casing of dynamic param names in route pattern', () => { + const options: ParseRouteConfig = { + config: { base: '/', trailingSlash: 'ignore' } as AstroConfig, + pageExtensions: [], + }; + + const route = parseRoute('blog/[postId].astro', options, { + component: 'src/pages/blog/[postId].astro', + }); + assert.equal(route.route, '/blog/[postId]'); + assert.deepEqual(route.params, ['postId']); + }); + + it('preserves casing of multiple camelCase dynamic params', () => { + const options: ParseRouteConfig = { + config: { base: '/', trailingSlash: 'ignore' } as AstroConfig, + pageExtensions: [], + }; + + const route = parseRoute('users/[userId]/posts/[postSlug].astro', options, { + component: 'src/pages/users/[userId]/posts/[postSlug].astro', + }); + assert.equal(route.route, '/users/[userId]/posts/[postSlug]'); + assert.deepEqual(route.params, ['userId', 'postSlug']); + }); }); diff --git a/packages/astro/test/units/routing/route-matching.test.ts b/packages/astro/test/units/routing/route-matching.test.ts index bb5c1e37326b..c4312b67be0b 100644 --- a/packages/astro/test/units/routing/route-matching.test.ts +++ b/packages/astro/test/units/routing/route-matching.test.ts @@ -166,12 +166,12 @@ describe('Route matching', () => { const sortedRouteNames = sortedMatches.map((match) => match.route); assert.deepEqual(sortedRouteNames, [ - '/[astaticdynamic]', - '/[xstaticdynamic]', - '/[serverdynamic]', - '/[...astaticrest]', - '/[...xstaticrest]', - '/[...serverrest]', + '/[aStaticDynamic]', + '/[xStaticDynamic]', + '/[serverDynamic]', + '/[...aStaticRest]', + '/[...xStaticRest]', + '/[...serverRest]', ]); }); }); diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index c46c460166bb..b30ea4e8361b 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/cloudflare +## 13.6.1 + +### Patch Changes + +- [#16914](https://github.com/withastro/astro/pull/16914) [`4bdd240`](https://github.com/withastro/astro/commit/4bdd240a6174b12ee9344d9b97456079aa5975ce) Thanks [@matthewp](https://github.com/matthewp)! - Fixes `astro/fetch` and `astro/hono` being discovered at runtime during dev instead of pre-bundled + +- [#16693](https://github.com/withastro/astro/pull/16693) [`9e6edc2`](https://github.com/withastro/astro/commit/9e6edc2da5ccf06243588a7f519dea5fbcc126cd) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes a link in the documentation specifying where to open an issue for the adapter. + +- Updated dependencies []: + - @astrojs/underscore-redirects@1.0.3 + ## 13.6.0 ### Minor Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index bb6d45d807f1..91e21a131fef 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": "13.6.0", + "version": "13.6.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index aca7f435bad7..3624fb9ad8b4 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/netlify +## 7.0.12 + +### Patch Changes + +- [#16693](https://github.com/withastro/astro/pull/16693) [`9e6edc2`](https://github.com/withastro/astro/commit/9e6edc2da5ccf06243588a7f519dea5fbcc126cd) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes a link in the documentation specifying where to open an issue for the adapter. + +- Updated dependencies []: + - @astrojs/underscore-redirects@1.0.3 + ## 7.0.11 ### Patch Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 0ea78162dab3..96b753086af5 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": "7.0.11", + "version": "7.0.12", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 786cc01b1a3a..2a179fe96280 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/node +## 10.1.3 + +### Patch Changes + +- [#16922](https://github.com/withastro/astro/pull/16922) [`7dce185`](https://github.com/withastro/astro/commit/7dce1852a4f185fb44f885030f48c1883e9b17ff) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes prerendered pages returning 404 when using `build.format: 'file'` or `build.format: 'preserve'` with the Node adapter in standalone mode. + + Previously, clean URLs like `/about` would fail to resolve to `about.html` on disk, because the static file handler only supported the default `directory` format (`about/index.html`). Now the handler correctly resolves clean URLs to `.html` files when the build format produces them. + ## 10.1.2 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 10b46027924d..23119c7ab3fd 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": "10.1.2", + "version": "10.1.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 18274f630ed2..93352905c281 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/preact +## 5.1.5 + +### Patch Changes + +- [#16900](https://github.com/withastro/astro/pull/16900) [`17a0fbd`](https://github.com/withastro/astro/commit/17a0fbd34d11db765e79caf269bfd5f43ef51da8) Thanks [@ocavue](https://github.com/ocavue)! - Bumps `devalue` dependency to v5.8.1 + ## 5.1.4 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index c54cd3bb3cc4..9e919ad737d3 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": "5.1.4", + "version": "5.1.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 2dcff752065e..cd4ef3cd62fd 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 5.0.7 + +### Patch Changes + +- [#16900](https://github.com/withastro/astro/pull/16900) [`17a0fbd`](https://github.com/withastro/astro/commit/17a0fbd34d11db765e79caf269bfd5f43ef51da8) Thanks [@ocavue](https://github.com/ocavue)! - Bumps `devalue` dependency to v5.8.1 + ## 5.0.6 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 7b934e91fb93..793258109a27 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": "5.0.6", + "version": "5.0.7", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 324ce8cec68c..f7c8cb83d398 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -194,10 +194,10 @@ importers: examples/advanced-routing: dependencies: '@astrojs/node': - specifier: ^10.1.2 + specifier: ^10.1.3 version: link:../../packages/integrations/node astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro hono: specifier: ^4.12.14 @@ -206,7 +206,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/blog: @@ -221,7 +221,7 @@ importers: specifier: ^3.7.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro sharp: specifier: ^0.34.3 @@ -230,16 +230,16 @@ importers: examples/component: devDependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/container-with-vitest: dependencies: '@astrojs/react': - specifier: ^5.0.6 + specifier: ^5.0.7 version: link:../../packages/integrations/react astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -270,16 +270,16 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/framework-multiple: dependencies: '@astrojs/preact': - specifier: ^5.1.4 + specifier: ^5.1.5 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^5.0.6 + specifier: ^5.0.7 version: link:../../packages/integrations/react '@astrojs/solid-js': specifier: ^6.0.1 @@ -297,7 +297,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -321,13 +321,13 @@ importers: examples/framework-preact: dependencies: '@astrojs/preact': - specifier: ^5.1.4 + specifier: ^5.1.5 version: link:../../packages/integrations/preact '@preact/signals': specifier: ^2.8.1 version: 2.8.2(preact@10.29.0) astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -336,7 +336,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^5.0.6 + specifier: ^5.0.7 version: link:../../packages/integrations/react '@types/react': specifier: ^18.3.28 @@ -345,7 +345,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -360,7 +360,7 @@ importers: specifier: ^6.0.1 version: link:../../packages/integrations/solid astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -372,7 +372,7 @@ importers: specifier: ^8.1.2 version: link:../../packages/integrations/svelte astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -384,7 +384,7 @@ importers: specifier: ^6.0.1 version: link:../../packages/integrations/vue astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro vue: specifier: ^3.5.29 @@ -393,40 +393,40 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^10.1.2 + specifier: ^10.1.3 version: link:../../packages/integrations/node astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^10.1.2 + specifier: ^10.1.3 version: link:../../packages/integrations/node '@astrojs/svelte': specifier: ^8.1.2 version: link:../../packages/integrations/svelte astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -435,7 +435,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -450,7 +450,7 @@ importers: specifier: ^22.19.0 version: 22.19.19 astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/with-markdoc: @@ -459,7 +459,7 @@ importers: specifier: ^1.0.6 version: link:../../packages/integrations/markdoc astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro examples/with-mdx: @@ -468,10 +468,10 @@ importers: specifier: ^6.0.1 version: link:../../packages/integrations/mdx '@astrojs/preact': - specifier: ^5.1.4 + specifier: ^5.1.5 version: link:../../packages/integrations/preact astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -480,13 +480,13 @@ importers: examples/with-nanostores: dependencies: '@astrojs/preact': - specifier: ^5.1.4 + specifier: ^5.1.5 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: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro nanostores: specifier: ^1.1.1 @@ -507,7 +507,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -519,7 +519,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^6.4.2 + specifier: ^6.4.3 version: link:../../packages/astro vitest: specifier: ^4.1.0