Skip to content

ElmTUI 0.3.2

Choose a tag to compare

@fkr-0 fkr-0 released this 01 Nov 04:26
· 349 commits to main since this release

Patch release with the non-breaking fixes from the API review. Qualified by the full release gate in CI (run 41272581828).

Fixed

  • deftea-app applications run. Their runners used to draw nothing and fail with a type error on shutdown, and only their macro expansion was tested. deftea-app now expands into defapplication with :strict-elm semantics. Views may still return a :root-viewport tree, and new :anchor/:height keys place the viewport. Ctrl-C, or a model with :should-quit t, quits.
  • State facades export working symbols. elmtui.state and elmtui.state.api used UIOP :reexport, which exports names only and created fresh, unbound symbols. As a result elmtui.state.api:sapply, sref, defupdate and others were unusable. They now re-export the real elmtui.state.update, elmtui.state.model and cl-state symbols.
  • One defapplication. elmtui.app.api:defapplication is now the same symbol as elmtui.app:defapplication.
  • defmsg predicates. defmsg now exports the <variant>-<message>-p predicates it defines. The undefined <variant>-p names are deprecated.
  • tmux-slider arrow keys. In the tmux-slider example, arrow keys no longer quit the app; they change direction and speed.

Added

  • Key and quit predicates. elmtui.app:key-pressed-p (:char, :key, :modifiers) and elmtui.app:quit-requested-p.
  • Logging keys. Generated run-NAME functions accept :log-file and :log-buffer.
  • New release gates:
    • a deftea-app application run in tmux;
    • the README Quickstart run in tmux;
    • a ratchet on unbound exports.
  • A tested README Quickstart, corrected tutorial and foundations chapters, and recorded demo media on the website.

Full details: CHANGELOG.