Releases: pointfreeco/swift-custom-dump
Releases · pointfreeco/swift-custom-dump
1.0.0
- 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
0.11.0
0.10.3
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
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
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
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
andSet
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
What's Changed
- Fixed: A regression in
typeName
output of nested types (#77).
Full Changelog: 0.9.0...0.9.1
0.9.0
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
- 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.