XMLCoder v0.12.0 Release Notes
Release Date: 2021-01-26 // about 3 years ago-
๐ This release adds a few new features. Namely:
- ๐ New
charactersEscapedInAttributes
andcharactersEscapedInElements
properties onXMLEncoder
that allow customizing how certain characters are escaped. - You can now override the implementation of
TopLevelEncoder
Combine protocol conformance when subclassingXMLEncoder
. - ๐ New
prettyPrintIndentation
property onXMLEncoder
, which can takeXMLEncoder.PrettyPrintIndentation
values 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
DynamicNodeEncoding
for root elements (#195) via @MaxDesiatov - ๐ Make character escaping customizable in
XMLEncoder
(#188) via @MaxDesiatov - โ Add
prettyPrintIndentation
property onXMLEncoder
(#186) via @MaxDesiatov - ๐ Make
TopLevelEncoder
implementation overridable (#182) via @kkk669
- ๐ New