vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
7.3.8 is the newest release of 7.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 1 change to make.
Before you upgrade
- Check SSR externalized package resolution with new module-sync default condition
Deprecated
- Plan to move off server.pluginContainer usage
- Plan to move off server.reloadModule usage
- Plan to move off server.warmupRequest usage
- Plan to move off ssrFixStacktrace and ssrRewriteStacktrace
- Plan to stop relying on the ssr argument in plugin hooks
- Plan to move off server.hot usage
New
- support files with more than 1000 lines by
generateCodeFrame - add
import.meta.mainsupport in config (bundle config loader) - optimizer: improve dependency optimization error messages with esbuild formatMessages
- ssr: add
import.meta.mainsupport for Node.js module runner - add
future: 'warn'
In short
1 breaking6 deprecated11 new1 faster15 fixed13 internal
- Breaking
ssr: resolve externalized packages with
resolve.externalConditionsand addmodule-syncto default external condition - Deprecated
add
removeServerPluginContainerfuture deprecation - Deprecated
add
removeServerReloadModulefuture deprecation - Deprecated
add
server.warmupRequestto future deprecation - Deprecated
add
ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation - Deprecated
implement
removePluginHookSsrArgumentfuture deprecation - Deprecated
implement
removeServerHotfuture deprecation
Security
13 advisories affect 7.1.0; 7.3.7 fixes them
- Highlaunch-editor: `fs.existsSync()` existence check can be bypassed on WindowsGHSA-587h-7wmj-h5pm · 20 Oct 2026Fixed in 7.3.7
- HighVite: `server.fs.deny` bypassed with queriesGHSA-v2wj-q39q-566r · 6 Apr 2026Fixed in 7.3.2
- HighVite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocketGHSA-p9ff-h696-f583 · 6 Apr 2026Fixed in 7.3.2
- ModerateVite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machineGHSA-rq7h-c2jc-7f22 · 21 Oct 2026Fixed in 7.3.7
- Moderatelaunch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsGHSA-r825-w8mm-5pxw · 20 Oct 2026Fixed in 7.3.7
8 more
- Moderatelaunch-editor: escapeCmdArgs() omits % escaping on WindowsGHSA-698v-4r3x-3vcv · 20 Oct 2026Fixed in 7.3.7
- Moderatelaunch-editor: NTLMv2 hash disclosure via UNC path handling on WindowsGHSA-v6wh-96g9-6wx3 · 15 Jun 2026Fixed in 7.3.5
- Moderatevite: `server.fs.deny` bypass on Windows alternate pathsGHSA-fx2h-pf6j-xcff · 15 Jun 2026Fixed in 7.3.5
- ModerateVite Vulnerable to Path Traversal in Optimized Deps `.map` HandlingGHSA-4w7w-66w2-5vf9 · 6 Apr 2026Fixed in 7.3.2
- Moderatevite allows server.fs.deny bypass via backslash on WindowsGHSA-93m4-6634-74q7 · 20 Oct 2025Fixed in 7.1.11
- LowVite: Cross origin script execution through Vite custom middlewareGHSA-9jrq-w75r-8gcw · 21 Oct 2026Fixed in 7.3.7
- LowVite middleware may serve files starting with the same name with the public directoryGHSA-g4jq-h2w9-997c · 9 Sep 2025Fixed in 7.1.5
- LowVite's `server.fs` settings were not applied to HTML filesGHSA-jqfw-vq24-v9c3 · 9 Sep 2025Fixed in 7.1.5
Release note
The section about vite of a note shared by several packages.
Features
Support files with more than 1000 lines by
generateCodeFrameAdd
import.meta.mainsupport in config (bundle config loader)optimizer: improve dependency optimization error messages with esbuild formatMessages
ssr: add
import.meta.mainsupport for Node.js module runnerAdd
future: 'warn'Add
removeServerPluginContainerfuture deprecationAdd
removeServerReloadModulefuture deprecationAdd
server.warmupRequestto future deprecationAdd
ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecationclient: ping from SharedWorker
dev: add
this.fssupportExport
defaultExternalConditionsImplement
removePluginHookSsrArgumentfuture deprecationImplement
removeServerHotfuture deprecationResolve server URLs before calling other listeners
ssr: resolve externalized packages with
resolve.externalConditionsand addmodule-syncto default external conditionssr: support
import.meta.resolvein module runner
Bug Fixes
css: avoid warnings for
image-setcontaining__VITE_ASSET__css: empty CSS entry points should generate CSS files, not JS files
dev: denied request stalled when requested concurrently
manifest: initialize
entryCssAssetFileNamesas an empty SetSkip prepareOutDirPlugin in workers
asset: only watch existing files for
new URL(, import.meta.url)client: keep ping on WS constructor error
deps: update all non-major dependencies
Don't resolve as relative for specifiers starting with a dot
html: allow control character in input stream
Merge old and new
noExternal: truecorrectlydeps: update all non-major dependencies
dev: denied requests overly
hmr: register css deps as
type: assetoptimizer: discover correct jsx runtime during scan
preview: set correct host for
resolvedUrlsworker: resolve WebKit compat with inline workers by deferring blob URL revocation
Performance Improvements
client: reduce reload debounce
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.