Vitest v4.0.8stable Released Nov 07, 2025
Impact Score: 5/10

Vitest v4.0.8 โ€” 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.8. 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)

  • Workaround `noExternal` merging bug on Vite 6 &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8950 <samp>(bcb13)</samp>
  • Missed context.d.ts file &nbsp;-&nbsp; by @termorey in https://github.com/vitest-dev/vitest/issues/8965 <samp>(9044d)</samp>
  • Incorrect error message for non-awaited `expect.element()` &nbsp;-&nbsp; by @StyleShit in https://github.com/vitest-dev/vitest/issues/8954 <samp>(9638d)</samp>
  • **browser**: Cleanup frame-ancestors from CSP header at coverage middleware &nbsp;-&nbsp; by @userquin in https://github.com/vitest-dev/vitest/issues/8941 <samp>(1f730)</samp>
  • **deps**: Update all non-major dependencies &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8636 <samp>(da8b9)</samp>
  • **forks**: Do not fail with Windows Defender enabled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8967 <samp>(c79f4)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Workaround `noExternal` merging bug on Vite 6 &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8950 [<samp>(bcb13)</samp>](https://github.com/vitest-dev/vitest/commit/bcb132fd4) - Missed context.d.ts file &nbsp;-&nbsp; by @termorey in https://github.com/vitest-dev/vitest/issues/8965 [<samp>(9044d)</samp>](https://github.com/vitest-dev/vitest/commit/9044d9356) - Incorrect error message for non-awaited `expect.element()` &nbsp;-&nbsp; by @StyleShit in https://github.com/vitest-dev/vitest/issues/8954 [<samp>(9638d)</samp>](https://github.com/vitest-dev/vitest/commit/9638db0f3) - **browser**: Cleanup frame-ancestors from CSP header at coverage middleware &nbsp;-&nbsp; by @userquin in https://github.com/vitest-dev/vitest/issues/8941 [<samp>(1f730)</samp>](https://github.com/vitest-dev/vitest/commit/1f7303738) - **deps**: Update all non-major dependencies &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8636 [<samp>(da8b9)</samp>](https://github.com/vitest-dev/vitest/commit/da8b93aa5) - **forks**: Do not fail with Windows Defender enabled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8967 [<samp>(c79f4)</samp>](https://github.com/vitest-dev/vitest/commit/c79f47c65) - **runner**: Properly encode Uint8Array body in annotations &nbsp;-&nbsp; by @Livan-pro in https://github.com/vitest-dev/vitest/issues/8951 [<samp>(997ca)</samp>](https://github.com/vitest-dev/vitest/commit/997ca5a82) - **spy**: Copy static properties if spy is initialised with `vi.fn()`, fix types for `vi.spyOn(obj, class)` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8956 [<samp>(75e7f)</samp>](https://github.com/vitest-dev/vitest/commit/75e7fcc51) - **webdriverio**: When no argument is passed to the .click interaction command, the webdriver command should also have no argument &nbsp;-&nbsp; by @julienw in https://github.com/vitest-dev/vitest/issues/8937 [<samp>(069e6)</samp>](https://github.com/vitest-dev/vitest/commit/069e6db9b) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.7...v4.0.8)