Vitest v4.0.6stable Released Oct 31, 2025
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.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8875 <samp>(7e6c3)</samp>
  • Improve spying types &nbsp;-&nbsp; 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 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8889 <samp>(31706)</samp>
  • Support module tracking &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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)
### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Don't merge errors with different diffs for reporting &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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 &nbsp;-&nbsp; 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` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8880 [<samp>(197ca)</samp>](https://github.com/vitest-dev/vitest/commit/197caf2f9) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.5...v4.0.6)