Skip to content

Releases: pointfreeco/swift-custom-dump

1.0.0

30 Jul 18:19
Compare
Choose a tag to compare
  • Added: First "stable" release. Custom Dump contains APIs extracted from the Composable Architecture's suite of tools, which is now considered stable. This 1.0 release will introduce a more strict adherence to semantic versioning.

Full Changelog: 0.11.1...1.0.0

0.11.1

20 Jul 14:50
Compare
Choose a tag to compare

What's Changed

  • Fixed: Show key path debug description in 5.9 (#95).

Full Changelog: 0.11.0...0.11.1

0.11.0

21 Jun 23:49
3a35f78
Compare
Choose a tag to compare

What's Changed

  • Added: Support for visionOS (thanks @rhysm94, #93; #94).
  • Added: Custom dump format for Duration (#92).

New Contributors

Full Changelog: 0.10.3...0.11.0

0.10.3

12 May 16:13
505aa98
Compare
Choose a tag to compare

What's Changed

  • Fixed: A bug in diffing CustomDumpRepresentable was needlessly expanding nodes that should have been collapsed (#88).
  • Fixed: A regression introduced prevented nested, unordered collections from being sorted (#91).

Full Changelog: 0.10.2...0.10.3

0.10.2

13 Apr 21:06
84b30e1
Compare
Choose a tag to compare

What's Changed

  • Fixed: It was previously possible for a "no difference detected" comment to be printed in dumps where dictionary keys differ but values are the same (#85). This comment is now omitted when appropriate.

Full Changelog: 0.10.1...0.10.2

0.10.1

12 Apr 23:36
21404fe
Compare
Choose a tag to compare

What's Changed

  • Fixed: Ordered children are now properly diffed when values are the same but labels differ (#84).

Full Changelog: 0.10.0...0.10.1

0.10.0

03 Apr 18:02
805c57f
Compare
Choose a tag to compare

What's Changed

  • Added: String.init(customDumping:), for generating a string dump of a value in a single expression (#79).
  • Changed: Optional, array, and dictionary types are now abbreviated using A?, [A] and [K: V] syntax (#78).
  • Changed: Set and dictionary mirrors are no longer sorted by default (#80). Dictionary and Set are special-cased.
  • Fixed: We no longer rely on AnyKeyPath.debugDescription due to a Swift crash around dynamic member lookup (#81).

Full Changelog: 0.9.1...0.10.0

0.9.1

08 Mar 01:39
de8ba65
Compare
Choose a tag to compare

What's Changed

  • Fixed: A regression in typeName output of nested types (#77).

Full Changelog: 0.9.0...0.9.1

0.9.0

07 Mar 22:43
0dd3e71
Compare
Choose a tag to compare

What's Changed

  • Changed: Use AnyKeyPath.customDebugDescription (available in Swift 5.8 platforms) when possible (#73).
  • Fixed: Reflection-based key path custom dumping now locks access to some underlying global storage, which should prevent crashes in concurrent access (#76).

Full Changelog: 0.8.0...0.9.0

0.8.0

03 Feb 20:00
Compare
Choose a tag to compare
  • Changed: The dot-prefix abbreviation of enums introduced to dumps in in 0.7.0 has been extended to diffs (#72).
  • Changed: Single line string dumps will now use raw formatting when quotation marks or backslashes are detected (#72).

Note: These are breaking changes if you depend on a stable output format of Custom Dump. Consider updating code that depends on this formatting, or pin to an earlier release in the meantime.