---
title: "@vitest/utils 5.0.0 Breaking Changes on npm | Since.dev"
description: "What each @vitest/utils release removed, renamed or changed: 72 breaking changes in 11 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@vitest/utils
last_updated: 2026-12-04
---

# @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

Latest version `5.1.2`, released November 25, 2026. [Source repository](https://github.com/vitest-dev/vitest)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.1.8](#v-4-1-8) to [5.0.0](#v-5-0-0): 8 breaking changes in 1 version.
- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 24 breaking changes in 9 versions.

## @vitest/utils 5.0.0 breaking changes

@vitest/utils 5.0.0, released September 3, 2026: 8 breaking changes.

- **Removed** `display:browserFormat`  

browserFormat was removed in @vitest/utils 5.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Removed** `display:objDisplay`  

objDisplay was removed in @vitest/utils 5.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Removed** `LoupeOptions`  

LoupeOptions was removed in @vitest/utils 5.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Removed** `resolver:findNearestPackageData`  

findNearestPackageData was removed in @vitest/utils 5.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Removed** `resolver:getCachedData`  

getCachedData was removed in @vitest/utils 5.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Removed** `resolver:setCacheData`  

setCacheData was removed in @vitest/utils 5.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Signature changed** `display:format`  

Was function format(...args: unknown\[\]): string; now function format(args: unknown\[\], options?: InspectOptions): string. [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)
- **Signature changed** `display:inspect`  

Was function inspect(obj: unknown, options?: LoupeOptions): string; now function inspect(obj: unknown, options?: InspectOptions): string. [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/5.0.0)

## @vitest/utils 4.1.8 breaking changes

@vitest/utils 4.1.8, released June 1, 2026: 1 breaking change.

- **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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.8)

## @vitest/utils 4.1.6 breaking changes

@vitest/utils 4.1.6, released May 11, 2026: 2 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](https://www.npmjs.com/package/@vitest/utils/v/4.1.6)
- **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](https://www.npmjs.com/package/@vitest/utils/v/4.1.6)

## @vitest/utils 4.1.5 breaking changes

@vitest/utils 4.1.5, released April 21, 2026: 1 breaking change.

- **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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.5)

## @vitest/utils 4.1.4 breaking changes

@vitest/utils 4.1.4, released April 9, 2026: 1 breaking change.

- **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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.4)

## @vitest/utils 4.1.3 breaking changes

@vitest/utils 4.1.3, released April 7, 2026: 1 breaking change.

- **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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.3)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @vitest/utils 4.1.1 breaking changes

@vitest/utils 4.1.1, released March 23, 2026: 2 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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.1)
- **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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.1)

### @vitest/utils 4.1.0 breaking changes

@vitest/utils 4.1.0, released March 12, 2026: 6 breaking changes.

- **Removed** `highlight:highlight`  

highlight was removed in @vitest/utils 4.1.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/4.1.0)
- **Behavior changed**  

Watch mode is now enabled or disabled using an isAgent check, not only TTY detection. [github.com](https://github.com/vitest-dev/vitest/releases/tag/v4.1.0)

And 4 more in this version.

### @vitest/utils 4.0.14 breaking changes

@vitest/utils 4.0.14, released November 25, 2025: 2 breaking changes.

- **Removed** `prepare`  

The prepare entry is removed in this release. Code that relies on it must stop using it. [github.com](https://github.com/vitest-dev/vitest/releases/tag/v4.0.14)
- **Renamed** `collect`  

The collect name is changed to import. Code that uses collect must switch to import. [github.com](https://github.com/vitest-dev/vitest/releases/tag/v4.0.14)

### @vitest/utils 4.0.0 breaking changes

@vitest/utils 4.0.0, released October 22, 2025: 47 breaking changes.

- **Removed** `assertTypes`  

assertTypes was removed in @vitest/utils 4.0.0 [npmjs.com](https://www.npmjs.com/package/@vitest/utils/v/4.0.0)
- **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](https://github.com/vitest-dev/vitest/releases/tag/v4.0.0)

And 45 more in this version.

### @vitest/utils 4.0.0-beta.9 breaking changes

@vitest/utils 4.0.0-beta.9, released October 22, 2025: 1 breaking change.

- **Removed** `ast`  

The ast export was removed, so code that imports it will no longer work and must stop using it. [github.com](https://github.com/vitest-dev/vitest/releases/tag/v4.0.0-beta.9)

## Related packages

- [@vitest/ui](https://since.dev/packages/npm/@vitest/ui.md)
- [@vitest/expect](https://since.dev/packages/npm/@vitest/expect.md)
- [@vitest/browser](https://since.dev/packages/npm/@vitest/browser.md)
- [@vitest/browser-playwright](https://since.dev/packages/npm/@vitest/browser-playwright.md)
- [vitest](https://since.dev/packages/npm/vitest.md)
- [@vitest/coverage-istanbul](https://since.dev/packages/npm/@vitest/coverage-istanbul.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
