Up to [cvs.NetBSD.org] / pkgsrc / misc / py-libtmux
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
misc/py-libtmux: Update to 0.58.1
## libtmux 0.58.1 (2026-06-16)
libtmux 0.58.1 restores compatibility with pytest 9.1. The bundled
pytest plugin no longer aborts at import time, so projects that rely on
libtmux's fixtures can move to the latest pytest without their test
suite failing before collection.
## libtmux 0.58.0 (2026-05-23)
libtmux 0.58.0 fixes subprocess output decoding on non-UTF-8 locales.
Both {class}`~libtmux.common.tmux_cmd` and
{class}`~libtmux._internal.control_mode.ControlMode` now enforce UTF-8
when reading tmux output, matching tmux's own encoding contract.
## libtmux 0.57.1 (2026-05-18)
Restores the "lenient-by-default" behavior for
{attr}`~libtmux.Server.sessions` and {attr}`~libtmux.Server.clients` that
was changed in 0.57.0.
### Behavioral Changes
#### Lenient `Server.sessions` and `Server.clients` accessors
#### Stricter `search_*` methods
## libtmux 0.57.0 (2026-05-17)
libtmux 0.57.0 broadens tmux support around attached clients, tmux-native
filtering, and format-token fields. {class}`~libtmux.Client` gives callers a
typed object for attached terminals, `search_*()` methods let tmux return only
matching sessions, windows, and panes, and more tmux format tokens are exposed
as typed attributes. {exc}`~libtmux.exc.LibTmuxException` now records which
tmux subcommand failed, making command errors easier to handle downstream.
### Breaking changes
#### `LibTmuxException` string form gains a subcommand prefix (#672)
#### `Server.sessions`, `Server.clients`, and `Server.search_sessions` raise on tmux errors (#672)
### What's new
#### `Client` object and `Server.clients` accessor (#672)
#### `Server.display_message` and `Window.display_message` (#672)
#### tmux-native filtering with `search_*()` (#672)
#### `Pane.send_keys(cmd=None, …)` flag-only invocation (#672)
#### `Server.list_buffers(format_string=, filter=)` (#672)
#### `Server.run_shell(cwd=, show_stderr=)` (#672)
#### `Pane.capture_pane(pending=True)` (#672)
#### More format-token fields on tmux objects (#672)
## libtmux 0.56.0 (2026-05-10)
libtmux 0.56.0 is the tmux command-parity release. It adds more than
50 commands across {class}`~libtmux.Server`, {class}`~libtmux.Session`,
{class}`~libtmux.Window`, and {class}`~libtmux.Pane`, filling in many
commands that previously required raw {meth}`~libtmux.Server.cmd` calls.
It also adds attached-client test support so interactive tmux commands can be
covered in headless test suites.
### What's new
#### Interactive tmux commands are now scriptable (#653)
#### tmux buffer I/O has first-class support (#653)
#### Server commands cover key bindings, clients, shell execution, and access (#653)
#### Windows and panes can be rearranged through the object API (#653)
#### Improvements (#653)
#### Attached-client tests are available through `control_mode` (#653)
### Development
#### tmux 3.7 is within the known-version range (#653)
Add tmuxp