vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
Upgrading vite From 8.0.8 to 8.1.6
15 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Deprecated8.1.0
Security
Fixes 7 advisories affecting 8.0.8
- launch-editor: `fs.existsSync()` existence check can be bypassed on Windowshigh · GHSA-587h-7wmj-h5pm
- launch-editor: escapeCmdArgs() omits % escaping on Windowsmoderate · GHSA-698v-4r3x-3vcv
- Vite: Cross origin script execution through Vite custom middlewarelow · GHSA-9jrq-w75r-8gcw
- vite: `server.fs.deny` bypass on Windows alternate pathsmoderate · GHSA-fx2h-pf6j-xcff
- launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editorsmoderate · GHSA-r825-w8mm-5pxw
- Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machinemoderate · GHSA-rq7h-c2jc-7f22
- launch-editor: NTLMv2 hash disclosure via UNC path handling on Windowsmoderate · GHSA-v6wh-96g9-6wx3
Release by release
- Fixed
html: filename passed to transformIndexHtml should not include queries
- Fixed
server: store ids to
safeModulePathsrather than URLs
- Fixed
- Fixed
bundled-dev: avoid duplicated
buildEnd - Fixed
client: overlay error message format align rolldown
- Fixed
deps: update all non-major dependencies
- Fixed
deps: update rolldown-related dependencies
- Fixed
module-runner: don't crash stack-trace source mapping when globalThis.Buffer is absent
- Fixed
optimizer: respect importer module format for dynamic import interop with CJS deps
- Fixed
ssr: scope switch-case declarations to the switch, not the function
- Fixed
- New
legacy: prefer oxc as minifier (fix #21973)
- New
build: add workaround for building on stackblitz
- Fixed
build: keep
import.meta.urlin preload function as-is - Fixed
html: avoid backtracking in import-only check
- Fixed
optimizer: avoid optimizer run for transform request before init
- Fixed
ssr: align named export function call stacktrace column with Node
- Fixed
Strip pure CSS chunk imports when chunkImportMap is enabled
- New
- Fixed
css: inject inlined CSS after the shebang line
- Fixed
Preload css for nested dynamic imports
- Fixed
ssr: correct stacktrace column position for first line
- Fixed
- New
Update dynamic import warning to link to Vite docs
- Fixed
bundled-dev: avoid stack overflow on
import.meta.hot.invalidate() - Fixed
bundled-dev: serve assets emitted during HMR/lazy compile
- Fixed
bundledDev: skip plugin transform hooks for rolldown-lazy stub modules
- New
- Deprecated
Warn on deprecated envFile
- New
Extend
server.fs.denylist with common files - New
Use
~for Rolldown - New
import.meta.globsupportcaseSensitiveoption
- Deprecated
- Fixed
deps: reject UNC paths for launch-editor-middleware
- Fixed
Reject windows alternate paths
- Fixed
64 internal lines (docs, tests, tooling) left out.
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.