xmpp-rs/minidom-rs/CHANGELOG.md
Maxime “pep” Buquet 1c5551a917
minidom: Implement PartialEq manually for Node and Element
Move the NamespaceAwareCompare implementation from xmpp-parsers as Node
and Element's PartialEq implementation. Thanks Astro!

It's a lot more useful in tests to use `assert_eq!` than `assert!`, so
we get both items compared (left and right) instead of a "it failed."
message.

This "breaks" comparison for these two structs in the sense that it is
not strict object comparison anymore but it ensures that namespaces are
all present in the compared objects.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-29 16:02:23 +01:00

2.7 KiB

Version XXX, released YYY:

  • Breaking
    • Element.write_to doesn't prepand xml prelude anymore. Use write_to_decl.
    • PartialEq implementation for Element and Node have been changed to ensure namespaces match even if the objects are slightly different.
  • Changes
    • Update edition to 2018
    • Add NSChoice enum to allow comparing NSs differently
  • Fixes
    • Update old CI configuration with newer Rust images Version 0.11.1, released 2019-09-06:
  • Changes
    • Update to quick-xml 0.16
    • Add a default "comments" feature to transform comments into errors when unset. Version 0.11.0, released 2019-06-14:
  • Breaking
    • Get rid of IntoElements, replace with Into<Node> and <T: Into<Node> IntoIterator<Item = T>>
  • Fixes
    • Remote unused mut attribute on variable
  • Changes
    • Update quick-xml to 0.14
    • Split Node into its own module
    • Nicer Debug implementation for NamespaceSet Version 0.10.0, released 2018-10-21:
  • Changes
    • Update quick-xml to 0.13
    • Update doc to reflect switch from xml-rs to quick-xml. Version 0.9.1, released 2018-05-29:
  • Fixes
    • Lumi fixed CDATA handling, minidom will not unescape CDATA bodies anymore.
  • Small changes
    • Link Mauve implemented IntoAttributeValue on std::net::IpAddr. Version 0.9.0, released 2018-04-10:
  • Small changes
    • Upgrade quick_xml to 0.12.1 Version 0.8.0, released 2018-02-18:
  • Additions
  • Additions
  • Additions
  • Fixes
    • Because break value is now stable, Link Mauve rewrote some code marked FIXME to use it. Version 0.6.0, released 2017-08-13:
  • Big changes
  • Fixes
  • Big changes