Skip to content

Releases: ivopetkov/html5-dom-document-php

v2.8.0

04 Jan 21:47
Compare
Choose a tag to compare

New:

  • Add PHP 8.4 support. Remove PHP 7.* support.

v2.7.0

24 Nov 17:27
Compare
Choose a tag to compare

New:

  • Add support for empty attributes in querySelector() and querySelectorAll().

Thanks to chrishow for the contribution.

v2.6.0

02 Nov 13:46
Compare
Choose a tag to compare

New:

  • Add support for PHP 8.3.

v2.5.0

05 Feb 12:43
Compare
Choose a tag to compare

New:

  • Add FIX_DUPLICATE_STYLES option to modify() to remove duplicate <style> tags.

v2.4.0

17 Dec 00:22
Compare
Choose a tag to compare

New:

  • Add PHP 8.2 support.

v2.3.1

26 Apr 07:07
Compare
Choose a tag to compare

Enhancements:

  • Improve autocomplete of the elements returned by createElement(), createElementNS() and getElementById().

Thanks to manychois for the contribution.

v2.3.0

29 Nov 14:25
Compare
Choose a tag to compare

New:

  • Add support for PHP 8.1.

v2.2.9

17 Jan 21:30
Compare
Choose a tag to compare

Fix PHP versions in composer.json.

v2.2.8

04 Jan 09:21
Compare
Choose a tag to compare

Fix when modifying elements and there are duplicate IDs in the document.

Thanks to Christoph Möke for reporting this bug.

v2.2.7

09 Nov 09:09
Compare
Choose a tag to compare

The library now works the same way as DomDocument when loadHTML() is not called before saveHTML().

Thanks to Lewin Probst for pointing this inconsistency.