Vitest v4.1.3stable Released Apr 07, 2026
Impact Score: 5/10

Vitest v4.1.3 โ€” 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.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Vitest v4.1.3. Source highlight:    ๐Ÿš€ Experimental Features

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.

โœจ New Features & Capabilities (4)

  • Add `experimental.preParse` flag &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10070 <samp>(78273)</samp>
  • Support `browser.locators.exact` option &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10013 <samp>(48799)</samp>
  • Add `TestAttachment.bodyEncoding` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9969 <samp>(89ca0)</samp>
  • Support custom snapshot matcher &nbsp;-&nbsp; by @hi-ogawa, **Claude Sonnet 4.6** and **Codex** in https://github.com/vitest-dev/vitest/issues/9973 <samp>(59b0e)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • Advance fake timers with `expect.poll` interval &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10022 <samp>(3f5bf)</samp>
  • Add `@vitest/coverage-v8` and `@vitest/coverage-istanbul` as optional dependency &nbsp;-&nbsp; by @alan-agius4 in https://github.com/vitest-dev/vitest/issues/10025 <samp>(146d4)</samp>
  • Fix `defineHelper` for webkit async stack trace + update playwright 1.59.0 &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10036 <samp>(5a5fa)</samp>
  • Fix suite hook throwing errors for unused auto test-scoped fixture &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10035 <samp>(39865)</samp>
  • Remove `JestExtendError.context` from verbose error reporting &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9983 <samp>(66751)</samp>
  • Don't leak "runner" types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10004 <samp>(ec204)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Experimental Features - Add `experimental.preParse` flag &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10070 [<samp>(78273)</samp>](https://github.com/vitest-dev/vitest/commit/7827363bd) - Support `browser.locators.exact` option &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10013 [<samp>(48799)</samp>](https://github.com/vitest-dev/vitest/commit/487990a19) - Add `TestAttachment.bodyEncoding` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9969 [<samp>(89ca0)</samp>](https://github.com/vitest-dev/vitest/commit/89ca0e254) - Support custom snapshot matcher &nbsp;-&nbsp; by @hi-ogawa, **Claude Sonnet 4.6** and **Codex** in https://github.com/vitest-dev/vitest/issues/9973 [<samp>(59b0e)</samp>](https://github.com/vitest-dev/vitest/commit/59b0e6411) ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Advance fake timers with `expect.poll` interval &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10022 [<samp>(3f5bf)</samp>](https://github.com/vitest-dev/vitest/commit/3f5bfa365) - Add `@vitest/coverage-v8` and `@vitest/coverage-istanbul` as optional dependency &nbsp;-&nbsp; by @alan-agius4 in https://github.com/vitest-dev/vitest/issues/10025 [<samp>(146d4)</samp>](https://github.com/vitest-dev/vitest/commit/146d4f0a0) - Fix `defineHelper` for webkit async stack trace + update playwright 1.59.0 &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10036 [<samp>(5a5fa)</samp>](https://github.com/vitest-dev/vitest/commit/5a5fa49fe) - Fix suite hook throwing errors for unused auto test-scoped fixture &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10035 [<samp>(39865)</samp>](https://github.com/vitest-dev/vitest/commit/398657e8d) - **expect**: - Remove `JestExtendError.context` from verbose error reporting &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9983 [<samp>(66751)</samp>](https://github.com/vitest-dev/vitest/commit/66751c9e8) - Don't leak "runner" types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10004 [<samp>(ec204)</samp>](https://github.com/vitest-dev/vitest/commit/ec2045543) - **snapshot**: - Fix flagging obsolete snapshots for snapshot properties mismatch &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/9986 [<samp>(6b869)</samp>](https://github.com/vitest-dev/vitest/commit/6b869156b) - Export custom snapshot matcher helper from `vitest` &nbsp;-&nbsp; by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10042 [<samp>(691d3)</samp>](https://github.com/vitest-dev/vitest/commit/691d341fd) - **ui**: - Don't leak vite types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10005 [<samp>(fdff1)</samp>](https://github.com/vitest-dev/vitest/commit/fdff1bf9a) - **vm**: - Fix external module resolve error with deps optimizer query &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10024 [<samp>(9dbf4)</samp>](https://github.com/vitest-dev/vitest/commit/9dbf47786) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.1.2...v4.1.3)