diff --git a/.changeset/pre.json b/.changeset/pre.json index 5ff540bde922..caeeeeb8a6a0 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -66,6 +66,7 @@ "calm-birds-fly", "clean-planets-flow", "clear-areas-cry", + "clear-route-cache-content", "clever-clubs-listen", "cloudflare-dev-styles", "cloudflare-entrypoint-breaking", @@ -97,6 +98,7 @@ "fifty-dingos-study", "fix-content-hmr", "fix-create-astro-registry-hang", + "fix-forwarded-proto-allowed-domains", "fix-markdoc-table-attributes", "fix-mdx-slot-hydration", "fix-preact-cloudflare-hooks", @@ -112,6 +114,7 @@ "four-insects-tan", "fresh-rocks-sing", "friendly-knives-rest", + "full-carpets-hide", "full-crews-juggle", "full-poems-divide", "funny-planes-lick", diff --git a/examples/basics/package.json b/examples/basics/package.json index e1c85608030a..9329c29ebeea 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index f0f22a94abe1..08d1d36c8557 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -16,7 +16,7 @@ "@astrojs/mdx": "^5.0.0-beta.8", "@astrojs/rss": "^4.0.15-beta.3", "@astrojs/sitemap": "^3.6.1-beta.3", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "sharp": "^0.34.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index c3445b299201..bb09d4b55d1d 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" }, "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 488197feb4f2..2e82c95a8cda 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@astrojs/react": "^5.0.0-beta.3", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.2.4" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index ed37576376a2..bbd5cb470803 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -16,6 +16,6 @@ "@astrojs/alpinejs": "^0.5.0-beta.1", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.15.8", - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index c2e1cf107ad9..42f8ebb6bf66 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -20,7 +20,7 @@ "@astrojs/vue": "^6.0.0-beta.1", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "preact": "^10.28.3", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index bbaa0f24352a..1076c195ac9d 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/preact": "^5.0.0-beta.3", "@preact/signals": "^2.7.1", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "preact": "^10.28.3" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 4ee156efbe81..9941db1cd387 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -16,7 +16,7 @@ "@astrojs/react": "^5.0.0-beta.3", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 8252aefdab04..c8754081b939 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/solid-js": "^6.0.0-beta.2", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "solid-js": "^1.9.11" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 89687fce66b0..d07648ee8997 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/svelte": "^8.0.0-beta.2", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "svelte": "^5.50.3" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 840ea1febe0e..3bb1c1727c63 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/vue": "^6.0.0-beta.1", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "vue": "^3.5.28" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 411efea86cfa..3b0f08b070d8 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/node": "^10.0.0-beta.4", - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 5f43092de0f4..0cd385e9dc72 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 72feb07977c8..f8171e8e0f79 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 1b93a4960aca..29d7936ab768 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index ad2fe0313d07..cb928673d416 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -16,7 +16,7 @@ "dependencies": { "@astrojs/node": "^10.0.0-beta.4", "@astrojs/svelte": "^8.0.0-beta.2", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "svelte": "^5.50.3" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 1454c39cfd7a..e77c8037b10b 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "sass": "^1.97.3", "sharp": "^0.34.3" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 69249f9a80ea..c4064cfe37df 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.0.0-beta.13" + "astro": "^6.0.0-beta.14" }, "engines": { "node": ">=22.12.0" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 09dc8dee9b9e..5ec8b4ac9f8a 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/markdoc": "^1.0.0-beta.11", - "astro": "^6.0.0-beta.13" + "astro": "^6.0.0-beta.14" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 5857a77ea3df..796acb9d750a 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/mdx": "^5.0.0-beta.8", "@astrojs/preact": "^5.0.0-beta.3", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "preact": "^10.28.3" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index c9d1ce2bba86..26d82f1144b9 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/preact": "^5.0.0-beta.3", "@nanostores/preact": "^1.0.0", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "nanostores": "^1.1.0", "preact": "^10.28.3" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 336ab3083633..765ac7f9fe90 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -16,7 +16,7 @@ "@astrojs/mdx": "^5.0.0-beta.8", "@tailwindcss/vite": "^4.1.18", "@types/canvas-confetti": "^1.9.0", - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "canvas-confetti": "^1.9.4", "tailwindcss": "^4.1.18" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index f015e3466eeb..2ceba999c9d2 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^6.0.0-beta.13", + "astro": "^6.0.0-beta.14", "vitest": "^3.2.4" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 0e78607fb5d9..b8b47d076285 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 6.0.0-beta.14 + +### Patch Changes + +- [#15573](https://github.com/withastro/astro/pull/15573) [`d789452`](https://github.com/withastro/astro/commit/d78945221d68ceab073f93572d87f12be0c72d47) Thanks [@matthewp](https://github.com/matthewp)! - Clear the route cache on content changes so slug pages reflect updated data during dev. + +- [#15560](https://github.com/withastro/astro/pull/15560) [`170ed89`](https://github.com/withastro/astro/commit/170ed89ae2b0482ddc5a6f1244452490319ae99e) Thanks [@z0mt3c](https://github.com/z0mt3c)! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL. + +- [#15563](https://github.com/withastro/astro/pull/15563) [`e959698`](https://github.com/withastro/astro/commit/e959698fedee4e548053e251d103eaeb9c6995cd) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where warnings would be logged during the build using one of the official adapters + ## 6.0.0-beta.13 ### Major Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index a3bc99b85fe6..ba6826af980a 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "6.0.0-beta.13", + "version": "6.0.0-beta.14", "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 e39dc12b60d5..776ab04d61e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -181,7 +181,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/blog: @@ -196,7 +196,7 @@ importers: specifier: ^3.6.1-beta.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro sharp: specifier: ^0.34.3 @@ -205,7 +205,7 @@ importers: examples/component: devDependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/container-with-vitest: @@ -214,7 +214,7 @@ importers: specifier: ^5.0.0-beta.3 version: link:../../packages/integrations/react astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -245,7 +245,7 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/framework-multiple: @@ -272,7 +272,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro preact: specifier: ^10.28.3 @@ -302,7 +302,7 @@ importers: specifier: ^2.7.1 version: 2.7.1(preact@10.28.3) astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro preact: specifier: ^10.28.3 @@ -320,7 +320,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -335,7 +335,7 @@ importers: specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/solid astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -347,7 +347,7 @@ importers: specifier: ^8.0.0-beta.2 version: link:../../packages/integrations/svelte astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro svelte: specifier: ^5.50.3 @@ -359,7 +359,7 @@ importers: specifier: ^6.0.0-beta.1 version: link:../../packages/integrations/vue astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro vue: specifier: ^3.5.28 @@ -371,25 +371,25 @@ importers: specifier: ^10.0.0-beta.4 version: link:../../packages/integrations/node astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/ssr: @@ -401,7 +401,7 @@ importers: specifier: ^8.0.0-beta.2 version: link:../../packages/integrations/svelte astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro svelte: specifier: ^5.50.3 @@ -410,7 +410,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -425,7 +425,7 @@ importers: specifier: ^18.17.8 version: 18.19.130 astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/with-markdoc: @@ -434,7 +434,7 @@ importers: specifier: ^1.0.0-beta.11 version: link:../../packages/integrations/markdoc astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro examples/with-mdx: @@ -446,7 +446,7 @@ importers: specifier: ^5.0.0-beta.3 version: link:../../packages/integrations/preact astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro preact: specifier: ^10.28.3 @@ -461,7 +461,7 @@ importers: specifier: ^1.0.0 version: 1.0.0(nanostores@1.1.0)(preact@10.28.3) astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro nanostores: specifier: ^1.1.0 @@ -482,7 +482,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -494,7 +494,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^6.0.0-beta.13 + specifier: ^6.0.0-beta.14 version: link:../../packages/astro vitest: specifier: ^3.2.4