Skip to content

Releases: pdvrieze/xmlutil

Indent it all

17 May 14:39
Compare
Choose a tag to compare

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

05 Mar 11:34
Compare
Choose a tag to compare

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

05 Mar 11:15
Compare
Choose a tag to compare

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

20 Dec 10:31
Compare
Choose a tag to compare

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

20 Dec 10:51
Compare
Choose a tag to compare

Backport the fix to #23 to the 0.13.0 (kotlin 1.3.50) branch.

Seal it better

18 Dec 10:13
Compare
Choose a tag to compare

Fix deserialization of sealed classes in bug #22.

Let's seal it up

20 Nov 13:21
Compare
Choose a tag to compare

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

22 Oct 14:55
Compare
Choose a tag to compare

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

17 Sep 11:47
Compare
Choose a tag to compare

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

Updating

27 Aug 20:36
Compare
Choose a tag to compare

Update the library for Kotlin 1.3.50 and kotlinx.serialization version 0.12.0