Impact Score: 5/10
Vitest v0.4.0 โ 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 v0.4.0. Source highlight: fix error if toMatchInlineSnapshot is called on resolves/rejects (#773) (6d19bf7)
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.
โจ New Features & Capabilities (3)
- add VITEST_WORKER_ID env (#774) (b656f8d)
- allow reassigning `define` globals (#769) (15ea3a3)
- coverage threshold (#783) (b068b44)
๐ง Bug Fixes & Patches (4)
- fix error if toMatchInlineSnapshot is called on resolves/rejects (#773) (6d19bf7)
- flush coverage after every test file (fix #771) (#776) (7611178)
- put envs from .env files on process.env (#770) (1623b3c)
- set mode before running Vite (#775) (c98355a)
๐ View Raw Release Notes (Original Developer Log)
### Bug Fixes
* fix error if toMatchInlineSnapshot is called on resolves/rejects ([#773](https://github.com/vitest-dev/vitest/issues/773)) ([6d19bf7](https://github.com/vitest-dev/vitest/commit/6d19bf7))
* flush coverage after every test file (fix [#771](https://github.com/vitest-dev/vitest/issues/771)) ([#776](https://github.com/vitest-dev/vitest/issues/776)) ([7611178](https://github.com/vitest-dev/vitest/commit/7611178))
* put envs from .env files on process.env ([#770](https://github.com/vitest-dev/vitest/issues/770)) ([1623b3c](https://github.com/vitest-dev/vitest/commit/1623b3c))
* set mode before running Vite ([#775](https://github.com/vitest-dev/vitest/issues/775)) ([c98355a](https://github.com/vitest-dev/vitest/commit/c98355a))
### Features
* add VITEST_WORKER_ID env ([#774](https://github.com/vitest-dev/vitest/issues/774)) ([b656f8d](https://github.com/vitest-dev/vitest/commit/b656f8d))
* allow reassigning `define` globals ([#769](https://github.com/vitest-dev/vitest/issues/769)) ([15ea3a3](https://github.com/vitest-dev/vitest/commit/15ea3a3))
* coverage threshold ([#783](https://github.com/vitest-dev/vitest/issues/783)) ([b068b44](https://github.com/vitest-dev/vitest/commit/b068b44))