- Remove
MastermindsParser; useNativeParserinstead - Add argument
$contexttoParserInterface::parse()
- Use the native HTML5 parser when using PHP 8.4+
- Deprecate
MastermindsParser; useNativeParserinstead - [BC BREAK]
ParserInterface::parse()can now return\Dom\Node|\DOMNode|nullinstead of just\DOMNode|null - Add argument
$contexttoParserInterface::parse()
- Add support for configuring the default action to block or allow unconfigured elements instead of dropping them
- Add support for sanitizing unlimited length of HTML document
- Add the component as experimental