0.11.0

The optional argument of s9e\TextFormatter\Configurator\RulesGenerator::getRules() has been removed.

The optional argument of s9e\TextFormatter\Configurator::finalize() has been removed.

The following methods have been removed:

  • s9e\TextFormatter\Configurator::addHTML5Rules()
    Tag rules are systematically added during finalize(). See Automatic rules generation.

  • s9e\TextFormatter\Configurator\Collections\Ruleset::defaultChildRule()
    The default is now deny.

  • s9e\TextFormatter\Configurator\Collections\Ruleset::defaultDescendantRule()
    The default is now deny.

  • s9e\TextFormatter\Configurator\Helpers\TemplateInspector::isIframe()

In addition, the meaning of the allowDescendant and denyDescendant rules have been changed to exclude the tag's child. See Tag rules.

0.10.0

s9e\TextFormatter\Plugins\Censor\Helper::reparse() has been removed.

s9e\TextFormatter\Parser\Tag::setSortPriority() has been removed. See the 0.7.0 notes for more info.

0.9.0

s9e\TextFormatter\Configurator\TemplateForensics has been renamed to s9e\TextFormatter\Configurator\TemplateInspector.

s9e\TextFormatter\Configurator\Items\Template::getForensics() has been renamed to s9e\TextFormatter\Configurator\Items\Template::getInspector().

0.8.0

The s9e\TextFormatter\Plugins\MediaEmbed\Configurator\SiteDefinitionProvider interface has been removed.

$configurator->MediaEmbed->defaultSites is now an iterable collection that implements the ArrayAccess interface. See its API.

0.7.0

s9e\TextFormatter\Parser\Tag::setSortPriority() has been deprecated. It will emit a warning upon use and will be removed in a future version.

The following methods now accept an additional argument to set a tag's priority at the time of its creation: