Vitest v0.34.5stable Released Sep 21, 2023
Impact Score: 5/10

Vitest v0.34.5 โ€” 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.5. 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 (5)

  • Add `diff` option &nbsp;-&nbsp; by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4063 <samp>(b50cf)</samp>
  • Add `coverage['100']` to istanbul provider &nbsp;-&nbsp; by @marcelobotega in https://github.com/vitest-dev/vitest/issues/4109 <samp>(a7e09)</samp>
  • Support `vi.waitFor` method &nbsp;-&nbsp; by @Dunqing and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4113 <samp>(d79cb)</samp>
  • Allow using unprocessed environment files &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4098 <samp>(1aee1)</samp>
  • Support `vi.waitUntil` method &nbsp;-&nbsp; by @Dunqing and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4129 <samp>(e0ac9)</samp>

โšก Performance & Enhancements (1)

  • Use lazy require in vm pool &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4136 <samp>(21ba4)</samp>

๐Ÿ”ง Bug Fixes & Patches (6)

  • Update HappyDOMOptions to be compatible with v12 &nbsp;-&nbsp; by @anthonyblond in https://github.com/vitest-dev/vitest/issues/4135 <samp>(e8797)</samp>
  • Print value shape when .resolves and .rejects fails &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4137 <samp>(e649d)</samp>
  • Fix lint errors on onConsoleLog example &nbsp;-&nbsp; by @marcelobotega in https://github.com/vitest-dev/vitest/issues/4116 <samp>(ba1e7)</samp>
  • Improve the error message when nothing is thrown when testing `toThrow` &nbsp;-&nbsp; by @Dunqing in https://github.com/vitest-dev/vitest/issues/3979 <samp>(725a0)</samp>
  • Catch errors in happy-dom &nbsp;-&nbsp; by @capricorn86 in https://github.com/vitest-dev/vitest/issues/4140 <samp>(c21c0)</samp>
  • Restore leading space in `testNamePattern` &nbsp;-&nbsp; by @segrey in https://github.com/vitest-dev/vitest/issues/4103 and https://github.com/vitest-dev/vitest/issues/4104 <samp>(3c305)</samp>
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
### &nbsp;&nbsp;&nbsp;๐Ÿš€ Features - **config**: - Add `diff` option &nbsp;-&nbsp; by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4063 [<samp>(b50cf)</samp>](https://github.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider &nbsp;-&nbsp; by @marcelobotega in https://github.com/vitest-dev/vitest/issues/4109 [<samp>(a7e09)</samp>](https://github.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method &nbsp;-&nbsp; by @Dunqing and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4113 [<samp>(d79cb)</samp>](https://github.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4098 [<samp>(1aee1)</samp>](https://github.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method &nbsp;-&nbsp; by @Dunqing and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4129 [<samp>(e0ac9)</samp>](https://github.com/vitest-dev/vitest/commit/e0ac97cf) ### &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes - Update HappyDOMOptions to be compatible with v12 &nbsp;-&nbsp; by @anthonyblond in https://github.com/vitest-dev/vitest/issues/4135 [<samp>(e8797)</samp>](https://github.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4137 [<samp>(e649d)</samp>](https://github.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example &nbsp;-&nbsp; by @marcelobotega in https://github.com/vitest-dev/vitest/issues/4116 [<samp>(ba1e7)</samp>](https://github.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` &nbsp;-&nbsp; by @Dunqing in https://github.com/vitest-dev/vitest/issues/3979 [<samp>(725a0)</samp>](https://github.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom &nbsp;-&nbsp; by @capricorn86 in https://github.com/vitest-dev/vitest/issues/4140 [<samp>(c21c0)</samp>](https://github.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` &nbsp;-&nbsp; by @segrey in https://github.com/vitest-dev/vitest/issues/4103 and https://github.com/vitest-dev/vitest/issues/4104 [<samp>(3c305)</samp>](https://github.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test &nbsp;-&nbsp; by @Dunqing in https://github.com/vitest-dev/vitest/issues/4065 [<samp>(175c7)</samp>](https://github.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots &nbsp;-&nbsp; by @RobertPechaCZ in https://github.com/vitest-dev/vitest/issues/4118 [<samp>(01e01)</samp>](https://github.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff &nbsp;-&nbsp; by @so1ve and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3810 [<samp>(8c315)</samp>](https://github.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT &nbsp;-&nbsp; by @Dunqing in https://github.com/vitest-dev/vitest/issues/4128 [<samp>(ca70a)</samp>](https://github.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest &nbsp;-&nbsp; by @sheremet-va [<samp>(90ff8)</samp>](https://github.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4130 [<samp>(a084c)</samp>](https://github.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4096 [<samp>(b4d5a)</samp>](https://github.com/vitest-dev/vitest/commit/b4d5ae23) ### &nbsp;&nbsp;&nbsp;๐ŸŽ Performance - Use lazy require in vm pool &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4136 [<samp>(21ba4)</samp>](https://github.com/vitest-dev/vitest/commit/21ba4935) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5)