@vitest/ui breaking changes
Updated December 4, 2026
On this page
Latest version 5.1.2, released November 25, 2026. Source repository
Its 5.0.0-beta.3 release requires Node.js 22 or later. Node.js end of life dates.
- From 4.1.11 to 5.1.2: 28 breaking changes in 12 versions.
- From 3.0.0 to 5.1.2: 61 breaking changes in 16 versions.
@vitest/ui 5.1.2 breaking changes
- Behavior changed
--changed
The vitest related command now rejects the --changed option. Remove --changed from vitest related invocations. github.com
@vitest/ui 5.0.4 breaking changes
- Behavior changed
Runs that hit git or location filter errors now fail instead of passing silently. github.com - Behavior changed
maxWorkers
Vitest now opens fewer browser instances by default, so review any custom maxWorkers setting if performance changes. github.com - Default changed
fsModuleCache
Module caching on the file system is now on without configuration. Users who relied on the previous default may need to set the option explicitly. github.com
@vitest/ui 5.0.0 breaking changes
- Signature changed
default
Was const _default: (ctx: Vitest) => Vite.Plugin; now const _default: (harness: PluginHarness) => Vite.Plugin. npmjs.com
@vitest/ui 5.0.0-rc.4 breaking changes
- Behavior changed
vitest list
vitest list now parses files statically by default instead of loading them, which changes its output. github.com
@vitest/ui 5.0.0-rc.3 breaking changes
- Renamed
@vitest.istanbuljs
Coverage now uses the @vitest/istanbuljs packages, so imports of the previous istanbul packages must change. github.com
@vitest/ui 5.0.0-rc.1 breaking changes
- Behavior changed
Spy class mocks now preserve prototype methods on instances, which can change mock behavior. github.com - Behavior changed
Tests fail when an asynchronous assertion is not awaited; add await to such assertions. github.com - Behavior changed
Nested project configurations are now supported, which changes how projects are resolved. github.com - Behavior changed
Browser failure screenshots are now saved in attachmentsDir instead of the previous location. github.com - Behavior changed
Mocking Temporal no longer requires fake timers, so existing Temporal mock setups may behave differently. github.com - Behavior changed
Inline projects now share the Vite server, which changes how they run. github.com - Behavior changed
Types for expect and matchers now have better promise support, which can change type checking results. github.com - Default changed
Inline projects inherit the root config by default; projects that relied on not inheriting it must set the config explicitly. github.com - Configuration changed
-t
The -t filter now uses > as the separator, so filters using the previous syntax must be updated. github.com
Older versions
13 older versions, each with its first changes. Sign up to see every change
Show 13 older versions
@vitest/ui 5.0.0-beta.7 breaking changes
- Behavior changed
Config resolution is now separate from server creation, which changes how the Vitest configuration and server are set up; check code that relied on the previous order. github.com
@vitest/ui 5.0.0-beta.6 breaking changes
- Removed
The webdriverio package was removed from Vitest. Stop depending on it and migrate to another browser provider. github.com - Default changed
The html reporter now writes its default output to .vitest. Update any paths that expected the old output location. github.com
And 1 more in this version.
@vitest/ui 5.0.0-beta.5 breaking changes
- Behavior changed
Vitest no longer searches parent directories for a config file. Place the config file in the project root. github.com - Behavior changed
thresholds.perFile
thresholds.perFile now takes an object, so existing configs using the previous form may need updating. github.com
@vitest/ui 5.0.0-beta.4 breaking changes
- Behavior changed
toHaveTextContent
toHaveTextContent is now strict; use toMatchTextContent for the previous lenient matching. github.com - Default changed
locators.exact
locators.exact is now enabled by default in browser mode. Adjust locator queries that relied on partial matching. github.com
@vitest/ui 5.0.0-beta.3 breaking changes
- Behavior changed
expect.poll
expect.poll now fails the test when the function did not resolve in time instead of passing silently. github.com - Configuration changed
Vitest now requires Node.js 22 and Vite 6.4 or later. Upgrade Node.js and Vite before updating. github.com
@vitest/ui 5.0.0-beta.2 breaking changes
- Removed
sequential
The sequential test and suite options were removed in favor of concurrent. Replace sequential usage with concurrent. github.com - Default changed
attachmentsDir
The default attachmentsDir changed from .vitest-attachements/ to .vitest/attachments/. Update any code or paths that rely on the old folder. github.com
@vitest/ui 4.1.11 breaking changes
- Behavior changed
Redirect mocks only work for paths in the fs allowlist now. Code that redirects mocks to other paths may stop working and should add those paths to the allowlist. github.com
@vitest/ui 4.1.10 breaking changes
- Behavior changed
Builtin browser commands check fs access before running. Code relying on unrestricted access may now be refused. github.com
@vitest/ui 4.1.8 breaking changes
- Behavior changed
With allowWrite or allowExec set to false, the client cdp API is now disabled. Code that relied on cdp in that configuration must enable those options or stop using cdp. github.com
@vitest/ui 4.0.0 breaking changes
- Removed
Deprecated types are removed. github.com - Removed
Deprecated internal helpers and environment exports are removed. github.com
And 28 more in this version.
@vitest/ui 3.0.0 breaking changes
- Removed
vitest.toFake
The default toFake configuration is no longer exposed, so code relying on it must set its own value. github.com - Behavior changed
The release moves to Vite 6 support, which is a breaking change for projects on older Vite versions. github.com
And 6 more in this version.
@vitest/ui 3.0.0-beta.2 breaking changes
- Behavior changed
expect
expect error equality compares more properties than before, so some assertions may now fail. github.com - Default changed
diff.printBasicPrototype
The diff.printBasicPrototype option is now false by default. Set it to true to keep the previous output. github.com
@vitest/ui 3.0.0-beta.1 breaking changes
- Behavior changed
Snapshot state is now reset between retry and repeats runs, which can change snapshot results. github.com - Behavior changed
Vitest 3 is the first version supporting Vite 6, which is a breaking change for existing setups. github.com
And 4 more in this version.
Related packages
- @vitest/expect
- @vitest/browser
- @vitest/browser-playwright
- vitest
- @vitest/coverage-istanbul
- @vitest/coverage-v8
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.