From 733fdd6c86e1d20552f63ca246232f1df993227e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 16:58:21 +0000 Subject: [PATCH] [ci] release (beta) --- .changeset/pre.json | 8 ++ examples/advanced-routing/package.json | 2 +- examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 4 +- examples/framework-alpine/package.json | 2 +- examples/framework-multiple/package.json | 12 +-- examples/framework-preact/package.json | 4 +- examples/framework-react/package.json | 4 +- examples/framework-solid/package.json | 4 +- examples/framework-svelte/package.json | 4 +- examples/framework-vue/package.json | 4 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/minimal/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 4 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/with-markdoc/package.json | 2 +- examples/with-mdx/package.json | 6 +- examples/with-nanostores/package.json | 4 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 24 ++++++ packages/astro/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 17 ++++ packages/integrations/mdx/package.json | 2 +- packages/integrations/preact/CHANGELOG.md | 17 ++++ packages/integrations/preact/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 17 ++++ packages/integrations/react/package.json | 2 +- packages/integrations/solid/CHANGELOG.md | 17 ++++ packages/integrations/solid/package.json | 2 +- packages/integrations/svelte/CHANGELOG.md | 17 ++++ packages/integrations/svelte/package.json | 2 +- packages/integrations/vue/CHANGELOG.md | 17 ++++ packages/integrations/vue/package.json | 2 +- pnpm-lock.yaml | 91 ++++++++++----------- 40 files changed, 223 insertions(+), 98 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 8aa11527fc1a..b30dbe67da77 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -34,17 +34,25 @@ }, "changesets": [ "beige-doodles-bow", + "bright-insects-peel", "common-pears-drive", + "compress-html-jsx-default", + "container-renderer-export", "cozy-knives-buy", "experimental-background-dev", "expose-get-fetch-state", + "fifty-ways-swim", + "fix-advanced-routing-500-fallback", + "fix-composable-middleware-500", "fix-dev-port-vite-restart", + "fix-middleware-500-error-prop", "fix-prerender-allowed-domains-warning", "font-data-subset-field", "goofy-tigers-like", "odd-poems-dress", "plenty-meals-wonder", "remove-db-cli-command", + "ripe-bottles-fetch", "rusty-compilers-only", "satteri-default-markdown-processor", "seven-pots-begin", diff --git a/examples/advanced-routing/package.json b/examples/advanced-routing/package.json index ca9335cafd9c..0a3b3b2888e5 100644 --- a/examples/advanced-routing/package.json +++ b/examples/advanced-routing/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/node": "^11.0.0-beta.2", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "hono": "^4.12.14" } } diff --git a/examples/basics/package.json b/examples/basics/package.json index b55322e88ed6..85b114adfba3 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index d07e8ff85889..cd31a23a0732 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^7.0.0-beta.2", + "@astrojs/mdx": "^7.0.0-beta.3", "@astrojs/rss": "^4.0.18", "@astrojs/sitemap": "^3.7.3", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "sharp": "^0.34.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index be8a74da748f..ae03279a713c 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" }, "peerDependencies": { "astro": "^5.0.0 || ^6.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 0f58d1032530..feab7689aeca 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -14,8 +14,8 @@ "test": "vitest run" }, "dependencies": { - "@astrojs/react": "^6.0.0-beta.1", - "astro": "^7.0.0-beta.4", + "@astrojs/react": "^6.0.0-beta.2", + "astro": "^7.0.0-beta.5", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^4.1.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index c4885f9ea028..9ab8741dbd19 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -16,6 +16,6 @@ "@astrojs/alpinejs": "^1.0.0-beta.1", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.15.8", - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 628c74791bbe..44189acd0f19 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -13,14 +13,14 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^6.0.0-beta.1", - "@astrojs/react": "^6.0.0-beta.1", - "@astrojs/solid-js": "^7.0.0-beta.1", - "@astrojs/svelte": "^9.0.0-beta.3", - "@astrojs/vue": "^7.0.0-beta.1", + "@astrojs/preact": "^6.0.0-beta.2", + "@astrojs/react": "^6.0.0-beta.2", + "@astrojs/solid-js": "^7.0.0-beta.2", + "@astrojs/svelte": "^9.0.0-beta.4", + "@astrojs/vue": "^7.0.0-beta.2", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "preact": "^10.28.4", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index e6b73cfb10a1..e31abf5b136d 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^6.0.0-beta.1", + "@astrojs/preact": "^6.0.0-beta.2", "@preact/signals": "^2.8.1", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "preact": "^10.28.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index b27229a7c661..31e87f7cbedf 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^6.0.0-beta.1", + "@astrojs/react": "^6.0.0-beta.2", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 5ffb6fbb4615..f0b0e1b4cb1a 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -13,8 +13,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/solid-js": "^7.0.0-beta.1", - "astro": "^7.0.0-beta.4", + "@astrojs/solid-js": "^7.0.0-beta.2", + "astro": "^7.0.0-beta.5", "solid-js": "^1.9.11" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index d9eea3d955ca..bd6cd150b911 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,8 +13,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^9.0.0-beta.3", - "astro": "^7.0.0-beta.4", + "@astrojs/svelte": "^9.0.0-beta.4", + "astro": "^7.0.0-beta.5", "svelte": "^5.53.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index c5c913208587..ebbedde24770 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -13,8 +13,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/vue": "^7.0.0-beta.1", - "astro": "^7.0.0-beta.4", + "@astrojs/vue": "^7.0.0-beta.2", + "astro": "^7.0.0-beta.5", "vue": "^3.5.29" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index ad9344ddff84..3fc0985f514f 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/node": "^11.0.0-beta.2", - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index e95858404ad7..ecadc8c6e81d 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 9e3c124e015b..a6274fd3c0c3 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 0db3794043d7..d300195a09f6 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 073d20f7e1d8..57c43ad79bfd 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -15,8 +15,8 @@ }, "dependencies": { "@astrojs/node": "^11.0.0-beta.2", - "@astrojs/svelte": "^9.0.0-beta.3", - "astro": "^7.0.0-beta.4", + "@astrojs/svelte": "^9.0.0-beta.4", + "astro": "^7.0.0-beta.5", "svelte": "^5.53.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index b64182948d2b..3ad596e40ff5 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "sass": "^1.97.3", "sharp": "^0.34.3" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 109e41ab3801..e37d2e8ca02b 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/node": "^22.10.6", - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" }, "engines": { "node": ">=22.12.0" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 7cdebb316511..4324d942c9d7 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/markdoc": "^2.0.0-beta.1", - "astro": "^7.0.0-beta.4" + "astro": "^7.0.0-beta.5" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index f531a112d39f..b68bfa59abc0 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^7.0.0-beta.2", - "@astrojs/preact": "^6.0.0-beta.1", - "astro": "^7.0.0-beta.4", + "@astrojs/mdx": "^7.0.0-beta.3", + "@astrojs/preact": "^6.0.0-beta.2", + "astro": "^7.0.0-beta.5", "preact": "^10.28.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 2aca3d5b5f1d..88743939c0d0 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^6.0.0-beta.1", + "@astrojs/preact": "^6.0.0-beta.2", "@nanostores/preact": "^1.0.0", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "nanostores": "^1.1.1", "preact": "^10.28.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index e19bea5bb7b5..3b91c224cd03 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^7.0.0-beta.2", + "@astrojs/mdx": "^7.0.0-beta.3", "@tailwindcss/vite": "^4.2.1", "@types/canvas-confetti": "^1.9.0", - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "canvas-confetti": "^1.9.4", "tailwindcss": "^4.2.1", "vite": "^8.0.13" diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 8298de9d58c0..5de3957b75d9 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^7.0.0-beta.4", + "astro": "^7.0.0-beta.5", "vitest": "^5.0.0-beta.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1305d02a740c..df393c9320fb 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,29 @@ # astro +## 7.0.0-beta.5 + +### Major Changes + +- [#16965](https://github.com/withastro/astro/pull/16965) [`57ead0d`](https://github.com/withastro/astro/commit/57ead0d5938e5988e3f896f3d6f8ef4516c4923f) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Makes `'jsx'` the default value for `compressHTML` + + Astro now strips whitespace from your HTML using JSX rules by default, the same way frameworks like React do. Whitespace and line breaks around elements are removed, but meaningful whitespace within a single line — like a space between two inline elements — is preserved. To keep a space that would otherwise be removed, write it explicitly in your source, for example with `{" "}`. + + This can change rendered output where whitespace between inline elements was previously meaningful. To keep Astro's earlier behavior, set `compressHTML: true` for HTML-aware compression, or `compressHTML: false` to preserve all whitespace. + +### Patch Changes + +- [#17111](https://github.com/withastro/astro/pull/17111) [`c0f33ed`](https://github.com/withastro/astro/commit/c0f33eda8adf6f8f2588688f6205b76a96a42466) Thanks [@ematipico](https://github.com/ematipico)! - Harden the limits on the number of decoding on the URL. + +- [#17095](https://github.com/withastro/astro/pull/17095) [`e84ebc0`](https://github.com/withastro/astro/commit/e84ebc0af84a13a26ea412460cbc491f81135ae5) Thanks [@matthewp](https://github.com/matthewp)! - Improves build performance by removing an unfiltered transform hook from the `astro:head-metadata-build` plugin. Head propagation modules are now identified by their module ID (`?astroPropagatedAssets`) instead of scanning every module's source code. + +- [#17041](https://github.com/withastro/astro/pull/17041) [`4c4a91c`](https://github.com/withastro/astro/commit/4c4a91c3ef3e3316cb9faa32e37c69d69902b956) Thanks [@iseraph-dev](https://github.com/iseraph-dev)! - Fixes a bug where the advanced routing `astro/hono` / `astro/fetch` `pages()` handler returned the host framework's default `Internal Server Error` response instead of rendering the custom `500.astro` page when a page threw during render. Unmatched requests with a prerendered (or absent) custom 404 page now render the 404 error page instead of failing the same way. + +- [#17097](https://github.com/withastro/astro/pull/17097) [`5e340d7`](https://github.com/withastro/astro/commit/5e340d7d81aae72215d56b8c598d350b79ad94a3) Thanks [@iseraph-dev](https://github.com/iseraph-dev)! - Fixes a bug where the advanced routing `astro/hono` / `astro/fetch` `middleware()` handler returned the host framework's default `Internal Server Error` response instead of rendering the custom `500.astro` page when middleware threw. Unmatched requests with a prerendered (or absent) custom 404 page now render the 404 error page instead of failing the same way. Errors surfaced through `next` (the host framework's downstream chain) still propagate to the host's own error handler. + +- [#17104](https://github.com/withastro/astro/pull/17104) [`b074a37`](https://github.com/withastro/astro/commit/b074a37c5ab9364529080b3283cf9be8a6350e34) Thanks [@iseraph-dev](https://github.com/iseraph-dev)! - Fixes the custom `500.astro` page receiving an empty `error` prop when the error originated in middleware. + +- [#17098](https://github.com/withastro/astro/pull/17098) [`637a1b6`](https://github.com/withastro/astro/commit/637a1b6c6fe58fd271faf4ee7555787e4f4a0b9a) Thanks [@matthewp](https://github.com/matthewp)! - Fixes internal Astro headers leaking from direct `pages()` handler responses + ## 7.0.0-beta.4 ### Major Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 100fa9bf9b24..a87aa9ac831a 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "7.0.0-beta.4", + "version": "7.0.0-beta.5", "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/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index e3ae8d0840ca..b9aa30ce9db8 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/mdx +## 7.0.0-beta.3 + +### Minor Changes + +- [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()` + + A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used. + + If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React: + + ```diff + - import { getContainerRenderer } from '@astrojs/react'; + + import { getContainerRenderer } from '@astrojs/react/container-renderer'; + ``` + + Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning. + ## 7.0.0-beta.2 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index f6ed184c9c11..5bcda3fbba51 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "7.0.0-beta.2", + "version": "7.0.0-beta.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 05aabf158c66..d1c80c762d55 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/preact +## 6.0.0-beta.2 + +### Minor Changes + +- [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()` + + A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used. + + If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React: + + ```diff + - import { getContainerRenderer } from '@astrojs/react'; + + import { getContainerRenderer } from '@astrojs/react/container-renderer'; + ``` + + Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning. + ## 6.0.0-beta.1 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 175842a66f5f..6908c78edfbf 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/preact", "description": "Use Preact components within Astro", - "version": "6.0.0-beta.1", + "version": "6.0.0-beta.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 602913211bad..85419377a7d2 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/react +## 6.0.0-beta.2 + +### Minor Changes + +- [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()` + + A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used. + + If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React: + + ```diff + - import { getContainerRenderer } from '@astrojs/react'; + + import { getContainerRenderer } from '@astrojs/react/container-renderer'; + ``` + + Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning. + ## 6.0.0-beta.1 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index fde0d790c6e4..0d585c228278 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "6.0.0-beta.1", + "version": "6.0.0-beta.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md index 0bce3974393b..8c05d825f482 100644 --- a/packages/integrations/solid/CHANGELOG.md +++ b/packages/integrations/solid/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/solid-js +## 7.0.0-beta.2 + +### Minor Changes + +- [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()` + + A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used. + + If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React: + + ```diff + - import { getContainerRenderer } from '@astrojs/react'; + + import { getContainerRenderer } from '@astrojs/react/container-renderer'; + ``` + + Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning. + ## 7.0.0-beta.1 ### Patch Changes diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 375abbd9abda..27c993b8eb2f 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/solid-js", - "version": "7.0.0-beta.1", + "version": "7.0.0-beta.2", "description": "Use Solid components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 7e5339774ba5..95fc2f378c9d 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/svelte +## 9.0.0-beta.4 + +### Minor Changes + +- [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()` + + A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used. + + If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React: + + ```diff + - import { getContainerRenderer } from '@astrojs/react'; + + import { getContainerRenderer } from '@astrojs/react/container-renderer'; + ``` + + Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning. + ## 9.0.0-beta.3 ### Patch Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 9c8b9e7ed2f5..d687e07d1112 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "9.0.0-beta.3", + "version": "9.0.0-beta.4", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index c48b6e263abf..578b6b4320b1 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/vue +## 7.0.0-beta.2 + +### Minor Changes + +- [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()` + + A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used. + + If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React: + + ```diff + - import { getContainerRenderer } from '@astrojs/react'; + + import { getContainerRenderer } from '@astrojs/react/container-renderer'; + ``` + + Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning. + ## 7.0.0-beta.1 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 77076c73856b..6134a0012f82 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "7.0.0-beta.1", + "version": "7.0.0-beta.2", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7802ca208afc..3f5ff7a5ca4e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -194,7 +194,7 @@ importers: specifier: ^11.0.0-beta.2 version: link:../../packages/integrations/node astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro hono: specifier: ^4.12.14 @@ -203,13 +203,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^7.0.0-beta.2 + specifier: ^7.0.0-beta.3 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.18 @@ -218,7 +218,7 @@ importers: specifier: ^3.7.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro sharp: specifier: ^0.34.3 @@ -227,16 +227,16 @@ importers: examples/component: devDependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/container-with-vitest: dependencies: '@astrojs/react': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/react astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -267,25 +267,25 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/framework-multiple: dependencies: '@astrojs/preact': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/react '@astrojs/solid-js': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0-beta.2 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^9.0.0-beta.3 + specifier: ^9.0.0-beta.4 version: link:../../packages/integrations/svelte '@astrojs/vue': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0-beta.2 version: link:../../packages/integrations/vue '@types/react': specifier: ^18.3.28 @@ -294,7 +294,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -318,13 +318,13 @@ importers: examples/framework-preact: dependencies: '@astrojs/preact': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/preact '@preact/signals': specifier: ^2.8.1 version: 2.8.2(preact@10.29.0) astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -333,7 +333,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/react '@types/react': specifier: ^18.3.28 @@ -342,7 +342,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -354,10 +354,10 @@ importers: examples/framework-solid: dependencies: '@astrojs/solid-js': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0-beta.2 version: link:../../packages/integrations/solid astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -366,10 +366,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^9.0.0-beta.3 + specifier: ^9.0.0-beta.4 version: link:../../packages/integrations/svelte astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -378,10 +378,10 @@ importers: examples/framework-vue: dependencies: '@astrojs/vue': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0-beta.2 version: link:../../packages/integrations/vue astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro vue: specifier: ^3.5.29 @@ -393,25 +393,25 @@ importers: specifier: ^11.0.0-beta.2 version: link:../../packages/integrations/node astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/ssr: @@ -420,10 +420,10 @@ importers: specifier: ^11.0.0-beta.2 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^9.0.0-beta.3 + specifier: ^9.0.0-beta.4 version: link:../../packages/integrations/svelte astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -432,7 +432,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -447,7 +447,7 @@ importers: specifier: ^22.19.0 version: 22.19.19 astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/with-markdoc: @@ -456,19 +456,19 @@ importers: specifier: ^2.0.0-beta.1 version: link:../../packages/integrations/markdoc astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^7.0.0-beta.2 + specifier: ^7.0.0-beta.3 version: link:../../packages/integrations/mdx '@astrojs/preact': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/preact astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -477,13 +477,13 @@ importers: examples/with-nanostores: dependencies: '@astrojs/preact': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^1.0.0 version: 1.0.0(nanostores@1.1.1)(preact@10.29.0) astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro nanostores: specifier: ^1.1.1 @@ -495,7 +495,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^7.0.0-beta.2 + specifier: ^7.0.0-beta.3 version: link:../../packages/integrations/mdx '@tailwindcss/vite': specifier: ^4.2.1 @@ -504,7 +504,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -519,7 +519,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^7.0.0-beta.4 + specifier: ^7.0.0-beta.5 version: link:../../packages/astro vitest: specifier: ^5.0.0-beta.2 @@ -4297,15 +4297,6 @@ importers: specifier: ^4.83.0 version: 4.95.0(@cloudflare/workers-types@4.20260527.1) - packages/integrations/cloudflare/test/fixtures/base-redirects: - dependencies: - '@astrojs/cloudflare': - specifier: workspace:* - version: link:../../.. - astro: - specifier: workspace:* - version: link:../../../../../astro - packages/integrations/cloudflare/test/fixtures/binding-image-service: dependencies: '@astrojs/cloudflare':