vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
8.3.8 is the newest release of 8.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 7 changes to make.
Before you upgrade
- import.meta.hot.accept no longer falls back on resolution; use exact paths
- Default browser target changed; check build.target if older browsers matter
- Vite now uses Rolldown; follow the migration guide for config and plugins
- Native plugins v2 now enabled by default; check builds and plugin behaviourTo check
- ModuleRunnerImportMeta no longer extends ImportMeta; check type usages
- esbuild peer dependency range changed; check your installed esbuild version
- Stop using experimental.enableNativePlugin: 'resolver'
Deprecated
- Move off resolve.alias customResolver; use a plugin with enforce: 'pre'
New
- update rolldown to 1.0.0-rc.9
- warn when
vite-tsconfig-pathsplugin is detected - css: support es2025 build target for lightningcss
- forward browser console logs and errors to dev server terminal
- update rolldown to 1.0.0-rc.8
In short
5 breaking2 removed1 deprecated34 new2 faster39 fixed36 internal
- Breaking
update default browser target
- Breaking
the epic
rolldown-vitemerge - BreakingTo check
introduce v2 native plugins and enable it by default
- Breaking
types: remove extends ImportMeta from ModuleRunnerImportMeta
- Breaking
deps: update esbuild peerDependency version
- Removed
remove
import.meta.hot.acceptresolution fallback - Removed
remove
experimental.enableNativePlugin: 'resolver' - Deprecated
deprecate
customResolverinresolve.alias
Security
10 advisories affect 8.0.0; 8.3.3 fixes them
- Highlaunch-editor: `fs.existsSync()` existence check can be bypassed on WindowsGHSA-587h-7wmj-h5pm · 20 Oct 2026Fixed in 8.3.3
- HighVite: `server.fs.deny` bypassed with queriesGHSA-v2wj-q39q-566r · 6 Apr 2026Fixed in 8.0.5
- HighVite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocketGHSA-p9ff-h696-f583 · 6 Apr 2026Fixed in 8.0.5
- 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 8.3.3
- Moderatelaunch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsGHSA-r825-w8mm-5pxw · 20 Oct 2026Fixed in 8.3.3
5 more
- Moderatelaunch-editor: escapeCmdArgs() omits % escaping on WindowsGHSA-698v-4r3x-3vcv · 20 Oct 2026Fixed in 8.3.3
- Moderatelaunch-editor: NTLMv2 hash disclosure via UNC path handling on WindowsGHSA-v6wh-96g9-6wx3 · 15 Jun 2026Fixed in 8.0.16
- Moderatevite: `server.fs.deny` bypass on Windows alternate pathsGHSA-fx2h-pf6j-xcff · 15 Jun 2026Fixed in 8.0.16
- ModerateVite Vulnerable to Path Traversal in Optimized Deps `.map` HandlingGHSA-4w7w-66w2-5vf9 · 6 Apr 2026Fixed in 8.0.5
- LowVite: Cross origin script execution through Vite custom middlewareGHSA-9jrq-w75r-8gcw · 21 Oct 2026Fixed in 8.3.3
Release note
The section about vite of a note shared by several packages.
Vite 8 is here!
Today, we're thrilled to announce the release of the next Vite major:
Breaking changes
- Breaking
Remove
import.meta.hot.acceptresolution fallback - Breaking
Update default browser target
- Breaking
The epic
rolldown-vitemerge
Features
Warn when
vite-tsconfig-pathsplugin is detectedcss: support es2025 build target for lightningcss
Forward browser console logs and errors to dev server terminal
Export
VisitorandESTreefromrolldown/utilsUse util.inspect for CLI error display
wasm: add SSR support for
.wasm?initIntegrate devtools
manifest: add
assetsfield for standalone CSS entry pointsbundled-dev: support worker in initial bundle
dev: detect port conflicts on wildcard hosts
Shortcuts case insensitive
Warn if
envPrefixcontains spacesAdd
ignoreOutdatedRequestsoption tooptimizeDepsAdd ios to default esbuild targets
css: support es2024 build target for lightningcss
Introduce v2 native plugins and enable it by default
ssr: avoid errors when rewriting already rewritten stacktrace
Add a warning that is output when a plugin sets esbuild related options
Highly experimental full bundle mode
Print esbuild options when both esbuild and oxc options are set
Update default browser target
The epic
rolldown-vitemerge
Bug Fixes
deps: update all non-major dependencies
Use
watch.watcherinstead ofwatch.notifycss: apply
server.originto public file URLs in CSS (fix #18457)deps: update all non-major dependencies
dev: disable extglobs for consistency
lib: keep annotation comments for es output
optimizer: avoid error happening with a package with asset entrypoint
ssr: throw friendly error when calling
ssrLoadModulewith non-runnable ssr envtypes: remove extends ImportMeta from ModuleRunnerImportMeta
wasm: reset assetUrlRE.lastIndex before .test() in SSR builds
deps: update all non-major dependencies
optimizer: avoid duplicate modules when
preserveSymlinksis enableddev: only treat EADDRINUSE as port conflict in wildcard pre-check
dev: prevent concurrent server restarts
dev: return "502 Bad Gateway" on proxy failures instead of 500
Clear tsconfig cache only when tsconfig.json is cached
deps: update all non-major dependencies
lib: CSS injection point error with nested name IIFE output
module-runner: incorrect column with
sourcemapInterceptor: "prepareStackTrace"module-runner: prevent crash on negative column in stacktrace
rolldownOptions/rollupOptions merging at environment level
scanner: respect tsconfig.json
Avoid registering customization hook for import meta resolver multiple times
config: avoid watching rolldown runtime virtual module
deps: update all non-major dependencies
Populate originalFileNames when resolving CSS asset paths
deps: update all non-major dependencies
Disable
tsconfigoption when loading configoptimizer: map relative
new URLpaths to correct relative file locationAvoid using deprecated
output.inlineDynamicImportoptionUse separate hook object for each environment
deps: update all non-major dependencies
dev: avoid event emitter leak caused by
server.listencallbackLazy hook filter should work
optimizer: skip
rolldownCjsExternalPluginforplatform: neutraldeps: update all non-major dependencies
deps: update esbuild peerDependency version
hmr: trigger prune event when last import is removed
module-runner: use
process.getBuiltinModuleinstead ofimport('node:module')Support .env file mounts (FIFOs)
css: stylus Evaluator support
deps: update all non-major dependencies
import-analysis: avoid cjs interop for built browser external module
worker: handle
new Worker(..., new URL(import.meta.url))with trailing commaDetect
import.meta.resolvewhen formatted across multiple linesAllow no-cors requests for non-script tag requests
deps: update all non-major dependencies
Unreachable error when building with
experimental.bundledDevis enableddeps: update all non-major dependencies
Don't strip base from imports
Allow exiting process before optimizer cleanup is done
Plugin shortcut support
Performance Improvements
ssr: skip circular import check for already-evaluated modules
Use tsconfig cache for oxc transform in dev
Code Refactoring
- Deprecated
Deprecate
customResolverinresolve.alias - Removed
Remove
experimental.enableNativePlugin: 'resolver'
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.