Impact Score: 5/10
Vitest v4.0.18 โ 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 v4.0.18. Source highlight: ๐ Experimental Features
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 (1)
- **experimental**: Add `onModuleRunner` hook to `worker.init` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9286 <samp>(ea837)</samp>
๐ง Bug Fixes & Patches (3)
- Use `meta.url` in `createRequire` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9441 <samp>(e0572)</samp>
- **browser**: Hide injected data-testid attributes - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9503 <samp>(f8989)</samp>
- **ui**: Process artifact attachments when generating HTML reporter - by @macarie in https://github.com/vitest-dev/vitest/issues/9472 <samp>(22543)</samp>
๐ View Raw Release Notes (Original Developer Log)
### ๐ Experimental Features
- **experimental**: Add `onModuleRunner` hook to `worker.init` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9286 [<samp>(ea837)</samp>](https://github.com/vitest-dev/vitest/commit/ea837de7d)
### ๐ Bug Fixes
- Use `meta.url` in `createRequire` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9441 [<samp>(e0572)</samp>](https://github.com/vitest-dev/vitest/commit/e057281ca)
- **browser**: Hide injected data-testid attributes - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9503 [<samp>(f8989)</samp>](https://github.com/vitest-dev/vitest/commit/f89899cd8)
- **ui**: Process artifact attachments when generating HTML reporter - by @macarie in https://github.com/vitest-dev/vitest/issues/9472 [<samp>(22543)</samp>](https://github.com/vitest-dev/vitest/commit/225435647)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.17...v4.0.18)