Releases: pdvrieze/xmlutil
Indent it all
This release is mostly a maintenance release. It properly allows for configurable indentation as well as other features:
- #27 omitXmlDecl=false didn't work on Android. This has been replaced by a more comprehensive configuration
option that also allows configuration of the xml declaration. - #28, #24 String indentation is fixed/enhanced. This version directly exposes the indentation string to the serialization (accidentally omitted in 0.20.0.0). Indentation can still be specified by a number, but can now be specified as a string. Internally it will parse the string and store it as a sequence of ignorable whitespace and comment events. As such, invalid indentation will now throw an exception.
- #25 When using the default java xml library (instead of woodstox) it should now correctly work when no namespaces are used.
- #13 Make direct closing tags available on JVM without a custom xml library to do it. Instead this is now done at wrapper level. It was already functional for Android. JS depends on the dom provided serialization.
0.20.0.0 – Keeping going
This is a release compatible with version 0.20.0 of the serialization library and Kotlin 1.3.70. In addition there are two
other significant changes:
- Fixed the way XmlPolyChildren works in relation to renamed classes (it will now use the declared XmlSerialName if not renamed in the annotation
- Made it possible (on XmlWriter to set indentation as string). For now you need to create your
XmlWriter
directly for this to be available. The configuration for the serializer format will follow.
0.14.0.3 – Have the features
A backport of the fixes from 0.20.0.0 to a 0.14.0 (kotlin 1.3.61) compatible version of the library.
Getting there
Fix bug #23 - decoding of a nullable list of elements now works. Note that in case of an empty list this will deserialize as null
, not an empty list.
The past likes some love too
Backport the fix to #23 to the 0.13.0 (kotlin 1.3.50) branch.
Seal it better
Fix deserialization of sealed classes in bug #22.
Let's seal it up
Update to support the 1.3.60 Kotlin plugin changes. The updated 0.14.0 library, and importantly (using the updated library) it supports sealed classes properly without requiring modules.
Squash some bugs
Bugfix release:
- handle reading CDATA sections
- handle certain cases where the default JVM parser wouldn't work with char sequences (bug in CharSequenceReader)
Following on
This version makes the library compatible with kotlinx.serialization 0.13.0. A recommended update as there was a problematic regression in 0.12.0