Skip to content

Releases: tophat/syrupy

v0.0.14 - Add attr to declared dependencies

08 Jan 01:39
2f41347
Compare
Choose a tag to compare

Fixed

  • Add attrs package to declared dependencies

v0.0.13 - Pretty print snapshot failures with python difflib and colored

08 Jan 01:44
57e02e1
Compare
Choose a tag to compare

Added

  • Line diff snapshot failures with colors and character highlighting

v0.0.12 - Fail on unused snapshots, and break serializer cycles

29 Dec 15:21
Compare
Choose a tag to compare

Breaking Changes

  • Exit serialization early on detection of a cycle #78
  • Fail unused snapshots unless --snapshot-warn-unused is passed as CLI flag #77

v0.0.11 - Add missing typing_extensions dependency

28 Dec 19:13
c709848
Compare
Choose a tag to compare

Fixed

  • Add missing typing_extensions dependency to package setup.py #75

v0.0.10 - Amber Snapshot Serializer

28 Dec 13:22
530b079
Compare
Choose a tag to compare

Breaking Changes

  • Remove pyyaml serializer in favour of in-house Amber serializer #69
  • Remove snapshot(value) syntax in favour of assert snapshot == and snapshot.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

27 Dec 14:23
868164a
Compare
Choose a tag to compare

Fixed

  • Snapshotting multiline string and empty strings
  • Support for snapshotting None, false, 0 and other falsy values

v0.0.8 - Fixes comparing snapshot by serialised values

25 Dec 21:29
0511b4b
Compare
Choose a tag to compare

Fixed

  • Comparing snapshot by serialised values

Added

  • Improved diff reporting on snapshot failures

v0.0.7 - Show more detailed snapshot testing info in report

21 Dec 00:48
a5f46e5
Compare
Choose a tag to compare

v0.0.6 - Support snapshottest update flag for easier conversion

10 Dec 21:14
0251599
Compare
Choose a tag to compare
feat: change update opt to conform to snapshot test, close #29 (#32)

v0.0.5 - Compare snapshots by serialized values only

07 Dec 18:14
1680d10
Compare
Choose a tag to compare
fix: compare snapshots without deserializing (#26)

* wip: remove deserialization

* wip: use yaml safe full loader

* wip: compare serialized data

* wip: remove unneeded import

* test: refactor grouping

* refactor: test grouping

* wip: do not rewrite matching snapshots

* cr: collapse conditionals