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 existingNsReader
: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
andBytesRef::xml_content
methods which returns XML EOL normalized strings. - #806: Add
BytesText::html_content
,BytesCData::html_content
andBytesRef::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
- @fukusuket made their first contribution in #874
- @xdm67x made their first contribution in #882
Full Changelog: v0.38.0...v0.38.1