# Vitest v2.0.4 — Release & Upgrade Intelligence
- **Product:** Vitest (https://vitest.dev)
- **Version:** v2.0.4
- **Released:** Jul 22, 2024
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/vitest/updates/v2.0.4/

## Executive Summary (TL;DR)
Vitest v2.0.4. Source highlight: &nbsp;&nbsp;&nbsp;🐞 Bug Fixes

## Bug Fixes
- One-line environment options &nbsp;-&nbsp; by @hahanein in https://github.com/vitest-dev/vitest/issues/5105 <samp>(38269)</samp>
- Resolve assets imported with `require` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6159 <samp>(807a2)</samp>
- Don't panic if @vitest/browser is installed outside of project root &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6135 <samp>(ccfcd)</samp>
- Set global filepath &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6190 <samp>(0d0b4)</samp>
- Allow preview and open in the editor screenshot error from ui &nbsp;-&nbsp; by @userquin in https://github.com/vitest-dev/vitest/issues/6113 <samp>(2d620)</samp>
- Global thresholds to include files from glob thresholds &nbsp;-&nbsp; by @thor-juhasz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6172 <samp>(02e3f)</samp>
