Impact Score: 5/10
Vitest v3.1.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 v3.1.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.
โก Performance & Enhancements (1)
- **browser**: Improve browser parallelisation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7665 <samp>(816a5)</samp>
๐ง Bug Fixes & Patches (6)
- Add global `chai` variable in `vitest/globals` (fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 <samp>(d9297)</samp>
- Prevent modifying `test.exclude` when same object passed in `coverage.exclude` - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 <samp>(c3751)</samp>
- Fix already hoisted mock - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7815 <samp>(773b1)</samp>
- Fix test.scoped inheritance - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7814 <samp>(db6c3)</samp>
- Remove pointer-events-none after resizing the left panel - by @alexprudhomme in https://github.com/vitest-dev/vitest/issues/7811 <samp>(a7e77)</samp>
- Default to run mode when stdin is not a TTY - by @kentonv, @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7673 <samp>(6358f)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- Add global `chai` variable in `vitest/globals` (fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 [<samp>(d9297)</samp>](https://github.com/vitest-dev/vitest/commit/d9297920)
- Prevent modifying `test.exclude` when same object passed in `coverage.exclude` - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 [<samp>(c3751)</samp>](https://github.com/vitest-dev/vitest/commit/c375101d)
- Fix already hoisted mock - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7815 [<samp>(773b1)</samp>](https://github.com/vitest-dev/vitest/commit/773b10e0)
- Fix test.scoped inheritance - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7814 [<samp>(db6c3)</samp>](https://github.com/vitest-dev/vitest/commit/db6c3bcc)
- Remove pointer-events-none after resizing the left panel - by @alexprudhomme in https://github.com/vitest-dev/vitest/issues/7811 [<samp>(a7e77)</samp>](https://github.com/vitest-dev/vitest/commit/a7e773bd)
- Default to run mode when stdin is not a TTY - by @kentonv, @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7673 [<samp>(6358f)</samp>](https://github.com/vitest-dev/vitest/commit/6358f216)
- Use happy-dom/jsdom types for `envionmentOptions` - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7795 [<samp>(67430)</samp>](https://github.com/vitest-dev/vitest/commit/67430083)
- **browser**:
- Fix transform error before browser server initialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7783 [<samp>(5f762)</samp>](https://github.com/vitest-dev/vitest/commit/5f762ec5)
- Fix mocking from outside of root - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7789 [<samp>(03f55)</samp>](https://github.com/vitest-dev/vitest/commit/03f55d74)
- Scale iframe for non ui case - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6512 [<samp>(c3374)</samp>](https://github.com/vitest-dev/vitest/commit/c3374808)
- **coverage**:
- `await` profiler calls - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7763 [<samp>(795a6)</samp>](https://github.com/vitest-dev/vitest/commit/795a6433)
- Expose profiling timers - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7820 [<samp>(5652b)</samp>](https://github.com/vitest-dev/vitest/commit/5652bf92)
- **deps**:
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7765 [<samp>(7c3df)</samp>](https://github.com/vitest-dev/vitest/commit/7c3dfb17)
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7831 [<samp>(15701)</samp>](https://github.com/vitest-dev/vitest/commit/15701f5d)
- **runner**:
- Correctly call test hooks and teardown functions - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7775 [<samp>(3c00c)</samp>](https://github.com/vitest-dev/vitest/commit/3c00c875)
- Show stacktrace on test timeout error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7799 [<samp>(df33b)</samp>](https://github.com/vitest-dev/vitest/commit/df33bba7)
- **ui**:
- Load panel sizes from storage on initial load - by @userquin in https://github.com/vitest-dev/vitest/issues/7265 [<samp>(6555d)</samp>](https://github.com/vitest-dev/vitest/commit/6555d61d)
- **vite-node**:
- Named export should overwrite export all - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7846 [<samp>(5ba0d)</samp>](https://github.com/vitest-dev/vitest/commit/5ba0d914)
- Add ERR_MODULE_NOT_FOUND code error if module cannot be loaded - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7776 [<samp>(f9eac)</samp>](https://github.com/vitest-dev/vitest/commit/f9eacbc5)
### ๐ Performance
- **browser**: Improve browser parallelisation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7665 [<samp>(816a5)</samp>](https://github.com/vitest-dev/vitest/commit/816a5c51)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v3.1.1...v3.1.2)