Impact Score: 5/10
Vitest v1.2.2 โ 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 v1.2.2. 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)
- Remove `coverage/.tmp` files after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 <samp>(d53b8)</samp>
- Don't crash when re-run removes earlier run's reports - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 <samp>(66898)</samp>
- Improve `toThrow(asymmetricMatcher)` failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 <samp>(a199a)</samp>
- Set correct `VITEST_POOL_ID` - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 <samp>(7d0a4)</samp>
- Mention common work-around for the logged error - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 <samp>(915d6)</samp>
- Fix `ignoreSourceErrors` in run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 <samp>(6dae3)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- **coverage**:
- Remove `coverage/.tmp` files after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f)
- **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d)
- **forks**:
- Set correct `VITEST_POOL_ID` - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692)
- **threads**:
- Mention common work-around for the logged error - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43)
- **typecheck**:
- Fix `ignoreSourceErrors` in run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb)
- **vite-node**:
- Provide import.meta.filename and dirname - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575)
- **vitest**:
- Expose getHooks & setHooks - by @adriencaccia in https://github.com/vitest-dev/vitest/issues/5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection - by @blake-newman in https://github.com/vitest-dev/vitest/issues/4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve` - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)