From 9e7fc0b990772a571fe101b68eb2b74c0705eea9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 4 Jun 2025 12:50:37 +0000 Subject: [PATCH 1/2] [ci] release --- .changeset/crazy-doors-buy.md | 28 ------ .changeset/dark-bees-stand.md | 47 --------- .changeset/dull-beers-move.md | 23 ----- .changeset/fast-planets-shout.md | 7 -- examples/basics/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/minimal/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/with-markdoc/package.json | 2 +- examples/with-mdx/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 96 +++++++++++++++++++ packages/astro/package.json | 2 +- packages/integrations/cloudflare/CHANGELOG.md | 11 +++ packages/integrations/cloudflare/package.json | 2 +- pnpm-lock.yaml | 46 ++++----- 32 files changed, 155 insertions(+), 153 deletions(-) delete mode 100644 .changeset/crazy-doors-buy.md delete mode 100644 .changeset/dark-bees-stand.md delete mode 100644 .changeset/dull-beers-move.md delete mode 100644 .changeset/fast-planets-shout.md diff --git a/.changeset/crazy-doors-buy.md b/.changeset/crazy-doors-buy.md deleted file mode 100644 index 0e6c66edea30..000000000000 --- a/.changeset/crazy-doors-buy.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'astro': minor ---- - -Adds experimental Content Security Policy (CSP) support - -CSP is an important feature to provide fine-grained control over resources that can or cannot be downloaded and executed by a document. In particular, it can help protect against [cross-site scripting (XSS)](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks. - -Enabling this feature adds additional security to Astro's handling of processed and bundled scripts and styles by default, and allows you to further configure these, and additional, content types. This new experimental feature has been designed to work in every Astro rendering environment (static pages, dynamic pages and single page applications), while giving you maximum flexibility and with type-safety in mind. - -It is compatible with most of Astro's features such as client islands, and server islands, although Astro's view transitions using the `` are not yet fully supported. Inline scripts are not supported out of the box, but you can provide your own hashes for external and inline scripts. - -To enable this feature, add the experimental flag in your Astro config: - -```js -// astro.config.mjs -import { defineConfig } from "astro/config" - -export default defineConfig({ - experimental: { - csp: true - } -}) -``` - -For more information on enabling and using this feature in your project, see the [Experimental CSP docs](https://docs.astro.build/en/reference/experimental-flags/csp/). - -For a complete overview, and to give feedback on this experimental API, see the [Content Security Policy RFC](https://github.com/withastro/roadmap/blob/feat/rfc-csp/proposals/0055-csp.md). diff --git a/.changeset/dark-bees-stand.md b/.changeset/dark-bees-stand.md deleted file mode 100644 index a3b7886053a6..000000000000 --- a/.changeset/dark-bees-stand.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -'astro': minor ---- - -Provides a Markdown renderer to content loaders - -When creating a content loader, you will now have access to a `renderMarkdown` function that allows you to render Markdown content directly within your loaders. It uses the same settings and plugins as the renderer used for Markdown files in Astro, and follows any Markdown settings you have configured in your Astro project. - -This allows you to render Markdown content from various sources, such as a CMS or other data sources, directly in your loaders without needing to preprocess the Markdown content separately. - -```ts -import type { Loader } from 'astro/loaders'; -import { loadFromCMS } from './cms'; - -export function myLoader(settings): Loader { - return { - name: 'my-loader', - async load({ renderMarkdown, store }) { - const entries = await loadFromCMS(); - - store.clear(); - - for (const entry of entries) { - // Assume each entry has a 'content' field with markdown content - store.set(entry.id, { - id: entry.id, - data: entry, - rendered: await renderMarkdown(entry.content), - }); - } - }, - }; -} -``` - -The return value of `renderMarkdown` is an object with two properties: `html` and `metadata`. These match the `rendered` property of content entries in content collections, so you can use them to render the content in your components or pages. - -```astro ---- -import { getEntry, render } from 'astro:content'; -const entry = await getEntry('my-collection', Astro.params.id); -const { Content } = await render(entry); ---- - -``` - -For more information, see the [Content Loader API docs](https://docs.astro.build/en/reference/content-loader-reference/#rendermarkdown). diff --git a/.changeset/dull-beers-move.md b/.changeset/dull-beers-move.md deleted file mode 100644 index 5c5679bdc9e2..000000000000 --- a/.changeset/dull-beers-move.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"astro": minor ---- - -Adds an option for integration authors to suppress adapter warning/errors in `supportedAstroFeatures`. This is useful when either an warning/error isn't applicable in a specific context or the default one might conflict and confuse users. - -To do so, you can add `suppress: "all"` (to suppress both the default and custom message) or `suppress: "default"` (to only suppress the default one): -```ts -setAdapter({ - name: 'my-astro-integration', - supportedAstroFeatures: { - staticOutput: "stable", - hybridOutput: "stable", - sharpImageService: { - support: "limited", - message: "The sharp image service isn't available in the deploy environment, but will be used by prerendered pages on build.", - suppress: "default", - }, - } -}) -``` - -For more information, see the [Adapter API reference docs](https://docs.astro.build/en/reference/adapter-reference/#astro-features). diff --git a/.changeset/fast-planets-shout.md b/.changeset/fast-planets-shout.md deleted file mode 100644 index 65216f7c9fe8..000000000000 --- a/.changeset/fast-planets-shout.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@astrojs/cloudflare": patch ---- - -Clarifies and reduces a few logs when starting the dev server with `@astrojs/cloudflare`. - -Warnings about sharp support will now be suppressed when you have explicitly set an `imageService` option. diff --git a/examples/basics/package.json b/examples/basics/package.json index 506c5965fab0..072a4e0fe816 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.8.2" + "astro": "^5.9.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 1440e72edcc1..0d974a4c2f54 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.8.2", + "astro": "^5.9.0", "sharp": "^0.34.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index aed0199aa7ef..73c41e1592e5 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.8.2" + "astro": "^5.9.0" }, "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 69e44adb8302..473e3f11b873 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.8.2", + "astro": "^5.9.0", "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 cf2c933e11e7..6b57ab0abf09 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.8.2" + "astro": "^5.9.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 5876242ba03d..38c9b084cd23 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.8.2", + "astro": "^5.9.0", "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 81ed13d2484d..4b081ed66978 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.8.2", + "astro": "^5.9.0", "preact": "^10.26.5" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index bd22778ec71a..e4df1335f91a 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.8.2", + "astro": "^5.9.0", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index a15c64c40253..da35aa2b073d 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.8.2", + "astro": "^5.9.0", "solid-js": "^1.9.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 9cd3a9304cff..841a6825faf6 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.8.2", + "astro": "^5.9.0", "svelte": "^5.25.7" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 5de9656cd5b2..714ab5405ce8 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.8.2", + "astro": "^5.9.0", "vue": "^3.5.13" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 918cab396290..bbf1023126c4 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.2.2", - "astro": "^5.8.2" + "astro": "^5.9.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 0af32149068f..e6a3866fb3de 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.8.2" + "astro": "^5.9.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 18d524d6002e..eaf6c2f1177f 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.8.2" + "astro": "^5.9.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 6022bfdbdbc9..926d2cc16bf2 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.8.2" + "astro": "^5.9.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 9637c908efec..1989e6193c1d 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.8.2", + "astro": "^5.9.0", "svelte": "^5.25.7" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 6fa5d1e51e75..51561ab3ecd1 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.8.2", + "astro": "^5.9.0", "sass": "^1.86.3", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 15b787a47942..56c232081087 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.8.2" + "astro": "^5.9.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 00b7b76a99ad..f9be2cf9a7f1 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.8.2" + "astro": "^5.9.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index cd31f5ec4089..1eab430939b3 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.8.2", + "astro": "^5.9.0", "preact": "^10.26.5" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 090447520802..cb7cab954791 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.8.2", + "astro": "^5.9.0", "nanostores": "^0.11.4", "preact": "^10.26.5" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 0b728902dffd..4e86ff23e48d 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.8.2", + "astro": "^5.9.0", "canvas-confetti": "^1.9.3", "tailwindcss": "^4.1.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index b0eeebf1f960..ff7a902613ac 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.8.2", + "astro": "^5.9.0", "vitest": "^3.1.1" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index a69a1068f861..cb5337cb2c38 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,101 @@ # astro +## 5.9.0 + +### Minor Changes + +- [#13802](https://github.com/withastro/astro/pull/13802) [`0eafe14`](https://github.com/withastro/astro/commit/0eafe14b08c627b116842ea0a5299a00f9baa3d1) Thanks [@ematipico](https://github.com/ematipico)! - Adds experimental Content Security Policy (CSP) support + + CSP is an important feature to provide fine-grained control over resources that can or cannot be downloaded and executed by a document. In particular, it can help protect against [cross-site scripting (XSS)](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks. + + Enabling this feature adds additional security to Astro's handling of processed and bundled scripts and styles by default, and allows you to further configure these, and additional, content types. This new experimental feature has been designed to work in every Astro rendering environment (static pages, dynamic pages and single page applications), while giving you maximum flexibility and with type-safety in mind. + + It is compatible with most of Astro's features such as client islands, and server islands, although Astro's view transitions using the `` are not yet fully supported. Inline scripts are not supported out of the box, but you can provide your own hashes for external and inline scripts. + + To enable this feature, add the experimental flag in your Astro config: + + ```js + // astro.config.mjs + import { defineConfig } from 'astro/config'; + + export default defineConfig({ + experimental: { + csp: true, + }, + }); + ``` + + For more information on enabling and using this feature in your project, see the [Experimental CSP docs](https://docs.astro.build/en/reference/experimental-flags/csp/). + + For a complete overview, and to give feedback on this experimental API, see the [Content Security Policy RFC](https://github.com/withastro/roadmap/blob/feat/rfc-csp/proposals/0055-csp.md). + +- [#13850](https://github.com/withastro/astro/pull/13850) [`1766d22`](https://github.com/withastro/astro/commit/1766d222e7bb4adb6d15090e2d6331a0d8978303) Thanks [@ascorbic](https://github.com/ascorbic)! - Provides a Markdown renderer to content loaders + + When creating a content loader, you will now have access to a `renderMarkdown` function that allows you to render Markdown content directly within your loaders. It uses the same settings and plugins as the renderer used for Markdown files in Astro, and follows any Markdown settings you have configured in your Astro project. + + This allows you to render Markdown content from various sources, such as a CMS or other data sources, directly in your loaders without needing to preprocess the Markdown content separately. + + ```ts + import type { Loader } from 'astro/loaders'; + import { loadFromCMS } from './cms'; + + export function myLoader(settings): Loader { + return { + name: 'my-loader', + async load({ renderMarkdown, store }) { + const entries = await loadFromCMS(); + + store.clear(); + + for (const entry of entries) { + // Assume each entry has a 'content' field with markdown content + store.set(entry.id, { + id: entry.id, + data: entry, + rendered: await renderMarkdown(entry.content), + }); + } + }, + }; + } + ``` + + The return value of `renderMarkdown` is an object with two properties: `html` and `metadata`. These match the `rendered` property of content entries in content collections, so you can use them to render the content in your components or pages. + + ```astro + --- + import { getEntry, render } from 'astro:content'; + const entry = await getEntry('my-collection', Astro.params.id); + const { Content } = await render(entry); + --- + + + ``` + + For more information, see the [Content Loader API docs](https://docs.astro.build/en/reference/content-loader-reference/#rendermarkdown). + +- [#13887](https://github.com/withastro/astro/pull/13887) [`62f0668`](https://github.com/withastro/astro/commit/62f0668aa1e066c1c07ee0e774192def4cac43c4) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds an option for integration authors to suppress adapter warning/errors in `supportedAstroFeatures`. This is useful when either an warning/error isn't applicable in a specific context or the default one might conflict and confuse users. + + To do so, you can add `suppress: "all"` (to suppress both the default and custom message) or `suppress: "default"` (to only suppress the default one): + + ```ts + setAdapter({ + name: 'my-astro-integration', + supportedAstroFeatures: { + staticOutput: 'stable', + hybridOutput: 'stable', + sharpImageService: { + support: 'limited', + message: + "The sharp image service isn't available in the deploy environment, but will be used by prerendered pages on build.", + suppress: 'default', + }, + }, + }); + ``` + + For more information, see the [Adapter API reference docs](https://docs.astro.build/en/reference/adapter-reference/#astro-features). + ## 5.8.2 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 4ea60acf7da8..112566f9bc5b 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.8.2", + "version": "5.9.0", "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/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index 859b062be04c..c03fc44459dc 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/cloudflare +## 12.5.4 + +### Patch Changes + +- [#13817](https://github.com/withastro/astro/pull/13817) [`b7258f1`](https://github.com/withastro/astro/commit/b7258f1243189218604346f5e0301dbdd363a57f) Thanks [@yanthomasdev](https://github.com/yanthomasdev)! - Clarifies and reduces a few logs when starting the dev server with `@astrojs/cloudflare`. + + Warnings about sharp support will now be suppressed when you have explicitly set an `imageService` option. + +- Updated dependencies []: + - @astrojs/underscore-redirects@0.6.1 + ## 12.5.3 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 4ca2b8bc0746..a09516fd5f7e 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/cloudflare", "description": "Deploy your site to Cloudflare Workers/Pages", - "version": "12.5.3", + "version": "12.5.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 45ff74c8792a..2a0fabafef38 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,7 +145,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/blog: @@ -160,7 +160,7 @@ importers: specifier: ^3.4.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro sharp: specifier: ^0.34.2 @@ -169,7 +169,7 @@ importers: examples/component: devDependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/ssr: @@ -365,7 +365,7 @@ importers: specifier: ^7.1.0 version: link:../../packages/integrations/svelte astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro svelte: specifier: ^5.25.7 @@ -374,7 +374,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/with-markdoc: @@ -398,7 +398,7 @@ importers: specifier: ^0.15.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro examples/with-mdx: @@ -410,7 +410,7 @@ importers: specifier: ^4.1.0 version: link:../../packages/integrations/preact astro: - specifier: ^5.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 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.8.2 + specifier: ^5.9.0 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.3 @@ -458,7 +458,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.8.2 + specifier: ^5.9.0 version: link:../../packages/astro vitest: specifier: ^3.1.1 From 844549873ace8b48e9b3dbfabfe34f655160cd7b Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Thu, 5 Jun 2025 13:42:46 +0100 Subject: [PATCH 2/2] Update packages/astro/CHANGELOG.md --- packages/astro/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index cb5337cb2c38..8d2811d113f8 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -74,7 +74,7 @@ For more information, see the [Content Loader API docs](https://docs.astro.build/en/reference/content-loader-reference/#rendermarkdown). -- [#13887](https://github.com/withastro/astro/pull/13887) [`62f0668`](https://github.com/withastro/astro/commit/62f0668aa1e066c1c07ee0e774192def4cac43c4) Thanks [@ascorbic](https://github.com/ascorbic)! - Adds an option for integration authors to suppress adapter warning/errors in `supportedAstroFeatures`. This is useful when either an warning/error isn't applicable in a specific context or the default one might conflict and confuse users. +- [#13887](https://github.com/withastro/astro/pull/13887) [`62f0668`](https://github.com/withastro/astro/commit/62f0668aa1e066c1c07ee0e774192def4cac43c4) Thanks [@yanthomasdev](https://github.com/yanthomasdev)! - Adds an option for integration authors to suppress adapter warning/errors in `supportedAstroFeatures`. This is useful when either an warning/error isn't applicable in a specific context or the default one might conflict and confuse users. To do so, you can add `suppress: "all"` (to suppress both the default and custom message) or `suppress: "default"` (to only suppress the default one):