Skip to content

v0.56.0

Latest

Choose a tag to compare

@kivikakk kivikakk released this 06 Oct 08:31
· 1 commit to main since this release
9a85589

The headline announcement: Comrak's MSRV has been bumped to 1.89. I really don't like bumping it, but not doing so limits our ongoing access to the developing Rust ecosystem. Thanks for your understanding!

There's also been quite a few pathological edge-cases solved in this release; updating is recommended.

Security:

Parser changes:

  • We addressed a trio of autolink parser differences from cmark-gfm. (by @kivikakk in #843 and #844)

Changed APIs:

  • The tagfilter extension has been removed, as I warned in the last release. It's bad. Don't use it. (by @kivikakk in #845)

Bug fixes:

  • Measure fenced block offset in columns, not bytes. (by @szdytom in #836)
  • Fix multiline inline source positions. (by @szdytom in #855)
  • Count lone carriage returns in front matter source positions. (by @szdytom in #861)
  • Fix table row source positions for differing indents. (by @szdytom in #862)
  • Fix indented code block source positions after trailing blanks. (by @szdytom in #863)
  • Fix paragraph source positions before tables with CRLF. (by @szdytom in #864)
  • Zero-end columns adopt the widest end position in the path. (by @kivikakk in #868)

Stability:

  • Update ranges for is_cjk to Unicode 18 & add fast path. (by @tats-u in #838)

Performance:

  • Address Node::collect_text recursion and some wastefulness. (by @kivikakk in #847)
  • Allocate one delimiter arena + byte scan table set per document. (by @kivikakk in #849)
  • Autolink/sourcepos optimisations. (by @kivikakk in #850)
  • Store exact-sized content in nodes during block phase. (by @kivikakk in #853)
  • Special character detection in inline scanning considers context. (by @kivikakk in #856)
  • Move 40 bytes of block-only data per node out of the arena. (by @kivikakk in #857)
  • List sourcepos optimisations. (by @kivikakk in #866)

Dependency updates:

  • Bump bon from 3.9.0 to 3.9.3. (by @dependabot[bot] in #834)
  • Bump emojis from 0.8.2 to 0.9.0. (by @dependabot[bot] in #841)
  • Bump smallvec from 1.15.1 to 1.15.2. (by @dependabot[bot] in #835)
  • Bump phf and phf_codegen from 0.13.1 to 0.14.0. (by @kivikakk in #842)
  • Bump rustc-hash from 2.1.2 to 2.1.3. (by @dependabot[bot] in #869)

Documentation:

Build changes:

Behind the scenes:

  • Make parser::autolink::check_domain make sense. (by @kivikakk in #846)
  • CodSpeed benches run against the GFM option-set too. (by @kivikakk in #854)

New Contributors

Diff: v0.55.0...v0.56.0