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

477.md (10468B)


      1 # PR #477 Bump react-router-dom from 6.7.0 to 6.13.0
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-06-15T09:07:04Z
      6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.13.0 → main
      7 - **Closed:** 2023-06-26T09:08:55Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [477.diff](./477.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.13.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.13.0</h2>
    100 <h3>Minor Changes</h3>
    101 <ul>
    102 <li>
    103 <p>Move <a href="https://react.dev/reference/react/startTransition"><code>React.startTransition</code></a> usage behind a <a href="https://reactrouter.com/en/main/guides/api-development-strategy">future flag</a> to avoid issues with existing incompatible <code>Suspense</code> usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of <code>startTransition</code> until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a <code>useMemo</code>. (<a href="https://redirect.github.com/remix-run/react-router/pull/10596">#10596</a>)</p>
    104 <p>Existing behavior will no longer include <code>React.startTransition</code>:</p>
    105 <pre lang="jsx"><code>&lt;BrowserRouter&gt;
    106   &lt;Routes&gt;{/*...*/}&lt;/Routes&gt;
    107 &lt;/BrowserRouter&gt;
    108 <p>&lt;RouterProvider router={router} /&gt;
    109 </code></pre></p>
    110 <p>If you wish to enable <code>React.startTransition</code>, pass the future flag to your component:</p>
    111 <pre lang="jsx"><code>&lt;BrowserRouter future={{ v7_startTransition: true }}&gt;
    112   &lt;Routes&gt;{/*...*/}&lt;/Routes&gt;
    113 &lt;/BrowserRouter&gt;
    114 <p>&lt;RouterProvider router={router} future={{ v7_startTransition: true }}/&gt;
    115 </code></pre></p>
    116 </li>
    117 </ul>
    118 <h3>Patch Changes</h3>
    119 <ul>
    120 <li>Work around webpack/terser <code>React.startTransition</code> minification bug in production mode (<a href="https://redirect.github.com/remix-run/react-router/pull/10588">#10588</a>)</li>
    121 <li>Updated dependencies:
    122 <ul>
    123 <li><code>react-router@6.13.0</code></li>
    124 </ul>
    125 </li>
    126 </ul>
    127 <h2>6.12.1</h2>
    128 <blockquote>
    129 <p><strong>Warning</strong>
    130 Please use version <code>6.13.0</code> or later instead of <code>6.12.1</code>. This version suffers from a <code>webpack</code>/<code>terser</code> minification issue resulting in invalid minified code in your resulting production bundles which can cause issues in your application. See <a href="https://redirect.github.com/remix-run/react-router/issues/10579">#10579</a> for more details.</p>
    131 </blockquote>
    132 <h3>Patch Changes</h3>
    133 <ul>
    134 <li>Adjust feature detection of <code>React.startTransition</code> to fix webpack + react 17 compilation error (<a href="https://redirect.github.com/remix-run/react-router/pull/10569">#10569</a>)</li>
    135 <li>Updated dependencies:
    136 <ul>
    137 <li><code>react-router@6.12.1</code></li>
    138 </ul>
    139 </li>
    140 </ul>
    141 <h2>6.12.0</h2>
    142 <h3>Minor Changes</h3>
    143 <ul>
    144 <li>Wrap internal router state updates with <code>React.startTransition</code> if it exists (<a href="https://redirect.github.com/remix-run/react-router/pull/10438">#10438</a>)</li>
    145 </ul>
    146 <h3>Patch Changes</h3>
    147 <!-- raw HTML omitted -->
    148 </blockquote>
    149 <p>... (truncated)</p>
    150 </details>
    151 <details>
    152 <summary>Commits</summary>
    153 <ul>
    154 <li><a href="https://github.com/remix-run/react-router/commit/ed17fcd344d33e5d2bca6ec053975a761f5990ce"><code>ed17fcd</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10601">#10601</a>)</li>
    155 <li><a href="https://github.com/remix-run/react-router/commit/a0b53e36fb9f9c408cb36a3d69959d4703cda994"><code>a0b53e3</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10597">#10597</a>)</li>
    156 <li><a href="https://github.com/remix-run/react-router/commit/5d9be065472dd757a9e877f0710a765a8d4d51bd"><code>5d9be06</code></a> Add future.v7_startTransition flag (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10596">#10596</a>)</li>
    157 <li><a href="https://github.com/remix-run/react-router/commit/31bdd23c3f2fe1bdd4154187764ec5e14a3c3045"><code>31bdd23</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10589">#10589</a>)</li>
    158 <li><a href="https://github.com/remix-run/react-router/commit/2f79bcef5f396943cf95d0d23fbd67df9b8e17a6"><code>2f79bce</code></a> Fix webpack/terser startTransition minification bug in production mode (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10588">#10588</a>)</li>
    159 <li><a href="https://github.com/remix-run/react-router/commit/77d718245e22cf648a2b08350fb2e587a6263ef4"><code>77d7182</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10577">#10577</a>)</li>
    160 <li><a href="https://github.com/remix-run/react-router/commit/e8d4301dfe207b7305272044a9232b10fd815eb5"><code>e8d4301</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10575">#10575</a>)</li>
    161 <li><a href="https://github.com/remix-run/react-router/commit/c5d9e252ed332a08fcf9ad6013cf2b3c9617d4f7"><code>c5d9e25</code></a> Fix feature detection of React.startTransition (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10569">#10569</a>)</li>
    162 <li><a href="https://github.com/remix-run/react-router/commit/6c0bbb14ed638a9adcae11376b084db450b69c84"><code>6c0bbb1</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10564">#10564</a>)</li>
    163 <li><a href="https://github.com/remix-run/react-router/commit/4cf2543b503d2f22c345a8595b8558be56ee3716"><code>4cf2543</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10554">#10554</a>)</li>
    164 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.13.0/packages/react-router-dom">compare view</a></li>
    165 </ul>
    166 </details>
    167 <br />
    168 
    169 
    170 [![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.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    171 
    172 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`.
    173 
    174 [//]: # (dependabot-automerge-start)
    175 [//]: # (dependabot-automerge-end)
    176 
    177 ---
    178 
    179 <details>
    180 <summary>Dependabot commands and options</summary>
    181 <br />
    182 
    183 You can trigger Dependabot actions by commenting on this PR:
    184 - `@dependabot rebase` will rebase this PR
    185 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    186 - `@dependabot merge` will merge this PR after your CI passes on it
    187 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    188 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    189 - `@dependabot reopen` will reopen this PR if it is closed
    190 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    191 - `@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)
    192 - `@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)
    193 - `@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)
    194 
    195 
    196 </details>
    197 
    198 <!-- Replace -->
    199 ----
    200 ⌛ Deploy Preview - Build in Progress
    201 <!-- Replace -->
    202 
    203 
    204 
    205 ## Comments
    206 
    207 ### @dependabot[bot] — 2023-06-26T09:08:54Z
    208 
    209 Superseded by #494.
    210