diff --git a/.changeset/eager-ravens-serve.md b/.changeset/eager-ravens-serve.md deleted file mode 100644 index 0894ae385c31..000000000000 --- a/.changeset/eager-ravens-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Remove unused re-exports from assets/utils barrel file to fix Vite build warning diff --git a/.changeset/fix-cloudflare-miniflare-restart.md b/.changeset/fix-cloudflare-miniflare-restart.md deleted file mode 100644 index 9e71e98dd259..000000000000 --- a/.changeset/fix-cloudflare-miniflare-restart.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes `Expected 'miniflare' to be defined` errors and 404 responses in dev mode when using the Cloudflare adapter and the config file changes. Instead of creating a brand new Vite server on config changes, Astro now performs a Vite in-place restart, allowing the Cloudflare adapter to reuse its existing miniflare instance across restarts. diff --git a/.changeset/fix-dotted-page-trailing-slash.md b/.changeset/fix-dotted-page-trailing-slash.md deleted file mode 100644 index 830813477a3d..000000000000 --- a/.changeset/fix-dotted-page-trailing-slash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes pages with dots in their filenames (e.g. `hello.world.astro`) returning 404 when accessed with a trailing slash in the dev server. The `trailingSlashForPath` function now only forces `trailingSlash: 'never'` for endpoints with file extensions, allowing pages to correctly respect the user's `trailingSlash` config. diff --git a/.changeset/fix-endpoint-trailing-slash-static-build.md b/.changeset/fix-endpoint-trailing-slash-static-build.md deleted file mode 100644 index c0b15bca3c62..000000000000 --- a/.changeset/fix-endpoint-trailing-slash-static-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes `trailingSlash: "always"` producing redirect HTML instead of the actual response for extensionless endpoints during static builds diff --git a/.changeset/nine-jokes-sink.md b/.changeset/nine-jokes-sink.md deleted file mode 100644 index 215e05a38874..000000000000 --- a/.changeset/nine-jokes-sink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/react': patch ---- - -Fix React 19 "Float" mechanism injecting into Astro islands instead of the . This PR adds a filter to @astrojs/react to strip these auto-generated resource from the island's HTML output, ensuring valid HTML structure. diff --git a/examples/basics/package.json b/examples/basics/package.json index a4ce4dd7462a..6cd683604ac9 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.1.3" + "astro": "^6.1.4" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 5a468f2b549f..b6a4907eb51b 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -16,7 +16,7 @@ "@astrojs/mdx": "^5.0.3", "@astrojs/rss": "^4.0.18", "@astrojs/sitemap": "^3.7.2", - "astro": "^6.1.3", + "astro": "^6.1.4", "sharp": "^0.34.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index a0c3fdca644b..aefc9d2d7373 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.1.3" + "astro": "^6.1.4" }, "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 ebbf73c9caac..252d2a2b8a83 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.2", - "astro": "^6.1.3", + "@astrojs/react": "^5.0.3", + "astro": "^6.1.4", "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 e6c45ccdc850..b54e0991317d 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.1.3" + "astro": "^6.1.4" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 1c26ad36326a..b24709da3bf2 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -14,13 +14,13 @@ }, "dependencies": { "@astrojs/preact": "^5.1.1", - "@astrojs/react": "^5.0.2", + "@astrojs/react": "^5.0.3", "@astrojs/solid-js": "^6.0.1", "@astrojs/svelte": "^8.0.4", "@astrojs/vue": "^6.0.1", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^6.1.3", + "astro": "^6.1.4", "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 1d2f9812707f..fe465f15f684 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/preact": "^5.1.1", "@preact/signals": "^2.8.1", - "astro": "^6.1.3", + "astro": "^6.1.4", "preact": "^10.28.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index cc4160ed6e46..4456cdf3ec8f 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^5.0.2", + "@astrojs/react": "^5.0.3", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^6.1.3", + "astro": "^6.1.4", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index a88bf3a1393b..cb62a7185b0e 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.1.3", + "astro": "^6.1.4", "solid-js": "^1.9.11" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 5052f8fbe71f..8b3fa26579e7 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/svelte": "^8.0.4", - "astro": "^6.1.3", + "astro": "^6.1.4", "svelte": "^5.53.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index ece71ffc217b..e4b8923a9ed5 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.1.3", + "astro": "^6.1.4", "vue": "^3.5.29" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index c69dd53a8206..9835f8f52c21 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/node": "^10.0.4", - "astro": "^6.1.3" + "astro": "^6.1.4" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index d5ed41698120..e6c93aa7863c 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.1.3" + "astro": "^6.1.4" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index d9db057e490a..55907b3d82f1 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.1.3" + "astro": "^6.1.4" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 85fdc359f076..d385bc1b908b 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.1.3" + "astro": "^6.1.4" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index ea7b65021666..a6397b843283 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -16,7 +16,7 @@ "dependencies": { "@astrojs/node": "^10.0.4", "@astrojs/svelte": "^8.0.4", - "astro": "^6.1.3", + "astro": "^6.1.4", "svelte": "^5.53.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 7c6dd413740e..2dc9a87bc0b9 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.1.3", + "astro": "^6.1.4", "sass": "^1.97.3", "sharp": "^0.34.3" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index d761aa508f48..fa61876be873 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/node": "^18.17.8", - "astro": "^6.1.3" + "astro": "^6.1.4" }, "engines": { "node": ">=22.12.0" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 65f4ff5ba4c6..cc6db6213f6b 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/markdoc": "^1.0.3", - "astro": "^6.1.3" + "astro": "^6.1.4" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 730ea7a4dedb..37ebcea917a9 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/mdx": "^5.0.3", "@astrojs/preact": "^5.1.1", - "astro": "^6.1.3", + "astro": "^6.1.4", "preact": "^10.28.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 172da1bf1004..853eb6e279e9 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/preact": "^5.1.1", "@nanostores/preact": "^1.0.0", - "astro": "^6.1.3", + "astro": "^6.1.4", "nanostores": "^1.1.1", "preact": "^10.28.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index a1ce487afe47..a9efcf7b17ed 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -16,7 +16,7 @@ "@astrojs/mdx": "^5.0.3", "@tailwindcss/vite": "^4.2.1", "@types/canvas-confetti": "^1.9.0", - "astro": "^6.1.3", + "astro": "^6.1.4", "canvas-confetti": "^1.9.4", "tailwindcss": "^4.2.1" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 3c7c6ea89395..5295d8e8d197 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^6.1.3", + "astro": "^6.1.4", "vitest": "^4.1.0" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 7a816d818f32..41270a3f52b0 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,17 @@ # astro +## 6.1.4 + +### Patch Changes + +- [#16197](https://github.com/withastro/astro/pull/16197) [`21f9fe2`](https://github.com/withastro/astro/commit/21f9fe29f5de442a3e0672ea36dbe690491f3e8c) Thanks [@SchahinRohani](https://github.com/SchahinRohani)! - Remove unused re-exports from assets/utils barrel file to fix Vite build warning + +- [#16059](https://github.com/withastro/astro/pull/16059) [`6d5469e`](https://github.com/withastro/astro/commit/6d5469e2c8ddd5c2a546052ac7e3b0fb801b9069) Thanks [@matthewp](https://github.com/matthewp)! - Fixes `Expected 'miniflare' to be defined` errors and 404 responses in dev mode when using the Cloudflare adapter and the config file changes. Instead of creating a brand new Vite server on config changes, Astro now performs a Vite in-place restart, allowing the Cloudflare adapter to reuse its existing miniflare instance across restarts. + +- [#16154](https://github.com/withastro/astro/pull/16154) [`7610ba4`](https://github.com/withastro/astro/commit/7610ba4552b51a64be59ad16e8450ce6672579f0) Thanks [@Desel72](https://github.com/Desel72)! - Fixes pages with dots in their filenames (e.g. `hello.world.astro`) returning 404 when accessed with a trailing slash in the dev server. The `trailingSlashForPath` function now only forces `trailingSlash: 'never'` for endpoints with file extensions, allowing pages to correctly respect the user's `trailingSlash` config. + +- [#16193](https://github.com/withastro/astro/pull/16193) [`23425e2`](https://github.com/withastro/astro/commit/23425e2413b25cd304b64b4711f86f3f889546ff) Thanks [@matthewp](https://github.com/matthewp)! - Fixes `trailingSlash: "always"` producing redirect HTML instead of the actual response for extensionless endpoints during static builds + ## 6.1.3 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index fc8dd20af51f..c78dbacde6b7 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "6.1.3", + "version": "6.1.4", "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/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 288acdc989fd..5e4ed2d2f34d 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 5.0.3 + +### Patch Changes + +- [#16224](https://github.com/withastro/astro/pull/16224) [`a2b9eeb`](https://github.com/withastro/astro/commit/a2b9eeb14e300c9b6ce1d6ea423d20f4ef9d92f5) Thanks [@fkatsuhiro](https://github.com/fkatsuhiro)! - Fix React 19 "Float" mechanism injecting into Astro islands instead of the . This PR adds a filter to @astrojs/react to strip these auto-generated resource from the island's HTML output, ensuring valid HTML structure. + ## 5.0.2 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index cc60c6d14cd3..536fc8189f1b 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.2", + "version": "5.0.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 067ec4fc1815..51689c6b75e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -189,7 +189,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/blog: @@ -204,7 +204,7 @@ importers: specifier: ^3.7.2 version: link:../../packages/integrations/sitemap astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro sharp: specifier: ^0.34.3 @@ -213,16 +213,16 @@ importers: examples/component: devDependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/container-with-vitest: dependencies: '@astrojs/react': - specifier: ^5.0.2 + specifier: ^5.0.3 version: link:../../packages/integrations/react astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -253,7 +253,7 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/framework-multiple: @@ -262,7 +262,7 @@ importers: specifier: ^5.1.1 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^5.0.2 + specifier: ^5.0.3 version: link:../../packages/integrations/react '@astrojs/solid-js': specifier: ^6.0.1 @@ -280,7 +280,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -310,7 +310,7 @@ importers: specifier: ^2.8.1 version: 2.8.2(preact@10.29.0) astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -319,7 +319,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^5.0.2 + specifier: ^5.0.3 version: link:../../packages/integrations/react '@types/react': specifier: ^18.3.28 @@ -328,7 +328,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -343,7 +343,7 @@ importers: specifier: ^6.0.1 version: link:../../packages/integrations/solid astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -355,7 +355,7 @@ importers: specifier: ^8.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -367,7 +367,7 @@ importers: specifier: ^6.0.1 version: link:../../packages/integrations/vue astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro vue: specifier: ^3.5.29 @@ -379,25 +379,25 @@ importers: specifier: ^10.0.4 version: link:../../packages/integrations/node astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/ssr: @@ -409,7 +409,7 @@ importers: specifier: ^8.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -418,7 +418,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -433,7 +433,7 @@ importers: specifier: ^18.17.8 version: 18.19.130 astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/with-markdoc: @@ -442,7 +442,7 @@ importers: specifier: ^1.0.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro examples/with-mdx: @@ -454,7 +454,7 @@ importers: specifier: ^5.1.1 version: link:../../packages/integrations/preact astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -469,7 +469,7 @@ importers: specifier: ^1.0.0 version: 1.0.0(nanostores@1.1.1)(preact@10.29.0) astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro nanostores: specifier: ^1.1.1 @@ -490,7 +490,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -502,7 +502,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^6.1.3 + specifier: ^6.1.4 version: link:../../packages/astro vitest: specifier: ^4.1.0 @@ -1893,8 +1893,6 @@ importers: specifier: workspace:* version: link:../../.. - packages/astro/test/fixtures/actions-middleware-context: {} - packages/astro/test/fixtures/alias: dependencies: '@astrojs/svelte':