NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1246 most downloaded on PyPI
Pytest Snapshot Test Utility
Last release 4 days ago
13 Sep 2026
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
131 releases · first in 2019
One column per quarter.
json: use additional forward references for py3.7
## 1.7.1 (2022-01-25) ### Bug Fixes * compatibility with pytest-tldr
add JSON extension as alternative to amber
allow extensions to override snapshot equality check
add support for custom snapshot names, close #555
NameError when importing SingleFileSnapshotExtension
typo in single file extension error message
filter ran items using selected items, close #451
memoise DataSerializer.read_file results
cache session snapshot extension discovery
discover snapshots once per file rather than per assertion
unused snapshot not filtered out when tests have similar names, close #529
support regex path type matching
## 1.3.1 (2021-06-20) ### Bug Fixes * support attrs v21 dependency
types: explicit property matcher and filter types kwargs
correctly use pytest invocation arguments
## 1.2.3 (2021-05-12) ### Bug Fixes * support python 3.10
option to report details of unused snapshots (#467), close #465
add PEP-561 py.typed file for downstream type checkers (#440) (fe15bdb), closes #439
update development status to stable
expand single filename legal characters
Nothing published for this version
optimise session items data structures
unused snapshot detection for targeting single parameterized test case
## 0.8.1 (2020-10-29) ### Bug Fixes * support python 3.9
\r and \n characters are all written as \n. This is to allow interoperability of snapshots between operating systems that use disparate line control characters.amber: normalise line endings between operating systems
\r and \n characters are all written as \n. This is to allow interoperability of snapshots between operating systems that use disparate line control characters.## 0.7.2 (2020-09-20) ### Bug Fixes * add support for no colors mode
## 0.7.1 (2020-09-05) ### Bug Fixes * support attrs <21.0.0
bugfix, pass indent to multiline open tag, close #332
## 0.6.1 (2020-07-29) ### Bug Fixes * support pytest v6
# 0.6.0 (2020-07-12) ### Features * add simple props filter helper
amber: Do not add empty line to empty iterables
support ignoring fields when serializing
amber: add property matcher support
only process valid test nodes in report, close #246
Update setup.py, so that it allows for any Python 3.6+ version to be used
Handle dotted parameters in classname
specify encoding when reading and writing amber fossils
use the test node location when determining snapshot class name
show snapshot data in report when does not exist
parsing identifiers from snapshot names
correctly track unused snapshots in classes
only clear assertion _extension when overridden
support call syntax for snapshot fixture overriding
specify correct min version of pytest
snapshot name warning showing on false negatives
show hidden line characters and accessible colors (#126) (fa442df), closes #150
Add --snapshot-default-extension option to specify extension class via pytest cli
Added
--snapshot-default-extension option to specify extension class via pytest cli (#132)Fixed
os.path and os.walk calls to use pathlib instead, setting pathlib as the new preferred way of doing path operations (#130)--snapshot-default-extension option to specify extension class via pytest cli (#132)Fix bug where untargeted snapshots would be deleted when using pytest in targeted mode
Fixed
Fix bug where newline control characters were being translated based on platform
Fixed
Add support for named tuple fields
Breaking Changes
Fixed
Remove _snapshot_subdirectory_name from SnapshotFossilizer
Breaking Changes
_snapshot_subdirectory_name from SnapshotFossilizer (#99)Added
Fixed
_snapshot_subdirectory_name from SnapshotFossilizer (#99)Rename snapshot.with_class to snapshot.use_extension(ExtensionClass)
Breaking Changes
From #95, some highlights:
snapshot.with_class to snapshot.use_extension(ExtensionClass)AbstractSnapshotSerializer -> AbstractSyrupyExtensionRaw single should use the same name for snapshot and file
Fixed
Add attrs package to declared dependencies
Fixed
Line diff snapshot failures with colors and character highlighting
Added
Exit serialization early on detection of a cycle #78
Breaking Changes
--snapshot-warn-unused is passed as CLI flag #77Your coding agent can read these notes before it upgrades. Set up the MCP server →