โ ๏ธ Breaking Change
Impact Score: 7/10
Vitest v0.23.0 โ Release Notes & Engineering Impact
Source available โ automated, not human-reviewed
Component: vitest ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-01.
Breaking-change evidence from the source
๐จ Breaking Changes - Don't reset modules with --no-isolate - by @sheremet-va and @poyoho in https://github.com/vitest-dev/vitest/issues/1754
โก Executive Summary (TL;DR)
Vitest v0.23.0. Source highlight: ๐จ Breaking Changes
Who Does This Impact? (Role-Based Analysis)
๐ป Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
๐ Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
โ๏ธ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
โ ๏ธ Breaking Changes & Deprecations (1)
- ๐จ Breaking Changes - Don't reset modules with --no-isolate - by @sheremet-va and @poyoho in https://github.com/vitest-dev/vitest/issues/1754
โจ New Features & Capabilities (6)
- Add include option in istanbul coverage -
- Introduce `retry` option for tests -
- Add benchmark support with `vitest bench` command -
- **coverage**: Include json reporter by default - by @poyoho <samp>(faed4)</samp>
- **coverage-istanbul**: Add "all" option -
- **worker**: Always apply custom resolver conditions -
โก Performance & Enhancements (1)
- Improve interchangeability with cjs -
๐ง Bug Fixes & Patches (6)
- Allow referring to first seen value while automocking -
- Console.Console is undefined (close: #1877) -
- Invalidate new worker and its dependencies -
- Improve error serialization -
- Clean coverage-c8 tmp before reporting (fix #1917) -
- Automock getters and setters - by @simon-abbott and @sheremet-va in https://github.com/vitest-dev/vitest/issues/1903
๐ View Raw Release Notes (Original Developer Log)
### ๐จ Breaking Changes
- Don't reset modules with --no-isolate - by @sheremet-va and @poyoho in https://github.com/vitest-dev/vitest/issues/1754
- If not processed, CSS Modules return a proxy, scope class names by filename - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1803
- Improve interchangeability with cjs - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1944
- Allow custom environments - by @sheremet-va and @Demivan in https://github.com/vitest-dev/vitest/issues/1963
### ๐ Features
- Add include option in istanbul coverage - by @warmthdawn in https://github.com/vitest-dev/vitest/issues/1883
- Introduce `retry` option for tests - by @antfu in https://github.com/vitest-dev/vitest/issues/1929
- Add benchmark support with `vitest bench` command - by @poyoho in https://github.com/vitest-dev/vitest/issues/1029
- **coverage**: Include json reporter by default - by @poyoho [<samp>(faed4)</samp>](https://github.com/vitest-dev/vitest/commit/faed4acb)
- **coverage-istanbul**: Add "all" option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/1880
- **worker**: Always apply custom resolver conditions - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1934
### ๐ Bug Fixes
- Allow referring to first seen value while automocking - by @simon-abbott in https://github.com/vitest-dev/vitest/issues/1879
- Console.Console is undefined (close: #1877) - by @ahaoboy in https://github.com/vitest-dev/vitest/issues/1878
- Invalidate new worker and its dependencies - by @sun0day in https://github.com/vitest-dev/vitest/issues/1896
- Improve error serialization - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1921
- Clean coverage-c8 tmp before reporting (fix #1917) - by @sun0day in https://github.com/vitest-dev/vitest/issues/1925
- Automock getters and setters - by @simon-abbott and @sheremet-va in https://github.com/vitest-dev/vitest/issues/1903
- Add possibility to filter test files by fileName - by @bartoszgolebiowski and @sheremet-va in https://github.com/vitest-dev/vitest/issues/1915
- Make globalThis more compatible with jest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1956
- Delete mock in moduleCache when unmock - by @ChpShy in https://github.com/vitest-dev/vitest/issues/1947
- Matcher toHaveProperty actually tests value - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1958
- **env-replacer**: Don't modify string literals - by @tony19 in https://github.com/vitest-dev/vitest/issues/1943
- **istanbul**: Disable compact in instrumenter transform - by @poyoho [<samp>(80739)</samp>](https://github.com/vitest-dev/vitest/commit/80739cae)
- **reporter**: Correct error source position in json report - by @azaleta and @poyoho in https://github.com/vitest-dev/vitest/issues/1909
- **reporter-junit**: Escape XML when in error message (fix: #1823) - by @ChrisTowles in https://github.com/vitest-dev/vitest/issues/1890
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0)