Impact Score: 5/10
Vitest v4.0.2 โ 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.0.2. Source highlight: ๐ Bug Fixes
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.
๐ง Bug Fixes & Patches (4)
- Don't print the deprecation notice in node_modules - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8779 <samp>(588f7)</samp>
- Assign envs before running tests to keep in sync with process.env - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8769 <samp>(26ce8)</samp>
- Properly inherit implementation's `length` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8778 <samp>(d4c2b)</samp>
- Reset spies if both `restoreMocks` and `mockReset` are set in the config - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8781 <samp>(2eedb)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- **browser**:
- Don't print the deprecation notice in node_modules - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8779 [<samp>(588f7)</samp>](https://github.com/vitest-dev/vitest/commit/588f76858)
- **pool**:
- Assign envs before running tests to keep in sync with process.env - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8769 [<samp>(26ce8)</samp>](https://github.com/vitest-dev/vitest/commit/26ce88db6)
- **spy**:
- Properly inherit implementation's `length` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8778 [<samp>(d4c2b)</samp>](https://github.com/vitest-dev/vitest/commit/d4c2b280b)
- Reset spies if both `restoreMocks` and `mockReset` are set in the config - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8781 [<samp>(2eedb)</samp>](https://github.com/vitest-dev/vitest/commit/2eedbce76)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.1...v4.0.2)