@vitest/runner
4.1.11 · 18 Aug 2026MIT125.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/runner From 0.32.0 to 0.34.7
13 releases in betweennotes for 12
- 9+
- changes to make
- 0
- advisories fixed
- 27+
- new
- 102+
- fixes
Counted from 12 of 13 release notes. Advisories are counted from the advisory database, in full.
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
- Breaking0.33.0
- Deprecated0.34.0
Release by release
0.34.7no release note
- Fixed
Overwrite global URL with environment's
- Fixed
Correctly resolve external dependencies loaded by custom environments
- Fixed
runner: The fixture of
test.extendshould be init once time in all test
- Fixed
- New
config: Add
diffoption - New
coverage: Add
coverage['100']to istanbul provider - New
vitest: Support
vi.waitFormethod - New
vitest: Allow using unprocessed environment files
- New
- Fixed
Resolving dep optimizer issues with workspace
- Fixed
Don't process config file twice
- Fixed
coverage: Log info only when terminal reporter is used
- Fixed
happy-dom: Use the nodejs console in happy-dom v11
- Fixed
- New
coverage: Add
allowExternaloption - New
vitest: Export all reporters in
vitest/reporters - New
Add workspace config files to default coverage excludes
- Fixed
Should remove mockPath from callstack whether success or failed
- New
- New
Allow importing CSS and assets inside external dependencies when using
--experimental-vm-threads - New
vitest: Allow calling
ctx.skip()inside the running test - New
ui: Add support for ui coverage with subdir option
- New
dot-renderer: Speed up getTests
- New
- Fixed
Pass
--experimental-vm-worker-memory-limittotinypool
- Fixed
- 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.
3 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.