pulldown-cmark breaking changes
cargo16 curated breaking changes across major versions of pulldown-cmark. Use this as a migration checklist before bumping dependencies.
- v0.5.3 \u2192 v0.6.0breaking
the `Event::HtmlBlock` and `Event::InlineHTML` event variants were removed. Inline HTML is now represented by regular HTML events.
- v0.5.3 \u2192 v0.6.0breaking
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.
- v0.5.3 \u2192 v0.6.0breaking
the starting index of numbered lists is now represented by a `u64` instead of a `usize`.
- v0.5.3 \u2192 v0.6.0breaking
`Event::Header(i32)` has been replaced by `Event::Heading(u32)`.
- v0.5.3 \u2192 v0.6.0breaking
horizontal rules are now events, and no longer (empty) tags.
- v0.12.2 \u2192 v0.13.0breaking
super and sub script support by @jim-taylor-business in https://github.com/pulldown-cmark/pulldown-cmark/pull/966
- v0.12.2 \u2192 v0.13.0breaking
Implement extension WikiLinks; `Options::ENABLE_WIKILINKS` by @frostu8 in https://github.com/pulldown-cmark/pulldown-cmark/pull/991
- v0.11.2 \u2192 v0.12.0breaking
Refactor TextMergeStream by @ollpu in https://github.com/pulldown-cmark/pulldown-cmark/pull/931
- v0.11.2 \u2192 v0.12.0breaking
feat: re-add kind for BlockQuote in TagEnd by @Martin1887 in https://github.com/pulldown-cmark/pulldown-cmark/pull/940
- v0.11.0 \u2192 v0.11.1breaking
Add BlockQuoteKind to BlockQuote TagEnd by @notriddle in https://github.com/pulldown-cmark/pulldown-cmark/pull/926 (reverted in v0.11.2)
- v0.10.3 \u2192 v0.11.0breaking
Change `write_to_html` to allow `fmt::Write` by @stepantubanov in https://github.com/pulldown-cmark/pulldown-cmark/pull/870
- v0.9.6 \u2192 v0.10.0breaking
feat!: metadata blocks. Fixes #580 by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/641
- v0.9.6 \u2192 v0.10.0breaking
feat!: allow custom headings attributes with optional value. Fixes #634 by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/638
- v0.9.6 \u2192 v0.10.0breaking
Make `html` and `escape` modules optional by @jfrimmel in https://github.com/raphlinus/pulldown-cmark/pull/519
- v0.9.6 \u2192 v0.10.0breaking
feat: separate escape.rs in another crate by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/838
- v0.9.6 \u2192 v0.10.0breaking
Allow dynamically generated header ids and classes by @SergioBenitez in https://github.com/raphlinus/pulldown-cmark/pull/614
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/pulldown-cmark