Vite 8.2.1
Vite 8.2.1 landed on August 6, 2026 — a quiet patch release. If you were expecting headline features, this isn't it. What you get instead is a batch of bug fixes that mostly matter if you're on the bundled dev-server path or doing heavy CSS work. Let's look at what actually changed without the hype.
The Fixes That Matter
The most interesting fix is in the CSS pipeline: the lightningcss visitor is no longer re-run during minification. That was doubling up work and could produce inconsistent output when both minify and lightningcss transforms were active. For projects with large CSS bundles, this is also the source of the release's main performance win — pure CSS chunks are now looked up through a Set instead of a linear scan.
Two fixes target the bundled dev server (the rolldown-based one). The client script tag is now injected before chunk scripts, which fixes ordering issues when the server injects its own client code, and chunkImportMap now works correctly with sharedPlugins: true. If you use shared plugins in a multi-app setup, that one is for you.
Smaller Fixes, Real Annoyances Gone
- Lib entry config no longer mutated — resolving the lib entry from top-level
inputno longer mutates the user config object, so the same config object can be reused safely - Shebang handling — files with shebangs ending in uncommon line terminators are now handled correctly
- Random ports — when
port: 0is set, the server now consistently uses a random port instead of occasionally picking an odd default
What to Watch For
Dependency updates are the usual patch-release churn, including rolldown-related deps and strip-literal v4. The bundled-dev internals also got a refactor that avoids injecting server values into the bundle — the kind of change that looks harmless until it isn't, so keep an eye on dev-server behavior after upgrading if you use the bundled mode.
Verdict: it's a patch release. Update when your dependency manager tells you to, and don't expect miracles. The interesting stuff is still cooking for the next minor version.