Skip to content

Releases: Masterminds/html5-php

2.6.0

10 Mar 11:42
c961ca6
Compare
Choose a tag to compare
  • #163: Allow to pass a charset to the Scanner

2.5.0

27 Dec 22:05
b5d892a
Compare
Choose a tag to compare

This release brings again big performance improvements (thanks @stof for the excellent work).

v2.5 is 3.5 times faster than v2.4 and 11 times faster than v2.3!

Here a list of the changes:

  • #162, #161, #155, #154, #153, #151: performance improvements
  • #156: fixed typos
  • #160: adopt and enforce code style
  • #159: remove deprecated php unit base test case
  • #150: backport changes from old master branch

2.4.0

17 Nov 20:31
cadcfaa
Compare
Choose a tag to compare

This release brings big performance improvements (thanks @tgalopin for the excellent work).

Based on the test/benchmark/run.php benchmark, 2.4.0 is 2x faster than 2.3.1 when parsing HTML5 documents.

Here a list of the changes:

  • #148: Improve performance by moving sequence matching
  • #147: Improve the Tokenizer performance
  • #146: Improve performance by relying on a native string instead of InputStream
  • #144: Add DOM extension in composer.json
  • #145: Add more extensions on composer.json, improve phpdocs and remove dead code
  • #143: Remove experimental comment

2.3.1

22 Oct 16:59
33f8d47
Compare
Choose a tag to compare
  • #121: Audio is not a block tag (fixed by #141)
  • #136: Handle illegal self-closing according to spec (fixed by #137)
  • #141: Minor fixes in the README

2.3.0

04 Sep 12:27
2c37c6c
Compare
Choose a tag to compare
  • #129: image within inline svg breaks system (fixed by #133)
  • #131: ² does not work (fixed by #132)
  • #134: Improve tokenizer performance by 20% (alternative version of #130 thanks to @MichaelHeerklotz)
  • #135: Raw & in attributes

Release 2.2.2

22 Sep 11:02
7866e93
Compare
Choose a tag to compare
  • #116: In XML mode, tags are case sensitive
  • #115: Fix PHP Notice in OutputRules
  • #112: fix parsing of options of an optgroup
  • #111: Adding test for the address tag

Release 2.2.1

10 May 14:12
Compare
Choose a tag to compare
  • #109: Fixed issue where address tag could be written without closing tag

2.2.0

11 Apr 14:02
Compare
Choose a tag to compare
  • #105: Enable composer cache (for CI/CD)
  • #100: Use mb_substitute_character inset of ini_set for environments where
    ini_set is disable (e.g., shared hosting)
  • #98: Allow link, meta, style tags in noscript tags
  • #96: Fixed xml:href on svgs that use the "use" breaking
  • #94: Counting UTF8 characters performance improvement
  • #93: Use newer version of coveralls package
  • #90: Remove duplicate test
  • #87: Allow multiple root nodes

2.1.2

07 Jun 08:44
Compare
Choose a tag to compare
  • #82: Support for PHP7
  • #84: Improved boolean attribute handling

2.1.1

23 Mar 22:58
Compare
Choose a tag to compare
  • #78: Fixes bug where unmatched entity like string drops everything after &.