Impact Score: 5/10
Vitest v2.0.4 โ 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 v2.0.4. 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)
- One-line environment options - by @hahanein in https://github.com/vitest-dev/vitest/issues/5105 <samp>(38269)</samp>
- Resolve assets imported with `require` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6159 <samp>(807a2)</samp>
- Don't panic if @vitest/browser is installed outside of project root - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6135 <samp>(ccfcd)</samp>
- Set global filepath - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6190 <samp>(0d0b4)</samp>
- Allow preview and open in the editor screenshot error from ui - by @userquin in https://github.com/vitest-dev/vitest/issues/6113 <samp>(2d620)</samp>
- Global thresholds to include files from glob thresholds - by @thor-juhasz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6172 <samp>(02e3f)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- One-line environment options - by @hahanein in https://github.com/vitest-dev/vitest/issues/5105 [<samp>(38269)</samp>](https://github.com/vitest-dev/vitest/commit/38269415)
- Resolve assets imported with `require` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6159 [<samp>(807a2)</samp>](https://github.com/vitest-dev/vitest/commit/807a2cbc)
- **browser**:
- Don't panic if @vitest/browser is installed outside of project root - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6135 [<samp>(ccfcd)</samp>](https://github.com/vitest-dev/vitest/commit/ccfcd488)
- Set global filepath - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6190 [<samp>(0d0b4)</samp>](https://github.com/vitest-dev/vitest/commit/0d0b46b1)
- Allow preview and open in the editor screenshot error from ui - by @userquin in https://github.com/vitest-dev/vitest/issues/6113 [<samp>(2d620)</samp>](https://github.com/vitest-dev/vitest/commit/2d62051f)
- **coverage**:
- Global thresholds to include files from glob thresholds - by @thor-juhasz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6172 [<samp>(02e3f)</samp>](https://github.com/vitest-dev/vitest/commit/02e3f003)
- Consistent type-only file handling - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6183 [<samp>(90576)</samp>](https://github.com/vitest-dev/vitest/commit/90576148)
- Ignore `*.cts` files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6189 [<samp>(5da45)</samp>](https://github.com/vitest-dev/vitest/commit/5da45db1)
- Add `thresholds.<glob>.100` option - by @thor-juhasz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6174 [<samp>(f6845)</samp>](https://github.com/vitest-dev/vitest/commit/f68453f8)
- **spy**:
- Fix `mockImplementation` for function overload and unions - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6181 [<samp>(7a75b)</samp>](https://github.com/vitest-dev/vitest/commit/7a75bd4c)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4)