XMLCoder v0.13.1 Release Notes

Release Date: 2021-11-07 // over 2 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.


    • ๐Ÿšš 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