Skip to content

v0.4.12

Choose a tag to compare

@adammharris adammharris released this 30 Sep 22:56
· 106 commits to main since this release
v0.4.12

Breaking

  • leaf-swift — require macOS 13, the floor the linked Rust library already had (664bffc)

Added

  • leaf-core — insert a host's directive, and reserve rows for its drawing (ffdd8b2)
  • leaf-ffi,leaf-wasm — export insert_directive, set_directive_rows and the directives capability (c27d753)
  • leaf-ratatui — draw a host's directives and offer its catalogue rows (2151531)
  • leaf-tui — an Embed palette row and the embed drawn as a card (54721f9)
  • leaf-web — draw a host's directives through a hook, and insert them from its catalogue (0a02aa2)
  • leaf-swift — draw a leaf directive with a view the host supplies (cabc9d1)
  • leaf-swift — offer a host's directives in Insert (ecd69f2)
  • leaf-editor — draw ::embed as a titled card and offer Insert ▸ Embed… (5bf7847)
  • leaf-compose — draw a leaf directive with a composable the host supplies (2fbb408)
  • leaf-compose — offer a host's directives in the formatting bar's Insert menu (f7ef085)
  • leaf-android — draw ::embed as a titled card and offer Insert ▸ Embed… (65cbd0c)
  • xtask — package a signed, notarised Leaf.app in a .dmg (3205fba)

Fixed

  • leaf-editor — install committed Package.resolved in Xcode Cloud post-clone (0f60f78)
  • leaf-core — text typed at a leaf directive's stops opens a paragraph beside it (36a466b)
  • leaf-tui — leave an embed too narrow for its card to the placeholder (79c256e)
  • leaf-editor — raise the Mac app's deployment target to macOS 13 (1dd6b60)

Behavioural changes

  • a djot ::: name fence under an attribute line carrying classes is now named by the fence's word, not by the first class, which it used to be.

  • a selection endpoint on the surface past the last row, when that row is a picture or formula, now maps to the row's far caret stop rather than to column 2.

  • In the rendered view, text typed or pasted at either caret stop of a block leaf directive now opens a paragraph above or below it instead of joining the directive's source line.

  • In the rendered view, Backspace past a block leaf directive or Delete in front of one removes the whole directive (one undo step); the key aimed away from it moves the caret over it and deletes nothing, where both used to delete one byte of its markup.

  • In djot, typing in front of a block picture or directive that has a {...} attribute line now opens the paragraph above the attribute line, and deleting the block removes that line with it.

  • LeafFFI/LeafUI now require macOS 13; an app targeting macOS 12 no longer resolves the package.


Every change in this release and the ones before it: docs/CHANGELOG.md.