# Vitest v0.34.5 — Release & Upgrade Intelligence
- **Product:** Vitest (https://vitest.dev)
- **Version:** v0.34.5
- **Released:** Sep 21, 2023
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/vitest/updates/v0.34.5/

## Executive Summary (TL;DR)
Vitest v0.34.5. Source highlight: &nbsp;&nbsp;&nbsp;🚀 Features

## New Features
- 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>

## Improvements
- 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
- 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>
