446.md (11225B)
1 # PR #446 Bump react-router-dom from 6.7.0 to 6.12.0 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-06-07T09:05:43Z 6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.12.0 → main 7 - **Closed:** 2023-06-09T09:05:32Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [446.diff](./446.diff) 12 13 --- 14 15 Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.7.0 to 6.12.0. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p> 19 <blockquote> 20 <h2>react-router-dom-v5-compat@6.4.0-pre.15</h2> 21 <h3>Patch Changes</h3> 22 <ul> 23 <li>Updated dependencies 24 <ul> 25 <li>react-router@6.4.0-pre.15</li> 26 <li>react-router-dom@6.4.0-pre.15</li> 27 </ul> 28 </li> 29 </ul> 30 <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2> 31 <h3>Patch Changes</h3> 32 <ul> 33 <li>Updated dependencies 34 <ul> 35 <li>react-router@6.4.0-pre.11</li> 36 <li>react-router-dom@6.4.0-pre.11</li> 37 </ul> 38 </li> 39 </ul> 40 <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2> 41 <h3>Patch Changes</h3> 42 <ul> 43 <li>Updated dependencies 44 <ul> 45 <li>react-router@6.4.0-pre.10</li> 46 <li>react-router-dom@6.4.0-pre.10</li> 47 </ul> 48 </li> 49 </ul> 50 <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2> 51 <h3>Patch Changes</h3> 52 <ul> 53 <li>Updated dependencies 54 <ul> 55 <li>react-router@6.4.0-pre.9</li> 56 <li>react-router-dom@6.4.0-pre.9</li> 57 </ul> 58 </li> 59 </ul> 60 <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2> 61 <h3>Patch Changes</h3> 62 <ul> 63 <li>Updated dependencies 64 <ul> 65 <li>react-router@6.4.0-pre.8</li> 66 <li>react-router-dom@6.4.0-pre.8</li> 67 </ul> 68 </li> 69 </ul> 70 <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2> 71 <h3>Patch Changes</h3> 72 <ul> 73 <li>Updated dependencies 74 <ul> 75 <li><code>react-router@6.4.0-pre.7</code></li> 76 <li><code>react-router-dom@6.4.0-pre.7</code></li> 77 </ul> 78 </li> 79 </ul> 80 <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2> 81 <h3>Patch Changes</h3> 82 <ul> 83 <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version 84 <ul> 85 <li>react-router@6.4.0-pre.6</li> 86 <li>react-router-dom@6.4.0-pre.6</li> 87 </ul> 88 </li> 89 </ul> 90 <h2>react-router-dom-v5-compat@6.4.0-pre.5</h2> 91 <!-- raw HTML omitted --> 92 </blockquote> 93 <p>... (truncated)</p> 94 </details> 95 <details> 96 <summary>Changelog</summary> 97 <p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md">react-router-dom's changelog</a>.</em></p> 98 <blockquote> 99 <h2>6.12.0</h2> 100 <h3>Minor Changes</h3> 101 <ul> 102 <li>Wrap internal router state updates with <code>React.startTransition</code> if it exists (<a href="https://redirect.github.com/remix-run/react-router/pull/10438">#10438</a>)</li> 103 </ul> 104 <h3>Patch Changes</h3> 105 <ul> 106 <li>Re-throw <code>DOMException</code> (<code>DataCloneError</code>) when attempting to perform a <code>PUSH</code> navigation with non-serializable state. (<a href="https://redirect.github.com/remix-run/react-router/pull/10427">#10427</a>)</li> 107 <li>Updated dependencies: 108 <ul> 109 <li><code>@remix-run/router@1.6.3</code></li> 110 <li><code>react-router@6.12.0</code></li> 111 </ul> 112 </li> 113 </ul> 114 <h2>6.11.2</h2> 115 <h3>Patch Changes</h3> 116 <ul> 117 <li>Export <code>SetURLSearchParams</code> type (<a href="https://redirect.github.com/remix-run/react-router/pull/10444">#10444</a>)</li> 118 <li>Updated dependencies: 119 <ul> 120 <li><code>react-router@6.11.2</code></li> 121 <li><code>@remix-run/router@1.6.2</code></li> 122 </ul> 123 </li> 124 </ul> 125 <h2>6.11.1</h2> 126 <h3>Patch Changes</h3> 127 <ul> 128 <li>Updated dependencies: 129 <ul> 130 <li><code>react-router@6.11.1</code></li> 131 <li><code>@remix-run/router@1.6.1</code></li> 132 </ul> 133 </li> 134 </ul> 135 <h2>6.11.0</h2> 136 <h3>Minor Changes</h3> 137 <ul> 138 <li>Enable <code>basename</code> support in <code>useFetcher</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10336">#10336</a>) 139 <ul> 140 <li>If you were previously working around this issue by manually prepending the <code>basename</code> then you will need to remove the manually prepended <code>basename</code> from your <code>fetcher</code> calls (<code>fetcher.load('/basename/route') -> fetcher.load('/route')</code>)</li> 141 </ul> 142 </li> 143 </ul> 144 <h3>Patch Changes</h3> 145 <ul> 146 <li>Fix inadvertent re-renders when using <code>Component</code> instead of <code>element</code> on a route definition (<a href="https://redirect.github.com/remix-run/react-router/pull/10287">#10287</a>)</li> 147 <li>Fail gracefully on <code><Link to="//"></code> and other invalid URL values (<a href="https://redirect.github.com/remix-run/react-router/pull/10367">#10367</a>)</li> 148 <li>Switched from <code>useSyncExternalStore</code> to <code>useState</code> for internal <code>@remix-run/router</code> router state syncing in <code><RouterProvider></code>. We found some <a href="https://codesandbox.io/s/use-sync-external-store-loop-9g7b81">subtle bugs</a> where router state updates got propagated <em>before</em> other normal <code>useState</code> updates, which could lead to footguns in <code>useEffect</code> calls. (<a href="https://redirect.github.com/remix-run/react-router/pull/10377">#10377</a>, <a href="https://redirect.github.com/remix-run/react-router/pull/10409">#10409</a>)</li> 149 <li>Add static prop to <code>StaticRouterProvider</code>'s internal <code>Router</code> component (<a href="https://redirect.github.com/remix-run/react-router/pull/10401">#10401</a>)</li> 150 <li>When using a <code>RouterProvider</code>, <code>useNavigate</code>/<code>useSubmit</code>/<code>fetcher.submit</code> are now stable across location changes, since we can handle relative routing via the <code>@remix-run/router</code> instance and get rid of our dependence on <code>useLocation()</code>. When using <code>BrowserRouter</code>, these hooks remain unstable across location changes because they still rely on <code>useLocation()</code>. (<a href="https://redirect.github.com/remix-run/react-router/pull/10336">#10336</a>)</li> 151 <li>Updated dependencies: 152 <ul> 153 <li><code>react-router@6.11.0</code></li> 154 <li><code>@remix-run/router@1.6.0</code></li> 155 </ul> 156 </li> 157 </ul> 158 <h2>6.10.0</h2> 159 <!-- raw HTML omitted --> 160 </blockquote> 161 <p>... (truncated)</p> 162 </details> 163 <details> 164 <summary>Commits</summary> 165 <ul> 166 <li><a href="https://github.com/remix-run/react-router/commit/6c0bbb14ed638a9adcae11376b084db450b69c84"><code>6c0bbb1</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10564">#10564</a>)</li> 167 <li><a href="https://github.com/remix-run/react-router/commit/4cf2543b503d2f22c345a8595b8558be56ee3716"><code>4cf2543</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10554">#10554</a>)</li> 168 <li><a href="https://github.com/remix-run/react-router/commit/981dda76697a8fe01491b1e10fffe270b852defc"><code>981dda7</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10552">#10552</a>)</li> 169 <li><a href="https://github.com/remix-run/react-router/commit/e2789c1781d65f1c2d5a564e6a766bccc56f41d2"><code>e2789c1</code></a> chore: upgrade jest and jsdom (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10453">#10453</a>)</li> 170 <li><a href="https://github.com/remix-run/react-router/commit/6dac8deb3b5aa2a1eb8b2e32329051f8724ff3ca"><code>6dac8de</code></a> Wrap internal router state updates with React.startTransition (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10438">#10438</a>)</li> 171 <li><a href="https://github.com/remix-run/react-router/commit/0815c96c14015821af220e8d9eb23dba5a0fc36d"><code>0815c96</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10500">#10500</a>)</li> 172 <li><a href="https://github.com/remix-run/react-router/commit/f1e4db4cf26d9ec791ff3b4de35f623595dc426e"><code>f1e4db4</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10495">#10495</a>)</li> 173 <li><a href="https://github.com/remix-run/react-router/commit/55482ec2904b5c285012313caf30dd54a16ad6b8"><code>55482ec</code></a> Export SetURLSearchParams type (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10444">#10444</a>)</li> 174 <li><a href="https://github.com/remix-run/react-router/commit/db696c112bec86cc20164eb7f9589c09760da983"><code>db696c1</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10443">#10443</a>)</li> 175 <li><a href="https://github.com/remix-run/react-router/commit/b725c3b4cbf41552be30b70618f19d4946c77f6f"><code>b725c3b</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10436">#10436</a>)</li> 176 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.12.0/packages/react-router-dom">compare view</a></li> 177 </ul> 178 </details> 179 <br /> 180 181 182 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 183 184 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`. 185 186 [//]: # (dependabot-automerge-start) 187 [//]: # (dependabot-automerge-end) 188 189 --- 190 191 <details> 192 <summary>Dependabot commands and options</summary> 193 <br /> 194 195 You can trigger Dependabot actions by commenting on this PR: 196 - `@dependabot rebase` will rebase this PR 197 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 198 - `@dependabot merge` will merge this PR after your CI passes on it 199 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 200 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 201 - `@dependabot reopen` will reopen this PR if it is closed 202 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 203 - `@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) 204 - `@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) 205 - `@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) 206 207 208 </details> 209 210 <!-- Replace --> 211 ---- 212 ⌛ Deploy Preview - Build in Progress 213 <!-- Replace --> 214 215 216 217 ## Comments 218 219 ### @dependabot[bot] — 2023-06-09T09:05:31Z 220 221 Superseded by #466. 222