Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump react-router-dom-v5-compat from 6.20.0 to 6.21.1 (#2075)
Bumps [react-router-dom-v5-compat](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom-v5-compat) from 6.20.0 to 6.21.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom-v5-compat's releases</a>.</em></p> <blockquote> <h2>react-router-dom-v5-compat@6.4.0-pre.15</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.15</li> <li>react-router-dom@6.4.0-pre.15</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.11</li> <li>react-router-dom@6.4.0-pre.11</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.10</li> <li>react-router-dom@6.4.0-pre.10</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.9</li> <li>react-router-dom@6.4.0-pre.9</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.8</li> <li>react-router-dom@6.4.0-pre.8</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li><code>react-router@6.4.0-pre.7</code></li> <li><code>react-router-dom@6.4.0-pre.7</code></li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2> <h3>Patch Changes</h3> <ul> <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version <ul> <li>react-router@6.4.0-pre.6</li> <li>react-router-dom@6.4.0-pre.6</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.5</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router-dom-v5-compat/CHANGELOG.md">react-router-dom-v5-compat's changelog</a>.</em></p> <blockquote> <h2>6.21.1</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies: <ul> <li><code>react-router@6.21.1</code></li> <li><code>react-router-dom@6.21.1</code></li> </ul> </li> </ul> <h2>6.21.0</h2> <h3>Minor Changes</h3> <ul> <li> <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> <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> <p><strong>The Bug</strong> 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> <p><strong>The Background</strong> 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> <pre lang="jsx"><code><BrowserRouter> <Routes> <Route path="/" element={<Home />} /> <Route path="dashboard/*" element={<Dashboard />} /> </Routes> </BrowserRouter> </code></pre> <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> <pre lang="jsx"><code>function Dashboard() { return ( <div> <h2>Dashboard</h2> <nav> <Link to="/">Dashboard Home</Link> <Link to="team">Team</Link> <Link to="projects">Projects</Link> </nav> <pre><code> &lt;Routes&gt; &lt;Route path=&quot;/&quot; element={&lt;DashboardHome /&gt;} /&gt; &lt;Route path=&quot;team&quot; element={&lt;DashboardTeam /&gt;} /&gt; &lt;Route path=&quot;projects&quot; element={&lt;DashboardProjects /&gt;} /&gt; &lt;/Routes&gt; &lt;/div&gt; </code></pre> <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <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-v5-compat/issues/11132">#11132</a>)</li> <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-v5-compat/issues/11131">#11131</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/cc4436c544300a09d9d95c5f733d3b00fd7d426f"><code>cc4436c</code></a> Update changelogs for useResolvedSplat example</li> <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-v5-compat/issues/11114">#11114</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/ea0ffeef8a0c353f8ef402b5df2ac7c60a4d0b49"><code>ea0ffee</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom-v5-compat/issues/11095">#11095</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/373b30cdfb4a770e77f6ded25e94ba72fbde4e23"><code>373b30c</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom-v5-compat/issues/11091">#11091</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/56b2944ef18307fa6d5e432b52eead38eeda3402"><code>56b2944</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom-v5-compat/issues/11090">#11090</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/ee5fcd54af4784d58191d97a7117fa4d75378946"><code>ee5fcd5</code></a> Generate release notes</li> <li><a href="https://github.com/remix-run/react-router/commit/ddc2b94c26ac4a12b5a8e37dc4179e1b10644e1b"><code>ddc2b94</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom-v5-compat/issues/11089">#11089</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/149ad65a8dfb90b18835ec784792b6a86e4427a9"><code>149ad65</code></a> Add future.v7_relativeSplatPath flag (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom-v5-compat/issues/11087">#11087</a>)</li> <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom-v5-compat@6.21.1/packages/react-router-dom-v5-compat">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router-dom-v5-compat&package-manager=npm_and_yarn&previous-version=6.20.0&new-version=6.21.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information