Skip to content

Releases: Imangazaliev/DiDOM

v2.0.1

05 Mar 03:49
Compare
Choose a tag to compare
  • Fix warning PHP Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated

v2.0

08 May 01:50
Compare
Choose a tag to compare

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

27 Jul 19:57
Compare
Choose a tag to compare
  • Fix a bug when a call of Element::previousSibling() with selector returns a previous sibling when there is not matching element

v1.17

26 Jul 22:34
Compare
Choose a tag to compare
  • Add support of multiple pseudoclasses (#125)

v1.16.4

26 Jul 22:33
Compare
Choose a tag to compare
  • Handle nested pseudo-classes with expression correctly

v1.16.3

09 Feb 16:07
Compare
Choose a tag to compare
  • Fix parsing of a style property in "style" attribute when the value contains a colon

v1.16.1

16 Nov 11:05
c88f5a5
Compare
Choose a tag to compare
  • Fix deprecation notice in PHP 8 for libxml_disable_entity_loader

v1.16

12 May 21:07
Compare
Choose a tag to compare
  • Add Node::insertSiblingBefore() and Node::insertSiblingAfter() methods for inserting sibling nodes

v1.15

13 Mar 11:33
Compare
Choose a tag to compare
  • Add support of document fragments

v1.14.1

17 Jan 11:02
Compare
Choose a tag to compare
  • Fix an exception when selecting comment element with XPath
  • Add support of DOMCdataSection nodes
  • Add methods createTextNode(), createComment(), createCdataSection() to the Document class