Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Jul 20:36

Warning

This release contains breaking changes — see UPGRADING.md before updating.

What's Changed

✨ Features

  • Expose the bare-link judgment as AST::Url#bare? (#62)
  • Let tag overrides fall back to the stock rendering (#62)
  • Keep bare and relative URLs intact in UrlTag (#62)

🐛 Bug Fixes

  • Model quote attributions with honest names and types (#62)

⚡ Performance

BBCode and MediaWiki now convert roughly twice as fast, HTML about 1.5×, with allocations down 3–9.5× depending on the format. Multibyte text no longer carries a penalty — scanning non-ASCII BBCode was up to 5× slower than ASCII and is now at parity.

  • Trim TextFormatter per-parse and per-element overhead (#61)
  • Cut the HTML tree walk's per-node overhead (#61)
  • Build the MediaWiki inline tag registry only once (#60)
  • Convert the MediaWiki inline parser to byte-offset jump scanning (#60)
  • Skip the line split for single-line text in MarkdownEscaper (#59)
  • Turn RenderContext into a linked parent chain (#59)
  • Cut small allocations in the parse and render hot paths (#58)
  • Convert the BBCode scanner to byte offsets (#58)
  • Build the default handler registry and tag library only once (#58)

Full Changelog: v0.2.1...v0.3.0