Up to [cvs.NetBSD.org] / pkgsrc / misc / py-libtmux
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-libtmux: Update to 0.61.0
0.61.0 (2026-07-04) -- hardening for the tmux 3.7 patch line.
- Pane.break_pane() no longer names the broken-out window "libtmux" on
tmux 3.7a/3.7b when no window_name is given; tmux's own default
(usually the running command) is kept.
- New libtmux.common.get_version_str(), returning the raw tmux version
string with the point-release suffix ("3.7a") that get_version()
strips for numeric comparison.
- The test suite now passes against tmux 3.7a and 3.7b. A window-name
test had assumed the ":"/"." rejection introduced in 3.7, which tmux
reverted in 3.7a.
0.60.0 (2026-06-28) -- completes tmux 3.7 feature parity. Every 3.7-only
surface is version-gated, so tmux 3.2a-3.6 keep working unchanged.
- Floating panes via Window.new_pane() and Pane.new_pane(): a pane that
sits above the tiled layout like a popup but behaves like a real pane.
Sized with width/height, positioned with x/y. Requires tmux 3.7.
- Type support for the new tmux 3.7 options: server get-clipboard;
session focus-follows-mouse, message-format and
prompt-command-cursor-style; window copy-mode line-number, tree-mode
preview and window-pane status format options; the "key" value of the
pane remain-on-exit option; and the pane border styles that 3.7
widened to pane scope.
- New tmux 3.7 pane format variables on Pane: floating pane geometry and
flags, OSC 9;4 progress reporting, pane_pipe_pid, and the bracket
paste and synchronized output screen-mode flags.
- New tmux 3.7 command flags on the existing wrappers: capture_pane
(hyperlinks, line numbers, line flags), split (empty pane, style and
border styles, message, keep), Session.kill (session group),
paste_buffer (raw bytes), command_prompt (no freeze), list_keys
(output format), run_shell (trailing args expanded as #{1}/#{2}) and
refresh_client (request the terminal clipboard). Each warns and is
ignored on tmux older than 3.7.
py-libtmux: updated to 0.59.0
libtmux 0.59.0 (2026-06-27)
libtmux 0.59.0 adds support for tmux 3.7. tmux 3.7 shipped an upstream
regression that crashed the server on `break-pane`;
{meth}`~libtmux.Pane.break_pane` now works around it so breaking and
rejoining panes works again, and tmux 3.7 joins the tested version
matrix alongside 3.2a-3.6.
Fixes
`break-pane` no longer crashes the tmux 3.7 server
tmux 3.7 shipped a regression where `break-pane` aborts the server with
a NULL-pointer dereference whenever a pane is broken out of a window
without an explicit name (fixed upstream after the 3.7 release).
{meth}`~libtmux.Pane.break_pane` now works around this on tmux 3.7 by
always supplying a name and applying the requested one afterwards, so
breaking a pane into a new window — and joining it back with
{meth}`~libtmux.Pane.join` — work again. Older and post-3.7 tmux are
unaffected.
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)
py-libtmux: fix tool dependency
Add tmuxp