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

567.md (10641B)


      1 # PR #567 Bump react-router-dom from 6.7.0 to 6.15.0
      2 
      3 - **Status:** open
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-08-11T08:36:51Z
      6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.15.0 → main
      7 - **Labels:** dependencies, javascript
      8 - **Assignees:** @MTRNord
      9 - **Reviewers:** @MTRNord
     10 - **Diff:** [567.diff](./567.diff)
     11 
     12 ---
     13 
     14 Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.7.0 to 6.15.0.
     15 <details>
     16 <summary>Release notes</summary>
     17 <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p>
     18 <blockquote>
     19 <h2>react-router-dom-v5-compat@6.4.0-pre.15</h2>
     20 <h3>Patch Changes</h3>
     21 <ul>
     22 <li>Updated dependencies
     23 <ul>
     24 <li>react-router@6.4.0-pre.15</li>
     25 <li>react-router-dom@6.4.0-pre.15</li>
     26 </ul>
     27 </li>
     28 </ul>
     29 <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2>
     30 <h3>Patch Changes</h3>
     31 <ul>
     32 <li>Updated dependencies
     33 <ul>
     34 <li>react-router@6.4.0-pre.11</li>
     35 <li>react-router-dom@6.4.0-pre.11</li>
     36 </ul>
     37 </li>
     38 </ul>
     39 <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2>
     40 <h3>Patch Changes</h3>
     41 <ul>
     42 <li>Updated dependencies
     43 <ul>
     44 <li>react-router@6.4.0-pre.10</li>
     45 <li>react-router-dom@6.4.0-pre.10</li>
     46 </ul>
     47 </li>
     48 </ul>
     49 <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2>
     50 <h3>Patch Changes</h3>
     51 <ul>
     52 <li>Updated dependencies
     53 <ul>
     54 <li>react-router@6.4.0-pre.9</li>
     55 <li>react-router-dom@6.4.0-pre.9</li>
     56 </ul>
     57 </li>
     58 </ul>
     59 <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2>
     60 <h3>Patch Changes</h3>
     61 <ul>
     62 <li>Updated dependencies
     63 <ul>
     64 <li>react-router@6.4.0-pre.8</li>
     65 <li>react-router-dom@6.4.0-pre.8</li>
     66 </ul>
     67 </li>
     68 </ul>
     69 <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2>
     70 <h3>Patch Changes</h3>
     71 <ul>
     72 <li>Updated dependencies
     73 <ul>
     74 <li><code>react-router@6.4.0-pre.7</code></li>
     75 <li><code>react-router-dom@6.4.0-pre.7</code></li>
     76 </ul>
     77 </li>
     78 </ul>
     79 <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2>
     80 <h3>Patch Changes</h3>
     81 <ul>
     82 <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version
     83 <ul>
     84 <li>react-router@6.4.0-pre.6</li>
     85 <li>react-router-dom@6.4.0-pre.6</li>
     86 </ul>
     87 </li>
     88 </ul>
     89 <h2>react-router-dom-v5-compat@6.4.0-pre.5</h2>
     90 <!-- raw HTML omitted -->
     91 </blockquote>
     92 <p>... (truncated)</p>
     93 </details>
     94 <details>
     95 <summary>Changelog</summary>
     96 <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>
     97 <blockquote>
     98 <h2>6.15.0</h2>
     99 <h3>Minor Changes</h3>
    100 <ul>
    101 <li>Add's a new <code>redirectDocument()</code> function which allows users to specify that a redirect from a <code>loader</code>/<code>action</code> should trigger a document reload (via <code>window.location</code>) instead of attempting to navigate to the redirected location via React Router (<a href="https://redirect.github.com/remix-run/react-router/pull/10705">#10705</a>)</li>
    102 </ul>
    103 <h3>Patch Changes</h3>
    104 <ul>
    105 <li>Fixes an edge-case affecting web extensions in Firefox that use <code>URLSearchParams</code> and the <code>useSearchParams</code> hook. (<a href="https://redirect.github.com/remix-run/react-router/pull/10620">#10620</a>)</li>
    106 <li>Do not include hash in <code>useFormAction()</code> for unspecified actions since it cannot be determined on the server and causes hydration issues (<a href="https://redirect.github.com/remix-run/react-router/pull/10758">#10758</a>)</li>
    107 <li>Reorder effects in <code>unstable_usePrompt</code> to avoid throwing an exception if the prompt is unblocked and a navigation is performed synchronously (<a href="https://redirect.github.com/remix-run/react-router/pull/10687">#10687</a>, <a href="https://redirect.github.com/remix-run/react-router/pull/10718">#10718</a>)</li>
    108 <li>Updated dependencies:
    109 <ul>
    110 <li><code>@remix-run/router@1.8.0</code></li>
    111 <li><code>react-router@6.15.0</code></li>
    112 </ul>
    113 </li>
    114 </ul>
    115 <h2>6.14.2</h2>
    116 <h3>Patch Changes</h3>
    117 <ul>
    118 <li>Properly decode element id when emulating hash scrolling via <code>&lt;ScrollRestoration&gt;</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10682">#10682</a>)</li>
    119 <li>Add missing <code>&lt;Form state&gt;</code> prop to populate <code>history.state</code> on submission navigations (<a href="https://redirect.github.com/remix-run/react-router/pull/10630">#10630</a>)</li>
    120 <li>Support proper hydration of <code>Error</code> subclasses such as <code>ReferenceError</code>/<code>TypeError</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10633">#10633</a>)</li>
    121 <li>Updated dependencies:
    122 <ul>
    123 <li><code>@remix-run/router@1.7.2</code></li>
    124 <li><code>react-router@6.14.2</code></li>
    125 </ul>
    126 </li>
    127 </ul>
    128 <h2>6.14.1</h2>
    129 <h3>Patch Changes</h3>
    130 <ul>
    131 <li>Updated dependencies:
    132 <ul>
    133 <li><code>react-router@6.14.1</code></li>
    134 <li><code>@remix-run/router@1.7.1</code></li>
    135 </ul>
    136 </li>
    137 </ul>
    138 <h2>6.14.0</h2>
    139 <h3>Minor Changes</h3>
    140 <ul>
    141 <li>
    142 <p>Add support for <code>application/json</code> and <code>text/plain</code> encodings for <code>useSubmit</code>/<code>fetcher.submit</code>. To reflect these additional types, <code>useNavigation</code>/<code>useFetcher</code> now also contain <code>navigation.json</code>/<code>navigation.text</code> and <code>fetcher.json</code>/<code>fetcher.text</code> which include the json/text submission if applicable (<a href="https://redirect.github.com/remix-run/react-router/pull/10413">#10413</a>)</p>
    143 <pre lang="jsx"><code>// The default behavior will still serialize as FormData
    144 function Component() {
    145   let navigation = useNavigation();
    146   let submit = useSubmit();
    147   submit({ key: &quot;value&quot; }, { method: &quot;post&quot; });
    148   // navigation.formEncType =&gt; &quot;application/x-www-form-urlencoded&quot;
    149   // navigation.formData    =&gt; FormData instance
    150 }
    151 <p></code></pre></p>
    152 </li>
    153 </ul>
    154 <!-- raw HTML omitted -->
    155 </blockquote>
    156 <p>... (truncated)</p>
    157 </details>
    158 <details>
    159 <summary>Commits</summary>
    160 <ul>
    161 <li><a href="https://github.com/remix-run/react-router/commit/e79cb77cb566788bfa61e6f7b2d4a64e80ea56f7"><code>e79cb77</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10776">#10776</a>)</li>
    162 <li><a href="https://github.com/remix-run/react-router/commit/cd1e25a96eef89d880a3b78af2e1d534afdea427"><code>cd1e25a</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10771">#10771</a>)</li>
    163 <li><a href="https://github.com/remix-run/react-router/commit/d6d0e5b699b606249a776b436adece65e52eb169"><code>d6d0e5b</code></a> Merge branch 'main' into release-next</li>
    164 <li><a href="https://github.com/remix-run/react-router/commit/fb70fed8d1e826ed0be7d5284fecddbb1d242e7e"><code>fb70fed</code></a> Do not include hash in useFormAction() for unspecified actions (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10758">#10758</a>)</li>
    165 <li><a href="https://github.com/remix-run/react-router/commit/46806a413a0f8b41977b90cff0aeac207cd12984"><code>46806a4</code></a> Add support to force reload on redirect with <code>X-Remix-Reload-Document</code> header...</li>
    166 <li><a href="https://github.com/remix-run/react-router/commit/b23d7b503bf6683338755bbc263f3c254a86455f"><code>b23d7b5</code></a> Fix docs on NavLink w.r.t. links to the root route and the end prop (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10757">#10757</a>)</li>
    167 <li><a href="https://github.com/remix-run/react-router/commit/4bdd6b4cb5611f9667841e05de19a37fe8867436"><code>4bdd6b4</code></a> Add setTimeout back to unstable_usePrompt (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10718">#10718</a>)</li>
    168 <li><a href="https://github.com/remix-run/react-router/commit/78ef4ef92c632b90ab2befad389f926c432f50d0"><code>78ef4ef</code></a> Stabilize useRevalidator (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10707">#10707</a>)</li>
    169 <li><a href="https://github.com/remix-run/react-router/commit/172bad793a97b4a9ea6a9e7f79a630f4960c90db"><code>172bad7</code></a> Merge branch 'release-next' into dev</li>
    170 <li><a href="https://github.com/remix-run/react-router/commit/1acea8b2759a68e939cd163c046e02717a24f540"><code>1acea8b</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10711">#10711</a>)</li>
    171 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.15.0/packages/react-router-dom">compare view</a></li>
    172 </ul>
    173 </details>
    174 <br />
    175 
    176 
    177 [![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.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    178 
    179 Dependabot 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`.
    180 
    181 [//]: # (dependabot-automerge-start)
    182 [//]: # (dependabot-automerge-end)
    183 
    184 ---
    185 
    186 <details>
    187 <summary>Dependabot commands and options</summary>
    188 <br />
    189 
    190 You can trigger Dependabot actions by commenting on this PR:
    191 - `@dependabot rebase` will rebase this PR
    192 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    193 - `@dependabot merge` will merge this PR after your CI passes on it
    194 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    195 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    196 - `@dependabot reopen` will reopen this PR if it is closed
    197 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    198 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    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