Impact Score: 5/10
Vitest v4.0.6 โ 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.6. 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 (6)
- Don't merge errors with different diffs for reporting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8871 <samp>(3e19f)</samp>
- Do not throw when importing a type from an external package - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8875 <samp>(7e6c3)</samp>
- Improve spying types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8878 <samp>(ca041)</samp>
- Reuse the same environment when `isolate` and `fileParallelism` are false - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8889 <samp>(31706)</samp>
- Support module tracking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8877 <samp>(9e24a)</samp>
- Ensure setup files are re-evaluated on each test run - by @yjaaidi in https://github.com/vitest-dev/vitest/issues/8883 and https://github.com/vitest-dev/vitest/issues/8884 <samp>(f50ea)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- Don't merge errors with different diffs for reporting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8871 [<samp>(3e19f)</samp>](https://github.com/vitest-dev/vitest/commit/3e19f27d0)
- Do not throw when importing a type from an external package - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8875 [<samp>(7e6c3)</samp>](https://github.com/vitest-dev/vitest/commit/7e6c37ae5)
- Improve spying types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8878 [<samp>(ca041)</samp>](https://github.com/vitest-dev/vitest/commit/ca041f51a)
- Reuse the same environment when `isolate` and `fileParallelism` are false - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8889 [<samp>(31706)</samp>](https://github.com/vitest-dev/vitest/commit/31706dfe5)
- **browser**:
- Support module tracking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8877 [<samp>(9e24a)</samp>](https://github.com/vitest-dev/vitest/commit/9e24a59f2)
- Ensure setup files are re-evaluated on each test run - by @yjaaidi in https://github.com/vitest-dev/vitest/issues/8883 and https://github.com/vitest-dev/vitest/issues/8884 [<samp>(f50ea)</samp>](https://github.com/vitest-dev/vitest/commit/f50ea7a25)
- **coverage**:
- Prevent filtering out virtual files before remapping to sources - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8860 [<samp>(e3b77)</samp>](https://github.com/vitest-dev/vitest/commit/e3b777550)
- **happy-dom**:
- Properly teardown additional keys - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8888 [<samp>(10a06)</samp>](https://github.com/vitest-dev/vitest/commit/10a06d8c9)
- **jsdom**:
- Pass down Node.js `FormData` to `Request` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8880 [<samp>(197ca)</samp>](https://github.com/vitest-dev/vitest/commit/197caf2f9)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.5...v4.0.6)