Vitest v0.34.2stable Released Aug 17, 2023
Impact Score: 5/10

Vitest v0.34.2 โ€” 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 v0.34.2. 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)

  • Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3880 <samp>(f4e6e)</samp>
  • **vitest**: Allow calling `ctx.skip()` inside the running test &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3966 <samp>(5c88d)</samp>

โšก Performance & Enhancements (1)

  • **dot-renderer**: Speed up getTests &nbsp;-&nbsp; by @gtm-nayan in https://github.com/vitest-dev/vitest/issues/3923 <samp>(e9404)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • Don't bundle utils' source-map entry &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3865 <samp>(a08e5)</samp>
  • Reduce the memory consumption when running --experimental-vm-threads &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3872 <samp>(d1a08)</samp>
  • Indicator position of error message &nbsp;-&nbsp; by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3855 <samp>(3e1e7)</samp>
  • Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3876 <samp>(0c53e)</samp>
  • Don't crash if total memory is not supported &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3879 <samp>(7d1f8)</samp>
  • Check memory and limit value &nbsp;-&nbsp; by @sheremet-va <samp>(f8dfb)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3880 [<samp>(f4e6e)</samp>](https://github.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3966 [<samp>(5c88d)</samp>](https://github.com/vitest-dev/vitest/commit/5c88d8e5) ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Don't bundle utils' source-map entry &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3865 [<samp>(a08e5)</samp>](https://github.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3872 [<samp>(d1a08)</samp>](https://github.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message &nbsp;-&nbsp; by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3855 [<samp>(3e1e7)</samp>](https://github.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3876 [<samp>(0c53e)</samp>](https://github.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3879 [<samp>(7d1f8)</samp>](https://github.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value &nbsp;-&nbsp; by @sheremet-va [<samp>(f8dfb)</samp>](https://github.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config &nbsp;-&nbsp; by @jellyfishgh in https://github.com/vitest-dev/vitest/issues/3931 [<samp>(3a3eb)</samp>](https://github.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work &nbsp;-&nbsp; by @Dunqing in https://github.com/vitest-dev/vitest/issues/3944 [<samp>(e73ca)</samp>](https://github.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3947 [<samp>(1c08d)</samp>](https://github.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3958 [<samp>(91fe4)</samp>](https://github.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3956 [<samp>(bcb41)</samp>](https://github.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name &nbsp;-&nbsp; by @antfu [<samp>(3073b)</samp>](https://github.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/3970 [<samp>(0f8e6)</samp>](https://github.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified &nbsp;-&nbsp; by @thebanjomatic and **Adam Hines** in https://github.com/vitest-dev/vitest/issues/3952 [<samp>(3891d)</samp>](https://github.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3960 [<samp>(9423b)</samp>](https://github.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly &nbsp;-&nbsp; by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3887 [<samp>(7b740)</samp>](https://github.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui &nbsp;-&nbsp; by @Dunqing in https://github.com/vitest-dev/vitest/issues/3945 [<samp>(35139)</samp>](https://github.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option &nbsp;-&nbsp; by @userquin in https://github.com/vitest-dev/vitest/issues/3917 [<samp>(6ecfc)</samp>](https://github.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env &nbsp;-&nbsp; by @danielroe in https://github.com/vitest-dev/vitest/issues/3951 [<samp>(edb32)</samp>](https://github.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3957 [<samp>(eca4b)</samp>](https://github.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob &nbsp;-&nbsp; by @g-plane in https://github.com/vitest-dev/vitest/issues/3802 and https://github.com/vitest-dev/vitest/issues/3949 [<samp>(15b4f)</samp>](https://github.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration &nbsp;-&nbsp; by @sheremet-va and **Raul de Melo** in https://github.com/vitest-dev/vitest/issues/3972 [<samp>(6a0cb)</samp>](https://github.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3950 [<samp>(a428f)</samp>](https://github.com/vitest-dev/vitest/commit/a428f8d4) ### &nbsp;&nbsp;&nbsp;๐ŸŽ Performance - **dot-renderer**: Speed up getTests &nbsp;-&nbsp; by @gtm-nayan in https://github.com/vitest-dev/vitest/issues/3923 [<samp>(e9404)</samp>](https://github.com/vitest-dev/vitest/commit/e94044d7) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2)