210.json (10811B)
1 { 2 "number": 210, 3 "title": "Bump react-router-dom from 6.16.0 to 6.21.1", 4 "state": "closed", 5 "diff_file": "210.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-12-22T09:56:14Z", 8 "closed_at": "2024-01-12T09:46:14Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/react-router-dom-6.21.1", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [], 17 "requested_reviewers": [], 18 "body": "Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.21.1.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/remix-run/react-router/releases\">react-router-dom's releases</a>.</em></p>\n<blockquote>\n<h2>react-router-dom-v5-compat@6.4.0-pre.15</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.15</li>\n<li>react-router-dom@6.4.0-pre.15</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.11</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.11</li>\n<li>react-router-dom@6.4.0-pre.11</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.10</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.10</li>\n<li>react-router-dom@6.4.0-pre.10</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.9</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.9</li>\n<li>react-router-dom@6.4.0-pre.9</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.8</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li>react-router@6.4.0-pre.8</li>\n<li>react-router-dom@6.4.0-pre.8</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.7</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies\n<ul>\n<li><code>react-router@6.4.0-pre.7</code></li>\n<li><code>react-router-dom@6.4.0-pre.7</code></li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.6</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version\n<ul>\n<li>react-router@6.4.0-pre.6</li>\n<li>react-router-dom@6.4.0-pre.6</li>\n</ul>\n</li>\n</ul>\n<h2>react-router-dom-v5-compat@6.4.0-pre.5</h2>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Changelog</summary>\n<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>\n<blockquote>\n<h2>6.21.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies:\n<ul>\n<li><code>react-router@6.21.1</code></li>\n<li><code>@remix-run/router@1.14.1</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.21.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<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>\n<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>\n<p><strong>The Bug</strong>\nThe 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>\n<p><strong>The Background</strong>\nThis 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>\n<pre lang=\"jsx\"><code><BrowserRouter>\n <Routes>\n <Route path="/" element={<Home />} />\n <Route path="dashboard/*" element={<Dashboard />} />\n </Routes>\n</BrowserRouter>\n</code></pre>\n<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>\n<pre lang=\"jsx\"><code>function Dashboard() {\n return (\n <div>\n <h2>Dashboard</h2>\n <nav>\n <Link to="/">Dashboard Home</Link>\n <Link to="team">Team</Link>\n <Link to="projects">Projects</Link>\n </nav>\n<pre><code> &lt;Routes&gt;\n &lt;Route path=&quot;/&quot; element={&lt;DashboardHome /&gt;} /&gt;\n &lt;Route path=&quot;team&quot; element={&lt;DashboardTeam /&gt;} /&gt;\n &lt;Route path=&quot;projects&quot; element={&lt;DashboardProjects /&gt;} /&gt;\n &lt;/Routes&gt;\n&lt;/div&gt;\n</code></pre>\n<p></code></pre></p>\n</li>\n</ul>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<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>\n<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>\n<li><a href=\"https://github.com/remix-run/react-router/commit/ba99ec567e1899f811973d99ca804dc620a9cfae\"><code>ba99ec5</code></a> Merge branch 'main' into release-next</li>\n<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>\n<li><a href=\"https://github.com/remix-run/react-router/commit/cc4436c544300a09d9d95c5f733d3b00fd7d426f\"><code>cc4436c</code></a> Update changelogs for useResolvedSplat example</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/c292bdb9bd1171546b5937c6ff226a6f064c8652\"><code>c292bdb</code></a> Merge branch 'release-next' into dev</li>\n<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>\n<li><a href=\"https://github.com/remix-run/react-router/commit/54ec39ee35cfde99ee7218e6aa2bd1b7d8afc787\"><code>54ec39e</code></a> Allow persisted fetchers unmounted during submit to revalidate (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11102\">#11102</a>)</li>\n<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/issues/11095\">#11095</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/fe3c071037b18f447dabb44fb24e4b1bce2a2a15\"><code>fe3c071</code></a> Slight refactor to partial hydration to leverage state.initialized properly (...</li>\n<li>Additional commits viewable in <a href=\"https://github.com/remix-run/react-router/commits/react-router-dom@6.21.1/packages/react-router-dom\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@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)\n- `@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)\n- `@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)\n- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency\n- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions\n\n\n</details>", 19 "comments": [ 20 { 21 "author": "dependabot[bot]", 22 "created_at": "2024-01-12T09:46:13Z", 23 "body": "Superseded by #233." 24 } 25 ], 26 "review_comments": [] 27 }