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

376.md (10063B)


      1 # PR #376 Bump react-router-dom from 6.7.0 to 6.9.0
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-03-13T09:12:31Z
      6 - **Branch:** dependabot/npm_and_yarn/react-router-dom-6.9.0 → main
      7 - **Closed:** 2023-03-30T09:08:37Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [376.diff](./376.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.9.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.9.0</h2>
    100 <h3>Minor Changes</h3>
    101 <ul>
    102 <li>
    103 <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>
    104 <p><strong>Example JSON Syntax</strong></p>
    105 <pre lang="jsx"><code>// Both of these work the same:
    106 const elementRoutes = [{
    107   path: '/',
    108   element: &lt;Home /&gt;,
    109   errorElement: &lt;HomeError /&gt;,
    110 }]
    111 <p>const componentRoutes = [{
    112 path: '/',
    113 Component: Home,
    114 ErrorBoundary: HomeError,
    115 }]</p>
    116 <p>function Home() { ... }
    117 function HomeError() { ... }
    118 </code></pre></p>
    119 <p><strong>Example JSX Syntax</strong></p>
    120 <pre lang="jsx"><code>// Both of these work the same:
    121 const elementRoutes = createRoutesFromElements(
    122   &lt;Route path='/' element={&lt;Home /&gt;} errorElement={&lt;HomeError /&gt; } /&gt;
    123 );
    124 <p>const componentRoutes = createRoutesFromElements(
    125 &lt;Route path='/' Component={Home} ErrorBoundary={HomeError} /&gt;
    126 );</p>
    127 <p>function Home() { ... }
    128 function HomeError() { ... }
    129 </code></pre></p>
    130 </li>
    131 <li>
    132 <p><strong>Introducing Lazy Route Modules!</strong> (<a href="https://redirect.github.com/remix-run/react-router/pull/10045">#10045</a>)</p>
    133 <p>In order to keep your application bundles small and support code-splitting of your routes, we've introduced a new <code>lazy()</code> route property. This is an async function that resolves the non-route-matching portions of your route definition (<code>loader</code>, <code>action</code>, <code>element</code>/<code>Component</code>, <code>errorElement</code>/<code>ErrorBoundary</code>, <code>shouldRevalidate</code>, <code>handle</code>).</p>
    134 <p>Lazy routes are resolved on initial load and during the <code>loading</code> or <code>submitting</code> phase of a navigation or fetcher call. You cannot lazily define route-matching properties (<code>path</code>, <code>index</code>, <code>children</code>) since we only execute your lazy route functions after we've matched known routes.</p>
    135 <p>Your <code>lazy</code> functions will typically return the result of a dynamic import.</p>
    136 </li>
    137 </ul>
    138 <!-- raw HTML omitted -->
    139 </blockquote>
    140 <p>... (truncated)</p>
    141 </details>
    142 <details>
    143 <summary>Commits</summary>
    144 <ul>
    145 <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>
    146 <li><a href="https://github.com/remix-run/react-router/commit/12db33ae49251cf41275ff3149fbef7a9c554c20"><code>12db33a</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10174">#10174</a>)</li>
    147 <li><a href="https://github.com/remix-run/react-router/commit/c56d84c1a6af53c7c5bd835406d7daca97439262"><code>c56d84c</code></a> Lazy Loaded Route Modules (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10045">#10045</a>)</li>
    148 <li><a href="https://github.com/remix-run/react-router/commit/c312eaa7d3d511369a4dbccfa6d3a799ed65578d"><code>c312eaa</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10142">#10142</a>)</li>
    149 <li><a href="https://github.com/remix-run/react-router/commit/b1aa838d8fe5b6cd41ac0a862109799de27aca28"><code>b1aa838</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10137">#10137</a>)</li>
    150 <li><a href="https://github.com/remix-run/react-router/commit/d43e1ab91b7f70d1579b78c442a8ad984f060629"><code>d43e1ab</code></a> fix: treat absolute/same-origin/different-basename &lt;Link to&gt; values as extern...</li>
    151 <li><a href="https://github.com/remix-run/react-router/commit/1d2417bd48c59edfd9a08d0a7d876c14508f70a5"><code>1d2417b</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10129">#10129</a>)</li>
    152 <li><a href="https://github.com/remix-run/react-router/commit/d6af011465dd4d486af088201b333c999ad8278e"><code>d6af011</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10128">#10128</a>)</li>
    153 <li><a href="https://github.com/remix-run/react-router/commit/8975de9966d272fda2deca1a1cadfb1658c60790"><code>8975de9</code></a> Hotfix: absolute URLs on server router (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10112">#10112</a>)</li>
    154 <li><a href="https://github.com/remix-run/react-router/commit/3c6fb46a678036ed25895dc05ae260ab78cfc7a5"><code>3c6fb46</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10124">#10124</a>)</li>
    155 <li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.9.0/packages/react-router-dom">compare view</a></li>
    156 </ul>
    157 </details>
    158 <br />
    159 
    160 
    161 [![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.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    162 
    163 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`.
    164 
    165 [//]: # (dependabot-automerge-start)
    166 [//]: # (dependabot-automerge-end)
    167 
    168 ---
    169 
    170 <details>
    171 <summary>Dependabot commands and options</summary>
    172 <br />
    173 
    174 You can trigger Dependabot actions by commenting on this PR:
    175 - `@dependabot rebase` will rebase this PR
    176 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    177 - `@dependabot merge` will merge this PR after your CI passes on it
    178 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    179 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    180 - `@dependabot reopen` will reopen this PR if it is closed
    181 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    182 - `@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)
    183 - `@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)
    184 - `@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)
    185 
    186 
    187 </details>
    188 
    189 <!-- Replace -->
    190 ----
    191 ⌛ Deploy Preview - Build in Progress
    192 <!-- Replace -->
    193 
    194 
    195 
    196 ## Comments
    197 
    198 ### @dependabot[bot] — 2023-03-30T09:08:36Z
    199 
    200 Superseded by #408.
    201