Releases: Imangazaliev/DiDOM
Releases · Imangazaliev/DiDOM
v2.0.1
v2.0
Breaking changes
- Minimum PHP version bumped to 7.2
- Remove
__invoke
method fromDocument
,Element
andDocumentFragment
that was deprecated early - Remove magic property
Element::$tag
. UsetagName()
method instead - Rename
Element::getDocument()
toownerDocument()
What's new
- Add
Node::setInnerXml()
method (i. e. forElement
andDocumentFragment
too)
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
DOMCdataSection
nodes - Add methods
createTextNode()
,createComment()
,createCdataSection()
to theDocument
class