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

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

## New Features
- **watch**: Press `r` should rerun current pattern tests &nbsp;-&nbsp; by @Dunqing and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3305 <samp>(69d27)</samp>

## Bug Fixes
- Make sure thrown error is an object &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3298 <samp>(a93be)</samp>
- Remove duplicate type &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3303 <samp>(5382e)</samp>
- Throw an error, if tests are collected with a different vitest version &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3301 <samp>(708b1)</samp>
- Support application/x-gzip metadata in html report &nbsp;-&nbsp; by @mzanelee and **Michael Lee** in https://github.com/vitest-dev/vitest/issues/3333 <samp>(5bf7e)</samp>
- Correctly restore vi.fn implementation &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3341 <samp>(2aff8)</samp>
- Display error message correctly &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/3314 <samp>(a5b3d)</samp>
