matrix-art.meta

Issues/PRs archive for MTRNord/matrix-art
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.meta.git
Log | Files | Refs

408.md (10093B)


      1 # PR #408 Bump react-router-dom from 6.7.0 to 6.10.0
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-03-30T09:08:29Z
      6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.10.0 → main
      7 - **Closed:** 2023-06-07T09:05:49Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [408.diff](./408.diff)
     12 
     13 ---
     14 
     15 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.
     16 <details>
     17 <summary>Release notes</summary>
     18 <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p>
     19 <blockquote>
     20 <h2>react-router-dom-v5-compat@6.4.0-pre.15</h2>
     21 <h3>Patch Changes</h3>
     22 <ul>
     23 <li>Updated dependencies
     24 <ul>
     25 <li>react-router@6.4.0-pre.15</li>
     26 <li>react-router-dom@6.4.0-pre.15</li>
     27 </ul>
     28 </li>
     29 </ul>
     30 <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2>
     31 <h3>Patch Changes</h3>
     32 <ul>
     33 <li>Updated dependencies
     34 <ul>
     35 <li>react-router@6.4.0-pre.11</li>
     36 <li>react-router-dom@6.4.0-pre.11</li>
     37 </ul>
     38 </li>
     39 </ul>
     40 <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2>
     41 <h3>Patch Changes</h3>
     42 <ul>
     43 <li>Updated dependencies
     44 <ul>
     45 <li>react-router@6.4.0-pre.10</li>
     46 <li>react-router-dom@6.4.0-pre.10</li>
     47 </ul>
     48 </li>
     49 </ul>
     50 <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2>
     51 <h3>Patch Changes</h3>
     52 <ul>
     53 <li>Updated dependencies
     54 <ul>
     55 <li>react-router@6.4.0-pre.9</li>
     56 <li>react-router-dom@6.4.0-pre.9</li>
     57 </ul>
     58 </li>
     59 </ul>
     60 <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2>
     61 <h3>Patch Changes</h3>
     62 <ul>
     63 <li>Updated dependencies
     64 <ul>
     65 <li>react-router@6.4.0-pre.8</li>
     66 <li>react-router-dom@6.4.0-pre.8</li>
     67 </ul>
     68 </li>
     69 </ul>
     70 <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2>
     71 <h3>Patch Changes</h3>
     72 <ul>
     73 <li>Updated dependencies
     74 <ul>
     75 <li><code>react-router@6.4.0-pre.7</code></li>
     76 <li><code>react-router-dom@6.4.0-pre.7</code></li>
     77 </ul>
     78 </li>
     79 </ul>
     80 <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2>
     81 <h3>Patch Changes</h3>
     82 <ul>
     83 <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version
     84 <ul>
     85 <li>react-router@6.4.0-pre.6</li>
     86 <li>react-router-dom@6.4.0-pre.6</li>
     87 </ul>
     88 </li>
     89 </ul>
     90 <h2>react-router-dom-v5-compat@6.4.0-pre.5</h2>
     91 <!-- raw HTML omitted -->
     92 </blockquote>
     93 <p>... (truncated)</p>
     94 </details>
     95 <details>
     96 <summary>Changelog</summary>
     97 <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>
     98 <blockquote>
     99 <h2>6.10.0</h2>
    100 <h3>Minor Changes</h3>
    101 <ul>
    102 <li>
    103 <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>
    104 <ul>
    105 <li>When <code>future.v7_normalizeFormMethod === false</code> (default v6 behavior),
    106 <ul>
    107 <li><code>useNavigation().formMethod</code> is lowercase</li>
    108 <li><code>useFetcher().formMethod</code> is lowercase</li>
    109 </ul>
    110 </li>
    111 <li>When <code>future.v7_normalizeFormMethod === true</code>:
    112 <ul>
    113 <li><code>useNavigation().formMethod</code> is uppercase</li>
    114 <li><code>useFetcher().formMethod</code> is uppercase</li>
    115 </ul>
    116 </li>
    117 </ul>
    118 </li>
    119 </ul>
    120 <h3>Patch Changes</h3>
    121 <ul>
    122 <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>
    123 <li>Updated dependencies:
    124 <ul>
    125 <li><code>@remix-run/router@1.5.0</code></li>
    126 <li><code>react-router@6.10.0</code></li>
    127 </ul>
    128 </li>
    129 </ul>
    130 <h2>6.9.0</h2>
    131 <h3>Minor Changes</h3>
    132 <ul>
    133 <li>
    134 <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 &quot;win&quot;. (<a href="https://redirect.github.com/remix-run/react-router/pull/10045">#10045</a>)</p>
    135 <p><strong>Example JSON Syntax</strong></p>
    136 <pre lang="jsx"><code>// Both of these work the same:
    137 const elementRoutes = [{
    138   path: '/',
    139   element: &lt;Home /&gt;,
    140   errorElement: &lt;HomeError /&gt;,
    141 }]
    142 <p>const componentRoutes = [{
    143 path: '/',
    144 Component: Home,
    145 ErrorBoundary: HomeError,
    146 }]</p>
    147 <p>function Home() { ... }
    148 function HomeError() { ... }
    149 </code></pre></p>
    150 <p><strong>Example JSX Syntax</strong></p>
    151 <pre lang="jsx"><code>// Both of these work the same:
    152 </code></pre>
    153 </li>
    154 </ul>
    155 <!-- raw HTML omitted -->
    156 </blockquote>
    157 <p>... (truncated)</p>
    158 </details>
    159 <details>
    160 <summary>Commits</summary>
    161 <ul>
    162 <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>
    163 <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>
    164 <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>
    165 <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>
    166 <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>
    167 <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>
    168 <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>
    169 <li><a href="https://github.com/remix-run/react-router/commit/7ba352eddc7a9daaa3366094a78b275521b869fc"><code>7ba352e</code></a> chore: format</li>
    170 <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>
    171 <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>
    172 <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>
    173 </ul>
    174 </details>
    175 <br />
    176 
    177 
    178 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router-dom&package-manager=npm_and_yarn&previous-version=6.7.0&new-version=6.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    179 
    180 You can trigger a rebase of this PR by commenting `@dependabot rebase`.
    181 
    182 [//]: # (dependabot-automerge-start)
    183 [//]: # (dependabot-automerge-end)
    184 
    185 ---
    186 
    187 <details>
    188 <summary>Dependabot commands and options</summary>
    189 <br />
    190 
    191 You can trigger Dependabot actions by commenting on this PR:
    192 - `@dependabot rebase` will rebase this PR
    193 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    194 - `@dependabot merge` will merge this PR after your CI passes on it
    195 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    196 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    197 - `@dependabot reopen` will reopen this PR if it is closed
    198 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    199 - `@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)
    200 - `@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)
    201 - `@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)
    202 
    203 
    204 </details>
    205 
    206 <!-- Replace -->
    207 ----
    208 ⌛ Deploy Preview - Build in Progress
    209 <!-- Replace -->
    210 > **Note**
    211 > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
    212 
    213 
    214 
    215 ## Comments
    216 
    217 ### @dependabot[bot] — 2023-06-07T09:05:47Z
    218 
    219 Superseded by #446.
    220