pulldown-cmark v0.6.0 Release Notes

Release Date: 2019-09-06 // 13 days ago
  • 🚀 This is a backward incompatible release. However, most users will not experience any breakage. It also fixes some parser correctness bugs.

    💥 Breaking changes:

    • ⬆️ the get_offset method on the parser was removed. Its semantics were poorly defined and only provided users with the start offset of the next event. To get proper source mapping information which includes the entire source range for each event, upgrade the Parser to an OffsetIter using the into_offset_iter method. This produces an iterator over (Event, Range<usize>) tuples.
    • 🚚 the Event::HtmlBlock and Event::InlineHTML event variants were removed. Inline HTML is now represented by regular HTML events.
    • horizontal rules are now events, and no longer (empty) tags.
    • Event::Header(i32) has been replaced by Event::Heading(u32).
    • the starting index of numbered lists is now represented by a u64 instead of a usize.
    • 🚚 the FIRST_PASS option has been removed.

Previous changes from v0.5.3

  • 🔄 Changes:

    • ➕ Addresses rare panics in emphasis routine
    • 🛠 Fixes some parser correctness issues
    • 🛠 Small bugfixes