v0.38.1 - EOL normalization in events
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
Deserializerfrom existingNsReader:Deserializer::borrowingDeserializer::borrowing_with_resolverDeserializer::bufferingDeserializer::buffering_with_resolver
- #878: Add ability to serialize structs in
$valuefields. The struct name will be used as a tag name. Previously only enums was allowed there. - #806: Add
BytesText::xml_content,BytesCData::xml_contentandBytesRef::xml_contentmethods which returns XML EOL normalized strings. - #806: Add
BytesText::html_content,BytesCData::html_contentandBytesRef::html_contentmethods 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
- @fukusuket made their first contribution in #874
- @xdm67x made their first contribution in #882
Full Changelog: v0.38.0...v0.38.1