Commit 77f7da1
Merge #1051
1051: Bump react-router-dom from 6.8.1 to 6.10.0 r=bidoubiwa a=dependabot[bot]
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.8.1 to 6.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p>
<blockquote>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li><code>[email protected]</code></li>
<li><code>[email protected]</code></li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</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/CHANGELOG.md">react-router-dom's changelog</a>.</em></p>
<blockquote>
<h2>6.10.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<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>
<ul>
<li>When <code>future.v7_normalizeFormMethod === false</code> (default v6 behavior),
<ul>
<li><code>useNavigation().formMethod</code> is lowercase</li>
<li><code>useFetcher().formMethod</code> is lowercase</li>
</ul>
</li>
<li>When <code>future.v7_normalizeFormMethod === true</code>:
<ul>
<li><code>useNavigation().formMethod</code> is uppercase</li>
<li><code>useFetcher().formMethod</code> is uppercase</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<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>
<li>Updated dependencies:
<ul>
<li><code>`@remix-run/[email protected]</code></li>`
<li><code>[email protected]</code></li>
</ul>
</li>
</ul>
<h2>6.9.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<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 😀. 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>
<p><strong>Example JSON Syntax</strong></p>
<pre lang="jsx"><code>// Both of these work the same:
const elementRoutes = [{
path: '/',
element: <Home />,
errorElement: <HomeError />,
}]
<p>const componentRoutes = [{
path: '/',
Component: Home,
ErrorBoundary: HomeError,
}]</p>
<p>function Home() { ... }
function HomeError() { ... }
</code></pre></p>
<p><strong>Example JSX Syntax</strong></p>
<pre lang="jsx"><code>// Both of these work the same:
</code></pre>
</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/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>
<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>
<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>
<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>
<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>
<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>
<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>
<li><a href="https://github.com/remix-run/react-router/commit/7ba352eddc7a9daaa3366094a78b275521b869fc"><code>7ba352e</code></a> chore: format</li>
<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>
<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>
<li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom">compare view</a></li>
</ul>
</details>
<br />
[](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` 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2 files changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2522 | 2522 | | |
2523 | 2523 | | |
2524 | 2524 | | |
2525 | | - | |
2526 | | - | |
2527 | | - | |
2528 | | - | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
2529 | 2529 | | |
2530 | 2530 | | |
2531 | 2531 | | |
| |||
11822 | 11822 | | |
11823 | 11823 | | |
11824 | 11824 | | |
11825 | | - | |
11826 | | - | |
11827 | | - | |
11828 | | - | |
| 11825 | + | |
| 11826 | + | |
| 11827 | + | |
| 11828 | + | |
11829 | 11829 | | |
11830 | | - | |
11831 | | - | |
| 11830 | + | |
| 11831 | + | |
11832 | 11832 | | |
11833 | | - | |
11834 | | - | |
11835 | | - | |
11836 | | - | |
| 11833 | + | |
| 11834 | + | |
| 11835 | + | |
| 11836 | + | |
11837 | 11837 | | |
11838 | | - | |
| 11838 | + | |
11839 | 11839 | | |
11840 | 11840 | | |
11841 | 11841 | | |
| |||
0 commit comments