Skip to content

Upgrading pulldown-cmark 0.11 to 0.12

Breaking0.11.3 → 0.12.2Breaking2Security1New3Changed2Fixed7Other7

BreakingUpgrade verdict

2 breaking changes and a security fix.

  • Code that inspects where a blockquote ends now receives the blockquote kind again, as it did before version 0.11.2.
  • Refactors TextMergeStream, changing its API.
  • A fix makes parsing comments much faster on certain inputs, preventing a slowdown that could be abused.
3 items need code or config changes
Breaking2
Re-adds the blockquote kind to TagEnd, reverting the change made in 0.11.2.
TagEndBlockQuote
Refactors TextMergeStream, changing its API.
TextMergeStream
Security1
Fixes an O(n**2) comment parser performance issue.