Vitest v2.1.3stable Released Oct 14, 2024
Impact Score: 5/10

Vitest v2.1.3 โ€” 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.1.3. Source highlight:    ๐Ÿž Bug Fixes

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.

โšก Performance & Enhancements (1)

  • Reuse full name in reported tasks, update generator types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6666 <samp>(7a0de)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • Fix error diff of `toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 <samp>(e0027)</samp>
  • Provide aria role intellisense &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6629 <samp>(f36ea)</samp>
  • Not.toBeInTheDocument works with locators API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6634 <samp>(8bef5)</samp>
  • Use `/mockServiceWorker.js` instead of `/__vitest_msw__` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6687 <samp>(4b2ce)</samp>
  • Don't override the esbuild option in the browser mode &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6692 <samp>(d131f)</samp>
  • Preserve prototype in `toMatchObject` diff &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6620 <samp>(d289e)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Fix error diff of `toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 [<samp>(e0027)</samp>](https://github.com/vitest-dev/vitest/commit/e002758c) - **browser**: - Provide aria role intellisense &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6629 [<samp>(f36ea)</samp>](https://github.com/vitest-dev/vitest/commit/f36eac77) - Not.toBeInTheDocument works with locators API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6634 [<samp>(8bef5)</samp>](https://github.com/vitest-dev/vitest/commit/8bef5d2b) - Use `/mockServiceWorker.js` instead of `/__vitest_msw__` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6687 [<samp>(4b2ce)</samp>](https://github.com/vitest-dev/vitest/commit/4b2ce07f) - Don't override the esbuild option in the browser mode &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6692 [<samp>(d131f)</samp>](https://github.com/vitest-dev/vitest/commit/d131fd64) - **expect**: - Preserve prototype in `toMatchObject` diff &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6620 [<samp>(d289e)</samp>](https://github.com/vitest-dev/vitest/commit/d289e7eb) - **mocker**: - Specify correct spy dependency &nbsp;-&nbsp; by @sheremet-va [<samp>(7e958)</samp>](https://github.com/vitest-dev/vitest/commit/7e9584aa) - **runner**: - Ensure sequential suite overrides sequence.concurrent &nbsp;-&nbsp; by @dsyddall and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6653 [<samp>(5e6de)</samp>](https://github.com/vitest-dev/vitest/commit/5e6de274) - **vitest**: - Deprecate UserConfig in favor of ViteUserConfig &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6626 [<samp>(496bd)</samp>](https://github.com/vitest-dev/vitest/commit/496bd251) - Don't hang with maxConcurrency 0 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6627 [<samp>(946d8)</samp>](https://github.com/vitest-dev/vitest/commit/946d8bb1) - Deprecate old task types and node-reliant types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6632 [<samp>(00045)</samp>](https://github.com/vitest-dev/vitest/commit/000459a9) - Fix `<empty line>` logs when interleaving `console.log/error` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6644 [<samp>(9ece3)</samp>](https://github.com/vitest-dev/vitest/commit/9ece3952) - Show rollup error details as test error &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6686 [<samp>(47dde)</samp>](https://github.com/vitest-dev/vitest/commit/47dde76f) - Always inline setup files &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6689 [<samp>(19d64)</samp>](https://github.com/vitest-dev/vitest/commit/19d64e20) - Use `fast-glob` instead of `tinyglobby` in Vitest &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6688 [<samp>(70baa)</samp>](https://github.com/vitest-dev/vitest/commit/70baaaa9) - **web-worker**: - Share mocker with main executor &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6623 [<samp>(fe7b8)</samp>](https://github.com/vitest-dev/vitest/commit/fe7b8aee) ### &nbsp;&nbsp;&nbsp;๐ŸŽ Performance - Reuse full name in reported tasks, update generator types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6666 [<samp>(7a0de)</samp>](https://github.com/vitest-dev/vitest/commit/7a0de0a7) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.1.2...v2.1.3)