Bump vite from 4.2.1 to 4.3.1
Bumps vite from 4.2.1 to 4.3.1.
Release notes
Sourced from vite's releases.
create-vite@4.3.0
Please refer to CHANGELOG.md for details.
create-vite@4.3.0-beta.0
Please refer to CHANGELOG.md for details.
Changelog
Sourced from vite's changelog.
4.3.1 (2023-04-20)
- fix: revert ensure module in graph before transforming (#12774) (#12929) (9cc93a5), closes #12774 #12929
- docs: 4.3 announcement and release notes (#12925) (f29c582), closes #12925
- chore: clean up 4.3 changelog (55ec023)
4.3.0 (2023-04-20)
Vite 4.3 is out! Read the announcement blog post here
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
package.json
, TS config files, and resolved URL in general.You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: How we made Vite 4.3 faaaaster
🚀 .This sprint resulted in speed improvements across the board compared to Vite 4.2.
These are the performance improvements as measured by sapphi-red/performance-compare, 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:
Vite (babel) Vite 4.2 Vite 4.3 Improvement dev cold start 17249.0ms 5132.4ms -70.2% dev warm start 6027.8ms 4536.1ms -24.7% Root HMR 46.8ms 26.7ms -42.9% Leaf HMR 27.0ms 12.9ms -52.2%
Vite (swc) Vite 4.2 Vite 4.3 Improvement dev cold start 13552.5ms 3201.0ms -76.4% dev warm start 4625.5ms 2834.4ms -38.7% Root HMR 30.5ms 24.0ms -21.3% Leaf HMR 16.9ms 10.0ms -40.8% You can read more information about the benchmark here
Features
- feat: expose
isFileServingAllowed
as public utility (#12894) (93e095c), closes #12894- feat: reuse existing style elements in dev (#12678) (3a41bd8), closes #12678
- feat: skip pinging the server when the tab is not shown (#12698) (bedcd8f), closes #12698
- feat(create-vite): use typescript 5.0 in templates (#12481) (8582e2d), closes #12481
- feat: use preview server parameter in preview server hook (#11647) (4c142ea), closes #11647
- feat(reporter): show gzip info for all compressible files (fix #11288) (#12485) (03502c8), closes #11288 #12485
- feat(server): allow to import
data:
uris (#12645) (4886d9f), closes #12645- feat: add opus filetype to assets & mime types (#12526) (63524ba), closes #12526
Performance
... (truncated)
Commits
-
2a8779c
release: v4.3.1 -
9cc93a5
fix: revert ensure module in graph before transforming (#12774) (#12929) -
f29c582
docs: 4.3 announcement and release notes (#12925) -
55ec023
chore: clean up 4.3 changelog -
d6468a3
release: v4.3.0 -
251d0ab
fix(build): do not repeatedly output warning message (#12910) -
3334660
release: v4.3.0-beta.8 -
a0e10d5
fix: yarn pnp considerBuiltins (#12903) -
62ebe28
refactor(eslint): migrate toeslint-plugin-n
(#12895) -
93e095c
feat: exposeisFileServingAllowed
as public utility (#12894) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts