Skip to content

v0.35.0 - a couple of bugfixes

Compare
Choose a tag to compare
@Mingun Mingun released this 29 Jun 16:42
· 20 commits to master since this release

What's Changed

New Features

  • #772: Add reader::Config::allow_unmatched_ends to permit dangling end tags.

Bug Fixes

  • #773: Fixed reporting incorrect end position in Reader::read_to_end family of methods and trimming of the trailing spaces in Reader::read_text when trim_text_start is set and the last event is not a Text event.
  • #771: Character references now allow any number of leading zeroes as it should. As a result, the following variants of quick_xml::escape::EscapeError are removed:
    • TooLongDecimal
    • TooLongHexadecimal
  • #771: Fixed Attribute::unescape_value which does not unescape predefined values since 0.32.0.
  • #774: Fixed regression since 0.33.0: Text event may be skipped in read_event_into() and read_event_into_async() in some circumstances.

Misc Changes

  • #771: EscapeError::UnrecognizedSymbol renamed to EscapeError::UnrecognizedEntity.
  • #771: Implemented PartialEq for EscapeError.
  • #771: Replace the following variants of EscapeError by InvalidCharRef variant with a new ParseCharRefError inside:
    • EntityWithNull
    • InvalidDecimal
    • InvalidHexadecimal
    • InvalidCodepoint

New Contributors

Full Changelog: v0.34.0...v0.35.0