Releases: Imangazaliev/DiDOM
Releases · Imangazaliev/DiDOM
v1.14
- Add
Element::innerXml()
method
v1.13
- Add
Element::outerHtml()
method - Add
Element::prependChild()
method - Add
Element::insertBefore()
andElement::insertAfter()
methods - Add
Element::style()
method for more convenient inline styles manipulation - Add
Element::classes()
method for more convenient class manipulation
v1.12
- Many fixes and improvements
v1.11.1
- Fix bug with unregistered PHP functions in XPath in
Document::has()
andDocument::count()
methods
v1.11
- 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()
andElement::nextSibling()
methods - Add
Element::previousSiblings()
andElement::nextSiblings()
methods - Many minor fixes and improvements
v1.10.6
- Fix bug with XML document loading
v1.10.5
v1.10.4
- Use mb_convert_encoding in the Encoder if it is available
v1.10.3
- 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
- Fix bug in setInnerHtml: can't rewrite existing content
- Throw InvalidSelectorException instead of InvalidArgumentException when selector is empty