Impact Score: 5/10
Vitest v2.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 v2.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.
๐ง Bug Fixes & Patches (6)
- Move `Vitest.setServer` to post `configureServer` hook to enable import analysis for workspace config loading - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6584 <samp>(e7f35)</samp>
- Clear `BenchmarkResult.samples` array to reduce memory usage - by @hi-ogawa and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6541 <samp>(a6407)</samp>
- Fix dynamic import inside worker - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6569 <samp>(ea2d4)</samp>
- Fix browser mock factory event race condition - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6530 <samp>(f131f)</samp>
- Serve ui assets as static - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6564 <samp>(adcda)</samp>
- Update solidjs testing library lib - by @CamilleTeruel in https://github.com/vitest-dev/vitest/issues/6548 <samp>(91442)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Bug Fixes
- Move `Vitest.setServer` to post `configureServer` hook to enable import analysis for workspace config loading - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6584 [<samp>(e7f35)</samp>](https://github.com/vitest-dev/vitest/commit/e7f35214)
- **benchmark**:
- Clear `BenchmarkResult.samples` array to reduce memory usage - by @hi-ogawa and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6541 [<samp>(a6407)</samp>](https://github.com/vitest-dev/vitest/commit/a6407afc)
- **browser**:
- Fix dynamic import inside worker - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6569 [<samp>(ea2d4)</samp>](https://github.com/vitest-dev/vitest/commit/ea2d429b)
- Fix browser mock factory event race condition - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6530 [<samp>(f131f)</samp>](https://github.com/vitest-dev/vitest/commit/f131f93b)
- Serve ui assets as static - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6564 [<samp>(adcda)</samp>](https://github.com/vitest-dev/vitest/commit/adcdaee8)
- Update solidjs testing library lib - by @CamilleTeruel in https://github.com/vitest-dev/vitest/issues/6548 [<samp>(91442)</samp>](https://github.com/vitest-dev/vitest/commit/91442dfc)
- Use `data:` protocol on preview provider file upload - by @userquin in https://github.com/vitest-dev/vitest/issues/6501 [<samp>(e9821)</samp>](https://github.com/vitest-dev/vitest/commit/e9821f70)
- Fix base for client script - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6510 [<samp>(f9528)</samp>](https://github.com/vitest-dev/vitest/commit/f952874e)
- Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6570 [<samp>(383f1)</samp>](https://github.com/vitest-dev/vitest/commit/383f1791)
- **coverage**:
- Remove empty coverage folder on test failure too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6547 [<samp>(1371c)</samp>](https://github.com/vitest-dev/vitest/commit/1371ca6a)
- Include `*.astro` by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6565 [<samp>(f8ff7)</samp>](https://github.com/vitest-dev/vitest/commit/f8ff76a9)
- `cleanOnRerun: false` to invalidate previous results - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6592 [<samp>(88bde)</samp>](https://github.com/vitest-dev/vitest/commit/88bde99c)
- **expect**:
- Fix `toBeDefined` with `expect.poll` - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6562 [<samp>(f7da6)</samp>](https://github.com/vitest-dev/vitest/commit/f7da6199)
- **forks**:
- Fix `--cpu-prof` and `--heap-prof` not working by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/pull/6555 [<samp>(2e4d894)</samp>](https://github.com/vitest-dev/vitest/commit/2e4d894)
- **runner**:
- Mark tests as skipped when `beforeAll` failed - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6524 [<samp>(fb797)</samp>](https://github.com/vitest-dev/vitest/commit/fb79792d)
- Support fixture parsing of lowered async syntax - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6531 [<samp>(b553c)</samp>](https://github.com/vitest-dev/vitest/commit/b553c7d6)
- Fix fixture parsing of lowered async syntax for non arrow functions - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6575 [<samp>(3de00)</samp>](https://github.com/vitest-dev/vitest/commit/3de00ab6)
- Guard test hook callback - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6604 [<samp>(14971)</samp>](https://github.com/vitest-dev/vitest/commit/1497134e)
- Run `onTestFinished` and `onTestFailed` during `retry` and `repeats` - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6609 [<samp>(c5e29)</samp>](https://github.com/vitest-dev/vitest/commit/c5e29098)
- **ui**:
- List tests on ui when `--standalone` - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6577 [<samp>(d0bf8)</samp>](https://github.com/vitest-dev/vitest/commit/d0bf89d3)
- **vite-node**:
- Fix esm false-detection inside comment - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6506 [<samp>(91f85)</samp>](https://github.com/vitest-dev/vitest/commit/91f85997)
- **vitest**:
- Install dependencies with the same version when prompted - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6611 [<samp>(ed8b7)</samp>](https://github.com/vitest-dev/vitest/commit/ed8b7c08)
- Make env.SSR consistent between different pools - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6616 [<samp>(8a8d3)</samp>](https://github.com/vitest-dev/vitest/commit/8a8d3f03)
- Don't start a websocket server if api is disabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6617 [<samp>(82140)</samp>](https://github.com/vitest-dev/vitest/commit/821400b8)
- **workspace**:
- Fix glob pattern detection - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6502 [<samp>(7727c)</samp>](https://github.com/vitest-dev/vitest/commit/7727ca87)
- Ignore DS_Store by default - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6571 [<samp>(d2a86)</samp>](https://github.com/vitest-dev/vitest/commit/d2a86ff5)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2)