@vitest/snapshot breaking changes
@vitest/snapshot 5.0.0-beta.1 (September 3, 2026) is its newest release with breaking changes. The first: Replaces loupe.inspect with pretty-format for value inspection in @vitest/snapshot 5.0.0-beta.1. Every breaking API change we have recorded in @vitest/snapshot on npm: 6 breaking changes in 5 versions. Below, its 5 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.5 to 5.0.0-beta.1: 1 breaking change in 1 version.
- From 4.1.1 to 5.0.0-beta.1: 5 breaking changes in 4 versions.
@vitest/snapshot 5.0.0-beta.1 breaking changes
- Behavior changed
Value inspection now uses pretty-format instead of loupe, which may change how values are printed in output and snapshots. github.com
@vitest/snapshot 4.1.5 breaking changes
- Default changed
The default maximum output length for snapshots is larger in this release, so snapshot output that was previously truncated may now appear in full. Update snapshots if your tests depend on the old limit. github.com
@vitest/snapshot 4.1.4 breaking changes
- Signature changed
SnapshotState.probeExpectedSnapshot
Was probeExpectedSnapshot(options: Pick<SnapshotMatchOptions, "testName" | "testId" | "isInline" | "inlineSnapshot">): {data?: string; markAsChecked: () => void;}; now probeExpectedSnapshot(options: Pick<SnapshotMatchOptions, "testName" |... npmjs.com
@vitest/snapshot 4.1.3 breaking changes
- Behavior changed
JestExtendError.context
The expect error's context field is no longer included in verbose error reporting. Code that reads it from verbose output should stop relying on it. github.com - Signature changed
SnapshotState.match
Was match({testId, testName, received, key, inlineSnapshot, isInline, error, rawSnapshot}: SnapshotMatchOptions): SnapshotReturnOptions; now match({testId, testName, received, key, inlineSnapshot, isInline, error, rawSnapshot... npmjs.com
@vitest/snapshot 4.1.1 breaking changes
- Removed
The release no longer supports Vite 8 beta versions, so projects on those betas must move to a supported Vite version. 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.