-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit 2139506
authored
deps: bump react-dom from 18.3.1 to 19.1.0 (#1531)
Bumps
[react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom)
from 18.3.1 to 19.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/releases">react-dom's
releases</a>.</em></p>
<blockquote>
<h2>19.1.0 (March 28, 2025)</h2>
<h3>Owner Stack</h3>
<p>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>
<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://redirect.github.com/facebook/react/pull/29923">#29923</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32353">#32353</a>,
<a
href="https://redirect.github.com/facebook/react/pull/30306">#30306</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32529">#32529</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a></li>
</ul>
<h3>React</h3>
<ul>
<li>Enhanced support for Suspense boundaries to be used anywhere,
including the client, server, and during hydration. <a
href="https://redirect.github.com/facebook/react/pull/32069">#32069</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32163">#32163</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32224">#32224</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32252">#32252</a></li>
<li>Reduced unnecessary client rendering through improved hydration
scheduling <a
href="https://redirect.github.com/facebook/react/pull/31751">#31751</a></li>
<li>Increased priority of client rendered Suspense boundaries <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/31620">#31620</a></li>
<li>Reduced garbage collection pressure by improving Suspense boundary
retries. <a
href="https://redirect.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://redirect.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://redirect.github.com/facebook/react/pull/32117">#32117</a></li>
<li>Updated <code>useId</code> to use valid CSS selectors, changing
format from <code>:r123:</code> to <code>«r123»</code>. <a
href="https://redirect.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://redirect.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://redirect.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://redirect.github.com/facebook/react/pull/31808">#31808</a></li>
<li>Improve passive effect scheduling for consistent task yielding. <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/32528">#32528</a></li>
<li>Fixed component name resolution for Portal <a
href="https://redirect.github.com/facebook/react/pull/32640">#32640</a></li>
<li>Added support for beforetoggle and toggle events on the dialog
element. <a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32479">#32479</a>
<a
href="https://redirect.github.com/facebook/react/pull/32479">#32479</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Fixed double warning when the <code>href</code> attribute is an
empty string <a
href="https://redirect.github.com/facebook/react/pull/31783">#31783</a></li>
<li>Fixed an edge case where <code>getHoistableRoot()</code> didn’t work
properly when the container was a Document <a
href="https://redirect.github.com/facebook/react/pull/32321">#32321</a></li>
<li>Removed support for using HTML comments (e.g. <code><!--
--></code>) as a DOM container. <a
href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li>
<li>Added support for <code><script></code> and
<code>\<template></code> tags to be nested within
<code><select></code> tags. <a
href="https://redirect.github.com/facebook/react/pull/31837">#31837</a></li>
<li>Fixed responsive images to be preloaded as HTML instead of headers
<a
href="https://redirect.github.com/facebook/react/pull/32445">#32445</a></li>
</ul>
<h3>use-sync-external-store</h3>
<ul>
<li>Added <code>exports</code> field to <code>package.json</code> for
<code>use-sync-external-store</code> to support various entrypoints. <a
href="https://redirect.github.com/facebook/react/pull/25231">#25231</a></li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>Added <code>unstable_prerender</code>, a new experimental API for
prerendering React Server Components on the server <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/31840">#31840</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31851">#31851</a></li>
<li>Fixed an issue where pending chunks were counted twice. <a
href="https://redirect.github.com/facebook/react/pull/31833">#31833</a></li>
<li>Added support for streaming in edge environments <a
href="https://redirect.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://redirect.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://redirect.github.com/facebook/react/pull/31671">#31671</a></li>
<li>Exposed <code>registerServerReference</code> in client builds to
handle server references in different environments. <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/31725">#31725</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32132">#32132</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31799">#31799</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32294">#32294</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31741">#31741</a></li>
</ul>
<h2>19.0.0 (December 5, 2024)</h2>
<p>Below is a list of all new features, APIs, deprecations, and breaking
changes. Read <a href="https://react.dev/blog/2024/04/25/react-19">React
19 release post</a> and <a
href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19
upgrade guide</a> for more information.</p>
<blockquote>
<p>Note: To help make the upgrade to React 19 easier, we’ve published a
[email protected] release that is identical to 18.2 but adds warnings for
deprecated APIs and other changes that are needed for React 19. We
recommend upgrading to React 18.3.1 first to help identify any issues
before upgrading to React 19.</p>
</blockquote>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-dom's
changelog</a>.</em></p>
<blockquote>
<h2>19.1.0 (March 28, 2025)</h2>
<h3>Owner Stack</h3>
<p>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>
<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://redirect.github.com/facebook/react/pull/29923">#29923</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32353">#32353</a>,
<a
href="https://redirect.github.com/facebook/react/pull/30306">#30306</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32529">#32529</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a></li>
</ul>
<h3>React</h3>
<ul>
<li>Enhanced support for Suspense boundaries to be used anywhere,
including the client, server, and during hydration. <a
href="https://redirect.github.com/facebook/react/pull/32069">#32069</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32163">#32163</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32224">#32224</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32252">#32252</a></li>
<li>Reduced unnecessary client rendering through improved hydration
scheduling <a
href="https://redirect.github.com/facebook/react/pull/31751">#31751</a></li>
<li>Increased priority of client rendered Suspense boundaries <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/31620">#31620</a></li>
<li>Reduced garbage collection pressure by improving Suspense boundary
retries. <a
href="https://redirect.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://redirect.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://redirect.github.com/facebook/react/pull/32117">#32117</a></li>
<li>Updated <code>useId</code> to use valid CSS selectors, changing
format from <code>:r123:</code> to <code>«r123»</code>. <a
href="https://redirect.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://redirect.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://redirect.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://redirect.github.com/facebook/react/pull/31808">#31808</a></li>
<li>Improve passive effect scheduling for consistent task yielding. <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/32528">#32528</a></li>
<li>Fixed component name resolution for Portal <a
href="https://redirect.github.com/facebook/react/pull/32640">#32640</a></li>
<li>Added support for beforetoggle and toggle events on the dialog
element. <a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32479">#32479</a>
<a
href="https://redirect.github.com/facebook/react/pull/32479">#32479</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Fixed double warning when the <code>href</code> attribute is an
empty string <a
href="https://redirect.github.com/facebook/react/pull/31783">#31783</a></li>
<li>Fixed an edge case where <code>getHoistableRoot()</code> didn’t work
properly when the container was a Document <a
href="https://redirect.github.com/facebook/react/pull/32321">#32321</a></li>
<li>Removed support for using HTML comments (e.g. <code><!--
--></code>) as a DOM container. <a
href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li>
<li>Added support for <code><script></code> and
<code>\<template></code> tags to be nested within
<code><select></code> tags. <a
href="https://redirect.github.com/facebook/react/pull/31837">#31837</a></li>
<li>Fixed responsive images to be preloaded as HTML instead of headers
<a
href="https://redirect.github.com/facebook/react/pull/32445">#32445</a></li>
</ul>
<h3>use-sync-external-store</h3>
<ul>
<li>Added <code>exports</code> field to <code>package.json</code> for
<code>use-sync-external-store</code> to support various entrypoints. <a
href="https://redirect.github.com/facebook/react/pull/25231">#25231</a></li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>Added <code>unstable_prerender</code>, a new experimental API for
prerendering React Server Components on the server <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/31840">#31840</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31851">#31851</a></li>
<li>Fixed an issue where pending chunks were counted twice. <a
href="https://redirect.github.com/facebook/react/pull/31833">#31833</a></li>
<li>Added support for streaming in edge environments <a
href="https://redirect.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://redirect.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://redirect.github.com/facebook/react/pull/31671">#31671</a></li>
<li>Exposed <code>registerServerReference</code> in client builds to
handle server references in different environments. <a
href="https://redirect.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://redirect.github.com/facebook/react/pull/31725">#31725</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32132">#32132</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31799">#31799</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32294">#32294</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31741">#31741</a></li>
</ul>
<h2>19.0.0 (December 5, 2024)</h2>
<p>Below is a list of all new features, APIs, deprecations, and breaking
changes. Read <a href="https://react.dev/blog/2024/04/25/react-19">React
19 release post</a> and <a
href="https://react.dev/blog/2024/04/25/react-19-upgrade-guide">React 19
upgrade guide</a> for more information.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/facebook/react/commit/7943da1e81bb8730db78db99af5f967bdf213a75"><code>7943da1</code></a>
Set accurate value for alwaysThrottleRetries on www (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32684">#32684</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/476f53879e80d4ee976ed036a0e8986126fa3117"><code>476f538</code></a>
Add getClientRects to fragment instances (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32660">#32660</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/c69a5fc53a5135136668ca878f99b634d2374837"><code>c69a5fc</code></a>
Add blur() and focusLast() to fragment instances (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32654">#32654</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/cd28a946d57695a025581c0ff851bde08ea6ca27"><code>cd28a94</code></a>
Add observer methods to fragment instances (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32619">#32619</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/6aa8254bb7353fe3096289edc669cf168e9fd190"><code>6aa8254</code></a>
Add ref to Fragment (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32465">#32465</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/029e8bd618af23fbdd9efdac565ad81f7d4640d8"><code>029e8bd</code></a>
Add Owner Stack to attribute hydration mismatches (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32538">#32538</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/aac177c48439ab294f72e8b5a85059daa3f8a5ee"><code>aac177c</code></a>
Support beforetoggle/toggle events for dialog (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32479">#32479</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/e0fe3479671555e01531dbc3d2fd85d5bd4c5a56"><code>e0fe347</code></a>
[flags] remove enableOwnerStacks (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32426">#32426</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/2e4db3344f030fe622152ecc231a7c99a81a9c9d"><code>2e4db33</code></a>
Use valid CSS selectors in useId format (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32001">#32001</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/9b042f9d593f965d8c7a42f8f5fce322f403381b"><code>9b042f9</code></a>
[Fizz] Responsive images should not be preloaded with link headers (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32445">#32445</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/facebook/react/commits/v19.1.0/packages/react-dom">compare
view</a></li>
</ul>
</details>
<br />
[](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 6737369 commit 2139506Copy full SHA for 2139506
File tree
Expand file treeCollapse file tree
2 files changed
+14
-8
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+14
-8
lines changedCollapse file: package-lock.json
+13-7Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
|
0 commit comments