Skip to content

Releases: pointfreeco/swift-custom-dump

0.7.0

31 Jan 01:08
87dd388
Compare
Choose a tag to compare

What's Changed

  • Changed: Nested enum output has changed to simulate dot-prefix abbreviation by omitting the type name (#71).

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

Full Changelog: 0.6.1...0.7.0

0.6.1

07 Nov 21:31
ead7d30
Compare
Choose a tag to compare

What's Changed

  • Fixed: KeyPath release dumps on Darwin platforms should no longer crash (#68).
  • Fixed: AnyHashable dump has been improved (thanks @tahirmt, #64).
  • Infrastructure: Added ObjectIdentifier dump test (thanks @tahirmt, #66).

Full Changelog: 0.6.0...0.6.1

0.6.0

03 Oct 21:16
Compare
Choose a tag to compare
  • Added: Objects that are printed more than once per dump are now identified, e.g. MyObject#1(…) instead of MyObject(…) (thanks @tahirmt).
  • Fixed: Superclass fields are now correctly dumped alongside fields defined on the subclass (thanks @tahirmt).

0.5.2

14 Sep 23:00
c9b6b94
Compare
Choose a tag to compare
  • Add workaround for Xcode 14.1 beta 1, which fails to build iOS packages that import GameKit.

0.5.1

13 Sep 04:04
b7500c3
Compare
Choose a tag to compare
  • Added: SwiftWASM support (thanks @inamiy).
  • Fixed: The swift-custom-dump package no longer publicly vends its internal schemes.

0.5.0

10 Jun 13:33
Compare
Choose a tag to compare
  • Fixed: diffs now differentiate when value dumps the same output, but the type differs.

    let xs: [Any] = [Float(42)]
    let ys: [Any] = [Double(42)]
    diff(xs, ys)
    //  [
    // -  [0]: 42 as Float
    // +  [0]: 42 as Double
    //  ]

0.4.0

28 Apr 02:46
c4f78db
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.3.0...0.3.1

0.3.0

08 Dec 15:13
51698ec
Compare
Choose a tag to compare
  • Fixed: differences that were previously undetected in the dump are now better surfaced, e.g. when object identity differs, it will be printed in the diff.
  • Fixed: Xcode 13.2's new experimental build system is now supported (thanks @jaanussiim).

0.2.1

13 Oct 16:55
21f8fdb
Compare
Choose a tag to compare
  • Fixed: Null pointers no longer cause the dump function to crash, and are instead printed as (null pointer)

0.2.0

22 Sep 18:29
c2dd2c6
Compare
Choose a tag to compare
  • Updated: Improved dumping of errors bridged to NSError (thanks @aroben).
  • Updated: Inline types no longer include (unknown context) in their dumps.
  • Fixed: Swift 5.5 support on macCatalyst, Linux, and Windows (thanks @klundberg, @davdroman).
  • Infrastructure: CI improvements, including running on Windows and against more versions of Swift (thanks @Jeehut, @davdroman).