Skip to content

v0.7.0

Latest

Choose a tag to compare

@verveguy verveguy released this 05 Oct 11:13
· 17 commits to main since this release
c794846

A breaking release. It moves to Lexical 0.52 and Mermaid 12, and fixes a data-loss bug that affects fresh installs of 0.6.0.

Breaking

  • Lexical 0.52. All twelve Lexical peer ranges move from ^0.49.0 to ^0.52.0. The ranges don't overlap, so you must upgrade your whole Lexical family to 0.52 before taking this release.
    • If your own code uses Lexical directly, Lexical 0.50–0.52 have breaking changes of their own. The ones most likely to affect an editor host:
      • SELECTION_CHANGE_COMMAND now runs before DOM reconciliation (0.52).
      • Packages are ESM-only (0.51).
      • LexicalNode.getCommonAncestor was removed (0.52).
    • The editor adapts to the selection-timing change internally. It also keeps one copy/paste behaviour from 0.6.0: pasted text never brings annotation marks with it, which from Lexical 0.50 it otherwise would.
  • Mermaid 12 raises the browser floor to ES2024 / Safari 17.4+. Diagrams look exactly as before: the editor pins mermaid's previous dagre layout and classic look, so existing documents don't re-lay out or restyle.

Fixed

  • Data loss on save with newer mdast-util-to-markdown. mdast-util-to-markdown is pinned to exactly 2.1.2.
    • From 2.1.3, an underscore typed next to a backslash escape preserved from the source was saved unescaped, and the document re-opened with that text as emphasis.
    • 0.6.0 declared ^2.1.2, so a fresh install of 0.6.0 today resolves 2.2.0 and is affected. Upgrade to 0.7.0.
    • Lifting the pin is tracked in #157.

Changed

  • Runtime dependency floors raised: lucide-react ^1.49.0, yaml ^2.9.1, zod ^4.6.5.
  • @liminis/diagrams ^0.1.6 (metadata only).
  • The documentation site now runs on Astro 7 / Starlight 0.42.

Known gaps

  • IME composition wasn't manually validated against Lexical 0.52 for this release (#162). The rest of the hands-on pass found no regressions against 0.6.0.
  • Two existing quirks were found during that pass, neither new in 0.7.0: #160 and #161.

Full notes: CHANGELOG.md.