All Versions
Latest Version
Avg Release Cycle
106 days
Latest Release

Changelog History
Page 1

  • v2.0 Changes

    ๐Ÿ’ฅ Breaking changes

    • Minimum PHP version bumped to 7.2
    • โœ‚ Remove __invoke method from Document, Element and DocumentFragment that was deprecated early
    • โœ‚ Remove magic property Element::$tag. Use tagName() method instead
    • ๐Ÿ“‡ Rename Element::getDocument() to ownerDocument()

    What's new

    • โž• Add Node::setInnerXml() method (i. e. for Element and DocumentFragment too)
  • v1.18 Changes

    • ๐Ÿ›  Fix a bug when a call of Element::previousSibling() with selector returns a previous sibling when there is not matching element
  • v1.17 Changes

    • โž• Add support of multiple pseudoclasses (#125)
  • v1.16.4 Changes

    • ๐Ÿ– Handle nested pseudo-classes with expression correctly
  • v1.16.3 Changes

    • ๐Ÿ›  Fix parsing of a style property in "style" attribute when the value contains a colon
  • v1.16.1 Changes

    November 16, 2020
    • Fix deprecation notice in PHP 8 for libxml_disable_entity_loader
  • v1.16 Changes

    May 12, 2020
    • โž• Add Node::insertSiblingBefore() and Node::insertSiblingAfter() methods for inserting sibling nodes
  • v1.15 Changes

    March 13, 2020
    • โž• Add support of document fragments
  • v1.14.1 Changes

    January 17, 2019
    • ๐Ÿ›  Fix exception when selecting comment element with XPath
    • โž• Add support of DOMCdataSection nodes
    • โž• Add methods createTextNode(), createComment(), createCdataSection() to the Document class
  • v1.14 Changes

    December 17, 2018
    • โž• Add Element::innerXml() method