From e46ea84fa7e338454262446047974ed050828f33 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Tue, 6 Oct 2026 17:48:37 +0200 Subject: [PATCH] chore: update versions --- docs/config/experimental.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/experimental.md b/docs/config/experimental.md index b2d584e6e..7f69e71b9 100644 --- a/docs/config/experimental.md +++ b/docs/config/experimental.md @@ -355,7 +355,7 @@ Provider for detecting changed files. Used with the [`--changed`](/guide/cli#cha Vitest has two built-in providers: - `'git'` returns the files that differ from the `--changed` reference, plus staged and untracked files. -- `'mtime'` 5.0.4 returns the recorded dependencies whose modification time is newer than the run that recorded them, and deleted dependencies. It needs [`experimental.recordDependencies`](#experimental-recorddependencies): a dependency without a record is always reported as changed, so every test runs until the records exist. It does not need Git and ignores the `--changed` reference. A `--changed` run updates the records of the tests it ran, so the next `--changed` run selects only the tests whose dependencies changed since. +- `'mtime'` 5.1.0 returns the recorded dependencies whose modification time is newer than the run that recorded them, and deleted dependencies. It needs [`experimental.recordDependencies`](#experimental-recorddependencies): a dependency without a record is always reported as changed, so every test runs until the records exist. It does not need Git and ignores the `--changed` reference. A `--changed` run updates the records of the tests it ran, so the next `--changed` run selects only the tests whose dependencies changed since. ```ts [vitest.config.ts] import { defineConfig } from 'vitest/config' @@ -417,7 +417,7 @@ export default { } ``` -## experimental.recordDependencies 5.0.4 {#experimental-recorddependencies} +## experimental.recordDependencies 5.1.0 {#experimental-recorddependencies} - **Type:** `boolean` - **Default:** `false` -- 2.51.2