233.md (10267B)
1 # PR #233 Bump react-router-dom from 6.16.0 to 6.21.2 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-01-12T09:46:11Z 6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.21.2 → main 7 - **Closed:** 2024-03-28T09:24:31Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [233.diff](./233.diff) 10 11 --- 12 13 Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.21.2. 14 <details> 15 <summary>Release notes</summary> 16 <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p> 17 <blockquote> 18 <h2>react-router-dom-v5-compat@6.4.0-pre.15</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li>Updated dependencies 22 <ul> 23 <li>react-router@6.4.0-pre.15</li> 24 <li>react-router-dom@6.4.0-pre.15</li> 25 </ul> 26 </li> 27 </ul> 28 <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2> 29 <h3>Patch Changes</h3> 30 <ul> 31 <li>Updated dependencies 32 <ul> 33 <li>react-router@6.4.0-pre.11</li> 34 <li>react-router-dom@6.4.0-pre.11</li> 35 </ul> 36 </li> 37 </ul> 38 <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2> 39 <h3>Patch Changes</h3> 40 <ul> 41 <li>Updated dependencies 42 <ul> 43 <li>react-router@6.4.0-pre.10</li> 44 <li>react-router-dom@6.4.0-pre.10</li> 45 </ul> 46 </li> 47 </ul> 48 <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2> 49 <h3>Patch Changes</h3> 50 <ul> 51 <li>Updated dependencies 52 <ul> 53 <li>react-router@6.4.0-pre.9</li> 54 <li>react-router-dom@6.4.0-pre.9</li> 55 </ul> 56 </li> 57 </ul> 58 <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2> 59 <h3>Patch Changes</h3> 60 <ul> 61 <li>Updated dependencies 62 <ul> 63 <li>react-router@6.4.0-pre.8</li> 64 <li>react-router-dom@6.4.0-pre.8</li> 65 </ul> 66 </li> 67 </ul> 68 <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2> 69 <h3>Patch Changes</h3> 70 <ul> 71 <li>Updated dependencies 72 <ul> 73 <li><code>react-router@6.4.0-pre.7</code></li> 74 <li><code>react-router-dom@6.4.0-pre.7</code></li> 75 </ul> 76 </li> 77 </ul> 78 <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2> 79 <h3>Patch Changes</h3> 80 <ul> 81 <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version 82 <ul> 83 <li>react-router@6.4.0-pre.6</li> 84 <li>react-router-dom@6.4.0-pre.6</li> 85 </ul> 86 </li> 87 </ul> 88 <h2>react-router-dom-v5-compat@6.4.0-pre.5</h2> 89 <!-- raw HTML omitted --> 90 </blockquote> 91 <p>... (truncated)</p> 92 </details> 93 <details> 94 <summary>Changelog</summary> 95 <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> 96 <blockquote> 97 <h2>6.21.2</h2> 98 <h3>Patch Changes</h3> 99 <ul> 100 <li>Leverage <code>useId</code> for internal fetcher keys when available (<a href="https://redirect.github.com/remix-run/react-router/pull/11166">#11166</a>)</li> 101 <li>Updated dependencies: 102 <ul> 103 <li><code>@remix-run/router@1.14.2</code></li> 104 <li><code>react-router@6.21.2</code></li> 105 </ul> 106 </li> 107 </ul> 108 <h2>6.21.1</h2> 109 <h3>Patch Changes</h3> 110 <ul> 111 <li>Updated dependencies: 112 <ul> 113 <li><code>react-router@6.21.1</code></li> 114 <li><code>@remix-run/router@1.14.1</code></li> 115 </ul> 116 </li> 117 </ul> 118 <h2>6.21.0</h2> 119 <h3>Minor Changes</h3> 120 <ul> 121 <li> 122 <p>Add a new <code>future.v7_relativeSplatPath</code> flag to implement a breaking bug fix to relative routing when inside a splat route. (<a href="https://redirect.github.com/remix-run/react-router/pull/11087">#11087</a>)</p> 123 <p>This fix was originally added in <a href="https://redirect.github.com/remix-run/react-router/issues/10983">#10983</a> and was later reverted in <a href="https://redirect.github.com/remix-run/react-router/pull/11078">#11078</a> because it was determined that a large number of existing applications were relying on the buggy behavior (see <a href="https://redirect.github.com/remix-run/react-router/issues/11052">#11052</a>)</p> 124 <p><strong>The Bug</strong> 125 The buggy behavior is that without this flag, the default behavior when resolving relative paths is to <em>ignore</em> any splat (<code>*</code>) portion of the current route path.</p> 126 <p><strong>The Background</strong> 127 This decision was originally made thinking that it would make the concept of nested different sections of your apps in <code><Routes></code> easier if relative routing would <em>replace</em> the current splat:</p> 128 <pre lang="jsx"><code><BrowserRouter> 129 <Routes> 130 <Route path="/" element={<Home />} /> 131 <Route path="dashboard/*" element={<Dashboard />} /> 132 </Routes> 133 </BrowserRouter> 134 </code></pre> 135 <p>Any paths like <code>/dashboard</code>, <code>/dashboard/team</code>, <code>/dashboard/projects</code> will match the <code>Dashboard</code> route. The dashboard component itself can then render nested <code><Routes></code>:</p> 136 <pre lang="jsx"><code>function Dashboard() { 137 return ( 138 <div> 139 <h2>Dashboard</h2> 140 <nav> 141 <Link to="/">Dashboard Home</Link> 142 <Link to="team">Team</Link> 143 </code></pre> 144 </li> 145 </ul> 146 <!-- raw HTML omitted --> 147 </blockquote> 148 <p>... (truncated)</p> 149 </details> 150 <details> 151 <summary>Commits</summary> 152 <ul> 153 <li><a href="https://github.com/remix-run/react-router/commit/4e528c0bcee338c8f26d948affb3092257f6ee85"><code>4e528c0</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11182">#11182</a>)</li> 154 <li><a href="https://github.com/remix-run/react-router/commit/c2c0826c6e4a9e213b4f43bc4e95d4f85bf2d96e"><code>c2c0826</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11178">#11178</a>)</li> 155 <li><a href="https://github.com/remix-run/react-router/commit/e0d106bbe765ef12d3ad31e223127e2d08cab8e1"><code>e0d106b</code></a> Leverage useId for internal fetcher keys when available (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11166">#11166</a>)</li> 156 <li><a href="https://github.com/remix-run/react-router/commit/08cda17f450ebe19481be3fc080d243ec5ef509f"><code>08cda17</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11132">#11132</a>)</li> 157 <li><a href="https://github.com/remix-run/react-router/commit/e5d73cf2251bf99d3113695a57c34c84e0ac92e5"><code>e5d73cf</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11131">#11131</a>)</li> 158 <li><a href="https://github.com/remix-run/react-router/commit/ba99ec567e1899f811973d99ca804dc620a9cfae"><code>ba99ec5</code></a> Merge branch 'main' into release-next</li> 159 <li><a href="https://github.com/remix-run/react-router/commit/0f04d11d152a2d7d7ebace786bc7c2fd30d55fbc"><code>0f04d11</code></a> Fix issues with partial hydration combined with route.lazy (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11121">#11121</a>)</li> 160 <li><a href="https://github.com/remix-run/react-router/commit/cc4436c544300a09d9d95c5f733d3b00fd7d426f"><code>cc4436c</code></a> Update changelogs for useResolvedSplat example</li> 161 <li><a href="https://github.com/remix-run/react-router/commit/c292bdb9bd1171546b5937c6ff226a6f064c8652"><code>c292bdb</code></a> Merge branch 'release-next' into dev</li> 162 <li><a href="https://github.com/remix-run/react-router/commit/69ba50e06633fd4add234fb47f2d49b0a5ee41f9"><code>69ba50e</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11114">#11114</a>)</li> 163 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.21.2/packages/react-router-dom">compare view</a></li> 164 </ul> 165 </details> 166 <br /> 167 168 169 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 170 171 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`. 172 173 [//]: # (dependabot-automerge-start) 174 [//]: # (dependabot-automerge-end) 175 176 --- 177 178 <details> 179 <summary>Dependabot commands and options</summary> 180 <br /> 181 182 You can trigger Dependabot actions by commenting on this PR: 183 - `@dependabot rebase` will rebase this PR 184 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 185 - `@dependabot merge` will merge this PR after your CI passes on it 186 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 187 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 188 - `@dependabot reopen` will reopen this PR if it is closed 189 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 190 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 191 - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) 192 - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) 193 - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) 194 - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency 195 - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions 196 197 198 </details> 199 200 201 ## Comments 202 203 ### @dependabot[bot] — 2024-03-28T09:24:31Z 204 205 Superseded by #238. 206