# vitest/release
Vitest v5.1.0
importance: highfeature
Vitest 5.1.0 adds test selection and rerun controls, expanded timer and Temporal support, and improved inspection of retries and snapshots. Browser testing gains module mocking through import maps, richer trace views, and an experimental pointer API; the release also includes fixes for test execution, mocking, configuration, and browser behavior.
affected
Vitest users may benefit from the new test selection, timing, retry-inspection, and browser-testing capabilities; the notes do not describe required upgrade changes.
release_signals
+Add `--last-failed` to run only failed tests and `--since-last-run` to select tests based on the previous run.
+Support `Temporal.Instant` and `Temporal.ZonedDateTime` in `vi.setSystemTime()`, and fake timers for `node:timers` and `node:timers/promise`.
+Expose per-retry/repeat attempt results and interactively review failed snapshots.
+Browser: mock modules through an import map; add trace-view features including failure-only mode, aria snapshots, and terminal trace timelines.
+Browser: introduce an experimental `pointer` API; V8 coverage adds support for the `ignoreNode` option.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.