0.16.0
This release contains breaking changes, several performance improvements, and two deprecations:
Added
- Added new
Xml
utility class; moved HTML/XML escaping logic into there (see deprecations below)
Changed
Environment::getInlineParsersForCharacter()
now returns an empty array (instead ofnull
) when no matching parsers are found- Three utility classes are now marked
final
:Html5Entities
LinkParserHelper
UrlEncoder
Fixed
- Improved performance of several methods (for a 10% overall performance boost - #292)
Deprecated
The following methods were deprecated and are scheduled for removal in 0.17.0 or 1.0.0 (whichever comes first). See UPGRADE.md for more information.
Cursor::advanceWhileMatches()
deprecated; useCursor::match()
instead.HtmlRenderer::escape()
deprecated; useXml::escape()
instead.
Removed
- Removed
DelimiterStack::findFirstMatchingOpener()
which was previously deprecated in 0.15.0