Vitest v0.23.0stable Released Sep 04, 2022
โš ๏ธ 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
Read the original context โ†—
Source flags breaking changes โ€” review applicability
๐Ÿ“„ .MD
โšก 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 &nbsp;-&nbsp; by @poyoho <samp>(faed4)</samp>
  • **coverage-istanbul**: Add "all" option &nbsp;-&nbsp;
  • **worker**: Always apply custom resolver conditions &nbsp;-&nbsp;

โšก Performance & Enhancements (1)

  • Improve interchangeability with cjs &nbsp;-&nbsp;

๐Ÿ”ง Bug Fixes & Patches (6)

  • Allow referring to first seen value while automocking &nbsp;-&nbsp;
  • Console.Console is undefined (close: #1877) &nbsp;-&nbsp;
  • Invalidate new worker and its dependencies &nbsp;-&nbsp;
  • Improve error serialization &nbsp;-&nbsp;
  • Clean coverage-c8 tmp before reporting (fix #1917) &nbsp;-&nbsp;
  • Automock getters and setters &nbsp;-&nbsp; by @simon-abbott and @sheremet-va in https://github.com/vitest-dev/vitest/issues/1903
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes - Don't reset modules with --no-isolate &nbsp;-&nbsp; 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 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1803 - Improve interchangeability with cjs &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1944 - Allow custom environments &nbsp;-&nbsp; by @sheremet-va and @Demivan in https://github.com/vitest-dev/vitest/issues/1963 ### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - Add include option in istanbul coverage &nbsp;-&nbsp; by @warmthdawn in https://github.com/vitest-dev/vitest/issues/1883 - Introduce `retry` option for tests &nbsp;-&nbsp; by @antfu in https://github.com/vitest-dev/vitest/issues/1929 - Add benchmark support with `vitest bench` command &nbsp;-&nbsp; by @poyoho in https://github.com/vitest-dev/vitest/issues/1029 - **coverage**: Include json reporter by default &nbsp;-&nbsp; by @poyoho [<samp>(faed4)</samp>](https://github.com/vitest-dev/vitest/commit/faed4acb) - **coverage-istanbul**: Add "all" option &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/1880 - **worker**: Always apply custom resolver conditions &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1934 ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Allow referring to first seen value while automocking &nbsp;-&nbsp; by @simon-abbott in https://github.com/vitest-dev/vitest/issues/1879 - Console.Console is undefined (close: #1877) &nbsp;-&nbsp; by @ahaoboy in https://github.com/vitest-dev/vitest/issues/1878 - Invalidate new worker and its dependencies &nbsp;-&nbsp; by @sun0day in https://github.com/vitest-dev/vitest/issues/1896 - Improve error serialization &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1921 - Clean coverage-c8 tmp before reporting (fix #1917) &nbsp;-&nbsp; by @sun0day in https://github.com/vitest-dev/vitest/issues/1925 - Automock getters and setters &nbsp;-&nbsp; by @simon-abbott and @sheremet-va in https://github.com/vitest-dev/vitest/issues/1903 - Add possibility to filter test files by fileName &nbsp;-&nbsp; by @bartoszgolebiowski and @sheremet-va in https://github.com/vitest-dev/vitest/issues/1915 - Make globalThis more compatible with jest &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1956 - Delete mock in moduleCache when unmock &nbsp;-&nbsp; by @ChpShy in https://github.com/vitest-dev/vitest/issues/1947 - Matcher toHaveProperty actually tests value &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/1958 - **env-replacer**: Don't modify string literals &nbsp;-&nbsp; by @tony19 in https://github.com/vitest-dev/vitest/issues/1943 - **istanbul**: Disable compact in instrumenter transform &nbsp;-&nbsp; by @poyoho [<samp>(80739)</samp>](https://github.com/vitest-dev/vitest/commit/80739cae) - **reporter**: Correct error source position in json report &nbsp;-&nbsp; by @azaleta and @poyoho in https://github.com/vitest-dev/vitest/issues/1909 - **reporter-junit**: Escape XML when in error message (fix: #1823) &nbsp;-&nbsp; by @ChrisTowles in https://github.com/vitest-dev/vitest/issues/1890 ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0)