Releases: Imangazaliev/DiDOM
Releases · Imangazaliev/DiDOM
v2.0.1
v2.0
Breaking changes
- Minimum PHP version bumped to 7.2
- Remove
__invokemethod fromDocument,ElementandDocumentFragmentthat was deprecated early - Remove magic property
Element::$tag. UsetagName()method instead - Rename
Element::getDocument()toownerDocument()
What's new
- Add
Node::setInnerXml()method (i. e. forElementandDocumentFragmenttoo)
v1.18
- Fix a bug when a call of
Element::previousSibling()with selector returns a previous sibling when there is not matching element
v1.17
v1.16.4
- Handle nested pseudo-classes with expression correctly
v1.16.3
- Fix parsing of a style property in "style" attribute when the value contains a colon
v1.16.1
- Fix deprecation notice in PHP 8 for
libxml_disable_entity_loader
v1.16
- Add
Node::insertSiblingBefore()andNode::insertSiblingAfter()methods for inserting sibling nodes
v1.15
- Add support of document fragments
v1.14.1
- Fix an exception when selecting comment element with XPath
- Add support of
DOMCdataSectionnodes - Add methods
createTextNode(),createComment(),createCdataSection()to theDocumentclass