diff --git a/.changeset/hungry-phones-melt.md b/.changeset/hungry-phones-melt.md deleted file mode 100644 index eb01a31f53b3..000000000000 --- a/.changeset/hungry-phones-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes regression when handling hoisted scripts from content collections diff --git a/examples/basics/package.json b/examples/basics/package.json index f6ae5ab73b9a..4239502142e9 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index d6921b448e61..4a62bdaf7a6e 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^3.0.0", "@astrojs/rss": "^4.0.6", "@astrojs/sitemap": "^3.1.4", - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/component/package.json b/examples/component/package.json index 77298bc6b4f0..a7d670b130bd 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 2a89d1f6d1f2..5fc4ad314c43 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.13.10", - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 088e29c31ff6..6ace874cfacd 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.0.1", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.8.5", + "astro": "^4.8.6", "lit": "^3.1.3" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index ec20f5176718..ae783490f901 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.2.0", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "preact": "^10.21.0", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index de0c2c8ab73c..073449973f74 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.3.0", "@preact/signals": "^1.2.3", - "astro": "^4.8.5", + "astro": "^4.8.6", "preact": "^10.21.0" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 109a018df6c6..b95dd0aed448 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.3.4", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 3aa9698f9fd8..6cda93fe70f3 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.2.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "solid-js": "^1.8.17" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 60cf3c9bbbd7..44acfe6ff891 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.4.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "svelte": "^4.2.16" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 9155f1a62442..7416591216d8 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.2.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "vue": "^3.4.27" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index e6dcf2756c61..cbcc5093b969 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.2.5", - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 5fba794c4ca3..b1d157aefaaa 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 2d0c883bf38b..b10daa77c4d1 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.2.5", - "astro": "^4.8.5", + "astro": "^4.8.6", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 4ee79ebdcebd..1b9705a54a57 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 04318924f54a..2b61430ddbeb 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index c1a6057da3b7..6a6dde857797 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 4c1b9ed19f23..389d994bd86b 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.2.5", "@astrojs/svelte": "^5.4.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "svelte": "^4.2.16" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 005b2f80b6d1..6649418f8d53 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.8.5", + "astro": "^4.8.6", "sass": "^1.77.1", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index a2019a8984a7..9bde535a9fcb 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 9fc9cc83055e..fdce88640ef4 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.0", "@astrojs/node": "^8.2.5", - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index acf1827fc4aa..363cd09f3f22 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.0", - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index a4feb143892e..361841cf2a08 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.1.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 74bbb5a01efe..e60779b73a9b 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.8.5" + "astro": "^4.8.6" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 7690046f7427..710e16284178 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^3.0.0", "@astrojs/preact": "^3.3.0", - "astro": "^4.8.5", + "astro": "^4.8.6", "preact": "^10.21.0" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 13b4d6c0dcda..f722f5dd4d30 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.3.0", "@nanostores/preact": "^0.5.1", - "astro": "^4.8.5", + "astro": "^4.8.6", "nanostores": "^0.10.3", "preact": "^10.21.0" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 6ece6af5b28a..2e2bdeac1a28 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^3.0.0", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.8.5", + "astro": "^4.8.6", "autoprefixer": "^10.4.19", "canvas-confetti": "^1.9.3", "postcss": "^8.4.38", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 44b5119a8f28..e0e285794cd6 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.8.5", + "astro": "^4.8.6", "vitest": "^1.6.0" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 64c9586c0cef..f111e97e018c 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 4.8.6 + +### Patch Changes + +- [#11084](https://github.com/withastro/astro/pull/11084) [`9637014`](https://github.com/withastro/astro/commit/9637014b1495a5a41cb384c7de4de410348f4cc0) Thanks [@bluwy](https://github.com/bluwy)! - Fixes regression when handling hoisted scripts from content collections + ## 4.8.5 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 99f26a487271..6f416a61e1e4 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.8.5", + "version": "4.8.6", "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 16afdfc92b06..ec4f799fe46d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,7 +128,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/blog: @@ -143,13 +143,13 @@ importers: specifier: ^3.1.4 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/framework-alpine: @@ -164,7 +164,7 @@ importers: specifier: ^3.13.10 version: 3.13.10 astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/framework-lit: @@ -176,7 +176,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro lit: specifier: ^3.1.3 @@ -206,7 +206,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro preact: specifier: ^10.21.0 @@ -236,7 +236,7 @@ importers: specifier: ^1.2.3 version: 1.2.3(preact@10.21.0) astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro preact: specifier: ^10.21.0 @@ -254,7 +254,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -269,7 +269,7 @@ importers: specifier: ^4.2.0 version: link:../../packages/integrations/solid astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro solid-js: specifier: ^1.8.17 @@ -281,7 +281,7 @@ importers: specifier: ^5.4.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro svelte: specifier: ^4.2.16 @@ -293,7 +293,7 @@ importers: specifier: ^4.2.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro vue: specifier: ^3.4.27 @@ -305,13 +305,13 @@ importers: specifier: ^8.2.5 version: link:../../packages/integrations/node astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/middleware: @@ -320,7 +320,7 @@ importers: specifier: ^8.2.5 version: link:../../packages/integrations/node astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -333,19 +333,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/ssr: @@ -357,7 +357,7 @@ importers: specifier: ^5.4.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro svelte: specifier: ^4.2.16 @@ -366,7 +366,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro sass: specifier: ^1.77.1 @@ -378,7 +378,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/view-transitions: @@ -390,7 +390,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/with-markdoc: @@ -399,7 +399,7 @@ importers: specifier: ^0.11.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/with-markdown-plugins: @@ -408,7 +408,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -429,7 +429,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro examples/with-mdx: @@ -441,7 +441,7 @@ importers: specifier: ^3.3.0 version: link:../../packages/integrations/preact astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro preact: specifier: ^10.21.0 @@ -456,7 +456,7 @@ importers: specifier: ^0.5.1 version: 0.5.1(nanostores@0.10.3)(preact@10.21.0) astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro nanostores: specifier: ^0.10.3 @@ -477,7 +477,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro autoprefixer: specifier: ^10.4.19 @@ -495,7 +495,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.8.5 + specifier: ^4.8.6 version: link:../../packages/astro vitest: specifier: ^1.6.0