408.json (10561B)
1 { 2 "number": 408, 3 "title": "Bump react-router-dom from 6.7.0 to 6.10.0", 4 "state": "closed", 5 "diff_file": "408.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-03-30T09:08:29Z", 8 "closed_at": "2023-06-07T09:05:49Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/react-router-dom-6.10.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.10.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.10.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<p>Added support for <a href=\"https://reactrouter.com/en/main/guides/api-development-strategy\"><strong>Future Flags</strong></a> in React Router. The first flag being introduced is <code>future.v7_normalizeFormMethod</code> which will normalize the exposed <code>useNavigation()/useFetcher()</code> <code>formMethod</code> fields as uppercase HTTP methods to align with the <code>fetch()</code> behavior. (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10207\">#10207</a>)</p>\n<ul>\n<li>When <code>future.v7_normalizeFormMethod === false</code> (default v6 behavior),\n<ul>\n<li><code>useNavigation().formMethod</code> is lowercase</li>\n<li><code>useFetcher().formMethod</code> is lowercase</li>\n</ul>\n</li>\n<li>When <code>future.v7_normalizeFormMethod === true</code>:\n<ul>\n<li><code>useNavigation().formMethod</code> is uppercase</li>\n<li><code>useFetcher().formMethod</code> is uppercase</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3>Patch Changes</h3>\n<ul>\n<li>Fix <code>createStaticHandler</code> to also check for <code>ErrorBoundary</code> on routes in addition to <code>errorElement</code> (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10190\">#10190</a>)</li>\n<li>Updated dependencies:\n<ul>\n<li><code>@remix-run/router@1.5.0</code></li>\n<li><code>react-router@6.10.0</code></li>\n</ul>\n</li>\n</ul>\n<h2>6.9.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<p>React Router now supports an alternative way to define your route <code>element</code> and <code>errorElement</code> fields as React Components instead of React Elements. You can instead pass a React Component to the new <code>Component</code> and <code>ErrorBoundary</code> fields if you choose. There is no functional difference between the two, so use whichever approach you prefer \ud83d\ude00. You shouldn't be defining both, but if you do <code>Component</code>/<code>ErrorBoundary</code> will "win". (<a href=\"https://redirect.github.com/remix-run/react-router/pull/10045\">#10045</a>)</p>\n<p><strong>Example JSON Syntax</strong></p>\n<pre lang=\"jsx\"><code>// Both of these work the same:\nconst elementRoutes = [{\n path: '/',\n element: <Home />,\n errorElement: <HomeError />,\n}]\n<p>const componentRoutes = [{\npath: '/',\nComponent: Home,\nErrorBoundary: HomeError,\n}]</p>\n<p>function Home() { ... }\nfunction HomeError() { ... }\n</code></pre></p>\n<p><strong>Example JSX Syntax</strong></p>\n<pre lang=\"jsx\"><code>// Both of these work the same:\n</code></pre>\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/a3927fe5f718f7c105aab4ad4faa9108ee62efcc\"><code>a3927fe</code></a> chore: Update version for release (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10284\">#10284</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/8f7939c9b66f261df0e70731bdf3dba30cfcff13\"><code>8f7939c</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10260\">#10260</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/7799f6c7ace0e25d3f2b64babb1c8895416d4717\"><code>7799f6c</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10248\">#10248</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/97b5c424152a40c298ac25cc8ed3ff9dfc5f838c\"><code>97b5c42</code></a> chore: Update version for release (pre) (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10243\">#10243</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/dff7e6498c65d84bb1738413e9063d82089e6070\"><code>dff7e64</code></a> Add future.v7_normalizeFormMethod flag (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10207\">#10207</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/6c68e1e2cfd3616dd27a9022640b24affbea9374\"><code>6c68e1e</code></a> Properly handle lazy errors during router initialization (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10201\">#10201</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/474feb7793fa9f9e9c6f75d957dcafb22550b534\"><code>474feb7</code></a> Remove wrapper API from data browser router tests (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10196\">#10196</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/7ba352eddc7a9daaa3366094a78b275521b869fc\"><code>7ba352e</code></a> chore: format</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/0f561ee0079a044d828c49780ae0ac13057b53e7\"><code>0f561ee</code></a> fix(react-router-dom): fix <code>detectErrorBoundary</code> function (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10190\">#10190</a>)</li>\n<li><a href=\"https://github.com/remix-run/react-router/commit/4ec107a69b2c6b2ea7482a5a5138c035ce0ab8c2\"><code>4ec107a</code></a> chore: Update version for release (<a href=\"https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10185\">#10185</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/remix-run/react-router/commits/react-router-dom@6.10.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\nYou can trigger a rebase of this PR 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> **Note**\n> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.\n", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-06-07T09:05:47Z", 27 "body": "Superseded by #446." 28 } 29 ], 30 "review_comments": [] 31 }