Skip to content

Commit 1c99b4d

Browse files
Bump @astrojs/react from 4.1.4 to 4.2.1 (#1025)
Bumps [@astrojs/react](https://github.com/withastro/astro/tree/HEAD/packages/integrations/react) from 4.1.4 to 4.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@​astrojs/react</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.2.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13323">#13323</a> <a href="https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3"><code>80926fa</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Updates <code>esbuild</code> and <code>vite</code> to the latest to avoid false positives audits warnings caused by <code>esbuild</code>.</li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13036">#13036</a> <a href="https://github.com/withastro/astro/commit/3c90d8f3e0baba1463a9022c2e8c777204ad2250"><code>3c90d8f</code></a> Thanks <a href="https://github.com/artmsilva"><code>@​artmsilva</code></a>! - Adds experimental support for disabling streaming</p> <p>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 <code>experimentalDisableStreaming: true</code> as a configuration option for <code>@astrojs/react</code>:</p> <pre lang="diff"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; import react from '@astrojs/react'; <p>export default defineConfig({ integrations: [ react({</p> <ul> <li> <pre><code> experimentalDisableStreaming: true, </code></pre> }), ], }); </code></pre></li> </ul> </li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.1.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12996">#12996</a> <a href="https://github.com/withastro/astro/commit/80c6801b4f2b9da44ed69d6da7e4dbd4d65aae69"><code>80c6801</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Removes hardcoded <code>ssr.external: ['react-dom/server', 'react-dom/client']</code> config that causes issues with adapters that bundle all dependencies (e.g. Cloudflare). These externals should already be inferred by default by Vite when deploying to a server environment.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13011">#13011</a> <a href="https://github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398"><code>cf30880</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Upgrades Vite</p> </li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.1.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12887">#12887</a> <a href="https://github.com/withastro/astro/commit/ea603aec80531205d38fed11c525b3faa0271903"><code>ea603ae</code></a> Thanks <a href="https://github.com/louisescher"><code>@​louisescher</code></a>! - Adds a warning message when multiple JSX-based UI frameworks are being used without either the <code>include</code> or <code>exclude</code> property being set on the integration.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/integrations/react/CHANGELOG.md"><code>@​astrojs/react</code>'s changelog</a>.</em></p> <blockquote> <h2>4.2.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13323">#13323</a> <a href="https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3"><code>80926fa</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Updates <code>esbuild</code> and <code>vite</code> to the latest to avoid false positives audits warnings caused by <code>esbuild</code>.</li> </ul> <h2>4.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13036">#13036</a> <a href="https://github.com/withastro/astro/commit/3c90d8f3e0baba1463a9022c2e8c777204ad2250"><code>3c90d8f</code></a> Thanks <a href="https://github.com/artmsilva"><code>@​artmsilva</code></a>! - Adds experimental support for disabling streaming</p> <p>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 <code>experimentalDisableStreaming: true</code> as a configuration option for <code>@astrojs/react</code>:</p> <pre lang="diff"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; import react from '@astrojs/react'; <p>export default defineConfig({ integrations: [ react({</p> <ul> <li> <pre><code> experimentalDisableStreaming: true, </code></pre> }), ], }); </code></pre></li> </ul> </li> </ul> <h2>4.1.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12996">#12996</a> <a href="https://github.com/withastro/astro/commit/80c6801b4f2b9da44ed69d6da7e4dbd4d65aae69"><code>80c6801</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Removes hardcoded <code>ssr.external: ['react-dom/server', 'react-dom/client']</code> config that causes issues with adapters that bundle all dependencies (e.g. Cloudflare). These externals should already be inferred by default by Vite when deploying to a server environment.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13011">#13011</a> <a href="https://github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398"><code>cf30880</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Upgrades Vite</p> </li> </ul> <h2>4.1.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12887">#12887</a> <a href="https://github.com/withastro/astro/commit/ea603aec80531205d38fed11c525b3faa0271903"><code>ea603ae</code></a> Thanks <a href="https://github.com/louisescher"><code>@​louisescher</code></a>! - Adds a warning message when multiple JSX-based UI frameworks are being used without either the <code>include</code> or <code>exclude</code> property being set on the integration.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/9aa5ac10197f08e316a1c4223cfc1fbd5913b3b7"><code>9aa5ac1</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/13318">#13318</a>)</li> <li><a href="https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3"><code>80926fa</code></a> chore(deps): update <code>esbuild</code> and <code>vite</code> versions (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/13323">#13323</a>)</li> <li><a href="https://github.com/withastro/astro/commit/61ef2d9179f543cc932f98e3e0e91586f7341510"><code>61ef2d9</code></a> chore: upgrade Vite and update tests (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/13076">#13076</a>)</li> <li><a href="https://github.com/withastro/astro/commit/0879cc2ce7e15a2e7330c68d6667d9a2edea52ab"><code>0879cc2</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/13056">#13056</a>)</li> <li><a href="https://github.com/withastro/astro/commit/46ec06ed82887eaf1fe3a73158407b496669c5f0"><code>46ec06e</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/3c90d8f3e0baba1463a9022c2e8c777204ad2250"><code>3c90d8f</code></a> Adds experimental support for disabling streaming (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/13036">#13036</a>)</li> <li><a href="https://github.com/withastro/astro/commit/0a0b1978a7ea9902174df96852e6a676023cd128"><code>0a0b197</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/12991">#12991</a>)</li> <li><a href="https://github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398"><code>cf30880</code></a> fix: upgrade Vite and update tests (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/13011">#13011</a>)</li> <li><a href="https://github.com/withastro/astro/commit/80c6801b4f2b9da44ed69d6da7e4dbd4d65aae69"><code>80c6801</code></a> Remove react integration ssr.external config (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/12996">#12996</a>)</li> <li><a href="https://github.com/withastro/astro/commit/0968069aaf509cea67e2bc2b03b1265327d14451"><code>0968069</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/react/issues/12978">#12978</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/react">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@astrojs/react&package-manager=npm_and_yarn&previous-version=4.1.4&new-version=4.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent a1d9eaa commit 1c99b4d

File tree

2 files changed

+591
-96
lines changed

2 files changed

+591
-96
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@astro-community/astro-embed-youtube": "^0.5.6",
1515
"@astrojs/check": "^0.9.4",
1616
"@astrojs/mdx": "^4.0.5",
17-
"@astrojs/react": "^4.1.4",
17+
"@astrojs/react": "^4.2.1",
1818
"@astrojs/sitemap": "^3.2.1",
1919
"@astrojs/tailwind": "^5.1.4",
2020
"@fontsource-variable/inter": "^5.1.1",

0 commit comments

Comments
 (0)