239.md (18933B)
1 # PR #239 Bump react, react-dom and @types/react 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2022-06-17T08:35:05Z 6 - **Branch:** dependabot/npm_and_yarn/react-and-react-dom-and-types/react-18.2.0 → main 7 - **Closed:** 2023-01-03T16:43:32Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [239.diff](./239.diff) 12 13 --- 14 15 Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react), [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. 16 Updates `react` from 18.1.0 to 18.2.0 17 <details> 18 <summary>Release notes</summary> 19 <p><em>Sourced from <a href="https://github.com/facebook/react/releases">react's releases</a>.</em></p> 20 <blockquote> 21 <h2>18.2.0 (June 14, 2022)</h2> 22 <h3>React DOM</h3> 23 <ul> 24 <li>Provide a component stack as a second argument to <code>onRecoverableError</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 25 <li>Fix hydrating into <code>document</code> causing a blank page on mismatch. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24523">#24523</a>)</li> 26 <li>Fix false positive hydration errors with Suspense. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24532">#24532</a>)</li> 27 <li>Fix ignored <code>setState</code> in Safari when adding an iframe. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24459">#24459</a>)</li> 28 </ul> 29 <h3>React DOM Server</h3> 30 <ul> 31 <li>Pass information about server errors to the client. (<a href="https://github.com/salazarm"><code>@salazarm</code></a> and <a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24551">#24551</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 32 <li>Allow to provide a reason when aborting the HTML stream. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24680">#24680</a>)</li> 33 <li>Eliminate extraneous text separators in the HTML where possible. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24630">#24630</a>)</li> 34 <li>Disallow complex children inside <code><title></code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24679">#24679</a>)</li> 35 <li>Fix buffering in some worker environments by explicitly setting <code>highWaterMark</code> to <code>0</code>. (<a href="https://github.com/jplhomer"><code>@jplhomer</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24641">#24641</a>)</li> 36 </ul> 37 <h3>Server Components (Experimental)</h3> 38 <ul> 39 <li>Add support for <code>useId()</code> inside Server Components. (<a href="https://github.com/gnoff"><code>@gnoff</code></a>) in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24172">#24172</a></li> 40 </ul> 41 </blockquote> 42 </details> 43 <details> 44 <summary>Changelog</summary> 45 <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react's changelog</a>.</em></p> 46 <blockquote> 47 <h2>18.2.0 (June 14, 2022)</h2> 48 <h3>React DOM</h3> 49 <ul> 50 <li>Provide a component stack as a second argument to <code>onRecoverableError</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 51 <li>Fix hydrating into <code>document</code> causing a blank page on mismatch. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24523">#24523</a>)</li> 52 <li>Fix false positive hydration errors with Suspense. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24532">#24532</a>)</li> 53 <li>Fix ignored <code>setState</code> in Safari when adding an iframe. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24459">#24459</a>)</li> 54 </ul> 55 <h3>React DOM Server</h3> 56 <ul> 57 <li>Pass information about server errors to the client. (<a href="https://github.com/salazarm"><code>@salazarm</code></a> and <a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24551">#24551</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 58 <li>Allow to provide a reason when aborting the HTML stream. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24680">#24680</a>)</li> 59 <li>Eliminate extraneous text separators in the HTML where possible. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24630">#24630</a>)</li> 60 <li>Disallow complex children inside <code><title></code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24679">#24679</a>)</li> 61 <li>Fix buffering in some worker environments by explicitly setting <code>highWaterMark</code> to <code>0</code>. (<a href="https://github.com/jplhomer"><code>@jplhomer</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24641">#24641</a>)</li> 62 </ul> 63 <h3>Server Components (Experimental)</h3> 64 <ul> 65 <li>Add support for <code>useId()</code> inside Server Components. (<a href="https://github.com/gnoff"><code>@gnoff</code></a>) in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24172">#24172</a></li> 66 </ul> 67 </blockquote> 68 </details> 69 <details> 70 <summary>Commits</summary> 71 <ul> 72 <li><a href="https://github.com/facebook/react/commit/72b7462fe73ea2f7bc296bc58670baf9677ce8b2"><code>72b7462</code></a> Bump local package.json versions for 18.1 release (<a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/24447">#24447</a>)</li> 73 <li>See full diff in <a href="https://github.com/facebook/react/commits/v18.2.0/packages/react">compare view</a></li> 74 </ul> 75 </details> 76 <details> 77 <summary>Maintainer changes</summary> 78 <p>This version was pushed to npm by <a href="https://www.npmjs.com/~gnoff">gnoff</a>, a new releaser for react since your current version.</p> 79 </details> 80 <br /> 81 82 Updates `react-dom` from 18.1.0 to 18.2.0 83 <details> 84 <summary>Release notes</summary> 85 <p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-dom's releases</a>.</em></p> 86 <blockquote> 87 <h2>18.2.0 (June 14, 2022)</h2> 88 <h3>React DOM</h3> 89 <ul> 90 <li>Provide a component stack as a second argument to <code>onRecoverableError</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 91 <li>Fix hydrating into <code>document</code> causing a blank page on mismatch. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24523">#24523</a>)</li> 92 <li>Fix false positive hydration errors with Suspense. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24532">#24532</a>)</li> 93 <li>Fix ignored <code>setState</code> in Safari when adding an iframe. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24459">#24459</a>)</li> 94 </ul> 95 <h3>React DOM Server</h3> 96 <ul> 97 <li>Pass information about server errors to the client. (<a href="https://github.com/salazarm"><code>@salazarm</code></a> and <a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24551">#24551</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 98 <li>Allow to provide a reason when aborting the HTML stream. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24680">#24680</a>)</li> 99 <li>Eliminate extraneous text separators in the HTML where possible. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24630">#24630</a>)</li> 100 <li>Disallow complex children inside <code><title></code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24679">#24679</a>)</li> 101 <li>Fix buffering in some worker environments by explicitly setting <code>highWaterMark</code> to <code>0</code>. (<a href="https://github.com/jplhomer"><code>@jplhomer</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24641">#24641</a>)</li> 102 </ul> 103 <h3>Server Components (Experimental)</h3> 104 <ul> 105 <li>Add support for <code>useId()</code> inside Server Components. (<a href="https://github.com/gnoff"><code>@gnoff</code></a>) in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24172">#24172</a></li> 106 </ul> 107 </blockquote> 108 </details> 109 <details> 110 <summary>Changelog</summary> 111 <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-dom's changelog</a>.</em></p> 112 <blockquote> 113 <h2>18.2.0 (June 14, 2022)</h2> 114 <h3>React DOM</h3> 115 <ul> 116 <li>Provide a component stack as a second argument to <code>onRecoverableError</code>. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 117 <li>Fix hydrating into <code>document</code> causing a blank page on mismatch. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24523">#24523</a>)</li> 118 <li>Fix false positive hydration errors with Suspense. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24480">#24480</a> and <a href="https://github.com/acdlite"><code>@acdlite</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24532">#24532</a>)</li> 119 <li>Fix ignored <code>setState</code> in Safari when adding an iframe. (<a href="https://github.com/gaearon"><code>@gaearon</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24459">#24459</a>)</li> 120 </ul> 121 <h3>React DOM Server</h3> 122 <ul> 123 <li>Pass information about server errors to the client. (<a href="https://github.com/salazarm"><code>@salazarm</code></a> and <a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24551">#24551</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/24591">#24591</a>)</li> 124 <li>Allow to provide a reason when aborting the HTML stream. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24680">#24680</a>)</li> 125 <li>Eliminate extraneous text separators in the HTML where possible. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24630">#24630</a>)</li> 126 <li>Disallow complex children inside <code><title></code> elements to match the browser constraints. (<a href="https://github.com/gnoff"><code>@gnoff</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24679">#24679</a>)</li> 127 <li>Fix buffering in some worker environments by explicitly setting <code>highWaterMark</code> to <code>0</code>. (<a href="https://github.com/jplhomer"><code>@jplhomer</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24641">#24641</a>)</li> 128 </ul> 129 <h3>Server Components (Experimental)</h3> 130 <ul> 131 <li>Add support for <code>useId()</code> inside Server Components. (<a href="https://github.com/gnoff"><code>@gnoff</code></a>) in <a href="https://github-redirect.dependabot.com/facebook/react/pull/24172">#24172</a></li> 132 </ul> 133 </blockquote> 134 </details> 135 <details> 136 <summary>Commits</summary> 137 <ul> 138 <li><a href="https://github.com/facebook/react/commit/b345523528f6b346c3a6de2145d5df6b2e23ca75"><code>b345523</code></a> [Fizz] Support abort reasons (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24680">#24680</a>)</li> 139 <li><a href="https://github.com/facebook/react/commit/bcbeb52bf36c6f5ecdad46a48e87cf4354c5a64f"><code>bcbeb52</code></a> [Fizz] Disallow complex children in <title> elements (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24679">#24679</a>)</li> 140 <li><a href="https://github.com/facebook/react/commit/4f29ba1cc52061e439cede3813e100557b23a15c"><code>4f29ba1</code></a> support errorInfo in onRecoverableError (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24591">#24591</a>)</li> 141 <li><a href="https://github.com/facebook/react/commit/26a5b3c7f781e93b5bcf4e5a7a6f13233409475d"><code>26a5b3c</code></a> Explicitly set <code>highWaterMark</code> to 0 for <code>ReadableStream</code> (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24641">#24641</a>)</li> 142 <li><a href="https://github.com/facebook/react/commit/aec575914a0fd76c9db8998ea62c3ee975de70d7"><code>aec5759</code></a> [Fizz] Send errors down to client (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24551">#24551</a>)</li> 143 <li><a href="https://github.com/facebook/react/commit/a2766387efe68b318b23d8c35c70b850d1e6a250"><code>a276638</code></a> [Fizz] Improve text separator byte efficiency (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24630">#24630</a>)</li> 144 <li><a href="https://github.com/facebook/react/commit/05c34dea91eced40d08cd72432087c1e26a4f59c"><code>05c34de</code></a> [Test] Outer boundary should not report errors from an inner boundary (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24618">#24618</a>)</li> 145 <li><a href="https://github.com/facebook/react/commit/82c64e1a49239158c0daa7f0d603d2ad2ee667a9"><code>82c64e1</code></a> Match Preact behavior for boolean props on custom elements (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24541">#24541</a>)</li> 146 <li><a href="https://github.com/facebook/react/commit/2c8a1452b82b9ec5ebfa3f370b31fda19610ae92"><code>2c8a145</code></a> Fix ignored setState in Safari when iframe is touched (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24459">#24459</a>)</li> 147 <li><a href="https://github.com/facebook/react/commit/8197c73ec334e4430d892cead14aa371f13467a9"><code>8197c73</code></a> Support document rendering (<a href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/24523">#24523</a>)</li> 148 <li>Additional commits viewable in <a href="https://github.com/facebook/react/commits/v18.2.0/packages/react-dom">compare view</a></li> 149 </ul> 150 </details> 151 <details> 152 <summary>Maintainer changes</summary> 153 <p>This version was pushed to npm by <a href="https://www.npmjs.com/~gnoff">gnoff</a>, a new releaser for react-dom since your current version.</p> 154 </details> 155 <br /> 156 157 Updates `@types/react` from 18.0.9 to 18.0.14 158 <details> 159 <summary>Commits</summary> 160 <ul> 161 <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare view</a></li> 162 </ul> 163 </details> 164 <br /> 165 166 167 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`. 168 169 [//]: # (dependabot-automerge-start) 170 [//]: # (dependabot-automerge-end) 171 172 --- 173 174 <details> 175 <summary>Dependabot commands and options</summary> 176 <br /> 177 178 You can trigger Dependabot actions by commenting on this PR: 179 - `@dependabot rebase` will rebase this PR 180 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 181 - `@dependabot merge` will merge this PR after your CI passes on it 182 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 183 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 184 - `@dependabot reopen` will reopen this PR if it is closed 185 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 186 - `@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) 187 - `@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) 188 - `@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) 189 190 191 </details> 192 193 194 ## Comments 195 196 ### @dependabot[bot] — 2023-01-03T16:43:34Z 197 198 OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. 199 200 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. 201