Releases: pulldown-cmark/pulldown-cmark
v0.13.0
Breaking Changes
- super and sub script support by @jim-taylor-business in #966
- Implement extension WikiLinks;
Options::ENABLE_WIKILINKS
by @frostu8 in #991
New Features
Bug Fixes and Code Enhancements
- Safer definition lists implementation by @mondeja in #974
- Factor duplicate code out of parsers by @notriddle in #976
- Stop using string slicing for math where bytes will do by @notriddle in #977
- Make indent calc for definition lists match commonmark-hs closer by @notriddle in #978
- Ensure "parse" fuzz target covers all options by @ollpu in #980
- Change subscript CLI flag to -B by @ollpu in #993
- Fix OOB access due to erroneous shift in process_mask by @ollpu in #990
- Use slice patterns for
unescape
by @notriddle in #996 - Use slice patterns for
scan_eol
by @notriddle in #998 - Stop using scan_ch when get will do by @notriddle in #1003
- Fix panic when symbols are present in wikilink before pipe by @frostu8 in #1004
- Added a WASM build step to github actions #1005 by @rimutaka in #1006
- Use an explicit node for tight paragraphs by @notriddle in #1015
- Fix tasklist parsing bugs by @notriddle in #1017
- Prevent definition list defs from interrupting non-paragraphs by @notriddle in #1018
Docs
- Add basic skeleton for developer docs by @systemsoverload in #988
- docs: Added a doc-comment for ENABLE_SMART_PUNCTUATION option. by @rimutaka in #1007
- Document more Events and Tags by @ModProg in #1010
New Contributors
- @ytmimi made their first contribution in #972
- @mondeja made their first contribution in #974
- @jim-taylor-business made their first contribution in #966
- @systemsoverload made their first contribution in #988
- @frostu8 made their first contribution in #991
- @rimutaka made their first contribution in #1006
- @ModProg made their first contribution in #1010
Full Changelog: v0.12.2...v0.13.0
0.12.2
What's Changed
- Fix compiilation error in fuzzers by @kdarkhan in #947
- Make
fuzz
dir part of the workspace by @kdarkhan in #948 - Fix and improve
bench
by @notriddle in #950 - Reuse a couple hash maps across blocks by @notriddle in #951
- Reuse outer indent between item list, def list, and blockquote by @notriddle in #952
- Add instructions on fixing fuzz build by @kdarkhan in #953
- Account for definition list fixups while popping containers by @notriddle in #954
- Use byte range instead of char count for delim run bounds by @notriddle in #956
- CI improvements by @kdarkhan in #955
- Fix a problem that causes multiple dt's to be parsed by @notriddle in #958
- fix: emit
InlineHtml
for inline HTML inside blockquote instead ofHtml
by @rhysd in #961 - Complete the list of block item bodies by @notriddle in #962
- Implement into_static for CowStr and Event in pulldown-cmark by @Atreyagaurav in #967
- Enforce cargo fmt by @ollpu in #971
- Respect line starts when trimming header endings by @notriddle in #969
New Contributors
- @Atreyagaurav made their first contribution in #967
Full Changelog: v0.12.1...v0.12.2
0.12.1
Security
- Fix O(n**2) comment parser by @notriddle in #941
New features
- impl From for String by @oconnor663 in #943
Developers
New Contributors
- @oconnor663 made their first contribution in #943
- @kdarkhan made their first contribution in #945
Full Changelog: v0.12.0...v0.12.1
0.11.3
0.12.0
Thanks to all contributors! This release mainly adds the long awaited commonmark-hs description lists (under a flag) and enables the blockquote kind in TagEnd
reverted in 0.11.2.
Breaking changes
- feat: re-add kind for BlockQuote in TagEnd by @Martin1887 in #940
- Refactor TextMergeStream by @ollpu in #931
New features
- Implement commonmark-hs compatible definition lists by @notriddle in #915
Other changes
Full Changelog: v0.11.2...v0.12.0
v0.11.2
Revert BlockQuote kind to avoid breaking change.
v0.11.1
Thanks to all people involved in this release! The main change of this release is the reduction of the MSRV to 1.71.1, but it also includes a lot of bug fixes and a new mdBook for user-friendly documentation.
Breaking changes
- Add BlockQuoteKind to BlockQuote TagEnd by @notriddle in #926 (reverted in v0.11.2)
What's Changed
- fix: CowStr deserialization when escaping by @aatifsyed in #895
- fix(test): fix generating spec tests doesn't work on Windows due to line-endings by @rhysd in #903
- feat: add
-G
CLI option to enable GFM support by @rhysd in #905 - feat: set
DefaultBrokenLinkCallback
as the default broken link callback ofOffsetIter
by @rhysd in #901 - chore(doc): use
cargo add
to instruct how to install this crate as dependency by @rhysd in #904 - fix typo by @jmbhughes in #909
- Fix parsing blocks inside alert body by @rhysd in #908
- fuzz: fix building fuzzer and improve fuzzing coverage by enabling more parse options by @rhysd in #910
- fix: fix warnings reported from nightly rustc by @rhysd in #911
- fix: fix infinite loop when metadata delimiter is indented by @rhysd in #913
- Raise the link cutoff from 5 to 32 by @notriddle in #917
- Reduce MSRV to 1.71.1 by separating benchmarks into a new crate with CI enhancements by @rhysd in #916
- Add guide book and deploy script for it by @notriddle in #883
- ci: fix deploying the document to GitHub Pages and make the deploy job faster by @rhysd in #920
- Fix lone task list item bug by @notriddle in #924
- Fix offset range around footnotes that look like images by @notriddle in #925
- Update old footnote format to interrupt paragraph by @notriddle in #928
- Fix confusing bug with back-to-back footnotes by @notriddle in #930
- Add reproduction cases for #927 by @zoni in #929
- Add regression test for #655 by @ollpu in #932
- Renovate the superlinear time fuzzer by @ollpu in #935
New Contributors
- @aatifsyed made their first contribution in #895
- @jmbhughes made their first contribution in #909
- @zoni made their first contribution in #929
Full Changelog: v0.11.0...v0.11.1
0.11.0
Finally, the so long awaited math mode is here! Enable the option to use it.
This release also includes other improvements and bugfixes, please see the changelog below for more details. Thanks to all contributors that has made possible this release!
Breaking changes
- Change
write_to_html
to allowfmt::Write
by @stepantubanov in #870
New features
- Math mode
Bugfixes
- [0.11] Don't exit
scan_attribute
with the ix pointing at block quote by @notriddle in #873 - (Re)introduce simd feature to pulldown-cmark-escape by @ollpu in #880
- fix: remove unnecessary end_newline set by @tomcur in #885
New Contributors
- @duskmoon314 made their first contribution in #874
- @stepantubanov made their first contribution in #870
- @tomcur made their first contribution in #885
Full Changelog: v0.10.3...v0.11.0
v0.10.3
The main change of this release is the simd
feature was not being used in the escape functions since the version 0.10 due to a mistake during the separation of the crate pulldown-cmark-escape
.
The crate pulldown-cmark-escape
has been updated to the version 0.10.1.
What's Changed
- fix: fix dead code warning from nightly compiler by @rhysd in #876
- Eat all spaces after line break in link title by @notriddle in #877
- Mark
Rule
as a block item by @notriddle in #879
Full Changelog: v0.10.2...v0.10.3
v0.10.2
New release with some fixes and improvements. Note the 0.10.1 is missing (yanked from crates.io) due to a conflict with the clap version and the Rust minimum version (1.74 now instead of 1.70).
Thanks to all people that contributed to this release!
What's Changed
- Limit link def expansion by @notriddle in #845
- Do not look for HTML tags that start with backslash by @notriddle in #849
- Count a blank line at end of indented code block towards list by @notriddle in #851
- Use same limit for refdef as inline links by @notriddle in #854
- Don't exit
scan_attribute
with the ix pointing at block quote by @notriddle in #858 - Check indentation on the closing fence relative to the line by @notriddle in #862
- Adjust strikethrough flanking rule to better fit Rustdoc Crater run by @notriddle in #864
- perf: cargo-wizard default recommendations for runtime perf by @Martin1887 in #868
New Contributors
- @ehuss made their first contribution in #848
- @jimblandy made their first contribution in #865
- @max-heller made their first contribution in #866
- @blinxen made their first contribution in #875
Full Changelog: v0.10.0...v0.10.2