Skip to content

v0.57.1

Choose a tag to compare

@tony tony released this 18 May 22:34
· 235 commits to master since this release

What's Changed

libtmux 0.57.1 restores the lenient-by-default behavior for Server.sessions and Server.clients. Both accessors return an empty QueryList on tmux failure (socket permission errors, subprocess crashes, missing daemon) again,
matching the contract Server.sessions has carried since 0.17.0.

Code written for 0.57.0 with try/except LibTmuxException around these accessors keeps working — the except clause just becomes unreachable. For an explicit connectivity signal, use Server.is_alive() or Server.raise_if_dead().

Server.search_sessions, Server.search_windows, and Server.search_panes continue to raise — they take a caller-supplied filter where a tmux error carries meaningful signal.

See the CHANGES entry for full details.

  • Server(fix[sessions,clients]): Return empty on tmux errors by @tony in #677

Full Changelog: v0.57.0...v0.57.1