Releases: syrupy-project/syrupy
Releases · syrupy-project/syrupy
v0.3.3
Added
- Add
--snapshot-default-extension
option to specify extension class via pytest cli (#132)
Fixed
- Fix bug where snapshot diffs were erroneously printed (#135)
- Fix bug where snapshot names were incorrectly matching tests (#136)
- Fix bug where deleted snapshots where incorrectly colored (#136)
- Fix bug where targeting specific test nodes did not filter out unused snapshots (#139)
- Fix bug where snapshot report was printed out before the pytest report (#144)
v0.3.2
Fixed
- Fix bug where untargeted snapshots would be deleted when using pytest in targeted mode (#123)
- Fix bug where snapshot files were not cleaned up when running specific test files (#127)
- Fix bug where targeting specific test nodes in a test file was not supported (#127)
- Fix bug where targeting specific test modules using pyargs was not supported (#127)
v0.3.1
v0.3.0
v0.2.0
v0.1.0 - Replace Serializer with Extension nomenclature
Breaking Changes
From #95, some highlights:
- Rename
snapshot.with_class
tosnapshot.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