Open
Conversation
a111475 to
99fd711
Compare
06ec65f to
edd3867
Compare
fe10385 to
2cbcb54
Compare
2cbcb54 to
1a29889
Compare
09fe8f2 to
808c4b3
Compare
bc8c375 to
e0c8973
Compare
e0c8973 to
e8a703d
Compare
2f9c449 to
c4c0229
Compare
c4c0229 to
76ffda0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.5->4.3.9Release Notes
vitejs/vite
v4.3.9Compare Source
v4.3.8Compare Source
v4.3.7Compare Source
v4.3.6Compare Source
tryFsResolvefor relativenew URL(foo, import.meta.url)(#13142) (eeb0617), closes #13142esbuild.charsetwhen minify (#13190) (4fd35ed), closes #13190v4.3.5Compare Source
v4.3.4Compare Source
v4.3.3Compare Source
v4.3.2Compare Source
v4.3.1Compare Source
v4.3.0Compare Source
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:
You can read more information about the benchmark here
Features
isFileServingAllowedas public utility (#12894) (93e095c), closes #12894data:uris (#12645) (4886d9f), closes #12645Performance
depsCacheDirPrefixvalue forisOptimizedDepFile(#12601) (edbd262), closes #12601safeRealpathingetRealpath(#12551) (cec2320), closes #12551Bug Fixes
buildStartbefore server start (#12647) (871d353), closes #12647buildStartonly once when using next port (#12624) (e10c6bd), closes #12624charset: 'utf8'by default for css (#12565) (c20a064), closes #12565Clean up
import.meta.urlcondition from renderChunk hook of worker plugin (#12696) (fdef8fd), closes #12696ensureVolumeInPath(#12690) (a3150ee), closes #12690resolvePackageDatainrequireResolveFromRootWithFallback(#12712) (1ea38e2), closes #12712idToPkgMap(#12564) (a326ec8), closes #12564Previous Changelogs
4.3.0-beta.8 (2023-04-19)
See 4.3.0-beta.8 changelog
4.3.0-beta.7 (2023-04-17)
See 4.3.0-beta.7 changelog
4.3.0-beta.6 (2023-04-14)
See 4.3.0-beta.6 changelog
4.3.0-beta.5 (2023-04-11)
See 4.3.0-beta.5 changelog
4.3.0-beta.4 (2023-04-09)
See 4.3.0-beta.4 changelog
4.3.0-beta.3 (2023-04-07)
See 4.3.0-beta.3 changelog
4.3.0-beta.2 (2023-04-05)
See 4.3.0-beta.2 changelog
4.3.0-beta.1 (2023-03-29)
See 4.3.0-beta.1 changelog
4.3.0-beta.0 (2023-03-23)
See 4.3.0-beta.0 changelog
v4.2.3Compare Source
Please refer to CHANGELOG.md for details.
v4.2.2Compare Source
v4.2.1Compare Source
virtual:to virtual module source map ignore (#12444) (c4aa28f), closes #12444v4.2.0Compare Source
Vite 4.2 is out!
Support env variables replacement in HTML files
Vite now supports replacing env variables in HTML files. Any properties in
import.meta.envcan be used in HTML files with a special%ENV_NAME%syntax:Sourcemaps improvements
The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an improved experience and tools for framework authors to hide 3rd party code and build artifacts from the user from console log traces using
server.sourcemapIgnoreListandbuild.rollupOptions.output.sourcemapIgnoreList.ESM subpath imports
Vite 4.2 now supports subpath imports, thanks to @lukeed05's resolve.exports library.
TypeScript 5 support
Vite 4.2 also supports TypeScript 5's
tsconfigextendsarray format, thanks to tsconfck.esbuild 0.17
esbuild v0.17.0 improved the design of its incremental, watch, and serve APIs. Check out #11908 for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts.
Use Rollup types from the vite package
Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like vite-ecosystem-ci (#12316).
Português Docs Translation
The Vite documentation is now translated to Português at pt.vitejs.dev thanks to Nazaré Da Piedade .
Features
build.cssMinify(#12207) (90431f2), closes #12207sourcemapIgnoreListconfiguration option (#12174) ([f875580](https://togithub.com/vitejs/vite/commit/fConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.