XMLCoder v0.10.0 Release Notes

Release Date: 2020-04-04 // about 1 year ago
  • ๐Ÿ›  This is a bugfix release, which improves encoding and decoding of enums with associated values ๐Ÿš€ (also known as "choice coding") with the XMLChoiceCodingKey protocol. This release is also ๐Ÿง tested on Xcode 11.4 and Swift 5.2.1 on Linux. A few breaking changes were introduced, which were needed to simplify and improve internals of the library. Please refer to the corresponding section below for more details. Thanks to @bwetherfield and @ultramiraculous for their contributions!

    ๐Ÿ’ฅ Breaking changes:

    This change was needed to accommodate for multiple edges cases with how arrays of empty elements and empty strings are decoded.

    The value intrinsic now only accepts the empty string key "", as the previous "value" key caused naming collisions with attributes and elemenents that had the same name.

    Closed issues:

    • Bundle identifier in wrong format (#164)
    • Can inheritance be implemented? (#159)
    • EXC_BAD_ACCESS when running tests (#153)
    • EXC_BAD_ACCESS on XCode 11.2 and iOS13.2 (#150)
    • Date formatting on 24h region with display set to 12h (#148)
    • Decoding containers with (potentially)-empty elements (#123)

    ๐Ÿ”€ Merged pull requests: