442.json (13819B)
1 { 2 "number": 442, 3 "title": "Bump vite from 4.0.4 to 4.3.1", 4 "state": "closed", 5 "diff_file": "442.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-04-21T09:05:19Z", 8 "closed_at": "2023-06-06T09:32:43Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/vite-4.3.1", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.4 to 4.3.1.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/vitejs/vite/releases\">vite's releases</a>.</em></p>\n<blockquote>\n<h2>create-vite@4.3.0</h2>\n<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>\n<h2>create-vite@4.3.0-beta.0</h2>\n<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>\n<h2>create-vite@4.2.0</h2>\n<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>\n<h2>create-vite@4.2.0-beta.1</h2>\n<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>\n<h2>create-vite@4.2.0-beta.0</h2>\n<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>\n<h2>create-vite@4.1.0</h2>\n<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>\n<h2>create-vite@4.1.0-beta.0</h2>\n<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>\n</blockquote>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md\">vite's changelog</a>.</em></p>\n<blockquote>\n<h2><!-- raw HTML omitted -->4.3.1 (2023-04-20)<!-- raw HTML omitted --></h2>\n<ul>\n<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>\n<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>\n<li>chore: clean up 4.3 changelog (<a href=\"https://github.com/vitejs/vite/commit/55ec023\">55ec023</a>)</li>\n</ul>\n<h2>4.3.0 (2023-04-20)</h2>\n<p>Vite 4.3 is out! Read the <a href=\"https://vitejs.dev/blog/announcing-vite4-3\">announcement blog post here</a></p>\n<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>\n<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>\n<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 \ud83d\ude80</a>.</p>\n<p>This sprint resulted in speed improvements across the board compared to Vite 4.2.</p>\n<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>\n<table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Vite (babel)</strong></th>\n<th align=\"right\">Vite 4.2</th>\n<th align=\"right\">Vite 4.3</th>\n<th align=\"right\">Improvement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"left\"><strong>dev cold start</strong></td>\n<td align=\"right\">17249.0ms</td>\n<td align=\"right\">5132.4ms</td>\n<td align=\"right\">-70.2%</td>\n</tr>\n<tr>\n<td align=\"left\"><strong>dev warm start</strong></td>\n<td align=\"right\">6027.8ms</td>\n<td align=\"right\">4536.1ms</td>\n<td align=\"right\">-24.7%</td>\n</tr>\n<tr>\n<td align=\"left\"><strong>Root HMR</strong></td>\n<td align=\"right\">46.8ms</td>\n<td align=\"right\">26.7ms</td>\n<td align=\"right\">-42.9%</td>\n</tr>\n<tr>\n<td align=\"left\"><strong>Leaf HMR</strong></td>\n<td align=\"right\">27.0ms</td>\n<td align=\"right\">12.9ms</td>\n<td align=\"right\">-52.2%</td>\n</tr>\n</tbody>\n</table>\n<table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Vite (swc)</strong></th>\n<th align=\"right\">Vite 4.2</th>\n<th align=\"right\">Vite 4.3</th>\n<th align=\"right\">Improvement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"left\"><strong>dev cold start</strong></td>\n<td align=\"right\">13552.5ms</td>\n<td align=\"right\">3201.0ms</td>\n<td align=\"right\">-76.4%</td>\n</tr>\n<tr>\n<td align=\"left\"><strong>dev warm start</strong></td>\n<td align=\"right\">4625.5ms</td>\n<td align=\"right\">2834.4ms</td>\n<td align=\"right\">-38.7%</td>\n</tr>\n<tr>\n<td align=\"left\"><strong>Root HMR</strong></td>\n<td align=\"right\">30.5ms</td>\n<td align=\"right\">24.0ms</td>\n<td align=\"right\">-21.3%</td>\n</tr>\n<tr>\n<td align=\"left\"><strong>Leaf HMR</strong></td>\n<td align=\"right\">16.9ms</td>\n<td align=\"right\">10.0ms</td>\n<td align=\"right\">-40.8%</td>\n</tr>\n</tbody>\n</table>\n<p>You can read more information about the benchmark <a href=\"https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e\">here</a></p>\n<h3>Features</h3>\n<ul>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<li>feat: add opus filetype to assets & 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>\n</ul>\n<h3>Performance</h3>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/vitejs/vite/commit/2a8779c5779ddcf1dd726be39c4547b4851b45cf\"><code>2a8779c</code></a> release: v4.3.1</li>\n<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>\n<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>\n<li><a href=\"https://github.com/vitejs/vite/commit/55ec0236c4851d446e8c84d407ea0489eb025695\"><code>55ec023</code></a> chore: clean up 4.3 changelog</li>\n<li><a href=\"https://github.com/vitejs/vite/commit/d6468a3b1fa11f066a0f38515874f71da7b9640e\"><code>d6468a3</code></a> release: v4.3.0</li>\n<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>\n<li><a href=\"https://github.com/vitejs/vite/commit/3334660d233563dfb97e3351d669f9ae3909e4e7\"><code>3334660</code></a> release: v4.3.0-beta.8</li>\n<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>\n<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>\n<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>\n<li>Additional commits viewable in <a href=\"https://github.com/vitejs/vite/commits/v4.3.1/packages/vite\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>\n\n<!-- Replace -->\n----\n\u231b Deploy Preview - Build in Progress\n<!-- Replace -->\n", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-06-06T09:32:42Z", 27 "body": "Superseded by #443." 28 } 29 ], 30 "review_comments": [] 31 }