0.3.2 (2026-11-14)

Bug Fixes

  • Build linux-gnu NIFs against glibc 2.28 in #148

Dependencies

  • deps: Update Lumis core and WASM runtime in #139

0.3.1 (2026-10-31)

Features

  • Add budget: [parse_memory: bytes] to cap the heap a parse may use. By @ericmj in #129
  • Highlight inline code with Lumis via a trailing {:lang} marker or a language-* class. Disable with syntax_highlight: [inline_code: false]. In #132
  • Highlight inline code with Syntect too. In #133

Bug Fixes

  • An unknown Syntect theme name no longer panics. In #133
  • Lumis diff fences keep the line background across the marker and injected tokens. In #135

0.3.0 (2026-10-29)

Breaking Changes

  • MDExNative.Comrak.parse_document/2, markdown_to_html/2, markdown_to_xml/2, document_to_html/2, document_to_xml/2, and document_to_commonmark/2 now return {:ok, result} or {:error, exception}. To keep the old behavior, call the new bang variants. In #123

Features

  • Add extension: [ofm_comments: true] and the CommentInline / MultilineComment AST nodes. Comments are omitted from HTML but preserved in CommonMark and XML.
  • Add extension: [ofm_callouts: true] and the Callout / CalloutTitle AST nodes, including metadata, Markdown titles, and fold state.
  • Preserve wikilink embeds (![[url]]) in WikiLink.embed and CommonMark/XML output. HTML renders embeds as links. Set extension: [wikilinks_ignore_embeds: true] to leave embeds as literal text.
  • Add a top-level budget: [parse_time: milliseconds] option that bounds Comrak's parse in parse_document/2, markdown_to_html/2, and markdown_to_xml/2. Running out returns {:error, %MDExNative.ParseTimeExceededError{}} without partial output; the bang variants raise it. Omitting budget, or setting parse_time to nil or 0, means no limit. In #122

Security

  • Include Comrak's fix for quadratic HTML table-cell rendering (GHSA-j7hq-qg5v-47jq).

Dependencies

  • Upgrade Comrak to 0.59 in #119

Compatibility

  • Downstream AST adapters (including MDEx's Comrak converter) must handle Callout, CalloutTitle, CommentInline, and MultilineComment, and preserve the new WikiLink.embed field. Wikilink XML now includes embed="true" or embed="false".

0.2.14 (2026-10-28)

Bug Fixes

  • Fall back to plain text when Lumis highlighting fails in #114

Dependencies

  • Update Lumis core to 6.0 in #118

0.2.13 (2026-10-23)

Features

  • Lumis highlight doesn't require the :lumis package in #88

Bug Fixes

  • Cache Syntect adapters by theme across renders (#102)

0.2.12 (2026-10-19)

Bug Fixes

  • nif: Bump MSRV and Rustler in #101

Dependencies

  • Update Comrak to 0.56.0 in #94

0.2.11 (2026-10-04)

Bug Fixes

  • Forward Lumis highlighting budgets in #89

Performance Improvements

  • Strip symbols from the release NIF in #87

Documentation

  • Add an architecture overview in #84

0.2.10 (2026-09-29)

Features

  • Render node attributes in HTML output by @leandrocp in #76
  • Update Lumis to 0.10 by @leandrocp in #82

Bug Fixes

  • Configure the Lumis store on first use, not only at startup by @leandrocp in #79
  • Cache compiled parsers under the Lumis data directory by @leandrocp in #80

Documentation

  • Link the upstream comrak source used in formatter by @leandrocp in #78

0.2.9 (2026-09-24)

Features

  • Update comrak to 0.55.0 by @leandrocp in #65
  • perf: Render Markdown faster by @leandrocp in #71
  • Lumis WASM runtime and parsers from Hex by @leandrocp in #59

Bug Fixes

  • Declare children on Escaped AST nodes by @leandrocp in #70

Documentation

  • Clarify precompiled artifact compatibility by @leandrocp in #67
  • Lumis 0.9 by @leandrocp in #75

0.2.8 (2026-08-13)

Features

  • Update lumis v0.13 by @leandrocp in #53

0.2.7 (2026-08-03)

What's Changed

New Contributors

Full Changelog: https://github.com/leandrocp/mdex_native/compare/v0.2.6...v0.2.7

0.2.6 (2026-07-17)

Features

0.2.5 (2026-07-08)

Features

  • update comrak v0.53 (#40) (7e239ba)
  • Reduce comrak features to only ones used by @josevalim

Bug Fixes

  • bump minimum rustler_precompiled (#37) (36bd51c), closes #33
  • render attrs on pre tag for html multi themes formatter (#39) (05204c9)

0.2.4 (2026-07-03)

Bug Fixes

Documentation

  • cloudflare source example (917a54f)

0.2.3 (2026-06-29)

Features

Bug Fixes

  • avoid leaking escaped tag literals (cbd927f)
  • lumis: sanitize decorator attributes (7738ff4)
  • lumis: unbounded Lumis highlight_lines ranges (798a363)
  • stack-safe comrak document conversion (947696c)

0.2.2 (2026-06-19)

Features

  • add MDExNative.Comrak.dangerous_url? (#24) (d05d02b)

Documentation

0.2.1 (2026-06-15)

Features

0.2.0 (2026-06-12)

⚠ BREAKING CHANGES

Features

0.1.5 (2026-06-08)

Features

  • choose syntax highlighter at compile-time (#16) (c4aecc2)

Documentation

0.1.4 (2026-06-06)

Features

0.1.3 (2026-06-06)

Features

  • explicit :syntax_highlight with :engine (#11) (b334d35)

Documentation

  • main page (9ca4ae9)
  • Update documentation for Comrak options mapping (#10) (0811ce8) by @josevalim

0.1.2 (2026-06-05)

Bug Fixes

0.1.1 (2026-06-05)

Bug Fixes

0.1.0 (2026-06-04)

Features

  • Initial release of MDExNative.
  • Add Comrak Markdown parsing and rendering through MDExNative.Comrak.
  • Add Ammonia HTML sanitization through MDExNative.Ammonia.
  • Add Lumis syntax highlighting support through the native LumisAdapter.