Skip to content

Releases: syrupy-project/syrupy

v0.3.1

15 Jan 14:35
0dfdfd8
Compare
Choose a tag to compare

Fixed

  • Fix bug where newline control characters were being translated based on platform (#113)

v0.3.0

14 Jan 19:16
Compare
Choose a tag to compare

v0.3.0 (2020-02-14)

Breaking Changes

  • Add support for named tuple fields (#108)
  • Add trailing commas to class fields (#108)

Fixed

  • Specify explicit version range for pytest peer dependency (#111)

v0.2.0

13 Jan 01:06
57f1099
Compare
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
Compare
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
Compare
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
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