vite
8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed
Upgrading vite From 7.3.8 to 8.1.6
24 releases in betweenevery note read
- 6
- changes to make
- 0
- advisories fixed
- 47
- new
- 146
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Deprecated8.1.0
- Deprecated8.0.0
Security
- 8.0.5
Avoid path traversal with optimize deps sourcemap handler
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
1 other line we could not sort, mostly version bumps
133 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.