446.json (11699B)
1 { 2 "number": 446, 3 "title": "Bump react-router-dom from 6.7.0 to 6.12.0", 4 "state": "closed", 5 "diff_file": "446.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-06-07T09:05:43Z", 8 "closed_at": "2023-06-09T09:05:32Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/react-router-dom-6.12.0", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "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.\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.12.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<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>\n</ul>\n<h3>Patch Changes</h3>\n<ul>\n<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>\n<li>Updated dependencies:\n<ul>\n<li><code>@remix-run/router@1.6.3</code></li>\n<li><code>react-router@6.12.0</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.11.2</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Export <code>SetURLSearchParams</code> type (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10444\">#10444</a>)</li>\n<li>Updated dependencies:\n<ul>\n<li><code>react-router@6.11.2</code></li>\n<li><code>@remix-run/router@1.6.2</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.11.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>Updated dependencies:\n<ul>\n<li><code>react-router@6.11.1</code></li>\n<li><code>@remix-run/router@1.6.1</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.11.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>Enable <code>basename</code> support in <code>useFetcher</code> (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10336\">#10336</a>)\n<ul>\n<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>\n</ul>\n</li>\n</ul>\n<h3>Patch Changes</h3>\n<ul>\n<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>\n<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>\n<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>\n<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>\n<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>\n<li>Updated dependencies:\n<ul>\n<li><code>react-router@6.11.0</code></li>\n<li><code>@remix-run/router@1.6.0</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.10.0</h2>\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/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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\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 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)\n- `@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)\n- `@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)\n\n\n</details>\n\n<!-- Replace -->\n----\n\u231b Deploy Preview - Build in Progress\n<!-- Replace -->\n", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-06-09T09:05:31Z", 27 "body": "Superseded by #466." 28 } 29 ], 30 "review_comments": [] 31 }