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

442.md (13208B)


      1 # PR #442 Bump vite from 4.0.4 to 4.3.1
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-04-21T09:05:19Z
      6 - **Branch:** dependabot/npm_and_yarn/vite-4.3.1 → main
      7 - **Closed:** 2023-06-06T09:32:43Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [442.diff](./442.diff)
     12 
     13 ---
     14 
     15 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.4 to 4.3.1.
     16 <details>
     17 <summary>Release notes</summary>
     18 <p><em>Sourced from <a href="https://github.com/vitejs/vite/releases">vite's releases</a>.</em></p>
     19 <blockquote>
     20 <h2>create-vite@4.3.0</h2>
     21 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.3.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     22 <h2>create-vite@4.3.0-beta.0</h2>
     23 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.3.0-beta.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     24 <h2>create-vite@4.2.0</h2>
     25 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.2.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     26 <h2>create-vite@4.2.0-beta.1</h2>
     27 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.2.0-beta.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     28 <h2>create-vite@4.2.0-beta.0</h2>
     29 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.2.0-beta.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     30 <h2>create-vite@4.1.0</h2>
     31 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.1.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     32 <h2>create-vite@4.1.0-beta.0</h2>
     33 <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@4.1.0-beta.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p>
     34 </blockquote>
     35 </details>
     36 <details>
     37 <summary>Changelog</summary>
     38 <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p>
     39 <blockquote>
     40 <h2><!-- raw HTML omitted -->4.3.1 (2023-04-20)<!-- raw HTML omitted --></h2>
     41 <ul>
     42 <li>fix: revert ensure module in graph before transforming (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12774">#12774</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12929">#12929</a>) (<a href="https://github.com/vitejs/vite/commit/9cc93a5">9cc93a5</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12774">#12774</a> <a href="https://redirect.github.com/vitejs/vite/issues/12929">#12929</a></li>
     43 <li>docs: 4.3 announcement and release notes (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12925">#12925</a>) (<a href="https://github.com/vitejs/vite/commit/f29c582">f29c582</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12925">#12925</a></li>
     44 <li>chore: clean up 4.3 changelog (<a href="https://github.com/vitejs/vite/commit/55ec023">55ec023</a>)</li>
     45 </ul>
     46 <h2>4.3.0 (2023-04-20)</h2>
     47 <p>Vite 4.3 is out! Read the <a href="https://vitejs.dev/blog/announcing-vite4-3">announcement blog post here</a></p>
     48 <p><a href="https://vitejs.dev/blog/announcing-vite4-3"><img src="https://vitejs.dev/og-image-announcing-vite4-3.png" alt="Vite 4.3, It's Fast" /></a></p>
     49 <p>In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding <code>package.json</code>, TS config files, and resolved URL in general.</p>
     50 <p>You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: <a href="https://sun0day.github.io/blog/vite/why-vite4_3-is-faster.html">How we made Vite 4.3 faaaaster 🚀</a>.</p>
     51 <p>This sprint resulted in speed improvements across the board compared to Vite 4.2.</p>
     52 <p>These are the performance improvements as measured by <a href="https://github.com/sapphi-red/performance-compare">sapphi-red/performance-compare</a>, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:</p>
     53 <table>
     54 <thead>
     55 <tr>
     56 <th align="left"><strong>Vite (babel)</strong></th>
     57 <th align="right">Vite 4.2</th>
     58 <th align="right">Vite 4.3</th>
     59 <th align="right">Improvement</th>
     60 </tr>
     61 </thead>
     62 <tbody>
     63 <tr>
     64 <td align="left"><strong>dev cold start</strong></td>
     65 <td align="right">17249.0ms</td>
     66 <td align="right">5132.4ms</td>
     67 <td align="right">-70.2%</td>
     68 </tr>
     69 <tr>
     70 <td align="left"><strong>dev warm start</strong></td>
     71 <td align="right">6027.8ms</td>
     72 <td align="right">4536.1ms</td>
     73 <td align="right">-24.7%</td>
     74 </tr>
     75 <tr>
     76 <td align="left"><strong>Root HMR</strong></td>
     77 <td align="right">46.8ms</td>
     78 <td align="right">26.7ms</td>
     79 <td align="right">-42.9%</td>
     80 </tr>
     81 <tr>
     82 <td align="left"><strong>Leaf HMR</strong></td>
     83 <td align="right">27.0ms</td>
     84 <td align="right">12.9ms</td>
     85 <td align="right">-52.2%</td>
     86 </tr>
     87 </tbody>
     88 </table>
     89 <table>
     90 <thead>
     91 <tr>
     92 <th align="left"><strong>Vite (swc)</strong></th>
     93 <th align="right">Vite 4.2</th>
     94 <th align="right">Vite 4.3</th>
     95 <th align="right">Improvement</th>
     96 </tr>
     97 </thead>
     98 <tbody>
     99 <tr>
    100 <td align="left"><strong>dev cold start</strong></td>
    101 <td align="right">13552.5ms</td>
    102 <td align="right">3201.0ms</td>
    103 <td align="right">-76.4%</td>
    104 </tr>
    105 <tr>
    106 <td align="left"><strong>dev warm start</strong></td>
    107 <td align="right">4625.5ms</td>
    108 <td align="right">2834.4ms</td>
    109 <td align="right">-38.7%</td>
    110 </tr>
    111 <tr>
    112 <td align="left"><strong>Root HMR</strong></td>
    113 <td align="right">30.5ms</td>
    114 <td align="right">24.0ms</td>
    115 <td align="right">-21.3%</td>
    116 </tr>
    117 <tr>
    118 <td align="left"><strong>Leaf HMR</strong></td>
    119 <td align="right">16.9ms</td>
    120 <td align="right">10.0ms</td>
    121 <td align="right">-40.8%</td>
    122 </tr>
    123 </tbody>
    124 </table>
    125 <p>You can read more information about the benchmark <a href="https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e">here</a></p>
    126 <h3>Features</h3>
    127 <ul>
    128 <li>feat: expose <code>isFileServingAllowed</code> as public utility (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12894">#12894</a>) (<a href="https://github.com/vitejs/vite/commit/93e095c">93e095c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12894">#12894</a></li>
    129 <li>feat: reuse existing style elements in dev (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12678">#12678</a>) (<a href="https://github.com/vitejs/vite/commit/3a41bd8">3a41bd8</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12678">#12678</a></li>
    130 <li>feat: skip pinging the server when the tab is not shown (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12698">#12698</a>) (<a href="https://github.com/vitejs/vite/commit/bedcd8f">bedcd8f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12698">#12698</a></li>
    131 <li>feat(create-vite): use typescript 5.0 in templates (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12481">#12481</a>) (<a href="https://github.com/vitejs/vite/commit/8582e2d">8582e2d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12481">#12481</a></li>
    132 <li>feat: use preview server parameter in preview server hook (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11647">#11647</a>) (<a href="https://github.com/vitejs/vite/commit/4c142ea">4c142ea</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/11647">#11647</a></li>
    133 <li>feat(reporter): show gzip info for all compressible files (fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/11288">#11288</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12485">#12485</a>) (<a href="https://github.com/vitejs/vite/commit/03502c8">03502c8</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/11288">#11288</a> <a href="https://redirect.github.com/vitejs/vite/issues/12485">#12485</a></li>
    134 <li>feat(server): allow to import <code>data:</code> uris (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12645">#12645</a>) (<a href="https://github.com/vitejs/vite/commit/4886d9f">4886d9f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12645">#12645</a></li>
    135 <li>feat: add opus filetype to assets &amp; mime types (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12526">#12526</a>) (<a href="https://github.com/vitejs/vite/commit/63524ba">63524ba</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/12526">#12526</a></li>
    136 </ul>
    137 <h3>Performance</h3>
    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/vitejs/vite/commit/2a8779c5779ddcf1dd726be39c4547b4851b45cf"><code>2a8779c</code></a> release: v4.3.1</li>
    146 <li><a href="https://github.com/vitejs/vite/commit/9cc93a577581820b29fa929e27d49f52b805fd4f"><code>9cc93a5</code></a> fix: revert ensure module in graph before transforming (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12774">#12774</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12929">#12929</a>)</li>
    147 <li><a href="https://github.com/vitejs/vite/commit/f29c582592e854835a4361763a004ac2f28a053a"><code>f29c582</code></a> docs: 4.3 announcement and release notes (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12925">#12925</a>)</li>
    148 <li><a href="https://github.com/vitejs/vite/commit/55ec0236c4851d446e8c84d407ea0489eb025695"><code>55ec023</code></a> chore: clean up 4.3 changelog</li>
    149 <li><a href="https://github.com/vitejs/vite/commit/d6468a3b1fa11f066a0f38515874f71da7b9640e"><code>d6468a3</code></a> release: v4.3.0</li>
    150 <li><a href="https://github.com/vitejs/vite/commit/251d0ab84b533ae55171616119f371a503be54c1"><code>251d0ab</code></a> fix(build): do not repeatedly output warning message (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12910">#12910</a>)</li>
    151 <li><a href="https://github.com/vitejs/vite/commit/3334660d233563dfb97e3351d669f9ae3909e4e7"><code>3334660</code></a> release: v4.3.0-beta.8</li>
    152 <li><a href="https://github.com/vitejs/vite/commit/a0e10d5bc8b7ac6f27bd006a5cb65a56538fcede"><code>a0e10d5</code></a> fix: yarn pnp considerBuiltins (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12903">#12903</a>)</li>
    153 <li><a href="https://github.com/vitejs/vite/commit/62ebe28d4023c1f67578b1977edd3371f44f475a"><code>62ebe28</code></a> refactor(eslint): migrate to <code>eslint-plugin-n</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12895">#12895</a>)</li>
    154 <li><a href="https://github.com/vitejs/vite/commit/93e095c34fb1452a4269a4fb473389d3f67e36c8"><code>93e095c</code></a> feat: expose <code>isFileServingAllowed</code> as public utility (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/12894">#12894</a>)</li>
    155 <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v4.3.1/packages/vite">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=vite&package-manager=npm_and_yarn&previous-version=4.0.4&new-version=4.3.1)](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-06-06T09:32:42Z
    199 
    200 Superseded by #443.
    201