# Vitest v5.1.1 - Release & Upgrade Intelligence
- **Product:** Vitest (https://vitest.dev)
- **Version:** v5.1.1
- **Released:** Nov 17, 2026
- **Impact Score:** 4/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/vitest/updates/v5.1.1/

## Executive Summary (TL;DR)
Vitest v5.1.1 introduces environment variable support for fs module caching and addresses critical stability issues across worker pool management and test execution. These updates improve reliability for complex test suites and browser-based testing environments.

## New Features
- Added fs module cache environment variables

## Improvements
- Optimized source map transmission to workers
- Improved CLI file filter resolution performance
- Reused cached modules in browser mode
- Improved diffs for asymmetric matchers

## Bug Fixes
- Fixed rerun on file changes after config restart
- Corrected fixture teardown and context leakage issues
- Improved worker lifecycle management including stuck orphan termination
- Fixed CLI --bail parsing
- Enhanced V8 coverage reporting for sub-processes
- Improved spy support for built-in modules using primordials
