XMLCoder v0.13.1 Release Notes

Release Date: 2021-11-07 // almost 3 years ago
  • 🛠 This is a bugfix release that fixes an edge case with the use of trimValueWhitespaces configuration on 🏁 XMLDecoder, and adds official Windows support for users of Swift 5.5. Many thanks to 🚀 @MartinP7r for multiple contributions to this release!

    Closed issues:

    • Encoding an Attribute doesn't work anymore (#231)
    • How to "skip" certain XML tags / element in a TCX file (#227)
    • Encode element with empty key, no elements, and attributes (#224)

    🔀 Merged pull requests:

    • ➕ Add Windows to GitHub Actions CI build matrix (#233) via @MaxDesiatov
    • ➕ Add test for preserved spaces with XML entities (#234) via @MartinP7r
    • 🛠 Fix trimValueWhitespaces removing needed white-spaces (#226) via @MartinP7r
    • ✂ Remove some of the SwiftLint generated warnings (#229) via @MartinP7r
    • ✂ Remove unneeded parameter key (#225) via @MartinP7r

Previous changes from v0.13.0

  • 🛠 This release adds two new features and a bugfix.

    Namely:

    • 🚚 removeWhitespaceElements boolean flag on XMLDecoder allows removing elements that have purely whitespace content.
    • convertFromUppercase case on KeyDecodingStrategy allows converting ALL_CAPS_SNAKE_CASE to camelCase.
    • 🛠 an edge case in intrinsic key value decoding has been fixed.

    Many thanks to @huwr, @kneekey23, and @wooj2 for their contributions!

    Closed issues:

    • Decoding special whitespace characters (#219)
    • Help with mix of attributes and elements (#212)

    🔀 Merged pull requests:

    • Encode element with empty key, empty element, and attributes (#223) via @wooj2
    • 🚚 Implement removeWhitespaceElements on XMLDecoder (#222) via @wooj2
    • ➕ Add convert from UPPERCASE decoding key strategy (#214) via @huwr