diff --git a/.changeset/bumpy-experts-melt.md b/.changeset/bumpy-experts-melt.md deleted file mode 100644 index 97831773c14d..000000000000 --- a/.changeset/bumpy-experts-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug in live collections that caused it to incorrectly complain about the collection being defined in the wrong file diff --git a/.changeset/calm-doors-float.md b/.changeset/calm-doors-float.md deleted file mode 100644 index 1f36f70e0de2..000000000000 --- a/.changeset/calm-doors-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes rendering of special boolean attributes for custom elements diff --git a/.changeset/legal-facts-teach.md b/.changeset/legal-facts-teach.md deleted file mode 100644 index 5fe2dff41818..000000000000 --- a/.changeset/legal-facts-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a case where the toolbar audit would incorrectly flag images processed by Astro in content collections documents diff --git a/.changeset/olive-lines-cough.md b/.changeset/olive-lines-cough.md deleted file mode 100644 index c5e023f59716..000000000000 --- a/.changeset/olive-lines-cough.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Adds `lastModified` field to experimental live collection cache hints - -Live loaders can now set a `lastModified` field in the cache hints for entries and collections to indicate when the data was last modified. This is then available in the `cacheHint` field returned by `getCollection` and `getEntry`. diff --git a/.changeset/small-knives-feel.md b/.changeset/small-knives-feel.md deleted file mode 100644 index 7efce03b10ce..000000000000 --- a/.changeset/small-knives-feel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Adds an informative message in dev mode when the CSP feature is enabled. diff --git a/.changeset/smooth-baboons-move.md b/.changeset/smooth-baboons-move.md deleted file mode 100644 index be1e4185cfd2..000000000000 --- a/.changeset/smooth-baboons-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where inline styles and scripts didn't work when CSP was enabled. Now when adding `` elements inside an Astro component, their hashes care correctly computed. diff --git a/.changeset/tidy-places-care.md b/.changeset/tidy-places-care.md deleted file mode 100644 index c29612a18178..000000000000 --- a/.changeset/tidy-places-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Updates wrong link diff --git a/examples/basics/package.json b/examples/basics/package.json index b7f799c5cb51..ab0250bea098 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 58682ba79d51..1f9a830158e8 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.3.0", "@astrojs/rss": "^4.0.12", "@astrojs/sitemap": "^3.4.1", - "astro": "^5.10.0", + "astro": "^5.10.1", "sharp": "^0.34.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index f8af92a3788a..d8a228013980 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.10.0" + "astro": "^5.10.1" }, "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 a2b8ff1ff514..b23586f456ad 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^4.3.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.1.1" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 94c4d800f24e..4e8e637c11db 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.8", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.14.9", - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index c8680fe2fbc1..d57f09e48609 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^5.1.0", "@types/react": "^18.3.20", "@types/react-dom": "^18.3.6", - "astro": "^5.10.0", + "astro": "^5.10.1", "preact": "^10.26.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 1d9b94729b3a..cd72fb7e2257 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.1.0", "@preact/signals": "^2.0.3", - "astro": "^5.10.0", + "astro": "^5.10.1", "preact": "^10.26.5" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 4a1692da5211..33b95e0b97ea 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.3.0", "@types/react": "^18.3.20", "@types/react-dom": "^18.3.6", - "astro": "^5.10.0", + "astro": "^5.10.1", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 0bd36f6cf02c..eb9668b2f382 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.1.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "solid-js": "^1.9.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 6f14466f2a20..799bf37eab8d 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.1.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "svelte": "^5.25.7" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 99fb8bd1163e..4cccf792805a 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.1.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "vue": "^3.5.13" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 718a379ccda1..db4808842815 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.2.2", - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 642b00558a1c..8179cb175b6a 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.10.0" + "astro": "^5.10.1" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 885e306e07c1..95695a98221b 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 6f74d62290fa..b4f67bb9de66 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index b901a0cc03f0..1236016ed645 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.2.2", "@astrojs/svelte": "^7.1.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "svelte": "^5.25.7" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 381a476ce7e1..6ff39fc0fb99 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.10.0", + "astro": "^5.10.1", "sass": "^1.86.3", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 9f0f6ea8d0c8..f61baae59ae4 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@types/node": "^18.17.8", - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index efde96af4bc2..4283ceae3f07 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.15.0", - "astro": "^5.10.0" + "astro": "^5.10.1" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 53ce07f4dd65..a05a2aca4eb1 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.3.0", "@astrojs/preact": "^4.1.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "preact": "^10.26.5" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index c857829db5fa..11062ac27da7 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.1.0", "@nanostores/preact": "^0.5.2", - "astro": "^5.10.0", + "astro": "^5.10.1", "nanostores": "^0.11.4", "preact": "^10.26.5" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 6df5c6c79c11..a7b9c49c5e74 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.3.0", "@tailwindcss/vite": "^4.1.3", "@types/canvas-confetti": "^1.9.0", - "astro": "^5.10.0", + "astro": "^5.10.1", "canvas-confetti": "^1.9.3", "tailwindcss": "^4.1.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 5df7b89a1abf..bb9e0e571046 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.10.0", + "astro": "^5.10.1", "vitest": "^3.1.1" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 4b696e2435e6..5614ebce5535 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,25 @@ # astro +## 5.10.1 + +### Patch Changes + +- [#13988](https://github.com/withastro/astro/pull/13988) [`609044c`](https://github.com/withastro/astro/commit/609044ca6a6254b1db11bb3fc8e0bb54213eab8e) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug in live collections that caused it to incorrectly complain about the collection being defined in the wrong file + +- [#13909](https://github.com/withastro/astro/pull/13909) [`b258d86`](https://github.com/withastro/astro/commit/b258d86d47086d3a17d6d9e6b79ac21f9770f765) Thanks [@isVivek99](https://github.com/isVivek99)! - Fixes rendering of special boolean attributes for custom elements + +- [#13983](https://github.com/withastro/astro/pull/13983) [`e718375`](https://github.com/withastro/astro/commit/e718375c1714a631eba75f70118653cf93a4326d) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes a case where the toolbar audit would incorrectly flag images processed by Astro in content collections documents + +- [#13999](https://github.com/withastro/astro/pull/13999) [`f077b68`](https://github.com/withastro/astro/commit/f077b68f4debe8d716a8610e561b4fe17b1245b3) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds `lastModified` field to experimental live collection cache hints + + Live loaders can now set a `lastModified` field in the cache hints for entries and collections to indicate when the data was last modified. This is then available in the `cacheHint` field returned by `getCollection` and `getEntry`. + +- [#13987](https://github.com/withastro/astro/pull/13987) [`08f34b1`](https://github.com/withastro/astro/commit/08f34b19c8953426ce35093414a27ecd8d405309) Thanks [@ematipico](https://github.com/ematipico)! - Adds an informative message in dev mode when the CSP feature is enabled. + +- [#14005](https://github.com/withastro/astro/pull/14005) [`82aad62`](https://github.com/withastro/astro/commit/82aad62efd2b817cc9cff46b606fedaa64e0c922) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where inline styles and scripts didn't work when CSP was enabled. Now when adding `` elements inside an Astro component, their hashes care correctly computed. + +- [#13985](https://github.com/withastro/astro/pull/13985) [`0b4c641`](https://github.com/withastro/astro/commit/0b4c641b22b31d0dea15911c0daba995a48261a9) Thanks [@jsparkdev](https://github.com/jsparkdev)! - Updates wrong link + ## 5.10.0 ### Minor Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 570b106f6914..b09f573e4d33 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.10.0", + "version": "5.10.1", "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 8444d54e4ecf..3e60e56cd5e5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,7 +145,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/blog: @@ -160,7 +160,7 @@ importers: specifier: ^3.4.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro sharp: specifier: ^0.34.2 @@ -169,7 +169,7 @@ importers: examples/component: devDependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/container-with-vitest: @@ -178,7 +178,7 @@ importers: specifier: ^4.3.0 version: link:../../packages/integrations/react astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -209,7 +209,7 @@ importers: specifier: ^3.14.9 version: 3.14.9 astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/framework-multiple: @@ -236,7 +236,7 @@ importers: specifier: ^18.3.6 version: 18.3.7(@types/react@18.3.23) astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro preact: specifier: ^10.26.5 @@ -266,7 +266,7 @@ importers: specifier: ^2.0.3 version: 2.2.0(preact@10.26.8) astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro preact: specifier: ^10.26.5 @@ -284,7 +284,7 @@ importers: specifier: ^18.3.6 version: 18.3.7(@types/react@18.3.23) astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -299,7 +299,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/solid astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro solid-js: specifier: ^1.9.5 @@ -311,7 +311,7 @@ importers: specifier: ^7.1.0 version: link:../../packages/integrations/svelte astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro svelte: specifier: ^5.25.7 @@ -323,7 +323,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/vue astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro vue: specifier: ^3.5.13 @@ -335,25 +335,25 @@ importers: specifier: ^9.2.2 version: link:../../packages/integrations/node astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/ssr: @@ -365,7 +365,7 @@ importers: specifier: ^7.1.0 version: link:../../packages/integrations/svelte astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro svelte: specifier: ^5.25.7 @@ -374,7 +374,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro sass: specifier: ^1.86.3 @@ -389,7 +389,7 @@ importers: specifier: ^18.17.8 version: 18.19.50 astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/with-markdoc: @@ -398,7 +398,7 @@ importers: specifier: ^0.15.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro examples/with-mdx: @@ -410,7 +410,7 @@ importers: specifier: ^4.1.0 version: link:../../packages/integrations/preact astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro preact: specifier: ^10.26.5 @@ -425,7 +425,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.4)(preact@10.26.8) astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro nanostores: specifier: ^0.11.4 @@ -446,7 +446,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.3 @@ -458,7 +458,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.10.0 + specifier: ^5.10.1 version: link:../../packages/astro vitest: specifier: ^3.1.1