Skip to content

chore(deps): bump ex_ratatui from 0.19.0 to 0.21.0 - #171

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/ex_ratatui-0.21.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/ex_ratatui-0.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor

Bumps ex_ratatui from 0.19.0 to 0.21.0.

Release notes

Sourced from ex_ratatui's releases.

v0.21.0

Added

  • Mouse pointer shapes. Apps return pointer: :pointer (or another shape) from a callback to change the operating-system mouse pointer, a hand over a clickable region for instance, and pointer: :default to go back to the arrow. The runtime writes only when the shape changes, also with render?: false, and the arrow comes back when the app stops or crashes (on the local terminal, also when it is killed). ExRatatui.set_mouse_pointer/1 is the low-level call. Shapes go out as OSC 22 names, which kitty and Ghostty support; nothing is detected, so the app decides whether to ask. The shape is set on the terminal the app is drawn on: the local one, an SSH client's, the IEx shell's or the attaching node's. ExRatatui.Runtime.snapshot/1 reports the current shape as :pointer, also under test_mode, where nothing is written. Thanks to @​houllette!

  • Mouse events over SSH, the IEx shell and Distributed.attach/3. mouse_capture: true now works off the local terminal too: inside :app_opts for SSH, and as an option to ExRatatui.IODevice.run/2 and ExRatatui.Distributed.attach/3. Clicks, releases, drags, movement and the wheel arrive as the same %Event.Mouse{} the local terminal sends. The docs already said SSH and attach delivered mouse events, but nothing asked the terminal for them or decoded them. ExRatatui.Session.feed_input/2 and ExRatatui.CellSession.feed_input/2 decode SGR mouse reports for hosts that feed raw bytes.

Fixed

  • ExRatatui.Runtime.inject_event/2 delivers intents. A transition reached through an injected event dropped its intents: instead of handing them to the transport's intent writer, so tests could not see them. They now go out before the call returns, and before the server exits on a {:stop, ...} transition, as with real input.

  • ExRatatui.IODevice.run/2 no longer returns {:error, :noproc} for an app that stops right away. It started the TUI and only then began watching it, so an app that stopped in between was reported as an error instead of :ok (or its real exit reason).

  • A Burrito-packaged TUI that stops right after starting exits with the right code. ExRatatui.Burrito.main/3 only began watching the TUI after start_link/1 returned, so one that had already stopped was reported as :noproc (exit code 1 for a normal stop), and one that had already crashed could take the entry point down with it, leaving the binary hanging.

  • mix ex_ratatui.gen.burrito --ci github builds the Apple Silicon binary on macos-15. The scaffolded workflow used macos-14, which GitHub retired on November 2, 2026, so that job no longer starts. Projects that already generated the workflow should change the label in .github/workflows/release.yml themselves.

v0.20.0

