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.
โก 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 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10070 <samp>(78273)</samp>
- Support `browser.locators.exact` option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10013 <samp>(48799)</samp>
- Add `TestAttachment.bodyEncoding` - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9969 <samp>(89ca0)</samp>
- Support custom snapshot matcher - 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 - 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 - 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 - 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 - 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 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9983 <samp>(66751)</samp>
- Don't leak "runner" types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10004 <samp>(ec204)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Experimental Features
- Add `experimental.preParse` flag - 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 - 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` - 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 - 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)
### ๐ Bug Fixes
- Advance fake timers with `expect.poll` interval - 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 - 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 - 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 - 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 - 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 - 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 - 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` - 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 - 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 - 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)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.1.2...v4.1.3)