Skip to content

Releases: syrupy-project/syrupy

v0.2.0

13 Jan 01:06
57f1099

Choose a tag to compare

v0.2.0 (2020-02-12)

Breaking Changes

  • Remove _snapshot_subdirectory_name from SnapshotFossilizer (#99)

Added

  • Add support for custom objects repr (#101)
  • Add support for nested test classes (#99)

Fixed

  • Fix issue with using hashables as dict keys or in sets (#103)

v0.1.0 - Replace Serializer with Extension nomenclature

11 Jan 22:58
54b8de4

Choose a tag to compare

Breaking Changes

From #95, some highlights:

  • Rename snapshot.with_class to snapshot.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

07 Jan 23:49
c7968fd

Choose a tag to compare

Fixed

  • Raw single should use the same name for snapshot and file

v0.0.14 - Add attr to declared dependencies

08 Jan 01:39
2f41347

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

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

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

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

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

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

Choose a tag to compare

Fixed

  • Comparing snapshot by serialised values

Added

  • Improved diff reporting on snapshot failures