---
title: "syrupy 7.0.2 Breaking Changes on PyPI | Since.dev"
description: "What each syrupy release removed, renamed or changed: 99 breaking changes in 11 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/syrupy
last_updated: 2026-12-04
---

# syrupy breaking changes

syrupy 7.0.2 (November 16, 2026) is its newest release with breaking changes. The first: Snapshot file extensions must now be complete in syrupy 7.0.2. Every breaking API change we have recorded in syrupy on PyPI: 99 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 `7.0.3`, released November 21, 2026. [Source repository](https://github.com/syrupy-project/syrupy)

Its 7.0.0 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [6.1.1](#v-6-1-1) to [7.0.2](#v-7-0-2): 22 breaking changes in 3 versions.
- From [5.0.0](#v-5-0-0) to [7.0.2](#v-7-0-2): 78 breaking changes in 10 versions.

## syrupy 7.0.2 breaking changes

syrupy 7.0.2, released November 16, 2026: 1 breaking change.

- **Behavior changed**  

Snapshot files are now only recognized when their file extension is complete. Check that existing snapshot files use the full extension. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v7.0.2)

## syrupy 7.0.1 breaking changes

syrupy 7.0.1, released November 14, 2026: 13 breaking changes.

- **Removed** `syrupy.assertion.DiffMode.__str__`  

DiffMode.\_\_str\_\_ was removed in syrupy 7.0.1 [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Removed** `syrupy.DiffMode.__str__`  

DiffMode.\_\_str\_\_ was removed in syrupy 7.0.1 [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Removed** `syrupy.extensions.amber.serializer.removesuffix`  

syrupy.extensions.amber.serializer.removesuffix was removed in syrupy 7.0.1 [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Removed** `syrupy.extensions.json.WriteMode.__str__`  

WriteMode.\_\_str\_\_ was removed in syrupy 7.0.1 [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Removed** `syrupy.extensions.single_file.WriteMode.__str__`  

WriteMode.\_\_str\_\_ was removed in syrupy 7.0.1 [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Signature changed** `syrupy.assertion.DiffMode`  

Was class DiffMode(Enum); now class DiffMode(StrEnum). [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Signature changed** `syrupy.DiffMode`  

Was class DiffMode(Enum); now class DiffMode(StrEnum). [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Signature changed** `syrupy.extensions.json.WriteMode`  

Was class WriteMode(Enum); now class WriteMode(StrEnum). [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Signature changed** `syrupy.extensions.single_file.WriteMode`  

Was class WriteMode(Enum); now class WriteMode(StrEnum). [pypi.org](https://pypi.org/project/syrupy/7.0.1/)
- **Signature changed** `syrupy.report.SnapshotReport.__init__`  

Was def \_\_init\_\_(self, base_dir: Path, collected_items: set\[pytest.Item\], selected_items: dict\[str, ItemStatus\], options: argparse.Namespace, assertions: list\[SnapshotAssertion\], lf_filtered: bool = False, discovered: SnapshotCollections =... [pypi.org](https://pypi.org/project/syrupy/7.0.1/)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## syrupy 7.0.0 breaking changes

syrupy 7.0.0, released November 11, 2026: 8 breaking changes.

- **Removed**  

Python 3.10 is end-of-life and no longer supported. Upgrade to Python 3.11 or later before using syrupy 7. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v7.0.0)
- **Removed**  

Python 3.10 is no longer supported; users must run on Python 3.11 or later. [github.com](https://github.com/syrupy-project/syrupy/commit/513e79dad980d32b523e605e0c32103e4d8e7316)
- **Removed** `--snapshot-file-lock`  

Amber file locking now turns on automatically when pytest-xdist distributes work. Suites passing --snapshot-file-lock should drop it; --snapshot-file-lock-timeout remains. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v7.0.0)
- **Removed** `syrupy.session.is_xdist_gw0`  

syrupy.session.is_xdist_gw0 was removed in syrupy 7.0.0 [pypi.org](https://pypi.org/project/syrupy/7.0.0/)
- **Removed** `syrupy.utils.is_xdist_gw0`  

syrupy.utils.is_xdist_gw0 was removed in syrupy 7.0.0 [pypi.org](https://pypi.org/project/syrupy/7.0.0/)
- **Renamed** `syrupy.xdist_numprocesses`  

Use syrupy.session.xdist_numprocesses instead. [pypi.org](https://pypi.org/project/syrupy/7.0.0/)
- **Signature changed** `syrupy.report.SnapshotReport.__init__`  

Was def \_\_init\_\_(self, base_dir: Path, collected_items: set\[pytest.Item\], selected_items: dict\[str, ItemStatus\], options: argparse.Namespace, assertions: list\[SnapshotAssertion\], discovered: SnapshotCollections = SnapshotCollections()... [pypi.org](https://pypi.org/project/syrupy/7.0.0/)
- **Signature changed** `syrupy.SnapshotSession.__init__`  

Was def \_\_init\_\_(self, pytest_session: pytest.Session, ignore_file_extensions: list\[str\] | None = None, report: Optional\[SnapshotReport\] = None, \_collected_items: dict\[str, pytest.Item\] = dict(), \_selected_items: dict\[str, ItemStatus\] =... [pypi.org](https://pypi.org/project/syrupy/7.0.0/)

## syrupy 6.1.1 breaking changes

syrupy 6.1.1, released September 13, 2026: 4 breaking changes.

- **Signature changed** `syrupy.extensions.amber.serializer.AmberDataSerializer.write_file`  

Was @classmethod def write_file(cls, snapshot_collection: SnapshotCollection, merge: bool = False, name_order: dict\[str, int\] | None = None) -> None; now @classmethod def write_file(cls, snapshot_collection: SnapshotCollection, merge: bool... [pypi.org](https://pypi.org/project/syrupy/6.1.1/)
- **Signature changed** `syrupy.matchers.AmberDataSerializer.write_file`  

Was @classmethod def write_file(cls, snapshot_collection: SnapshotCollection, merge: bool = False, name_order: dict\[str, int\] | None = None) -> None; now @classmethod def write_file(cls, snapshot_collection: SnapshotCollection, merge: bool... [pypi.org](https://pypi.org/project/syrupy/6.1.1/)
- **Signature changed** `syrupy.session.SnapshotSession.__init__`  

Was def \_\_init\_\_(self, pytest_session: pytest.Session, ignore_file_extensions: list\[str\] | None = None, report: Optional\[SnapshotReport\] = None, \_collected_items: dict\[str, pytest.Item\] = dict(), \_selected_items: dict\[str, ItemStatus\] =... [pypi.org](https://pypi.org/project/syrupy/6.1.1/)
- **Signature changed** `syrupy.SnapshotSession.__init__`  

Was def \_\_init\_\_(self, pytest_session: pytest.Session, ignore_file_extensions: list\[str\] | None = None, report: Optional\[SnapshotReport\] = None, \_collected_items: dict\[str, pytest.Item\] = dict(), \_selected_items: dict\[str, ItemStatus\] =... [pypi.org](https://pypi.org/project/syrupy/6.1.1/)

## syrupy 6.0.0 breaking changes

syrupy 6.0.0, released August 22, 2026: 21 breaking changes.

- **Removed** `syrupy.extensions.amber.dataclasses_plugin`  

syrupy.extensions.amber.dataclasses_plugin was removed in syrupy 6.0.0 [pypi.org](https://pypi.org/project/syrupy/6.0.0/)
- **Removed** `syrupy.extensions.amber.dataclasses_plugin.DataclassPlugin`  

The DataclassPlugin has been removed because the Amber serializer now handles stdlib dataclasses natively. Remove the plugin imports and wiring; dataclass snapshots may change to field-by-field Amber form and need --snapshot-update if they... [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v6.0.0)
- **Behavior changed** `dataclasses`  

Dataclasses that did not use the plugin may serialize differently from a repr-style string to structured Amber form, so snapshots may need updating. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v6.0.0)
- **Behavior changed** `datetime.date`  

Dates in JSON snapshots now use YYYY-MM-DD instead of a repr string, so existing JSON snapshots containing dates need an update. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v6.0.0)
- **Behavior changed** `path_value`  

With regex=False, values at nested paths such as user.token are now replaced, so previously unredacted values change and snapshots may need re-running with --snapshot-update. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v6.0.0)
- **Signature changed** `syrupy.assertion.SnapshotAssertion.__call__`  

Was def \_\_call\_\_(self, \*, diff: Optional\[SnapshotIndex\] = None, exclude: Optional\[PropertyFilter\] = None, include: Optional\[PropertyFilter\] = None, extension_class: type\[AbstractSyrupyExtension\] | None = None, matcher... [pypi.org](https://pypi.org/project/syrupy/6.0.0/)
- **Signature changed** `syrupy.extensions.amber.serializer.AmberDataSerializer.serialize_number`  

Was @classmethod def serialize_number(cls, data: int | float, \*, depth: int = 0, exclude: Optional\[PropertyFilter\] = None, include: Optional\[PropertyFilter\] = None, matcher: Optional\[PropertyMatcher\] = None, path: PropertyPath = ()... [pypi.org](https://pypi.org/project/syrupy/6.0.0/)
- **Signature changed** `syrupy.extensions.amber.serializer.AmberDataSerializer.snapshot_sort_key`  

Was @classmethod def snapshot_sort_key(cls, snapshot: Snapshot) -> Any; now @classmethod def snapshot_sort_key(cls, snapshot: Snapshot, name_order: dict\[str, int\] | None = None) -> Any. [pypi.org](https://pypi.org/project/syrupy/6.0.0/)
- **Signature changed** `syrupy.extensions.amber.serializer.AmberDataSerializer.write_file`  

Was @classmethod def write_file(cls, snapshot_collection: SnapshotCollection, merge: bool = False) -> None; now @classmethod def write_file(cls, snapshot_collection: SnapshotCollection, merge: bool = False, name_order: dict\[str, int\] |... [pypi.org](https://pypi.org/project/syrupy/6.0.0/)
- **Signature changed** `syrupy.extensions.AmberSnapshotExtension.write_snapshot_collection`  

Was @classmethod def write_snapshot_collection(cls, \*, snapshot_collection: SnapshotCollection) -> None; now @classmethod def write_snapshot_collection(cls, \*, snapshot_collection: SnapshotCollection, name_order: dict\[str, int\] | None =... [pypi.org](https://pypi.org/project/syrupy/6.0.0/)

And 11 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## syrupy 5.5.1 breaking changes

syrupy 5.5.1, released July 6, 2026: 1 breaking change.

- **Removed** `syrupy.pytest_testnodedown`  

syrupy.pytest_testnodedown was removed in syrupy 5.5.1 [pypi.org](https://pypi.org/project/syrupy/5.5.1/)

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

### syrupy 5.5.0 breaking changes

syrupy 5.5.0, released July 6, 2026: 5 breaking changes.

- **Removed** `syrupy.session.is_xdist_controller`  

syrupy.session.is_xdist_controller was removed in syrupy 5.5.0 [pypi.org](https://pypi.org/project/syrupy/5.5.0/)
- **Removed** `syrupy.utils.is_xdist_controller`  

syrupy.utils.is_xdist_controller was removed in syrupy 5.5.0 [pypi.org](https://pypi.org/project/syrupy/5.5.0/)

And 3 more in this version.

### syrupy 5.4.0 breaking changes

syrupy 5.4.0, released July 1, 2026: 2 breaking changes.

- **Removed** `syrupy.report.Expression.code`  

Expression.code was removed in syrupy 5.4.0 [pypi.org](https://pypi.org/project/syrupy/5.4.0/)
- **Signature changed** `syrupy.report.Expression.__init__`  

Was def \_\_init\_\_(self, code: frozenset\[str\] = frozenset()) -> None; now def \_\_init\_\_(self, keyword: str = '') -> None. [pypi.org](https://pypi.org/project/syrupy/5.4.0/)

### syrupy 5.3.4 breaking changes

syrupy 5.3.4, released June 26, 2026: 21 breaking changes.

- **Removed** `syrupy.DISABLE_COLOR_ENV_VAR`  

syrupy.DISABLE_COLOR_ENV_VAR was removed in syrupy 5.3.4 [pypi.org](https://pypi.org/project/syrupy/5.3.4/)
- **Removed** `syrupy.env_context`  

syrupy.env_context was removed in syrupy 5.3.4 [pypi.org](https://pypi.org/project/syrupy/5.3.4/)

And 19 more in this version.

### syrupy 5.3.0 breaking changes

syrupy 5.3.0, released May 31, 2026: 2 breaking changes.

- **Signature changed** `syrupy.assertion.SnapshotAssertion.__init__`  

Was def \_\_init\_\_(self, session: SnapshotSession, extension_class: type\[AbstractSyrupyExtension\], test_location: PyTestLocation, update_snapshots: bool, include: Optional\[PropertyFilter\] = None, exclude: Optional\[PropertyFilter\] = None... [pypi.org](https://pypi.org/project/syrupy/5.3.0/)
- **Signature changed** `syrupy.SnapshotAssertion.__init__`  

Was def \_\_init\_\_(self, session: SnapshotSession, extension_class: type\[AbstractSyrupyExtension\], test_location: PyTestLocation, update_snapshots: bool, include: Optional\[PropertyFilter\] = None, exclude: Optional\[PropertyFilter\] = None... [pypi.org](https://pypi.org/project/syrupy/5.3.0/)

### syrupy 5.0.0 breaking changes

syrupy 5.0.0, released September 28, 2025: 21 breaking changes.

- **Removed**  

Syrupy 5.0.0 needs Python 3.10 or newer, so Python 3.8 is no longer supported. Upgrade the Python runtime before installing this version. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v5.0.0)
- **Removed** `SNAPSHOT_DIRNAME`  

The constant is gone. Use the snapshot directory property on SnapshotCollectionStorage or the --snapshot-dirname CLI option instead. [github.com](https://github.com/syrupy-project/syrupy/releases/tag/v5.0.0)

And 19 more in this version.

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