@vitest/pretty-format breaking changes
@vitest/pretty-format 4.1.2 (March 26, 2026) is its newest release with breaking changes. The first: Removed Config.outputLength. Every breaking API change we have recorded in @vitest/pretty-format on npm: 11 breaking changes in 4 versions. Below, its 4 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.
@vitest/pretty-format 4.1.2 breaking changes
- Removed
Config.outputLength
Config.outputLength was removed in @vitest/pretty-format 4.1.2 npmjs.com
@vitest/pretty-format 4.1.1 breaking changes
- Behavior changed
Formatting a large object now produces truncated output instead of the full text, so code that depends on the complete formatted string may need to change. github.com
@vitest/pretty-format 4.0.0 breaking changes
- Behavior changed
Output produced by pretty-format now includes the contents of shadow roots, so snapshots and other output that depend on it may change and need updating. github.com - Signature changed
Colors.comment
Was comment: {close: string open: string}; now comment: {close: string; open: string;}. npmjs.com - Signature changed
Colors.content
Was content: {close: string open: string}; now content: {close: string; open: string;}. npmjs.com - Signature changed
Colors.prop
Was prop: {close: string open: string}; now prop: {close: string; open: string;}. npmjs.com - Signature changed
Colors.tag
Was tag: {close: string open: string}; now tag: {close: string; open: string;}. npmjs.com - Signature changed
Colors.value
Was value: {close: string open: string}; now value: {close: string; open: string;}. npmjs.com - Signature changed
plugins
Was const plugins: {AsymmetricMatcher: NewPlugin DOMCollection: NewPlugin DOMElement: NewPlugin Immutable: NewPlugin ReactElement: NewPlugin ReactTestComponent: NewPlugin Error: NewPlugin}; now const plugins: {AsymmetricMatcher: NewPlugin... npmjs.com - Signature changed
Theme
Was type Theme = Required<{comment?: string content?: string prop?: string tag?: string value?: string}>; now type Theme = Required<{comment?: string; content?: string; prop?: string; tag?: string; value?: string;}>. npmjs.com
@vitest/pretty-format 4.0.0-beta.11 breaking changes
- Behavior changed
Pretty-format output now includes the contents of shadow roots, so snapshots that use it may change and need to be updated. 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.