Releases: syrupy-project/syrupy
Releases · syrupy-project/syrupy
v0.2.0
v0.1.0 - Replace Serializer with Extension nomenclature
Breaking Changes
From #95, some highlights:
- Rename
snapshot.with_classtosnapshot.use_extension(ExtensionClass) - Rename
AbstractSnapshotSerializer->AbstractSyrupyExtension - Replaced references to "filepath" with "location"
- Replaced references to "cache" with "fossil"
v0.0.15 - Fix raw snapshot serializer discover snapshots
Fixed
- Raw single should use the same name for snapshot and file
v0.0.14 - Add attr to declared dependencies
Fixed
- Add attrs package to declared dependencies
v0.0.13 - Pretty print snapshot failures with python difflib and colored
Added
- Line diff snapshot failures with colors and character highlighting
v0.0.12 - Fail on unused snapshots, and break serializer cycles
v0.0.11 - Add missing typing_extensions dependency
Fixed
- Add missing
typing_extensionsdependency to package setup.py #75
v0.0.10 - Amber Snapshot Serializer
Breaking Changes
- Remove pyyaml serializer in favour of in-house Amber serializer #69
- Remove
snapshot(value)syntax in favour ofassert snapshot ==andsnapshot.assert_match#68
Fixed
- Correctly update snapshots when targeting parameterized tests #64
- Remove pinned library dependencies #66
Community
- Include Apache OSS license into python package on pypi #65
v0.0.9 - Fixes snapshotting multiline strings with default yaml serializer
Fixed
- Snapshotting multiline string and empty strings
- Support for snapshotting
None,false,0and other falsy values
v0.0.8 - Fixes comparing snapshot by serialised values
Fixed
- Comparing snapshot by serialised values
Added
- Improved diff reporting on snapshot failures