| 1 |
# Release Notes |
| 2 |
|
| 3 |
2.7.6 (2021-08-18) |
| 4 |
|
| 5 |
- #218: Address comment handling issues |
| 6 |
|
| 7 |
2.7.5 (2021-07-01) |
| 8 |
|
| 9 |
- #204: Travis: Enable tests on PHP 8.0 |
| 10 |
- #207: Fix PHP 8.1 deprecations |
| 11 |
|
| 12 |
2.7.4 (2020-10-01) |
| 13 |
|
| 14 |
- #191: Fix travisci build |
| 15 |
- #195: Add .gitattributes file with export-ignore rules |
| 16 |
- #194: Fix query parameter parsed as character entity |
| 17 |
|
| 18 |
2.7.3 (2020-07-05) |
| 19 |
|
| 20 |
- #190: mitigate cyclic reference between output rules and the traverser objects |
| 21 |
|
| 22 |
2.7.2 (2020-07-01) |
| 23 |
|
| 24 |
- #187: Fixed memory leak in HTML5::saveHTML() |
| 25 |
- #186: Add special case for end tag </br> |
| 26 |
|
| 27 |
2.7.1 (2020-06-14) |
| 28 |
|
| 29 |
- #171: add PHP 7.4 job |
| 30 |
- #178: Prevent infinite loop on un-terminated entity declaration at EOF |
| 31 |
|
| 32 |
2.7.0 (2019-07-25) |
| 33 |
|
| 34 |
- #164: Drop HHVM support |
| 35 |
- #168: Set default encoding in the DOMDocument object |
| 36 |
|
| 37 |
2.6.0 (2019-03-10) |
| 38 |
|
| 39 |
- #163: Allow to pass a charset to the Scanner |
| 40 |
|
| 41 |
2.5.0 (2018-12-27) |
| 42 |
|
| 43 |
- #162, #161, #155, #154, #153, #151: big performance improvements |
| 44 |
- #156: fixed typos |
| 45 |
- #160: adopt and enforce code style |
| 46 |
- #159: remove deprecated php unit base test case |
| 47 |
- #150: backport changes from old master branch |
| 48 |
|
| 49 |
2.4.0 (2018-11-17) |
| 50 |
|
| 51 |
- #148: Improve performance by moving sequence matching |
| 52 |
- #147: Improve the Tokenizer performance |
| 53 |
- #146: Improve performance by relying on a native string instead of InputStream |
| 54 |
- #144: Add DOM extension in composer.json |
| 55 |
- #145: Add more extensions on composer.json, improve phpdocs and remove dead code |
| 56 |
- #143: Remove experimental comment |
| 57 |
|
| 58 |
2.3.1 (2018-10-18) |
| 59 |
|
| 60 |
- #121: Audio is not a block tag (fixed by #141) |
| 61 |
- #136: Handle illegal self-closing according to spec (fixed by #137) |
| 62 |
- #141: Minor fixes in the README |
| 63 |
|
| 64 |
2.3.0 (2017-09-04) |
| 65 |
|
| 66 |
- #129: image within inline svg breaks system (fixed by #133) |
| 67 |
- #131: ² does not work (fixed by #132) |
| 68 |
- #134: Improve tokenizer performance by 20% (alternative version of #130 thanks to @MichaelHeerklotz) |
| 69 |
- #135: Raw & in attributes |
| 70 |
|
| 71 |
2.2.2 (2016-09-22) |
| 72 |
|
| 73 |
- #116: In XML mode, tags are case sensitive |
| 74 |
- #115: Fix PHP Notice in OutputRules |
| 75 |
- #112: fix parsing of options of an optgroup |
| 76 |
- #111: Adding test for the address tag |
| 77 |
|
| 78 |
2.2.1 (2016-05-10) |
| 79 |
|
| 80 |
- #109: Fixed issue where address tag could be written without closing tag (thanks sylus) |
| 81 |
|
| 82 |
2.2.0 (2016-04-11) |
| 83 |
|
| 84 |
- #105: Enable composer cache (for CI/CD) |
| 85 |
- #100: Use mb_substitute_character inset of ini_set for environments where ini_set is disable (e.g., shared hosting) |
| 86 |
- #98: Allow link, meta, style tags in noscript tags |
| 87 |
- #96: Fixed xml:href on svgs that use the "use" breaking |
| 88 |
- #94: Counting UTF8 characters performance improvement |
| 89 |
- #93: Use newer version of coveralls package |
| 90 |
- #90: Remove duplicate test |
| 91 |
- #87: Allow multiple root nodes |
| 92 |
|
| 93 |
2.1.2 (2015-06-07) |
| 94 |
- #82: Support for PHP7 |
| 95 |
- #84: Improved boolean attribute handling |
| 96 |
|
| 97 |
2.1.1 (2015-03-23) |
| 98 |
- #78: Fixes bug where unmatched entity like string drops everything after &. |
| 99 |
|
| 100 |
2.1.0 (2015-02-01) |
| 101 |
- #74: Added `disable_html_ns` and `target_doc` dom parsing options |
| 102 |
- Unified option names |
| 103 |
- #73: Fixed alphabet, ß now can be detected |
| 104 |
- #75 and #76: Allow whitespace in RCDATA tags |
| 105 |
- #77: Fixed parsing blunder for json embeds |
| 106 |
- #72: Add options to HTML methods |
| 107 |
|
| 108 |
2.0.2 (2014-12-17) |
| 109 |
- #50: empty document handling |
| 110 |
- #63: tags with strange capitalization |
| 111 |
- #65: dashes and underscores as allowed characters in tag names |
| 112 |
- #68: Fixed issue with non-inline elements inside inline containers |
| 113 |
|
| 114 |
2.0.1 (2014-09-23) |
| 115 |
- #59: Fixed issue parsing some fragments. |
| 116 |
- #56: Incorrectly saw 0 as empty string |
| 117 |
- Sami as new documentation generator |
| 118 |
|
| 119 |
2.0.0 (2014-07-28) |
| 120 |
- #53: Improved boolean attributes handling |
| 121 |
- #52: Facebook HHVM compatibility |
| 122 |
- #48: Adopted PSR-2 as coding standard |
| 123 |
- #47: Moved everything to Masterminds namespace |
| 124 |
- #45: Added custom namespaces |
| 125 |
- #44: Added support to XML-style namespaces |
| 126 |
- #37: Refactored HTML5 class removing static methods |
| 127 |
|
| 128 |
1.0.5 (2014-06-10) |
| 129 |
- #38: Set the dev-master branch as the 1.0.x branch for composer (goetas) |
| 130 |
- #34: Tests use PSR-4 for autoloading. (goetas) |
| 131 |
- #40, #41: Fix entity handling in RCDATA sections. (KitaitiMakoto) |
| 132 |
- #32: Fixed issue where wharacter references were being incorrectly encoded in style tags. |
| 133 |
|
| 134 |
1.0.4 (2014-04-29) |
| 135 |
- #30/#31 Don't throw an exception for invalid tag names. |
| 136 |
|
| 137 |
1.0.3 (2014-02-28) |
| 138 |
- #23 and #29: Ignore attributes with illegal chars in name for the PHP DOM. |
| 139 |
|
| 140 |
1.0.2 (2014-02-12) |
| 141 |
- #23: Handle missing tag close in attribute list. |
| 142 |
- #25: Fixed text escaping in the serializer (HTML% 8.3). |
| 143 |
- #27: Fixed tests on Windows: changed "\n" -> PHP_EOL. |
| 144 |
- #28: Fixed infinite loop for char "&" in unquoted attribute in parser. |
| 145 |
- #26: Updated tag name case handling to deal with uppercase usage. |
| 146 |
- #24: Newlines and tabs are allowed inside quoted attributes (HTML5 8.2.4). |
| 147 |
- Fixed Travis CI testing. |
| 148 |
|
| 149 |
1.0.1 (2013-11-07) |
| 150 |
- CDATA encoding is improved. (Non-standard; Issue #19) |
| 151 |
- Some parser rules were not returning the new current element. (Issue #20) |
| 152 |
- Added, to the README, details on code test coverage and to packagist version. |
| 153 |
- Fixed processor instructions. |
| 154 |
- Improved test coverage and documentation coverage. |
| 155 |
|
| 156 |
1.0.0 (2013-10-02) |
| 157 |
- Initial release. |
| 158 |
|