# Vitest v5.1.0-beta.1 — Release & Upgrade Intelligence
- **Product:** Vitest (https://vitest.dev)
- **Version:** v5.1.0-beta.1
- **Released:** Oct 19, 2026
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/vitest/updates/v5.1.0-beta.1/

## Executive Summary (TL;DR)
Vitest v5.1.0-beta.1. Source highlight: &nbsp;&nbsp;&nbsp;🚀 Features

## New Features
- Add `--last-failed` to run only failed tests &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11558 <samp>(82f63)</samp>
- Support `Temporal.Instant` and `Temporal.ZonedDateTime` in `vi.setSystemTime()` &nbsp;-&nbsp; by @Prajwal2246, **Prajwal2246**, **Claude Opus 5.5**, **Hiroshi Ogawa** and **Codex (GPT-6)** in https://github.com/vitest-dev/vitest/issues/11321 <samp>(f150f)</samp>
- Introduce `--since-last-run` flag &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11516 <samp>(08bd9)</samp>
- Expose per-retry/repeat attempt result &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa**, **Codex (GPT-6)** and **Claude Opus 5.5** in https://github.com/vitest-dev/vitest/issues/11232 <samp>(21be4)</samp>
- Support fake timers for `node:timers` and `node:timers/promise` &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa**, **OpenCode** and **Codex (GPT-6)** in https://github.com/vitest-dev/vitest/issues/10899 <samp>(fbe97)</samp>
- Mock modules through an import map &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11534 <samp>(707f8)</samp>

## Improvements
- Reuse fsModuleCache in static collection &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11622 <samp>(1766c)</samp>
- **browser**: Map only first frame for trace locations &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa** and **Claude Opus 5.5** in https://github.com/vitest-dev/vitest/issues/11613 <samp>(a967d)</samp>

## Bug Fixes
- Rerun setup files after `--changed` filtering &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11621 <samp>(3a39c)</samp>
- Return the mock to concurrent imports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11623 <samp>(1453b)</samp>
- Don&#39;t fail on console log pending at teardown &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11619 <samp>(a60b8)</samp>
- Reference chai types in every d.ts chunk &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11618 <samp>(fb150)</samp>
- Change default port to 23315 &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa** and **Claude Opus 5.5** in https://github.com/vitest-dev/vitest/issues/11640 <samp>(a2ec4)</samp>
- Advance fake timers in actions and expect.element &nbsp;-&nbsp; by @julienw, **Hiroshi Ogawa** and **Claude Opus 5.5** in https://github.com/vitest-dev/vitest/issues/11242 <samp>(68190)</samp>
