diff --git a/.changeset/afraid-sloths-shake.md b/.changeset/afraid-sloths-shake.md deleted file mode 100644 index 98c8efb372..0000000000 --- a/.changeset/afraid-sloths-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improves warning logs for invalid content collection configuration diff --git a/.changeset/hot-pumas-attack.md b/.changeset/hot-pumas-attack.md deleted file mode 100644 index 3dc33cbc10..0000000000 --- a/.changeset/hot-pumas-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': patch ---- - -Revert incorrect Content-Type header applied for RSS XML file diff --git a/.changeset/six-pumpkins-act.md b/.changeset/six-pumpkins-act.md deleted file mode 100644 index 9221af960c..0000000000 --- a/.changeset/six-pumpkins-act.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fixes server islands failing to check content-type header under certain circumstances - -Sometimes a reverse proxy or similar service might modify the content-type header to include the charset or other parameters in the media type of the response. This previously wasn't handled by the client-side server island script and thus removed the script without actually placing the requested content in the DOM. This fix makes it so the script checks if the header starts with the proper content type instead of exactly matching `text/html`, so the following will still be considered a valid header: `text/html; charset=utf-8` diff --git a/.changeset/thirty-apples-develop.md b/.changeset/thirty-apples-develop.md deleted file mode 100644 index edd7685b6e..0000000000 --- a/.changeset/thirty-apples-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/partytown': patch ---- - -Updates the partytown dependency to the new npm org name and latest version. diff --git a/examples/basics/package.json b/examples/basics/package.json index 29f536a917..96ceb34cf3 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 0538835ff8..9f62676946 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,8 +11,8 @@ }, "dependencies": { "@astrojs/mdx": "^4.0.3", - "@astrojs/rss": "^4.0.10", + "@astrojs/rss": "^4.0.11", "@astrojs/sitemap": "^3.2.1", - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index df92791097..ba56521e99 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.1.1" + "astro": "^5.1.2" }, "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 5b4f585c10..0110b6d61a 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^4.1.2", - "astro": "^5.1.1", + "astro": "^5.1.2", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^2.1.6" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index be9d3d5081..5c37865fae 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.1", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.3", - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index a27f2f768e..b2e9bd516f 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^5.0.3", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "astro": "^5.1.1", + "astro": "^5.1.2", "preact": "^10.24.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 9324cd468a..edc3e416e5 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.1", "@preact/signals": "^1.3.0", - "astro": "^5.1.1", + "astro": "^5.1.2", "preact": "^10.24.3" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 302f913df9..44b0422a75 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.1.2", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "astro": "^5.1.1", + "astro": "^5.1.2", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 441f878625..6dba36f6b6 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.0.1", - "astro": "^5.1.1", + "astro": "^5.1.2", "solid-js": "^1.9.3" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 81e9384d76..46e74930e4 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.0.2", - "astro": "^5.1.1", + "astro": "^5.1.2", "svelte": "^5.1.16" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 188a50ac3f..19f6552de5 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.3", - "astro": "^5.1.1", + "astro": "^5.1.2", "vue": "^3.5.12" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 072de4d9c7..2c99aa8950 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.0.0", - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index ea4d31d073..fda557091a 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.1.1" + "astro": "^5.1.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 7201226830..f2e0955033 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index e6a446b37f..8278c8cf70 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index e11f39cfc4..1126a0b0ad 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.0.0", "@astrojs/svelte": "^7.0.2", - "astro": "^5.1.1", + "astro": "^5.1.2", "svelte": "^5.1.16" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index e4cf48a61a..a6d6a329f0 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.1", + "astro": "^5.1.2", "sass": "^1.80.6", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 7b410422e9..4066ffd938 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index f306bf9a4c..777bb94666 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.12.4", - "astro": "^5.1.1" + "astro": "^5.1.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 147ade9a26..7fddbaf914 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.0.3", "@astrojs/preact": "^4.0.1", - "astro": "^5.1.1", + "astro": "^5.1.2", "preact": "^10.24.3" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index b23842a5da..7759b2e847 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.1", "@nanostores/preact": "^0.5.2", - "astro": "^5.1.1", + "astro": "^5.1.2", "nanostores": "^0.11.3", "preact": "^10.24.3" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 1e4a7a32b3..320a7bb582 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.0.3", "@astrojs/tailwind": "^5.1.4", "@types/canvas-confetti": "^1.6.4", - "astro": "^5.1.1", + "astro": "^5.1.2", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.49", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 22b719e87d..9ac5a136d1 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.1.1", + "astro": "^5.1.2", "vitest": "^2.1.6" } } diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index 04187d3328..ac4aaafdd3 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/rss +## 4.0.11 + +### Patch Changes + +- [#12829](https://github.com/withastro/astro/pull/12829) [`ebe2aa9`](https://github.com/withastro/astro/commit/ebe2aa95c7f4a6559cec8b82d155da34a57bdd53) Thanks [@SapphicMoe](https://github.com/SapphicMoe)! - Revert incorrect Content-Type header applied for RSS XML file + ## 4.0.10 ### Patch Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index faabbecbef..9c92ea1668 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "4.0.10", + "version": "4.0.11", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 6c5552feb5..ba2b9a9533 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 5.1.2 + +### Patch Changes + +- [#12798](https://github.com/withastro/astro/pull/12798) [`7b0cb85`](https://github.com/withastro/astro/commit/7b0cb852f6336c0f9cc65bd044864004e759d810) Thanks [@ascorbic](https://github.com/ascorbic)! - Improves warning logs for invalid content collection configuration + +- [#12810](https://github.com/withastro/astro/pull/12810) [`70a9f0b`](https://github.com/withastro/astro/commit/70a9f0b984638c21a4da1d83b7d5a5c9940bb693) Thanks [@louisescher](https://github.com/louisescher)! - Fixes server islands failing to check content-type header under certain circumstances + + Sometimes a reverse proxy or similar service might modify the content-type header to include the charset or other parameters in the media type of the response. This previously wasn't handled by the client-side server island script and thus removed the script without actually placing the requested content in the DOM. This fix makes it so the script checks if the header starts with the proper content type instead of exactly matching `text/html`, so the following will still be considered a valid header: `text/html; charset=utf-8` + ## 5.1.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 7eebf46763..958b72c98d 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.1.1", + "version": "5.1.2", "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/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md index 35b24feb16..e43021f79f 100644 --- a/packages/integrations/partytown/CHANGELOG.md +++ b/packages/integrations/partytown/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/partytown +## 2.1.3 + +### Patch Changes + +- [#12822](https://github.com/withastro/astro/pull/12822) [`1fab2f2`](https://github.com/withastro/astro/commit/1fab2f2ef671cc265c8dd46c5858915f971f2478) Thanks [@stdavis](https://github.com/stdavis)! - Updates the partytown dependency to the new npm org name and latest version. + ## 2.1.2 ### Patch Changes diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index fb75de2d9f..a6f8c10859 100644 --- a/packages/integrations/partytown/package.json +++ b/packages/integrations/partytown/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/partytown", "description": "Use Partytown to move scripts into a web worker in your Astro project", - "version": "2.1.2", + "version": "2.1.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f8205778d..28da118872 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,7 +142,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/blog: @@ -151,19 +151,19 @@ importers: specifier: ^4.0.3 version: link:../../packages/integrations/mdx '@astrojs/rss': - specifier: ^4.0.10 + specifier: ^4.0.11 version: link:../../packages/astro-rss '@astrojs/sitemap': specifier: ^3.2.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/container-with-vitest: @@ -172,7 +172,7 @@ importers: specifier: ^4.1.2 version: link:../../packages/integrations/react astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -203,7 +203,7 @@ importers: specifier: ^3.14.3 version: 3.14.3 astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/framework-multiple: @@ -230,7 +230,7 @@ importers: specifier: ^18.3.1 version: 18.3.1 astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro preact: specifier: ^10.24.3 @@ -260,7 +260,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.24.3) astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro preact: specifier: ^10.24.3 @@ -278,7 +278,7 @@ importers: specifier: ^18.3.1 version: 18.3.1 astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -293,7 +293,7 @@ importers: specifier: ^5.0.1 version: link:../../packages/integrations/solid astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro solid-js: specifier: ^1.9.3 @@ -305,7 +305,7 @@ importers: specifier: ^7.0.2 version: link:../../packages/integrations/svelte astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro svelte: specifier: ^5.1.16 @@ -317,7 +317,7 @@ importers: specifier: ^5.0.3 version: link:../../packages/integrations/vue astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro vue: specifier: ^3.5.12 @@ -329,25 +329,25 @@ importers: specifier: ^9.0.0 version: 9.0.0(astro@packages+astro) astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/ssr: @@ -359,7 +359,7 @@ importers: specifier: ^7.0.2 version: link:../../packages/integrations/svelte astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro svelte: specifier: ^5.1.16 @@ -368,7 +368,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro sass: specifier: ^1.80.6 @@ -380,7 +380,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/with-markdoc: @@ -389,7 +389,7 @@ importers: specifier: ^0.12.4 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro examples/with-mdx: @@ -401,7 +401,7 @@ importers: specifier: ^4.0.1 version: link:../../packages/integrations/preact astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro preact: specifier: ^10.24.3 @@ -416,7 +416,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.24.3) astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -437,7 +437,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -455,7 +455,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/astro vitest: specifier: ^2.1.6