CommonMark PHP v2.0.0-beta2 Release Notes

Release Date: 2021-06-27 // almost 3 years ago
  • โž• Added

    • โž• Added new Node::iterator() method and NodeIterator class for faster AST iteration (#683, #684)

    ๐Ÿ”„ Changed

    • Made compatible with CommonMark spec 0.30.0
    • โšก๏ธ Optimized link label parsing
    • ๐ŸŽ Optimized AST iteration for a 50% performance boost in some event listeners (#683, #684)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed processing instructions with EOLs
    • ๐Ÿ›  Fixed case-insensitive matching for HTML tag types
    • ๐Ÿ›  Fixed type 7 HTML blocks incorrectly interrupting lazy paragraphs
    • ๐Ÿ›  Fixed newlines in reference labels not collapsing into spaces
    • ๐Ÿ›  Fixed link label normalization with escaped newlines
    • ๐Ÿ›  Fixed unnecessary AST iteration when no default attributes are configured