Added

  • Apps without use ExRatatui.App. ExRatatui.App.start_link/2 and ExRatatui.App.child_spec/2 start a module that implements the callbacks directly, on any transport. This is what Erlang and Gleam modules need, since use is an Elixir macro. The functions use generates call them, so nothing changes for existing apps.
  • Erlang and Gleam guide and examples. Erlang and Gleam covers installing (rebar3 needs the exerl plugin and Elixir's lib dir on ERL_LIBS), data shapes, and limits. examples/gleam/counter and examples/erlang/counter are standalone projects, and a new CI workflow runs both with their own toolchains.

Changed

  • Built-in widgets skip protocol dispatch. Without consolidated protocols, as in Mix's dev environment, gleam run, and rebar3, looking up ExRatatui.Widget on every widget took most of the frame: a frame of 50 Paragraphs went from about 6 ms to about 0.4 ms under gleam run. A defimpl ExRatatui.Widget for a built-in widget struct is no longer consulted.
Changelog

Sourced from ex_ratatui's changelog.

[0.21.0] - 2026-11-16

Added

  • Mouse pointer shapes. Apps return pointer: :pointer (or another shape) from a callback to change the operating-system mouse pointer, a hand over a clickable region for instance, and pointer: :default to go back to the arrow. The runtime writes only when the shape changes, also with render?: false, and the arrow comes back when the app stops or crashes (on the local terminal, also when it is killed). ExRatatui.set_mouse_pointer/1 is the low-level call. Shapes go out as OSC 22 names, which kitty and Ghostty support; nothing is detected, so the app decides whether to ask. The shape is set on the terminal the app is drawn on: the local one, an SSH client's, the IEx shell's or the attaching node's. ExRatatui.Runtime.snapshot/1 reports the current shape as :pointer, also under test_mode, where nothing is written. Thanks to @​houllette!

  • Mouse events over SSH, the IEx shell and Distributed.attach/3. mouse_capture: true now works off the local terminal too: inside :app_opts for SSH, and as an option to ExRatatui.IODevice.run/2 and ExRatatui.Distributed.attach/3. Clicks, releases, drags, movement and the wheel arrive as the same %Event.Mouse{} the local terminal sends. The docs already said SSH and attach delivered mouse events, but nothing asked the terminal for them or decoded them. ExRatatui.Session.feed_input/2 and ExRatatui.CellSession.feed_input/2 decode SGR mouse reports for hosts that feed raw bytes.

Fixed

  • ExRatatui.Runtime.inject_event/2 delivers intents. A transition reached through an injected event dropped its intents: instead of handing them to the transport's intent writer, so tests could not see them. They now go out before the call returns, and before the server exits on a {:stop, ...} transition, as with real input.

  • ExRatatui.IODevice.run/2 no longer returns {:error, :noproc} for an app that stops right away. It started the TUI and only then began watching it, so an app that stopped in between was reported as an error instead of :ok (or its real exit reason).

  • A Burrito-packaged TUI that stops right after starting exits with the right code. ExRatatui.Burrito.main/3 only began watching the TUI after start_link/1 returned, so one that had already stopped was reported as :noproc (exit code 1 for a normal stop), and one that had already crashed could take the entry point down with it, leaving the binary hanging.

  • mix ex_ratatui.gen.burrito --ci github builds the Apple Silicon binary on macos-15. The scaffolded workflow used macos-14, which GitHub retired on November 2, 2026, so that job no longer starts. Projects that already generated the workflow should change the label in .github/workflows/release.yml themselves.

[0.20.0] - 2026-11-06

Added

  • Apps without use ExRatatui.App. ExRatatui.App.start_link/2 and ExRatatui.App.child_spec/2 start a module that implements the callbacks directly, on any transport. This is what Erlang and Gleam modules need, since use is an Elixir macro. The functions use generates call them, so nothing changes for existing apps.
  • Erlang and Gleam guide and examples. Erlang and Gleam covers installing (rebar3 needs the exerl plugin and Elixir's lib dir on ERL_LIBS), data shapes, and limits. examples/gleam/counter and examples/erlang/counter are standalone projects, and a new CI workflow runs both with their own toolchains.

Changed

  • Built-in widgets skip protocol dispatch. Without consolidated protocols, as in Mix's dev environment, gleam run, and rebar3, looking up ExRatatui.Widget on every widget took most of the frame: a frame of 50 Paragraphs went from about 6 ms to about 0.4 ms under gleam run. A defimpl ExRatatui.Widget for a built-in widget struct is no longer consulted.
Commits
  • 2b1ead3 chore: release v0.21.0
  • 2ad4ded fix: examples keep their SSH daemon and listener alive
  • 2591578 docs: mouse pointer example over SSH and distribution, cross-node test
  • 72ac124 feat: pointer shapes over SSH, the IEx shell and distributed attach
  • e7c3bd1 feat: mouse events over SSH, the IEx shell and distributed attach
  • 9c02702 feat: decode SGR mouse reports in the session input parser
  • fd606cb test: never open the real terminal from the suite
  • 28ba15f fix: Burrito entry point reports a TUI that stops right after starting
  • c78431d test: stop depending on tight timings
  • 569d772 fix: IODevice.run/2 no longer reports :noproc for an app that stops right away
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ex_ratatui](https://github.com/mcass19/ex_ratatui) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/mcass19/ex_ratatui/releases)
- [Changelog](https://github.com/mcass19/ex_ratatui/blob/main/CHANGELOG.md)
- [Commits](mcass19/ex_ratatui@v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: ex_ratatui
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Nov 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants