Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jan 04:16
· 5 commits to master since this release

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, use XmlXPath.compile to create an instance.
  • The XmlNode.parent property now returns an XmlElement instead of an XmlNode.
  • Several methods have been removed from the XmlNode subclasses. For example, prev and next are no longer methods of XmlAttribute, and firstChild and lastChild are only available for XmlElement.

Full Changelog: https://github.com/jameslan/libxml2-wasm/compare/v0.4.1…v0.5.0