Skip to content

Releases: pulldown-cmark/pulldown-cmark

0.9.0

22 Dec 14:49
Compare
Choose a tag to compare

This release brings a number of changes.

New features

  • Thanks to @lo48576, pulldown now optionally supports custom header ids and classes for headers. Set ENABLE_HEADING_ATTRIBUTES in the options to enable.
  • Users can now access reference definitions, information that was previously only exposed internally.
  • Pulldown is now CommonMark 0.30 compliant.

Changes

  • The function signature for the broken link callback has changed slightly to allow for FnMut functions.

There have also been a number of (small) parsing bug fixes.

0.8.0

01 Sep 15:22
Compare
Choose a tag to compare

This release brings support for markdown smart punctuation. Further, it comes with a renewed design for broken link callbacks. Finally, it fixes a few minor parsing bugs.

0.7.2

02 Jul 15:50
Compare
Choose a tag to compare

Changes:

  • Minor parsing fixes

0.7.0

12 Feb 13:11
ab7774a
Compare
Choose a tag to compare

Minor parsing fixes and bug fixes. Now exposes the difference between delimited code blocks and indented code blocks.

0.6.1

11 Nov 19:32
Compare
Choose a tag to compare

Minor parsing fixes.

0.6.0

06 Sep 15:31
Compare
Choose a tag to compare

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.

0.5.3

18 Jul 19:08
b8e449c
Compare
Choose a tag to compare

Changes:

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

0.5.2

28 May 09:28
Compare
Choose a tag to compare

Changes:

  • bug fixes
  • improved parsing correctness

0.5.1

13 May 16:41
2db7ccf
Compare
Choose a tag to compare

Changes:

  • removes last remaining unsafe block in default mode (without simd feature);
  • various bug fixes and guards against quadratic behavior;
  • very minor performance bumps.

0.5

24 Apr 15:18
f525f93
Compare
Choose a tag to compare
0.5

Additions:

  • CommonMark 0.29 compatibility
  • SIMD accelerated parsers feature
  • Guards against known pathological inputs causing quadratic scanning time
  • Speed improvements

Changes:

  • Code spans are no longer tags, but are now events containing a single CowStr. This is a breaking change.