@vitest/spy
5.0.5 · 15 Oct 2026MIT202.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/spy from 4.0.1 to 5.0.5
36 releases in betweenevery note read
- 50
- changes to make
- 0
- advisories fixed
- 159
- new
- 486
- fixes
Before you upgrade
Tick each one off as you go- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
- breaking5.0.0
Release by release
- new
Add
datato theimport.meta.hotstub - fixed
Keep vite default
fs.denywith api token file - fixed
Handle quoted file names in
--changed - fixed
Set
skipinskipIf, ignoreundefinedoptions
- new
- new
experimental: Tag cache directories with CACHEDIR.TAG
- new
experimental: Support
test.ui.themeoption - new
experimental: Highlight selector multiple matches in trace view
- new
experimental: Print how many tests were affected and a total when running
--changed
- new
- fixed
Isolate
result.statusbetweenrepeatsruns - fixed
Don't print an interceptor warning in browser mode
- fixed
Don't retry when
test.failsexpectedly failed - fixed
Scope cache key generators to projects
- fixed
- fixed
Bind
processin case global is overwritten - fixed
detect-async-leaks: Ignore
process.stdiohandles - fixed
expect: Fix
toMatchObjectwith asymmetric matchers - fixed
jsdom: Fix
RequestwithBlobbody on jsdom 28+
- fixed
- new
ui: Move trace attempts selector to viewer header
- new
ui: Add focused trace view layout mode
- fixed
Exit 1 when vitest list fails collection
- fixed
Keep parse error details in static collection
- new
- new
Add
createReportand.vitestreport directory convention - new
Expose default reporters through
configDefaults.reporters - new
Support merge reports for non-sharded multi-environment runs (take 2)
- new
Add
logger.formatError
- new
- fixed
mocker: Harden manual and redirect mocks [backport to v4]
- fixed
- fixed
Revive global concurrency limit for test lifecycle [backport to v4]
- fixed
browser: Encode iframeId in tester iframe URL [backport to v4]
- fixed
browser: Trigger playwright/chromium gc on lower disk availability [backport to v4]
- fixed
mocker: Restrict redirect mocks to the fs allowlist [backport to v4]
- fixed
6 internal lines (docs, tests, tooling) left out.