Skip to content

0.16.0

Compare
Choose a tag to compare
@colinodell colinodell released this 31 Oct 00:59

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 of null) 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; use Cursor::match() instead.
  • HtmlRenderer::escape() deprecated; use Xml::escape() instead.

Removed

  • Removed DelimiterStack::findFirstMatchingOpener() which was previously deprecated in 0.15.0