diff --git a/.changeset/big-tables-pump.md b/.changeset/big-tables-pump.md deleted file mode 100644 index 5af88f78ae..0000000000 --- a/.changeset/big-tables-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes unexpected error when refreshing a POST request from a form using Actions. diff --git a/.changeset/dull-taxis-warn.md b/.changeset/dull-taxis-warn.md deleted file mode 100644 index 49129685ac..0000000000 --- a/.changeset/dull-taxis-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Deprecates `getEntryBySlug` and `getDataEntryById` functions exported by `astro:content` in favor of `getEntry`. diff --git a/.changeset/happy-zebras-clean.md b/.changeset/happy-zebras-clean.md deleted file mode 100644 index 7033865e3a..0000000000 --- a/.changeset/happy-zebras-clean.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Adds support for `Date()`, `Map()`, and `Set()` from action results. See [devalue](https://github.com/Rich-Harris/devalue) for a complete list of supported values. - -Also fixes serialization exceptions when deploying Actions with edge middleware on Netlify and Vercel. diff --git a/.changeset/shy-bees-look.md b/.changeset/shy-bees-look.md deleted file mode 100644 index 931201f670..0000000000 --- a/.changeset/shy-bees-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix toolbar audit incorrectly flagging images as above the fold. diff --git a/.changeset/tiny-poems-battle.md b/.changeset/tiny-poems-battle.md deleted file mode 100644 index 0f289996c3..0000000000 --- a/.changeset/tiny-poems-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes internal server error when calling an Astro Action without arguments on Vercel. diff --git a/.changeset/young-pillows-shave.md b/.changeset/young-pillows-shave.md deleted file mode 100644 index e3d8c4d5db..0000000000 --- a/.changeset/young-pillows-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Ensures consistent CSS chunk hashes across different environments diff --git a/examples/basics/package.json b/examples/basics/package.json index b31dc180d4..2619cf084a 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 16f6af7621..a7e3d99121 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^3.1.3", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index 83890ec03b..05865d1595 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index d77fa2c175..f6f51a1b49 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.13.1", + "astro": "^4.13.2", "@astrojs/react": "^3.6.1", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index c5dcf8e3c5..93ec8d00b7 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.14.1", - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index f821b48ed3..a6f9c1b098 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.3.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.13.1", + "astro": "^4.13.2", "lit": "^3.1.4" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 418594a161..4ffef96d13 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "preact": "^10.23.1", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 99617f45a4..3d429d2e34 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "preact": "^10.23.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 3d49b59526..33b13f7ee0 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.1", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.13.1", + "astro": "^4.13.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 949c3feb3c..eddca991df 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "solid-js": "^1.8.19" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 0e8a88f351..fe9648c0c2 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 654616f820..6334df4f3f 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "vue": "^3.4.35" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 74f0f0b40e..b27ee2f23c 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 37be1da3ce..bd49e1904a 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index bc00d7f684..1236739dc0 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "astro": "^4.13.1", + "astro": "^4.13.2", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 74f6c2d25f..1f355a3785 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 4ece8c8ab4..d693bcb11c 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 76055f3d54..0de52e5a9f 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index 2ac55d0b50..e9a30f3544 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "postcss": "^8.4.40", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 4c8ed5d82d..885b76efc1 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.2", "@astrojs/svelte": "^5.7.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 19ca91fb67..8601f7327d 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.13.1", + "astro": "^4.13.2", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 2f2ae07684..8ab5cd6a3f 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 67879c6158..d1a6382bc5 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.3.2", - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index f40c91e79b..03877876ba 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.3", - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 12ab797b9c..34e4cddace 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.2.0", - "astro": "^4.13.1", + "astro": "^4.13.2", "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 3f72bff1c5..9532fde022 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.13.1" + "astro": "^4.13.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index d105e40183..54766594cb 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^3.1.3", "@astrojs/preact": "^3.5.1", - "astro": "^4.13.1", + "astro": "^4.13.2", "preact": "^10.23.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 9cdbc0ea73..e83c18fb0f 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.2", - "astro": "^4.13.1", + "astro": "^4.13.2", "nanostores": "^0.11.0", "preact": "^10.23.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index c57ee550d3..9d7c8217bf 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^3.1.3", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.13.1", + "astro": "^4.13.2", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.40", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 35697640cb..663ee3a754 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.13.1", + "astro": "^4.13.2", "vitest": "^2.0.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8149b867af..d4658ca136 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,23 @@ # astro +## 4.13.2 + +### Patch Changes + +- [#11648](https://github.com/withastro/astro/pull/11648) [`589d351`](https://github.com/withastro/astro/commit/589d35158da1a2136387d0ad76609f5c8535c03a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fixes unexpected error when refreshing a POST request from a form using Actions. + +- [#11600](https://github.com/withastro/astro/pull/11600) [`09ec2ca`](https://github.com/withastro/astro/commit/09ec2cadce01a9a1f9c54ac433f137348907aa56) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Deprecates `getEntryBySlug` and `getDataEntryById` functions exported by `astro:content` in favor of `getEntry`. + +- [#11593](https://github.com/withastro/astro/pull/11593) [`81d7150`](https://github.com/withastro/astro/commit/81d7150e02472430eab555dfc4f053738bf99bb6) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Adds support for `Date()`, `Map()`, and `Set()` from action results. See [devalue](https://github.com/Rich-Harris/devalue) for a complete list of supported values. + + Also fixes serialization exceptions when deploying Actions with edge middleware on Netlify and Vercel. + +- [#11617](https://github.com/withastro/astro/pull/11617) [`196092a`](https://github.com/withastro/astro/commit/196092ae69eb1249206846ddfc162049b03f42b4) Thanks [@abubakriz](https://github.com/abubakriz)! - Fix toolbar audit incorrectly flagging images as above the fold. + +- [#11634](https://github.com/withastro/astro/pull/11634) [`2716f52`](https://github.com/withastro/astro/commit/2716f52aae7194439ebb2336849ddd9e8226658a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fixes internal server error when calling an Astro Action without arguments on Vercel. + +- [#11628](https://github.com/withastro/astro/pull/11628) [`9aaf58c`](https://github.com/withastro/astro/commit/9aaf58c1339b54f2c1394e718a0f6f609f0b6342) Thanks [@madbook](https://github.com/madbook)! - Ensures consistent CSS chunk hashes across different environments + ## 4.13.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index dbf2dc9a65..81c57fea62 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.13.1", + "version": "4.13.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/pnpm-lock.yaml b/pnpm-lock.yaml index fc05d67d6e..0d42c69146 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,7 +115,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/blog: @@ -130,13 +130,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/container-with-vitest: @@ -145,7 +145,7 @@ importers: specifier: ^3.6.1 version: link:../../packages/integrations/react astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -176,7 +176,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/framework-lit: @@ -188,7 +188,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro lit: specifier: ^3.1.4 @@ -218,7 +218,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro preact: specifier: ^10.23.1 @@ -248,7 +248,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.23.1) astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro preact: specifier: ^10.23.1 @@ -266,7 +266,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -281,7 +281,7 @@ importers: specifier: ^4.4.0 version: link:../../packages/integrations/solid astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro solid-js: specifier: ^1.8.19 @@ -293,7 +293,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -305,7 +305,7 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro vue: specifier: ^3.4.35 @@ -317,13 +317,13 @@ importers: specifier: ^8.3.2 version: link:../../packages/integrations/node astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/middleware: @@ -332,7 +332,7 @@ importers: specifier: ^8.3.2 version: link:../../packages/integrations/node astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -345,19 +345,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/server-islands: @@ -384,7 +384,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro postcss: specifier: ^8.4.40 @@ -408,7 +408,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -417,7 +417,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -429,7 +429,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/view-transitions: @@ -441,7 +441,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/with-markdoc: @@ -450,7 +450,7 @@ importers: specifier: ^0.11.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/with-markdown-plugins: @@ -459,7 +459,7 @@ importers: specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -480,7 +480,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro examples/with-mdx: @@ -492,7 +492,7 @@ importers: specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro preact: specifier: ^10.23.1 @@ -507,7 +507,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.0)(preact@10.23.1) astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro nanostores: specifier: ^0.11.0 @@ -528,7 +528,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -546,7 +546,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.13.1 + specifier: ^4.13.2 version: link:../../packages/astro vitest: specifier: ^2.0.5