diff --git a/.changeset/large-waves-cheat.md b/.changeset/large-waves-cheat.md deleted file mode 100644 index bd61307b3d..0000000000 --- a/.changeset/large-waves-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug that caused some dev server asset requests to return 404 when trailingSlash was set to "always" diff --git a/examples/basics/package.json b/examples/basics/package.json index 876773365f..c6c1715e02 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index a990bf12d8..05e7b35260 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,6 +13,6 @@ "@astrojs/mdx": "^4.0.8", "@astrojs/rss": "^4.0.11", "@astrojs/sitemap": "^3.2.1", - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/component/package.json b/examples/component/package.json index 6dcb477d16..b2b5c4b370 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.2.0" + "astro": "^5.2.1" }, "peerDependencies": { "astro": "^4.0.0 || ^5.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 1f63a75ba3..27f2284b42 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^4.2.0", - "astro": "^5.2.0", + "astro": "^5.2.1", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.0.2" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 208ebcc91f..663d0dd6b2 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.3", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.14.8", - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 51072531bf..e8c40ad910 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^5.0.6", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "astro": "^5.2.0", + "astro": "^5.2.1", "preact": "^10.25.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 9e95c7d28a..8ead84b599 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.3", "@preact/signals": "^2.0.1", - "astro": "^5.2.0", + "astro": "^5.2.1", "preact": "^10.25.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 2ef58c4838..f16f84d5c6 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.2.0", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "astro": "^5.2.0", + "astro": "^5.2.1", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 883f6b4992..2a3408e6fe 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.0.4", - "astro": "^5.2.0", + "astro": "^5.2.1", "solid-js": "^1.9.4" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 0af2637ca8..492be53e72 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.0.4", - "astro": "^5.2.0", + "astro": "^5.2.1", "svelte": "^5.19.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 03ef090eb3..841572bdad 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.6", - "astro": "^5.2.0", + "astro": "^5.2.1", "vue": "^3.5.13" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index ee01ef2c4e..ed71b1ea4e 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.0.1", - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 264cc3b89c..a3195c7a6c 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.2.0" + "astro": "^5.2.1" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 27eb1db341..f10d2a6edf 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 567bcf851e..eadab20f97 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 3f85daee4a..3935208d33 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.0.1", "@astrojs/svelte": "^7.0.4", - "astro": "^5.2.0", + "astro": "^5.2.1", "svelte": "^5.19.0" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index ba606a86ae..ccc4c70bbc 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.0", + "astro": "^5.2.1", "sass": "^1.83.4", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 1c3a907638..964a7336e5 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@types/node": "^18.17.8", - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index daf45cfc53..52ae654e2d 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.12.8", - "astro": "^5.2.0" + "astro": "^5.2.1" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 107ced5450..093aff0818 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.0.8", "@astrojs/preact": "^4.0.3", - "astro": "^5.2.0", + "astro": "^5.2.1", "preact": "^10.25.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 3f6816b8a4..352543f3ad 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.3", "@nanostores/preact": "^0.5.2", - "astro": "^5.2.0", + "astro": "^5.2.1", "nanostores": "^0.11.3", "preact": "^10.25.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 12de94e66c..cd6f816938 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.0.8", "@tailwindcss/vite": "^4.0.0", "@types/canvas-confetti": "^1.9.0", - "astro": "^5.2.0", + "astro": "^5.2.1", "canvas-confetti": "^1.9.3", "tailwindcss": "^4.0.0" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 0615157b68..5401d04eb4 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.2.0", + "astro": "^5.2.1", "vitest": "^3.0.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 4bcbaf1978..398fe10e54 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 5.2.1 + +### Patch Changes + +- [#13095](https://github.com/withastro/astro/pull/13095) [`740eb60`](https://github.com/withastro/astro/commit/740eb6019f405781a3918941d3bfb34a7bda1a3d) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug that caused some dev server asset requests to return 404 when trailingSlash was set to "always" + ## 5.2.0 ### Minor Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 7622de5ff9..9c63adacc8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.2.0", + "version": "5.2.1", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e19abcd10..5d7f8ac030 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,7 +142,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/blog: @@ -157,13 +157,13 @@ importers: specifier: ^3.2.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/container-with-vitest: @@ -172,7 +172,7 @@ importers: specifier: ^4.2.0 version: link:../../packages/integrations/react astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -203,7 +203,7 @@ importers: specifier: ^3.14.8 version: 3.14.8 astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/framework-multiple: @@ -230,7 +230,7 @@ importers: specifier: ^18.3.5 version: 18.3.5(@types/react@18.3.18) astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -260,7 +260,7 @@ importers: specifier: ^2.0.1 version: 2.0.1(preact@10.25.4) astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -278,7 +278,7 @@ importers: specifier: ^18.3.5 version: 18.3.5(@types/react@18.3.18) astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -293,7 +293,7 @@ importers: specifier: ^5.0.4 version: link:../../packages/integrations/solid astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro solid-js: specifier: ^1.9.4 @@ -305,7 +305,7 @@ importers: specifier: ^7.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro svelte: specifier: ^5.19.0 @@ -317,7 +317,7 @@ importers: specifier: ^5.0.6 version: link:../../packages/integrations/vue astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro vue: specifier: ^3.5.13 @@ -329,25 +329,25 @@ importers: specifier: ^9.0.1 version: 9.0.1(astro@packages+astro) astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/ssr: @@ -359,7 +359,7 @@ importers: specifier: ^7.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro svelte: specifier: ^5.19.0 @@ -368,7 +368,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro sass: specifier: ^1.83.4 @@ -383,7 +383,7 @@ importers: specifier: ^18.17.8 version: 18.19.50 astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/with-markdoc: @@ -392,7 +392,7 @@ importers: specifier: ^0.12.8 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro examples/with-mdx: @@ -404,7 +404,7 @@ importers: specifier: ^4.0.3 version: link:../../packages/integrations/preact astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -419,7 +419,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.25.4) astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -440,7 +440,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.3 @@ -452,7 +452,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.2.0 + specifier: ^5.2.1 version: link:../../packages/astro vitest: specifier: ^3.0.2