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.
โก 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 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8950 <samp>(bcb13)</samp>
- Missed context.d.ts file - by @termorey in https://github.com/vitest-dev/vitest/issues/8965 <samp>(9044d)</samp>
- Incorrect error message for non-awaited `expect.element()` - by @StyleShit in https://github.com/vitest-dev/vitest/issues/8954 <samp>(9638d)</samp>
- **browser**: Cleanup frame-ancestors from CSP header at coverage middleware - by @userquin in https://github.com/vitest-dev/vitest/issues/8941 <samp>(1f730)</samp>
- **deps**: Update all non-major dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8636 <samp>(da8b9)</samp>
- **forks**: Do not fail with Windows Defender enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8967 <samp>(c79f4)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- Workaround `noExternal` merging bug on Vite 6 - 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 - 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()` - 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 - 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 - 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 - 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 - 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)` - 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 - by @julienw in https://github.com/vitest-dev/vitest/issues/8937 [<samp>(069e6)</samp>](https://github.com/vitest-dev/vitest/commit/069e6db9b)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.7...v4.0.8)