Skip to content

Upgrading pulldown-cmark 0.12 to 0.13

Breaking0.12.2 → 0.13.6Breaking3Security4New1Changed3Fixed7Other10

Fetching 7 releases from GitHub…6 / 7
BreakingUpgrade verdict

3 breaking changes and 4 security fixes.

  • Text marked for superscript or subscript is now recognized, which can change how some documents are parsed.
  • A new wiki-style link syntax is supported when the matching option is turned on.
  • The command line flag for subscript has changed, so scripts using the old flag must be updated.
  • This update closes some security holes that were already patched in the project's main development branch.
Top 5 of 7 that need code or config changes
Breaking3
Adds superscript and subscript support, which changes parsing behavior.
Implements the WikiLinks extension behind Options::ENABLE_WIKILINKS.
Options::ENABLE_WIKILINKS
Changes the subscript CLI flag to -B.
-B
Security4
Fixes security issues that were already fixed on the main branch.
Exponential event growth with ENABLE_WIKILINKS
High · CVSS 7.5
Bumps tar to 0.4.45.
tar
Fixes an out-of-bounds access caused by an erroneous shift in process_mask.
process_mask