Releases: pulldown-cmark/pulldown-cmark
Releases · pulldown-cmark/pulldown-cmark
0.9.0
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
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
Changes:
- Minor parsing fixes
0.7.0
Minor parsing fixes and bug fixes. Now exposes the difference between delimited code blocks and indented code blocks.
0.6.1
Minor parsing fixes.
0.6.0
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 theParser
to anOffsetIter
using theinto_offset_iter
method. This produces an iterator over(Event, Range<usize>)
tuples. - the
Event::HtmlBlock
andEvent::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 byEvent::Heading(u32)
.- the starting index of numbered lists is now represented by a
u64
instead of ausize
. - the
FIRST_PASS
option has been removed.
0.5.3
Changes:
- Addresses rare panics in emphasis routine
- Fixes some parser correctness issues
- Small bugfixes
0.5.2
Changes:
- bug fixes
- improved parsing correctness
0.5.1
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
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.