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

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

## New Features
- Throw error if using inline snapshot inside of `test.each` or `describe.each` &nbsp;-&nbsp; by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3360 <samp>(7c2f7)</samp>
- Pass down meta information to Node.js process &nbsp;-&nbsp; by @sheremet-va and @dammy001 in https://github.com/vitest-dev/vitest/issues/3449 <samp>(e39ad)</samp>
- **coverage**: Add `reportOnFailure` option &nbsp;-&nbsp; by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3453 <samp>(1988f)</samp>
- **dev**: Add moduleDirectories option to the vitest config &nbsp;-&nbsp; by @fooddilsn and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3337 <samp>(b3602)</samp>

## Bug Fixes
- Don't print empty diff &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3437 <samp>(32b53)</samp>
- Don't restore methods in automocked dependencies &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3438 <samp>(d1afd)</samp>
- Dot reporter scrollback buffer spam &nbsp;-&nbsp; by @gtm-nayan in https://github.com/vitest-dev/vitest/issues/3415 <samp>(e6792)</samp>
- Gracefully exit when first `SIGINT` is received &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3407 <samp>(a2cc2)</samp>
- `rejects` & `resolves` breaks with thenable objects &nbsp;-&nbsp; by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3456 <samp>(4e996)</samp>
- Prevent `birpc` timeouts when `Math.random` mock is not restored &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3460 <samp>(cd5d5)</samp>
