@vitest/utils breaking changes
@vitest/utils 5.0.0 (September 3, 2026) is its newest release with breaking changes, 8 of them. The first: Removed display:browserFormat. Every breaking API change we have recorded in @vitest/utils on npm: 72 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.1.2, released November 25, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.1.8 to 5.0.0: 8 breaking changes in 1 version.
- From 4.0.0 to 5.0.0: 24 breaking changes in 9 versions.
@vitest/utils 5.0.0 breaking changes
- Removed
display:browserFormat
browserFormat was removed in @vitest/utils 5.0.0 npmjs.com - Removed
display:objDisplay
objDisplay was removed in @vitest/utils 5.0.0 npmjs.com - Removed
LoupeOptions
LoupeOptions was removed in @vitest/utils 5.0.0 npmjs.com - Removed
resolver:findNearestPackageData
findNearestPackageData was removed in @vitest/utils 5.0.0 npmjs.com - Removed
resolver:getCachedData
getCachedData was removed in @vitest/utils 5.0.0 npmjs.com - Removed
resolver:setCacheData
setCacheData was removed in @vitest/utils 5.0.0 npmjs.com - Signature changed
display:format
Was function format(...args: unknown[]): string; now function format(args: unknown[], options?: InspectOptions): string. npmjs.com - Signature changed
display:inspect
Was function inspect(obj: unknown, options?: LoupeOptions): string; now function inspect(obj: unknown, options?: InspectOptions): string. npmjs.com
@vitest/utils 4.1.8 breaking changes
- Behavior changed
With allowWrite or allowExec set to false, the browser client cdp API is now disabled. Code that relied on cdp access under those settings must enable them or stop using cdp. github.com
@vitest/utils 4.1.6 breaking changes
- Signature changed
diff:diff
Was function diff(a: any, b: any, options?: DiffOptions): string | undefined; now function diff(a: any, b: any, options?: DiffOptions, memorize?: Memorize): string | undefined. npmjs.com - Signature changed
diff:printDiffOrStringify
Was function printDiffOrStringify(received: unknown, expected: unknown, options?: DiffOptions): string | undefined; now function printDiffOrStringify(received: unknown, expected: unknown, options?: DiffOptions, memory?: StringifiedMemory)... npmjs.com
@vitest/utils 4.1.5 breaking changes
- Default changed
The default snapshot max output length was increased, so snapshot output may now differ from before. Check snapshots that depended on the previous limit. github.com
@vitest/utils 4.1.4 breaking changes
- Behavior changed
coverage.reporter.text
The default text coverage reporter now uses skipFull when an agent is detected. Users who want full-coverage files listed must set skipFull to false explicitly. github.com
@vitest/utils 4.1.3 breaking changes
- Removed
JestExtendError.context
The context field is no longer included when verbose error reporting is used. Code that reads it from verbose error output must stop relying on it. github.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
@vitest/utils 4.1.1 breaking changes
- Removed
Vitest 4.1.1 no longer supports Vite 8 beta releases. Users on a Vite 8 beta must upgrade Vite to a supported version. github.com - Removed
TestProject.testFilesList
TestProject.testFilesList is now marked internal and is no longer part of the public API. Code that reads it directly may break. github.com
@vitest/utils 4.1.0 breaking changes
- Removed
highlight:highlight
highlight was removed in @vitest/utils 4.1.0 npmjs.com - Behavior changed
Watch mode is now enabled or disabled using an isAgent check, not only TTY detection. github.com
And 4 more in this version.
@vitest/utils 4.0.14 breaking changes
- Removed
prepare
The prepare entry is removed in this release. Code that relies on it must stop using it. github.com - Renamed
collect
The collect name is changed to import. Code that uses collect must switch to import. github.com
@vitest/utils 4.0.0 breaking changes
- Removed
assertTypes
assertTypes was removed in @vitest/utils 4.0.0 npmjs.com - Removed
ast
The ast export was removed from the utils package. Code that imports it must stop using it or find another source for that functionality. github.com
And 45 more in this version.
@vitest/utils 4.0.0-beta.9 breaking changes
- Removed
ast
The ast export was removed, so code that imports it will no longer work and must stop using it. github.com
Related packages
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.