From 0879cc2ce7e15a2e7330c68d6667d9a2edea52ab Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Mon, 27 Jan 2025 03:46:43 -0800 Subject: [PATCH] [ci] release (#13056) Co-authored-by: github-actions[bot] --- .changeset/clean-suns-shout.md | 5 -- .changeset/late-years-flow.md | 5 -- .changeset/seven-avocados-confess.md | 5 -- .changeset/three-steaks-exist.md | 21 --------- examples/basics/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 4 +- examples/framework-alpine/package.json | 2 +- examples/framework-multiple/package.json | 4 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 4 +- 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 | 10 ++++ packages/astro/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 22 +++++++++ packages/integrations/react/package.json | 2 +- pnpm-lock.yaml | 52 ++++++++++----------- 32 files changed, 86 insertions(+), 90 deletions(-) delete mode 100644 .changeset/clean-suns-shout.md delete mode 100644 .changeset/late-years-flow.md delete mode 100644 .changeset/seven-avocados-confess.md delete mode 100644 .changeset/three-steaks-exist.md diff --git a/.changeset/clean-suns-shout.md b/.changeset/clean-suns-shout.md deleted file mode 100644 index 424594c8b107..000000000000 --- a/.changeset/clean-suns-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes broken type declaration diff --git a/.changeset/late-years-flow.md b/.changeset/late-years-flow.md deleted file mode 100644 index 576e7de05716..000000000000 --- a/.changeset/late-years-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug that caused tsconfig path aliases to break if there was more than one wildcard pattern diff --git a/.changeset/seven-avocados-confess.md b/.changeset/seven-avocados-confess.md deleted file mode 100644 index 180edf234171..000000000000 --- a/.changeset/seven-avocados-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where the some utility functions of the `astro:i18n` virtual module would return an incorrect result when `trailingSlash` is set to `never` diff --git a/.changeset/three-steaks-exist.md b/.changeset/three-steaks-exist.md deleted file mode 100644 index a42092410e89..000000000000 --- a/.changeset/three-steaks-exist.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@astrojs/react": minor ---- - -Adds experimental support for disabling streaming - -This is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set `experimentalDisableStreaming: true` as a configuration option for `@astrojs/react`: - -```diff -// astro.config.mjs -import { defineConfig } from 'astro/config'; -import react from '@astrojs/react'; - -export default defineConfig({ - integrations: [ - react({ -+ experimentalDisableStreaming: true, - }), - ], -}); -``` diff --git a/examples/basics/package.json b/examples/basics/package.json index 11da71aa62e1..2485f41814a9 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index d886200d883c..8d971cf23b9f 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,6 +13,6 @@ "@astrojs/mdx": "^4.0.7", "@astrojs/rss": "^4.0.11", "@astrojs/sitemap": "^3.2.1", - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/component/package.json b/examples/component/package.json index d4b27c1fdda8..9f4800a437a9 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.1.9" + "astro": "^5.1.10" }, "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 85eeed82736f..b12ec469af23 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -11,8 +11,8 @@ "test": "vitest run" }, "dependencies": { - "@astrojs/react": "^4.1.6", - "astro": "^5.1.9", + "@astrojs/react": "^4.2.0", + "astro": "^5.1.10", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.0.2" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index bfde0c0c2f5a..2da56ec8396e 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.3", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.14.8", - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index a2e47da26998..59e0bf6c7c72 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,13 +11,13 @@ }, "dependencies": { "@astrojs/preact": "^4.0.3", - "@astrojs/react": "^4.1.6", + "@astrojs/react": "^4.2.0", "@astrojs/solid-js": "^5.0.4", "@astrojs/svelte": "^7.0.4", "@astrojs/vue": "^5.0.6", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "astro": "^5.1.9", + "astro": "^5.1.10", "preact": "^10.25.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 b5b80058f889..f3142d0c1186 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.3", "@preact/signals": "^2.0.1", - "astro": "^5.1.9", + "astro": "^5.1.10", "preact": "^10.25.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 52dc15a5c3d4..b7087c27efb7 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^4.1.6", + "@astrojs/react": "^4.2.0", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "astro": "^5.1.9", + "astro": "^5.1.10", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 16315c8e07ec..f1facd93480f 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.0.4", - "astro": "^5.1.9", + "astro": "^5.1.10", "solid-js": "^1.9.4" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 3d11a64343b0..937f40af0481 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.0.4", - "astro": "^5.1.9", + "astro": "^5.1.10", "svelte": "^5.19.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 0f407d2c9494..88cf0e173261 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.6", - "astro": "^5.1.9", + "astro": "^5.1.10", "vue": "^3.5.13" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index b2223709b9cf..b7f6ef331a1a 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.0.1", - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 2986c8fca4f2..776ff62aad11 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.1.9" + "astro": "^5.1.10" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 3eedcf1e8597..1ca5683e40df 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index cda153ca9f0d..8dded9a8b1ba 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 17be4e3a6c25..d47fa0e14881 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.0.1", "@astrojs/svelte": "^7.0.4", - "astro": "^5.1.9", + "astro": "^5.1.10", "svelte": "^5.19.0" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index e3ad891f1b69..cdc4d0c7cc4b 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.1.9", + "astro": "^5.1.10", "sass": "^1.83.4", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 0a8812724691..dc02761f5ad5 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.1.9" + "astro": "^5.1.10" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 7388e7c372d0..c430f544105d 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.12.7", - "astro": "^5.1.9" + "astro": "^5.1.10" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 9e768bcd999a..f7138195bdd3 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.0.7", "@astrojs/preact": "^4.0.3", - "astro": "^5.1.9", + "astro": "^5.1.10", "preact": "^10.25.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index bef38265a49a..a274ab780e6e 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.3", "@nanostores/preact": "^0.5.2", - "astro": "^5.1.9", + "astro": "^5.1.10", "nanostores": "^0.11.3", "preact": "^10.25.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index dba5fa742185..5705ef08a260 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.0.7", "@astrojs/tailwind": "^5.1.5", "@types/canvas-confetti": "^1.9.0", - "astro": "^5.1.9", + "astro": "^5.1.10", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.5.1", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index b9962751785c..7da6b2bceb59 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.1.9", + "astro": "^5.1.10", "vitest": "^3.0.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 04372d4cd008..129e64fb3500 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 5.1.10 + +### Patch Changes + +- [#13058](https://github.com/withastro/astro/pull/13058) [`1a14b53`](https://github.com/withastro/astro/commit/1a14b53678525379211c4a7cbcbc34a04c0e4f8d) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes broken type declaration + +- [#13059](https://github.com/withastro/astro/pull/13059) [`e36837f`](https://github.com/withastro/astro/commit/e36837f91437a66d5c50eb1c399b3d812743251d) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug that caused tsconfig path aliases to break if there was more than one wildcard pattern + +- [#13045](https://github.com/withastro/astro/pull/13045) [`c7f1366`](https://github.com/withastro/astro/commit/c7f1366413692091bb8d62d901745a77fa663b18) Thanks [@mtwilliams-code](https://github.com/mtwilliams-code)! - Fixes a bug where the some utility functions of the `astro:i18n` virtual module would return an incorrect result when `trailingSlash` is set to `never` + ## 5.1.9 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 87f391c0863f..1caeb1820c48 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.1.9", + "version": "5.1.10", "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/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 28336d442df1..71e09c120edc 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @astrojs/react +## 4.2.0 + +### Minor Changes + +- [#13036](https://github.com/withastro/astro/pull/13036) [`3c90d8f`](https://github.com/withastro/astro/commit/3c90d8f3e0baba1463a9022c2e8c777204ad2250) Thanks [@artmsilva](https://github.com/artmsilva)! - Adds experimental support for disabling streaming + + This is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set `experimentalDisableStreaming: true` as a configuration option for `@astrojs/react`: + + ```diff + // astro.config.mjs + import { defineConfig } from 'astro/config'; + import react from '@astrojs/react'; + + export default defineConfig({ + integrations: [ + react({ + + experimentalDisableStreaming: true, + }), + ], + }); + ``` + ## 4.1.6 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 788b6e0e833f..3d1e8d50de04 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": "4.1.6", + "version": "4.2.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b3b7accc6ba..8f3dae0fe3f3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,7 +142,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/blog: @@ -157,22 +157,22 @@ importers: specifier: ^3.2.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/container-with-vitest: dependencies: '@astrojs/react': - specifier: ^4.1.6 + specifier: ^4.2.0 version: link:../../packages/integrations/react astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -203,7 +203,7 @@ importers: specifier: ^3.14.8 version: 3.14.8 astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/framework-multiple: @@ -212,7 +212,7 @@ importers: specifier: ^4.0.3 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^4.1.6 + specifier: ^4.2.0 version: link:../../packages/integrations/react '@astrojs/solid-js': specifier: ^5.0.4 @@ -230,7 +230,7 @@ importers: specifier: ^18.3.5 version: 18.3.5(@types/react@18.3.18) astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -260,7 +260,7 @@ importers: specifier: ^2.0.1 version: 2.0.1(preact@10.25.4) astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -269,7 +269,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^4.1.6 + specifier: ^4.2.0 version: link:../../packages/integrations/react '@types/react': specifier: ^18.3.18 @@ -278,7 +278,7 @@ importers: specifier: ^18.3.5 version: 18.3.5(@types/react@18.3.18) astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -293,7 +293,7 @@ importers: specifier: ^5.0.4 version: link:../../packages/integrations/solid astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro solid-js: specifier: ^1.9.4 @@ -305,7 +305,7 @@ importers: specifier: ^7.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro svelte: specifier: ^5.19.0 @@ -317,7 +317,7 @@ importers: specifier: ^5.0.6 version: link:../../packages/integrations/vue astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro vue: specifier: ^3.5.13 @@ -329,25 +329,25 @@ importers: specifier: ^9.0.1 version: 9.0.1(astro@packages+astro) astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/ssr: @@ -359,7 +359,7 @@ importers: specifier: ^7.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro svelte: specifier: ^5.19.0 @@ -368,7 +368,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro sass: specifier: ^1.83.4 @@ -383,7 +383,7 @@ importers: specifier: ^18.17.8 version: 18.19.50 astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/with-markdoc: @@ -392,7 +392,7 @@ importers: specifier: ^0.12.7 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro examples/with-mdx: @@ -404,7 +404,7 @@ importers: specifier: ^4.0.3 version: link:../../packages/integrations/preact astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -419,7 +419,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.25.4) astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -440,7 +440,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -458,7 +458,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.1.9 + specifier: ^5.1.10 version: link:../../packages/astro vitest: specifier: ^3.0.2