vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 0.33.0 to 0.34.0
1 release in betweenevery note read
- 8
- changes to make
- 0
- advisories fixed
- 3
- new
- 17
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.34.0
- Breaking0.34.0
- Breaking0.34.0
- Breaking0.34.0
- Breaking0.34.0
- Breaking0.34.0
- Breaking0.34.0
- Deprecated0.34.0
Security
1 advisory still affects 0.34.0
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
Upgrading to 3.2.6 clears it.
Release by release
- Breaking
Transform mode affects only test files, not regular files
- Breaking
Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite.
- Breaking
Disable
coverage.reportOnFailureby default - Breaking
Remove
@vitest/coverage-c8package
- Breaking
1 other line we could not sort, mostly version bumps
- 0.34.0
Most of
deps.options are now moved toserver.depswith a deprecation warning. Please, consider usingdeps.optimizerinstead ofdeps.inline/deps.external. Ideally, we would like to move away from usingserver.deps.inlinealtogether.
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.