0.12.0
This release adds a few new features:
- New
charactersEscapedInAttributesandcharactersEscapedInElementsproperties onXMLEncoderthat allow customizing how certain characters are escaped. - You can now override the implementation of
TopLevelEncoderCombine protocol conformance when subclassingXMLEncoder. - New
prettyPrintIndentationproperty onXMLEncoder, which can takeXMLEncoder.PrettyPrintIndentationvalues such as.tabs(1)or.spaces(2).
Thanks to Kenta Kubo for the contribution!
Closed issues:
- How to decode
<itunes:episode>tags (#201) - Fail to build in Xcode 12 beta (#196)
- Changing the root node name ? (#191)
- " in XML element may not always be escaping (#187)
in XML attributes (#185)- " and
"are not decoded equally (#184) - Use 2 spaces instead of 4 when .prettyPrinted (#183)
- (Help using) How to decode this XML? (#180)
Merged pull requests:
- Test
DynamicNodeEncodingfor root elements (#195) via @MaxDesiatov - Make character escaping customizable in
XMLEncoder(#188) via @MaxDesiatov - Add
prettyPrintIndentationproperty onXMLEncoder(#186) via @MaxDesiatov - Make
TopLevelEncoderimplementation overridable (#182) via @kkk669