Skip to content

Release v2.0.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Sep 18:40
· 15 commits to main since this release
0648154

This is the first v2 release candidate. It is not the final 2.0 release.
Hex publication is managed separately by the maintainer.

Changed

  • One Elm runtime owns application state, update order, command execution,
    and shutdown. Application views return one complete TermUI.Frame.
  • Widgets are pure values. The parent owns their state, composes their
    frames, and turns widget messages into command data.
  • Backend owners control input, output, terminal size, capabilities, and
    cleanup. Printable input uses Event.Text; named and modified keys use
    Event.Key.
  • Elixir 1.18.4 and OTP 28 are the minimum supported versions.
  • V2 changes target main. V1 fixes remain on maint/1.x. The public
    TermUI namespace and the Jido Console runtime contract remain supported.

Added

  • Complete isolated SSH sessions with bounded output, resize, timeout, and
    disconnect cleanup.
  • A bounded web frame protocol, browser renderer, and optional web host.
  • Optional Ghostty terminal sessions on the tested GNU Linux and macOS ARM
    platforms, with pure conversion from emulator output to TermUI frames.
  • Pure input, table, tree, layout, stream, system-data, and feedback widgets.
  • A migration guide, widget parity tables, runnable showcase, source NIF
    policy, and Oracle Linux release build instructions.
  • Four runnable widget recipes for input/focus, forms, tables, and async
    stream updates, with guide snippets checked in the consumer tests.
  • Six user acceptance specifications and bounded parser, frame, and browser
    protocol properties with replayable fuzz regression inputs.

Fixed

  • Option+Delete word removal, continued Unicode input, terminal redraw,
    suspend and resume, color updates, and terminal and worker cleanup.
  • Windows console input and resize in the tested Command Prompt and Git
    Bash ConPTY profiles. Physical Windows Terminal and Mintty checks remain
    open follow-up work.
  • Live showcase process table identities use PIDs, so equal displayed
    process values do not stop the application.
  • Malformed UTF-8 in bracketed paste is discarded without losing valid text
    or raising an input error.
  • Joined emoji, skin tones, and composed characters use consistent grapheme
    widths in text layout and complete frames.

Migration

This is a breaking change from 1.x. Use the migration guide
and widget parity table before changing an application.