diff options
author | 2025-01-27 03:46:43 -0800 | |
---|---|---|
committer | 2025-01-27 11:46:43 +0000 | |
commit | 0879cc2ce7e15a2e7330c68d6667d9a2edea52ab (patch) | |
tree | 9de62bede032ac0f196240ecc257fb0a77a7631f | |
parent | 736b9b9d721082eb231f8da64259c399d7fea1f6 (diff) | |
download | astro@5.1.10.tar.gz astro@5.1.10.tar.zst astro@5.1.10.zip |
[ci] release (#13056)astro@5.1.10@astrojs/react@4.2.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
32 files changed, 86 insertions, 90 deletions
diff --git a/.changeset/clean-suns-shout.md b/.changeset/clean-suns-shout.md deleted file mode 100644 index 424594c8b..000000000 --- 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 576e7de05..000000000 --- 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 180edf234..000000000 --- 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 a42092410..000000000 --- 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 11da71aa6..2485f4181 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 d886200d8..8d971cf23 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 d4b27c1fd..9f4800a43 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 85eeed827..b12ec469a 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 bfde0c0c2..2da56ec83 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 a2e47da26..59e0bf6c7 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 b5b80058f..f3142d0c1 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 52dc15a5c..b7087c27e 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 16315c8e0..f1facd934 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 3d11a6434..937f40af0 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 0f407d2c9..88cf0e173 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 b2223709b..b7f6ef331 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 2986c8fca..776ff62aa 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 3eedcf1e8..1ca5683e4 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 cda153ca9..8dded9a8b 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 17be4e3a6..d47fa0e14 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 e3ad891f1..cdc4d0c7c 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 0a8812724..dc02761f5 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 7388e7c37..c430f5441 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 9e768bcd9..f7138195b 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 bef38265a..a274ab780 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 dba5fa742..5705ef08a 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 b99627517..7da6b2bce 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 04372d4cd..129e64fb3 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 87f391c08..1caeb1820 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 28336d442..71e09c120 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 788b6e0e8..3d1e8d50d 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 0b3b7accc..8f3dae0fe 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 |