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

536.md (10060B)


      1 # PR #536 Bump react-router-dom from 6.7.0 to 6.14.2
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-07-18T08:29:56Z
      6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.14.2 → main
      7 - **Closed:** 2023-08-11T08:36:57Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [536.diff](./536.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.14.2.
     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/react-router-dom@6.14.2/packages/react-router-dom/CHANGELOG.md">react-router-dom's changelog</a>.</em></p>
     98 <blockquote>
     99 <h2>6.14.2</h2>
    100 <h3>Patch Changes</h3>
    101 <ul>
    102 <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>
    103 <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>
    104 <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>
    105 <li>Updated dependencies:
    106 <ul>
    107 <li><code>@remix-run/router@1.7.2</code></li>
    108 <li><code>react-router@6.14.2</code></li>
    109 </ul>
    110 </li>
    111 </ul>
    112 <h2>6.14.1</h2>
    113 <h3>Patch Changes</h3>
    114 <ul>
    115 <li>Updated dependencies:
    116 <ul>
    117 <li><code>react-router@6.14.1</code></li>
    118 <li><code>@remix-run/router@1.7.1</code></li>
    119 </ul>
    120 </li>
    121 </ul>
    122 <h2>6.14.0</h2>
    123 <h3>Minor Changes</h3>
    124 <ul>
    125 <li>
    126 <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>
    127 <pre lang="jsx"><code>// The default behavior will still serialize as FormData
    128 function Component() {
    129   let navigation = useNavigation();
    130   let submit = useSubmit();
    131   submit({ key: &quot;value&quot; }, { method: &quot;post&quot; });
    132   // navigation.formEncType =&gt; &quot;application/x-www-form-urlencoded&quot;
    133   // navigation.formData    =&gt; FormData instance
    134 }
    135 <p>async function action({ request }) {
    136 // request.headers.get(&quot;Content-Type&quot;) =&gt; &quot;application/x-www-form-urlencoded&quot;
    137 // await request.formData()            =&gt; FormData instance
    138 }
    139 </code></pre></p>
    140 <pre lang="js"><code>// Opt-into JSON encoding with `encType: &quot;application/json&quot;`
    141 function Component() {
    142   let navigation = useNavigation();
    143   let submit = useSubmit();
    144   submit({ key: &quot;value&quot; }, { method: &quot;post&quot;, encType: &quot;application/json&quot; });
    145   // navigation.formEncType =&gt; &quot;application/json&quot;
    146   // navigation.json        =&gt; { key: &quot;value&quot; }
    147 }
    148 </code></pre>
    149 </li>
    150 </ul>
    151 <!-- raw HTML omitted -->
    152 </blockquote>
    153 <p>... (truncated)</p>
    154 </details>
    155 <details>
    156 <summary>Commits</summary>
    157 <ul>
    158 <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>
    159 <li><a href="https://github.com/remix-run/react-router/commit/a9d12638c8e8e24be04a98d13b98680edf6681e2"><code>a9d1263</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10710">#10710</a>)</li>
    160 <li><a href="https://github.com/remix-run/react-router/commit/3cda182074fa5ec21f97fac293ff6e809ec0796f"><code>3cda182</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10692">#10692</a>)</li>
    161 <li><a href="https://github.com/remix-run/react-router/commit/4e4c08a76ed1bfaae68a45517cad64139ed8d3db"><code>4e4c08a</code></a> Properly decode element id when emulating hash scrolling (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10682">#10682</a>)</li>
    162 <li><a href="https://github.com/remix-run/react-router/commit/bbc77157eb48c46cd3f8ffeddb6124effdb80c75"><code>bbc7715</code></a> Add missing &lt;Form state&gt; prop (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10630">#10630</a>)</li>
    163 <li><a href="https://github.com/remix-run/react-router/commit/499af9a740f571be15257a47f7efa633ac042450"><code>499af9a</code></a> Merge branch 'release-next' into dev</li>
    164 <li><a href="https://github.com/remix-run/react-router/commit/8be5e51772b2953b67bec739387f8192c57949f5"><code>8be5e51</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10659">#10659</a>)</li>
    165 <li><a href="https://github.com/remix-run/react-router/commit/1f06a02acfc45971ce7b9b69025d399fe0a4ae56"><code>1f06a02</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10658">#10658</a>)</li>
    166 <li><a href="https://github.com/remix-run/react-router/commit/af41cdacb511a1d13111d649c0a0ae7efee3f582"><code>af41cda</code></a> Hydrate proper error type for subclasses of Error (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10633">#10633</a>)</li>
    167 <li><a href="https://github.com/remix-run/react-router/commit/cbda9cff254e682e8b42b15346e0249b63c7d647"><code>cbda9cf</code></a> Fix issue with reused blockers on subsequent navigations (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10656">#10656</a>)</li>
    168 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.14.2/packages/react-router-dom">compare view</a></li>
    169 </ul>
    170 </details>
    171 <br />
    172 
    173 
    174 [![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.14.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    175 
    176 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`.
    177 
    178 [//]: # (dependabot-automerge-start)
    179 [//]: # (dependabot-automerge-end)
    180 
    181 ---
    182 
    183 <details>
    184 <summary>Dependabot commands and options</summary>
    185 <br />
    186 
    187 You can trigger Dependabot actions by commenting on this PR:
    188 - `@dependabot rebase` will rebase this PR
    189 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    190 - `@dependabot merge` will merge this PR after your CI passes on it
    191 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    192 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    193 - `@dependabot reopen` will reopen this PR if it is closed
    194 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    195 - `@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)
    196 - `@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)
    197 - `@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)
    198 
    199 
    200 </details>
    201 
    202 
    203 ## Comments
    204 
    205 ### @dependabot[bot] — 2023-08-11T08:36:56Z
    206 
    207 Superseded by #567.
    208