1# Release History 2 3## Remex 2.3.2 (2021-08-07) 4* Changed package namespace from RemexHtml to Wikimedia\RemexHtml to match 5 package name. PHP's `class_alias` has been used so that existing code 6 using the old namespace will continue to work, but this is now deprecated; 7 it is expected the next major release of RemexHtml will remove the aliases. 8* Fix handling of <body> tag in "after head" state that would incorrectly 9 result in a parse error being raised. 10* Made DOMBuilder::createNode protected (rather than private) so that 11 standards-compliant DOM implementations can override it. 12 13## Remex 2.3.1 (2021-04-20) 14* Don't pass null arguments to DOMImplementation::createDocument(): nulls 15 are technically allowed and converted to the empty string, but this is 16 deprecated legacy behavior. 17 18## Remex 2.3.0 (2021-02-05) 19* Allow use of third-party DOM implementations (like wikimedia/dodo) 20 via the new `domImplementation` parameter to DOMBuilder. 21 22## Remex 2.2.2 (2021-01-30) 23* Support wikimedia/utfnormal ^3.0.1 24 25## Remex 2.2.1 (2021-01-11) 26* Various minor changes for PHP 8.0 support. 27* Remove dead code about old phpunit version 28 29## Remex 2.2.0 (2020-04-29) 30* Update dependencies. 31* Fix warnings emitted by PHP 7.4. 32* Bug fix in TreeBuilder\ForeignAttributes::offsetGet(). 33* Drop PHP 7.0/7.1 and HHVM support; require PHPUnit 8. 34 35## Remex 2.1.0 (2019-09-16) 36* Call the non-standard \DOMElement::setIdAttribute() method by default. 37* Add scriptingFlag option to Tokenizer, and make it true by default. 38* Attributes bug fixes. 39* Added RelayTreeHandler and RelayTokenHandler for subclassing convenience. 40* Normalize text nodes during tree building, to match HTML parsing spec. 41 42## Remex 2.0.3 (2019-05-10) 43* Don't decode char refs if ignoreCharRefs is set, even if they are simple. 44 (This fixes a regression introduced in 2.0.2.) 45* Performance improvements to character entity decoding and tokenizer 46 preprocessing. 47 48## Remex 2.0.2 (2019-03-13) 49* Performance improvements to tokenization and tree building. 50* Provide an option to suppress namespace for HTML elements, working around 51 a performance bug in PHP's dom_reconcile_ns (T217708). 52 53## Remex 2.0.1 (2018-10-15) 54* Don't double-decode HTML entities when running on PHP (not HHVM) (T207088). 55 56## Remex 2.0.0 (2018-08-13) 57* Drop support for PHP < 7.0. 58* Remove descendant nodes when we get an endTag() event (T200827). 59* Improved tracing. 60* Added NullTreeHandler and NullTokenHandler. 61 62## Remex 1.0.3 (2018-02-28) 63* Drop support for PHP < 5.5. 64 65## Remex 1.0.2 (2018-01-01) 66* Fix linked list manipulation in CachedScopeStack (T183379). 67 68## Remex 1.0.1 (2017-03-14) 69* Fix missing breaks in switch statements. 70 71## Remex 1.0.0 (2017-02-24) 72* Initial release. 73