Vitest v2.0.5stable Released Jul 31, 2024
Impact Score: 5/10

Vitest v2.0.5 โ€” 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.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Vitest v2.0.5. Source highlight:    ๐Ÿš€ 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 (2)

  • Introduce experimental reported tasks &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6149 <samp>(13d85)</samp>
  • This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go!

๐Ÿ”ง Bug Fixes & Patches (6)

  • Show a difference between string characters if both values are strings &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6191 <samp>(29176)</samp>
  • `testNamePattern` adds leading space &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6186 <samp>(073a5)</samp>
  • Don't bundle `afterEach` cleanup hooks in node entrypoint &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6192 <samp>(e6fbc)</samp>
  • UserEvent.setup initiates a separate state for userEvent instance &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6088 <samp>(883f3)</samp>
  • Correctly import optimized module in vi.importActual &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6219 <samp>(804ff)</samp>
  • Passing options to hover/unhover &nbsp;-&nbsp; by @MNeverOff in https://github.com/vitest-dev/vitest/issues/6175 <samp>(d4c00)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - Introduce experimental reported tasks &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6149 [<samp>(13d85)</samp>](https://github.com/vitest-dev/vitest/commit/13d85bd1) - This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go! ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Show a difference between string characters if both values are strings &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6191 [<samp>(29176)</samp>](https://github.com/vitest-dev/vitest/commit/291766d7) - `testNamePattern` adds leading space &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6186 [<samp>(073a5)</samp>](https://github.com/vitest-dev/vitest/commit/073a50c9) - **browser**: - Don't bundle `afterEach` cleanup hooks in node entrypoint &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6192 [<samp>(e6fbc)</samp>](https://github.com/vitest-dev/vitest/commit/e6fbc620) - UserEvent.setup initiates a separate state for userEvent instance &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6088 [<samp>(883f3)</samp>](https://github.com/vitest-dev/vitest/commit/883f3482) - Correctly import optimized module in vi.importActual &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6219 [<samp>(804ff)</samp>](https://github.com/vitest-dev/vitest/commit/804ff2fd) - Passing options to hover/unhover &nbsp;-&nbsp; by @MNeverOff in https://github.com/vitest-dev/vitest/issues/6175 [<samp>(d4c00)</samp>](https://github.com/vitest-dev/vitest/commit/d4c005bc) - Improve unique CSS selector generation &nbsp;-&nbsp; by @zacharyvoase and **Zack Voase** in https://github.com/vitest-dev/vitest/issues/6243 [<samp>(e7acd)</samp>](https://github.com/vitest-dev/vitest/commit/e7acd0cf) - **vitest**: - Remove nuxt from auto inline deps &nbsp;-&nbsp; by @sheremet-va [<samp>(93882)</samp>](https://github.com/vitest-dev/vitest/commit/93882f38) - Improve `defineProject` and `defineWorkspace` types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6198 [<samp>(8cd82)</samp>](https://github.com/vitest-dev/vitest/commit/8cd8272b) - Correctly resolve mocked `node:*` imports in `__mocks__` folder &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6204 [<samp>(a48be)</samp>](https://github.com/vitest-dev/vitest/commit/a48be6ff) - **web-worker**: - Expose globals on self &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6170 [<samp>(12bb5)</samp>](https://github.com/vitest-dev/vitest/commit/12bb567e) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.4...v2.0.5)