packagist league/commonmark 1.0.0-beta2

latest releases: 2.8.0, 2.7.1, 2.7.0...
6 years ago

This beta release fixes a couple of items that were not addressed in the previous beta.

Changed

  • DelimiterProcessorInterface::process() will accept any type of AbstractStringContainer now, not just Text nodes
  • The Delimiter constructor, getInlineNode(), and setInlineNode() no longer accept generic Node elements - only AbstractStringContainers

Removed

  • Removed all deprecated functionality:
    • The safe option (use html_input and allow_unsafe_links options instead)
    • All deprecated RegexHelper constants
    • DocParser::getEnvironment() (you should obtain it some other way)
    • AbstractInlineContainer (use AbstractInline instead and make isContainer() return true)

Don't miss a new commonmark release

NewReleases is sending notifications on new releases.