packagist league/commonmark 2.0.0-beta2

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

See https://commonmark.thephpleague.com/2.0/upgrading/ for detailed information on upgrading to version 2.0.

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

Don't miss a new commonmark release

NewReleases is sending notifications on new releases.