---
title: "@vitest/snapshot 5.0.0-beta.1 Breaking Changes on npm"
description: "What each @vitest/snapshot release removed, renamed or changed: 6 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@vitest/snapshot
last_updated: 2026-12-04
---

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

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.5](#v-4-1-5) to [5.0.0-beta.1](#v-5-0-0-beta-1): 1 breaking change in 1 version.
- From [4.1.1](#v-4-1-1) to [5.0.0-beta.1](#v-5-0-0-beta-1): 5 breaking changes in 4 versions.

## @vitest/snapshot 5.0.0-beta.1 breaking changes

@vitest/snapshot 5.0.0-beta.1, released September 3, 2026: 1 breaking change.

- **Behavior changed**  

Value inspection now uses pretty-format instead of loupe, which may change how values are printed in output and snapshots. [github.com](https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.1)

## @vitest/snapshot 4.1.5 breaking changes

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

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

## @vitest/snapshot 4.1.4 breaking changes

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

- **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](https://www.npmjs.com/package/@vitest/snapshot/v/4.1.4)

## @vitest/snapshot 4.1.3 breaking changes

@vitest/snapshot 4.1.3, released April 7, 2026: 2 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](https://github.com/vitest-dev/vitest/releases/tag/v4.1.3)
- **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](https://www.npmjs.com/package/@vitest/snapshot/v/4.1.3)

## @vitest/snapshot 4.1.1 breaking changes

@vitest/snapshot 4.1.1, released March 23, 2026: 1 breaking change.

- **Removed**  

The release no longer supports Vite 8 beta versions, so projects on those betas must move to a supported Vite version. [github.com](https://github.com/vitest-dev/vitest/releases/tag/v4.1.1)

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