@vitest/spy
5.0.5 · 15 Oct 2026MIT202.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/spy from 1.1.3 to 1.6.1
12 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 44
- new
- 129
- fixes
Before you upgrade
Tick each one off as you go- deprecated1.4.0
- deprecated1.3.0
Security
Release by release
- new
Support standalone mode
- new
Custom "snapshotEnvironment" option
- new
benchmark: Support comparing benchmark result
- new
browser: Allow injecting scripts
- new
- fixed
Use package.json name for a workspace project if not provided
- fixed
Backport jest iterable equality within object
- fixed
browser: Support benchmark
- fixed
reporter: Use default error formatter for JUnit
- fixed
- fixed
Check for null before storing in weakmap
- fixed
- new
api:
startVitest()to acceptstdoutandstdin - fixed
Close vite servers on all resolved projects
- fixed
Fix default
import.meta.env.PROD: false - fixed
Resolve cwd correctly when initiating projects
- new
- new
Add configuration for diff truncation
- new
Remove unrelated noise from diff for toMatchObject()
- new
Allow custom host for --inspect and --inspect-brk
- new
coverage: V8 to ignore empty lines, comments, types
- new
- new
Throw error when using snapshot assertion with
not - new
Add a flag to include test location in tasks
- new
cli: Support wildcards in
--projectoption - new
config: Add
shuffle.filesandshuffle.testsoptions
- new
- new
vitest: Expose parseCLI method
- new
Add task tests iteratively
- fixed
coverage: Ignore generated TS decorators
- fixed
ui: Auto reload coverage iframe after test run
- new
2 internal lines (docs, tests, tooling) left out.