CommonMark PHP v1.0.0-beta2 Release Notes

Release Date: 2019-05-27 // almost 5 years ago
  • 🔄 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)