Vitest v1.5.0stable Released Apr 11, 2024
Impact Score: 5/10

Vitest v1.5.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.

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

Vitest v1.5.0. 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 (4)

  • Add configuration for diff truncation &nbsp;-&nbsp; by @willieho in https://github.com/vitest-dev/vitest/issues/5073 and https://github.com/vitest-dev/vitest/issues/5333 <samp>(6797b)</samp>
  • Remove unrelated noise from diff for toMatchObject() &nbsp;-&nbsp; by @geersch in https://github.com/vitest-dev/vitest/issues/5364 <samp>(99276)</samp>
  • Allow custom host for --inspect and --inspect-brk &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5509 <samp>(61572)</samp>
  • **coverage**: V8 to ignore empty lines, comments, types &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5457 <samp>(10b89)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • `describe` calls not taking generic type parameters &nbsp;-&nbsp; by @aryaemami59 in https://github.com/vitest-dev/vitest/issues/5415 <samp>(16bac)</samp>
  • Prevent hang when `process` is mocked &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5430 <samp>(0ec4d)</samp>
  • Don't check for "node:internal/console/" in console interceptor in case the environment is not Node.js &nbsp;-&nbsp; by @sheremet-va <samp>(87d36)</samp>
  • The value received by toMatch should be a string &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/5428 <samp>(67485)</samp>
  • Increase stack trace limit for location, don't hardcode suite position &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5518 <samp>(04b23)</samp>
  • Run benchmark suites sequentially &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5444 <samp>(1f548)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - Add configuration for diff truncation &nbsp;-&nbsp; by @willieho in https://github.com/vitest-dev/vitest/issues/5073 and https://github.com/vitest-dev/vitest/issues/5333 [<samp>(6797b)</samp>](https://github.com/vitest-dev/vitest/commit/6797b041) - Remove unrelated noise from diff for toMatchObject() &nbsp;-&nbsp; by @geersch in https://github.com/vitest-dev/vitest/issues/5364 [<samp>(99276)</samp>](https://github.com/vitest-dev/vitest/commit/99276399) - Allow custom host for --inspect and --inspect-brk &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5509 [<samp>(61572)</samp>](https://github.com/vitest-dev/vitest/commit/6157282c) - **coverage**: V8 to ignore empty lines, comments, types &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5457 [<samp>(10b89)</samp>](https://github.com/vitest-dev/vitest/commit/10b89713) ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - `describe` calls not taking generic type parameters &nbsp;-&nbsp; by @aryaemami59 in https://github.com/vitest-dev/vitest/issues/5415 [<samp>(16bac)</samp>](https://github.com/vitest-dev/vitest/commit/16bacfab) - Prevent hang when `process` is mocked &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5430 [<samp>(0ec4d)</samp>](https://github.com/vitest-dev/vitest/commit/0ec4d0e0) - Don't check for "node:internal/console/" in console interceptor in case the environment is not Node.js &nbsp;-&nbsp; by @sheremet-va [<samp>(87d36)</samp>](https://github.com/vitest-dev/vitest/commit/87d36a7a) - The value received by toMatch should be a string &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/5428 [<samp>(67485)</samp>](https://github.com/vitest-dev/vitest/commit/674851ca) - Increase stack trace limit for location, don't hardcode suite position &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5518 [<samp>(04b23)</samp>](https://github.com/vitest-dev/vitest/commit/04b234d1) - **benchmark**: - Run benchmark suites sequentially &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5444 [<samp>(1f548)</samp>](https://github.com/vitest-dev/vitest/commit/1f548340) - Fix benchmark summary of single bench suite &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5489 [<samp>(db981)</samp>](https://github.com/vitest-dev/vitest/commit/db98145f) - Table reporter for non TTY output &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5484 [<samp>(bea23)</samp>](https://github.com/vitest-dev/vitest/commit/bea234b1) - **expect**: - Fix `toHaveBeenNthCalledWith` error message when not called &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5420 [<samp>(e5253)</samp>](https://github.com/vitest-dev/vitest/commit/e5253de4) - **types**: - Pass correct type for suite factory &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5437 [<samp>(26718)</samp>](https://github.com/vitest-dev/vitest/commit/26718eb5) - **utils**: - Fix object diff with getter only property &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5466 [<samp>(366d9)</samp>](https://github.com/vitest-dev/vitest/commit/366d97c3) - **vite-node**: - Fix `isValidNodeImport` to check `"type": "module"` first &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5416 [<samp>(6fb15)</samp>](https://github.com/vitest-dev/vitest/commit/6fb15280) - **vitest**: - Correctly send console events when state changes &nbsp;-&nbsp; by @sheremet-va [<samp>(3463f)</samp>](https://github.com/vitest-dev/vitest/commit/3463f9bb) - Initiate FakeTimers on demand &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5450 [<samp>(e4e93)</samp>](https://github.com/vitest-dev/vitest/commit/e4e939ba) - Check unhighlighted code for code frame line limit &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5465 [<samp>(6ae7e)</samp>](https://github.com/vitest-dev/vitest/commit/6ae7eaa2) - Correctly filter by parent folder &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5408 [<samp>(91b06)</samp>](https://github.com/vitest-dev/vitest/commit/91b06cce) - Close inspector immediately if run is canceled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5519 [<samp>(b8006)</samp>](https://github.com/vitest-dev/vitest/commit/b80062d7) - **workspace**: - Set CWD to config directory, allow overriding local .env &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5476 [<samp>(d4003)</samp>](https://github.com/vitest-dev/vitest/commit/d4003882) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)