v0.5.0
New Features
- The DOM is now modifiable.
- You can serialize the
XmlDocumentto 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
XmlXPathhas been changed to an internal method. Instead, useXmlXPath.compileto create an instance. - The
XmlNode.parentproperty now returns anXmlElementinstead of anXmlNode. - Several methods have been removed from the
XmlNodesubclasses. For example,prevandnextare no longer methods ofXmlAttribute, andfirstChildandlastChildare only available forXmlElement.
Full Changelog: https://github.com/jameslan/libxml2-wasm/compare/v0.4.1…v0.5.0