Skip to content

Releases: Imangazaliev/DiDOM

v1.14

17 Dec 18:49
Compare
Choose a tag to compare
  • Add Element::innerXml() method

v1.13

13 Mar 09:36
Compare
Choose a tag to compare
  • Add Element::outerHtml() method
  • Add Element::prependChild() method
  • Add Element::insertBefore() and Element::insertAfter() methods
  • Add Element::style() method for more convenient inline styles manipulation
  • Add Element::classes() method for more convenient class manipulation

v1.12

13 Mar 09:30
Compare
Choose a tag to compare
  • Many fixes and improvements

v1.11.1

26 Aug 20:11
Compare
Choose a tag to compare
  • Fix bug with unregistered PHP functions in XPath in Document::has() and Document::count() methods

v1.11

13 Aug 07:32
Compare
Choose a tag to compare
  • Add Element::isElementNode() method
  • Add ability to retrieve only specific attributes in Element::attributes() method
  • Add Element::removeAllAttributes() method
  • Add ability to specify selector and node type in Element::previousSibling() and Element::nextSibling() methods
  • Add Element::previousSiblings() and Element::nextSiblings() methods
  • Many minor fixes and improvements

v1.10.6

21 Jul 20:12
Compare
Choose a tag to compare
  • Fix bug with XML document loading

v1.10.5

19 Jun 15:21
Compare
Choose a tag to compare
  • Fix issue #85

v1.10.4

11 Jun 14:58
Compare
Choose a tag to compare
  • Use mb_convert_encoding in the Encoder if it is available

v1.10.3

24 May 06:48
Compare
Choose a tag to compare
  • Add Element::removeChild() and Element::removeChildren() methods
  • Fix bug in Element::matches() method
  • Element::matches() method now returns false if node is not DOMElement
  • Add Element::hasChildren() method

v1.10.2

16 May 10:06
Compare
Choose a tag to compare
  • Fix bug in setInnerHtml: can't rewrite existing content
  • Throw InvalidSelectorException instead of InvalidArgumentException when selector is empty