# Vitest v0.31.0 — Release & Upgrade Intelligence
- **Product:** Vitest (https://vitest.dev)
- **Version:** v0.31.0
- **Released:** May 03, 2023
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/vitest/updates/v0.31.0/

## Executive Summary (TL;DR)
Vitest v0.31.0. Source highlight: &nbsp;&nbsp;&nbsp;🚨 Breaking Changes

## Breaking Changes & Deprecations
- &nbsp;&nbsp;&nbsp;🚨 Breaking Changes - Remove `browser` from allowed pools inside `poolMatchGlob` config option. Please, use Vitest workspaces for running tests in the browser.

## New Features
- Update mock implementation to support ESM runtime, introduce "vi.hoisted" &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3258 <samp>(0c09a)</samp>
- Bypass ESM import order restriction with `vi.hoisted` to run code before imports are executed:
- Add repeat method to tests &nbsp;-&nbsp; by @samkevin1 in https://github.com/vitest-dev/vitest/issues/2652 <samp>(7c8f0)</samp>
- Add an option to hide skipped test lines &nbsp;-&nbsp; by @g4rry420 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2745 <samp>(9bdb1)</samp>
- **coverage**: Watermarks for c8 &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3254 <samp>(730af)</samp>
- **ui**: Add html coverage &nbsp;-&nbsp; by @userquin and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3071 <samp>(e24cd)</samp>

## Bug Fixes
- Don't call global setup teardown twice &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3188 <samp>(ba3d1)</samp>
- Reporter to log version before provider initalizations &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3131 <samp>(481b1)</samp>
- Throw an error if Vitest cannot access its internal state &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3250 <samp>(fbb14)</samp>
- Warning suppression broken &nbsp;-&nbsp; by @IceQub3 in https://github.com/vitest-dev/vitest/issues/3270 and https://github.com/vitest-dev/vitest/issues/3271 <samp>(036de)</samp>
- Show correct diff in "toHaveBeenCalledWith" &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3289 <samp>(19fcd)</samp>
- Don't print esm warning, if package name is not found &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3292 <samp>(62c14)</samp>
