DiDOM v2.0 Release Notes

  • ๐Ÿ’ฅ 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)