Skip to content

Commit 76e18e6

Browse files
authored
Update all of react 19.0.0 → 19.1.0 (minor) (#17564)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. ### What changed? #### ✳️ react (19.0.0 → 19.1.0) · [Repo](https://github.com/facebook/react) · [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) <details> <summary>Release Notes</summary> <h4><a href="https://github.com/facebook/react/releases/tag/v19.1.0">19.1.0</a></h4> <blockquote><h3 dir="auto">Owner Stack</h3> <p dir="auto">An Owner Stack is a string representing the components that are directly responsible for rendering a particular component. You can log Owner Stacks when debugging or use Owner Stacks to enhance error overlays or other development tools. Owner Stacks are only available in development builds. Component Stacks in production are unchanged.</p> <ul dir="auto"> <li>An Owner Stack is a development-only stack trace that helps identify which components are responsible for rendering a particular component. An Owner Stack is distinct from a Component Stacks, which shows the hierarchy of components leading to an error.</li> <li>The <a href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack API</a> is only available in development mode and returns a Owner Stack, if available. The API can be used to enhance error overlays or log component relationships when debugging. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/29923">#29923</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32353">#32353</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/30306">#30306</a>,<br> <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32529">#32529</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a> </li> </ul> <h3 dir="auto">React</h3> <ul dir="auto"> <li>Enhanced support for Suspense boundaries to be used anywhere, including the client, server, and during hydration. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32069">#32069</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32163">#32163</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32224">#32224</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32252">#32252</a> </li> <li>Reduced unnecessary client rendering through improved hydration scheduling <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31751">#31751</a> </li> <li>Increased priority of client rendered Suspense boundaries <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31776">#31776</a> </li> <li>Fixed frozen fallback states by rendering unfinished Suspense boundaries on the client. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31620">#31620</a> </li> <li>Reduced garbage collection pressure by improving Suspense boundary retries. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31667">#31667</a> </li> <li>Fixed erroneous “Waiting for Paint” log when the passive effect phase was not delayed <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31526">#31526</a> </li> <li>Fixed a regression causing key warnings for flattened positional children in development mode. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32117">#32117</a> </li> <li>Updated <code class="notranslate">useId</code> to use valid CSS selectors, changing format from <code class="notranslate">:r123:</code> to <code class="notranslate">«r123»</code>. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32001">#32001</a> </li> <li>Added a dev-only warning for null/undefined created in useEffect, useInsertionEffect, and useLayoutEffect. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32355">#32355</a> </li> <li>Fixed a bug where dev-only methods were exported in production builds. React.act is no longer available in production builds. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32200">#32200</a> </li> <li>Improved consistency across prod and dev to improve compatibility with Google Closure Complier and bindings <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31808">#31808</a> </li> <li>Improve passive effect scheduling for consistent task yielding. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31785">#31785</a> </li> <li>Fixed asserts in React Native when passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent rendering. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32528">#32528</a> </li> <li>Fixed component name resolution for Portal <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32640">#32640</a> </li> <li>Added support for beforetoggle and toggle events on the dialog element. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a> <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a> </li> </ul> <h3 dir="auto">React DOM</h3> <ul dir="auto"> <li>Fixed double warning when the <code class="notranslate">href</code> attribute is an empty string <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31783">#31783</a> </li> <li>Fixed an edge case where <code class="notranslate">getHoistableRoot()</code> didn’t work properly when the container was a Document <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32321">#32321</a> </li> <li>Removed support for using HTML comments (e.g. <code class="notranslate">&lt;!-- --&gt;</code>) as a DOM container. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32250">#32250</a> </li> <li>Added support for <code class="notranslate">&lt;script&gt;</code> and <code class="notranslate">&lt;template&gt;</code> tags to be nested within <code class="notranslate">&lt;select&gt;</code> tags. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31837">#31837</a> </li> <li>Fixed responsive images to be preloaded as HTML instead of headers <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32445">#32445</a> </li> </ul> <h3 dir="auto">use-sync-external-store</h3> <ul dir="auto"> <li>Added <code class="notranslate">exports</code> field to <code class="notranslate">package.json</code> for <code class="notranslate">use-sync-external-store</code> to support various entrypoints. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/25231">#25231</a> </li> </ul> <h3 dir="auto">React Server Components</h3> <ul dir="auto"> <li>Added <code class="notranslate">unstable_prerender</code>, a new experimental API for prerendering React Server Components on the server <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31724">#31724</a> </li> <li>Fixed an issue where streams would hang when receiving new chunks after a global error <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31840">#31840</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31851">#31851</a> </li> <li>Fixed an issue where pending chunks were counted twice. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31833">#31833</a> </li> <li>Added support for streaming in edge environments <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31852">#31852</a> </li> <li>Added support for sending custom error names from a server so that they are available in the client for console replaying. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32116">#32116</a> </li> <li>Updated the server component wire format to remove IDs for hints and console.log because they have no return value <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31671">#31671</a> </li> <li>Exposed <code class="notranslate">registerServerReference</code> in client builds to handle server references in different environments. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32534">#32534</a> </li> <li>Added react-server-dom-parcel package which integrates Server Components with the <a href="https://parceljs.org/">Parcel bundler</a> <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31725">#31725</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32132">#32132</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31799">#31799</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32294">#32294</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31741">#31741</a> </li> </ul></blockquote> <p><em>Does any of this look wrong? <a href="https://depfu.com/packages/npm/react/feedback">Please let us know.</a></em></p> </details> <details> <summary>Commits</summary> <p><a href="https://github.com/facebook/react/compare/7aa5dda3b3e4c2baa905a59b922ae7ec14734b24...4a9df08157f001c01b078d259748512211233dcf">See the full diff on Github</a>. The new version differs by more commits than we can show here.</p> </details> #### ✳️ react-dom (19.0.0 → 19.1.0) · [Repo](https://github.com/facebook/react) · [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) <details> <summary>Release Notes</summary> <h4><a href="https://github.com/facebook/react/releases/tag/v19.1.0">19.1.0</a></h4> <blockquote><h3 dir="auto">Owner Stack</h3> <p dir="auto">An Owner Stack is a string representing the components that are directly responsible for rendering a particular component. You can log Owner Stacks when debugging or use Owner Stacks to enhance error overlays or other development tools. Owner Stacks are only available in development builds. Component Stacks in production are unchanged.</p> <ul dir="auto"> <li>An Owner Stack is a development-only stack trace that helps identify which components are responsible for rendering a particular component. An Owner Stack is distinct from a Component Stacks, which shows the hierarchy of components leading to an error.</li> <li>The <a href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack API</a> is only available in development mode and returns a Owner Stack, if available. The API can be used to enhance error overlays or log component relationships when debugging. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/29923">#29923</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32353">#32353</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/30306">#30306</a>,<br> <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32529">#32529</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a> </li> </ul> <h3 dir="auto">React</h3> <ul dir="auto"> <li>Enhanced support for Suspense boundaries to be used anywhere, including the client, server, and during hydration. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32069">#32069</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32163">#32163</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32224">#32224</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32252">#32252</a> </li> <li>Reduced unnecessary client rendering through improved hydration scheduling <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31751">#31751</a> </li> <li>Increased priority of client rendered Suspense boundaries <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31776">#31776</a> </li> <li>Fixed frozen fallback states by rendering unfinished Suspense boundaries on the client. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31620">#31620</a> </li> <li>Reduced garbage collection pressure by improving Suspense boundary retries. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31667">#31667</a> </li> <li>Fixed erroneous “Waiting for Paint” log when the passive effect phase was not delayed <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31526">#31526</a> </li> <li>Fixed a regression causing key warnings for flattened positional children in development mode. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32117">#32117</a> </li> <li>Updated <code class="notranslate">useId</code> to use valid CSS selectors, changing format from <code class="notranslate">:r123:</code> to <code class="notranslate">«r123»</code>. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32001">#32001</a> </li> <li>Added a dev-only warning for null/undefined created in useEffect, useInsertionEffect, and useLayoutEffect. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32355">#32355</a> </li> <li>Fixed a bug where dev-only methods were exported in production builds. React.act is no longer available in production builds. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32200">#32200</a> </li> <li>Improved consistency across prod and dev to improve compatibility with Google Closure Complier and bindings <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31808">#31808</a> </li> <li>Improve passive effect scheduling for consistent task yielding. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31785">#31785</a> </li> <li>Fixed asserts in React Native when passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent rendering. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32528">#32528</a> </li> <li>Fixed component name resolution for Portal <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32640">#32640</a> </li> <li>Added support for beforetoggle and toggle events on the dialog element. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a> <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a> </li> </ul> <h3 dir="auto">React DOM</h3> <ul dir="auto"> <li>Fixed double warning when the <code class="notranslate">href</code> attribute is an empty string <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31783">#31783</a> </li> <li>Fixed an edge case where <code class="notranslate">getHoistableRoot()</code> didn’t work properly when the container was a Document <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32321">#32321</a> </li> <li>Removed support for using HTML comments (e.g. <code class="notranslate">&lt;!-- --&gt;</code>) as a DOM container. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32250">#32250</a> </li> <li>Added support for <code class="notranslate">&lt;script&gt;</code> and <code class="notranslate">&lt;template&gt;</code> tags to be nested within <code class="notranslate">&lt;select&gt;</code> tags. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31837">#31837</a> </li> <li>Fixed responsive images to be preloaded as HTML instead of headers <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32445">#32445</a> </li> </ul> <h3 dir="auto">use-sync-external-store</h3> <ul dir="auto"> <li>Added <code class="notranslate">exports</code> field to <code class="notranslate">package.json</code> for <code class="notranslate">use-sync-external-store</code> to support various entrypoints. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/25231">#25231</a> </li> </ul> <h3 dir="auto">React Server Components</h3> <ul dir="auto"> <li>Added <code class="notranslate">unstable_prerender</code>, a new experimental API for prerendering React Server Components on the server <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31724">#31724</a> </li> <li>Fixed an issue where streams would hang when receiving new chunks after a global error <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31840">#31840</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31851">#31851</a> </li> <li>Fixed an issue where pending chunks were counted twice. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31833">#31833</a> </li> <li>Added support for streaming in edge environments <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31852">#31852</a> </li> <li>Added support for sending custom error names from a server so that they are available in the client for console replaying. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32116">#32116</a> </li> <li>Updated the server component wire format to remove IDs for hints and console.log because they have no return value <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31671">#31671</a> </li> <li>Exposed <code class="notranslate">registerServerReference</code> in client builds to handle server references in different environments. <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32534">#32534</a> </li> <li>Added react-server-dom-parcel package which integrates Server Components with the <a href="https://parceljs.org/">Parcel bundler</a> <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31725">#31725</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32132">#32132</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31799">#31799</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/32294">#32294</a>, <a href="https://bounce.depfu.com/github.com/facebook/react/pull/31741">#31741</a> </li> </ul></blockquote> <p><em>Does any of this look wrong? <a href="https://depfu.com/packages/npm/react-dom/feedback">Please let us know.</a></em></p> </details> <details> <summary>Commits</summary> <p><a href="https://github.com/facebook/react/compare/7aa5dda3b3e4c2baa905a59b922ae7ec14734b24...4a9df08157f001c01b078d259748512211233dcf">See the full diff on Github</a>. The new version differs by more commits than we can show here.</p> </details> --- ![Depfu Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg) [Depfu](https://depfu.com) will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with `@depfu rebase`. <details><summary>All Depfu comment commands</summary> <blockquote><dl> <dt>@​depfu rebase</dt><dd>Rebases against your default branch and redoes this update</dd> <dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits that you've made to it</dd> <dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and conflicts are resolved</dd> <dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this PR</dd> <dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd> <dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if it's closed)</dd> <dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency and closes this PR</dd> <dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major updates for this dependency and closes this PR</dd> <dt>@​depfu resume</dt><dd>Future versions of this dependency will create PRs again (leaves this PR as is)</dd> </dl></blockquote> </details> Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
1 parent 3e9cf87 commit 76e18e6

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

playgrounds/nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"@tailwindcss/postcss": "workspace:^",
1313
"fast-glob": "^3.3.3",
1414
"next": "15.2.4",
15-
"react": "^19.0.0",
16-
"react-dom": "^19.0.0",
15+
"react": "^19.1.0",
16+
"react-dom": "^19.1.0",
1717
"tailwindcss": "workspace:^"
1818
},
1919
"devDependencies": {

playgrounds/v3/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
},
1111
"dependencies": {
1212
"next": "15.2.4",
13-
"react": "^19.0.0",
14-
"react-dom": "^19.0.0",
13+
"react": "^19.1.0",
14+
"react-dom": "^19.1.0",
1515
"tailwindcss": "^3"
1616
},
1717
"devDependencies": {

playgrounds/vite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"dependencies": {
1212
"@tailwindcss/vite": "workspace:^",
1313
"@vitejs/plugin-react": "^4.3.4",
14-
"react": "^19.0.0",
15-
"react-dom": "^19.0.0",
14+
"react": "^19.1.0",
15+
"react-dom": "^19.1.0",
1616
"tailwindcss": "workspace:^"
1717
},
1818
"devDependencies": {

pnpm-lock.yaml

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)