Vitest v1.2.0stable Released Jan 12, 2024
Impact Score: 5/10

Vitest v1.2.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.2.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 case-insensitive path matching in cli &nbsp;-&nbsp; by @tigranmk in https://github.com/vitest-dev/vitest/issues/3567 and https://github.com/vitest-dev/vitest/issues/4911 <samp>(1326c)</samp>
  • Add typeahead search &nbsp;-&nbsp; by @bonyuta0204 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4275 and https://github.com/vitest-dev/vitest/issues/4733 <samp>(480d8)</samp>
  • Add syntax highlighting to error messages &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4813 <samp>(8c969)</samp>
  • Allow extending toEqual &nbsp;-&nbsp; by @tigranmk and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2875 and https://github.com/vitest-dev/vitest/issues/4880 <samp>(463be)</samp>
  • Custom reporter support &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4828 <samp>(96dc6)</samp>
  • Show unhandled errors on the ui &nbsp;-&nbsp; by @spiroka and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4380 <samp>(7f59a)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • Support vite config `server.headers` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 <samp>(55f53)</samp>
  • Fix `testNamePattern` config &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 <samp>(4add9)</samp>
  • Fix updating snapshot during watch mode &nbsp;-&nbsp; by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4867 <samp>(508fc)</samp>
  • Remove redundant test failure logging &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4891 <samp>(7fd44)</samp>
  • Window.close() for environment teardown &nbsp;-&nbsp; by @capricorn86 in https://github.com/vitest-dev/vitest/issues/4931 <samp>(91719)</samp>
  • Fix `objDisplay` default truncate option for `test.each` title &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 <samp>(9ae9d)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - Support case-insensitive path matching in cli &nbsp;-&nbsp; by @tigranmk in https://github.com/vitest-dev/vitest/issues/3567 and https://github.com/vitest-dev/vitest/issues/4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search &nbsp;-&nbsp; by @bonyuta0204 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4275 and https://github.com/vitest-dev/vitest/issues/4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual &nbsp;-&nbsp; by @tigranmk and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2875 and https://github.com/vitest-dev/vitest/issues/4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui &nbsp;-&nbsp; by @spiroka and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - **browser**: - Support vite config `server.headers` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode &nbsp;-&nbsp; by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown &nbsp;-&nbsp; by @capricorn86 in https://github.com/vitest-dev/vitest/issues/4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)