New Features
- The DOM is now modifiable.
- You can serialize the
XmlDocument
to a buffer, file, or string.
Bug Fixes
- An initialization issue that required parsing to be the first method call (#51) has been resolved.
Breaking Changes
- The constructor of
XmlXPath
has been changed to an internal method. Instead, useXmlXPath.compile
to create an instance. - The
XmlNode.parent
property now returns anXmlElement
instead of anXmlNode
. - Several methods have been removed from the
XmlNode
subclasses. For example,prev
andnext
are no longer methods ofXmlAttribute
, andfirstChild
andlastChild
are only available forXmlElement
.
Full Changelog: https://github.com/jameslan/libxml2-wasm/compare/v0.4.1…v0.5.0