Upgrading pulldown-cmark 0.10 to 0.11
Breaking0.10.3 → 0.11.3Breaking3Security1Platform1New6Changed1Fixed13Other4
BreakingUpgrade verdict
3 breaking changes and a platform requirement change and a security fix.
In plain terms
- A recent change to how block quotes are represented is undone so existing code keeps working.
- Add BlockQuoteKind to BlockQuote TagEnd (reverted in v0.11.2).
- Code that writes HTML output can now target any writer, not just a string, but callers relying on the old signature may need to adjust.
- Reduce MSRV to 1.71.1 by separating benchmarks into a new crate with CI enhancements.
Must act 5 items need code or config changes
Rust requirement changed in 0.11.1: 1.74 → 1.71.1.
Drops criterion.
Installs 19 packages in all (was 72).
What you must change
Breaking3
Reverts the BlockQuote kind change to avoid a breaking change.
BlockQuoteAdd BlockQuoteKind to BlockQuote TagEnd (reverted in v0.11.2).
Changes
write_to_html to accept any fmt::Write implementation instead of only String.write_to_htmlfmt::WriteSecurity1
Fixes an O(n**2) comment parser performance issue.
Platform1
Reduce MSRV to 1.71.1 by separating benchmarks into a new crate with CI enhancements.