Vitest v1.6.0stable Released May 03, 2024
Impact Score: 5/10

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

  • Support standalone mode &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5565 <samp>(bdce0)</samp>
  • Custom "snapshotEnvironment" option &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5449 <samp>(30f72)</samp>
  • **benchmark**: Support comparing benchmark result &nbsp;-&nbsp; by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5398 <samp>(f8d3d)</samp>
  • **browser**: Allow injecting scripts &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5656 <samp>(21e58)</samp>
  • **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5659 <samp>(2f913)</samp>
  • **ui**: Sort items by file name &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/5652 <samp>(1f726)</samp>

โšก Performance & Enhancements (2)

  • Improve performance of forks pool &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5592 <samp>(d8304)</samp>
  • Unnecessary rpc call when coverage is disabled &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5658 <samp>(c5712)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • Keep order of arguments for .each in custom task collectors &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5640 <samp>(7d57c)</samp>
  • Call `resolveId('vitest')` after `buildStart` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5646 <samp>(f5faf)</samp>
  • Hash the name of the file when caching &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5654 <samp>(c9e68)</samp>
  • Don't panic on empty files in node_modules &nbsp;-&nbsp; by @sheremet-va <samp>(40c29)</samp>
  • Use `toJSON` for error serialization &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5526 <samp>(19a21)</samp>
  • Exclude `*.test-d.*` by default &nbsp;-&nbsp; by @MindfulPol in https://github.com/vitest-dev/vitest/issues/5634 <samp>(bfe8a)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - Support standalone mode &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result &nbsp;-&nbsp; by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Keep order of arguments for .each in custom task collectors &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules &nbsp;-&nbsp; by @sheremet-va [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default &nbsp;-&nbsp; by @MindfulPol in https://github.com/vitest-dev/vitest/issues/5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ### &nbsp;&nbsp;&nbsp;๐ŸŽ Performance - Improve performance of forks pool &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)