Skip to content

v0.38.1 - EOL normalization in events

Choose a tag to compare

@Mingun Mingun released this 03 Aug 15:45
· 73 commits to master since this release

What's Changed

Important changes

To get text in events according to the XML specification (normalized EOLs) use the new methods xml_content() instead of decode(). Deserializer uses new method automatically.

New Features

  • #882: Add new methods to create Deserializer from existing NsReader:
    • Deserializer::borrowing
    • Deserializer::borrowing_with_resolver
    • Deserializer::buffering
    • Deserializer::buffering_with_resolver
  • #878: Add ability to serialize structs in $value fields. The struct name will be used as a tag name. Previously only enums was allowed there.
  • #806: Add BytesText::xml_content, BytesCData::xml_content and BytesRef::xml_content methods which returns XML EOL normalized strings.
  • #806: Add BytesText::html_content, BytesCData::html_content and BytesRef::html_content methods which returns HTML EOL normalized strings.

Bug Fixes

  • #806: Properly normalize EOL characters in Deserializer.
  • #888: Properly split attribute values by items when deserialize attribute into list of values and attribute requires decoding.

New Contributors

Full Changelog: v0.38.0...v0.38.1