Repository navigation
In progress
Labels
roadmapRoadmap and tracking issues
Description
Each release after 0.64.0 carries one kind of breaking change, narrowest first, so a pin just below any of them keeps every safer fix.
Shipped in 0.64.0, fixes with no breaking change:
-
import libtmuxwhensys.stdouthas noencoding_compat(fix): Stop readingsys.stdout.encodingat import #890 (Need avoiding relying on sys.stdout #600). - Lookup exception subclasses under mypy exc(fix[typing]): Accept forwarded kwargs in lookup errors #891 (Subclassing
ObjectDoesNotExistand forwarding**kwargsfails mypy #737). -
send_keystext starting with-Pane(fix[send_keys]): Send text that starts with a dash #892 (Pane.send_keystypes nothing and raises nothing for text that starts with-#838). - Values starting with
-in rename, buffer, message and environment calls tmux(fix[args]): Treat values that start with a dash as data #893 (Positional values starting with-are parsed as flags across wrappers #864). -
send_keys(hex_keys=True)with more than one byte Pane(fix[send_keys]): Send each hex byte as its own argument #894 (Pane.send_keys(hex_keys=True)drops multi-byte hex and sendsEnter#880). -
refresh()clears emptied fields neo(fix[refresh]): Clear fields tmux reports as empty #895 (parse_outputdrops""values andObj._refreshleaves stale fields #445). -
select_pane(index)stays in its window Window(fix[select_pane]): Select a pane index in this window #896 (select_pane not working correctly with multiple sessions #487). -
kill_window(name)stays in its session Session(fix[kill_window]): Kill a named window in this session #897 (Window killed in another session rather than specified #302). - Mask environment values in logs common(fix[logging]): Mask environment values in logged argv #898 (
tmux_cmdlogs unredactedset-environment, buffer, and key values #866). -
repr(Server())names the socket tmux uses Resolve the socket path in Server's repr instead of hard-coding /tmp #727 (Server.__repr__hard-codes/tmp/tmux-<euid>/default, ignoring$TMUX_TMPDIR#723). - Newline in a pane's path breaks listings Regroup listing records on the field separator, not newlines #752 (
fetch_objssplitslist-*records when a format field contains a newline #240). - Values ending in
;passed as data Pane(fix[send_keys]): Pass values ending in ; as data #845 (An argument ending in;runs the next argument as a tmux command #844). -
retry_untilarguments and monotonic clock Fixretry_until's clock, and let it forward args #729 (retry_until's zero-arg predicate forces a loop-variable closure that ruffB023and mypy disagree about #726). - Automation-pattern examples wait for the command Automation patterns: wait for tmux instead of guessing #734 (docs(automation_patterns): the wait helpers never wait — the marker matches the command echo #706, docs(pane_interaction, workspace_setup): the same shell-echo race #706 fixed in automation_patterns #715).
- Control-mode test timeout Bound the control-mode wait off the descriptor #733 (
test_control_mode_stdout_preserves_non_ascii_outputpollsselecton a buffered stream #731).
Shipped in 0.65.0, capability matrix and tmux 3.3a minimum:
- One table for tmux feature gates Capabilities(feat): Gate tmux features from one table #887.
- Require tmux 3.3a tmux(feat[minimum]): Require tmux 3.3a #888 (Require tmux 3.3a for core operations #777).
Shipped in 0.66.0, narrow changes:
- Owner-only
save_bufferfiles Server(fix[save_buffer]): Create the saved file owner-only #903 (Server.save_buffercreates destination files under daemon umask (0644) #865). - No Enter after
hex_keysby default Pane(fix[send_keys]): Send hex keys without a trailing Enter #904 (Pane.send_keys(hex_keys=True)drops multi-byte hex and sendsEnter#880). -
SocketPathTooLongMeasure a tmux socket path where tmux resolves it #730 (Serverdoes not validate socket path length; overrun surfaces as a raw tmuxFile name too long#725).
Shipped in 0.67.0, names and targets:
-
exact=for session names Server(feat[kill_session]): Add exact= to match session names exactly #899 (Server.kill_session(name)kills a session whose name only starts withname#839). - Literal
#in names, titles and start directories tmux(fix[formats]): Keep # literal in names, titles and directories #901 (#in names, titles, andstart_directoryexpands as a tmux format #863). - Opt into tmux formats with
Format, and keep#[literal formats(feat[Format]): Opt into tmux formats #910 (#escape corrupts#[, and typed methods lack a tmux-format opt-in #909).
Shipped in 0.67.1, fixes for 0.67.0's literal names:
- What a format can run, in the format guide docs(formats): Say what a format can run #915 (
select_existing=Truemismatches literal window names on tmux 3.3a, 3.7+ #914). -
new_window(select_existing=True)finds literal window names on every tmux Session(fix[new_window]): Look up reuse by name #917 (select_existing=Truemismatches literal window names on tmux 3.3a, 3.7+ #914).
Shipped in 0.68.0, calls that now raise and select_existing follow-ups:
-
TmuxObjectDoesNotExistfor closed panes, windows and sessions tmux(fix[errors]): Raise TmuxObjectDoesNotExist for a closed target #902 (MissingTmuxObjectDoesNotExistand silent stderr on closed targets #340). -
send_keysandenterraise on tmux errors, in tmux(fix[errors]): Raise TmuxObjectDoesNotExist for a closed target #902 (Pane.send_keystypes nothing and raises nothing for text that starts with-#838). -
run_shellraises on tmux 3.3a and 3.4 instead of returning[]Server(fix[run_shell]): Refuse output tmux keeps #918 (run_shellreturns nothing before tmux 3.5; gate it on a capability #911). -
new_window(select_existing=True)reuses bywindow_indexortarget_windowon every tmux Session(fix[new_window]): Reuse by index or target on every tmux #827 (new_window(select_existing=True)raisesIndexErroron reuse #821): libtmux finds the window; a name passed with an index must match the window there. - One name for the
-Fopt-in:expand_formatslibtmux(feat[expand_formats]): One name for -F #919 (Unify the-Fopt-in:expand_formats,expand_format,_format#912). -
select_existingnames its#{command}lookup limit Session(docs[new_window]): Note the #{command} lookup limit #921 (select_existing=Truemismatches literal window names on tmux 3.3a, 3.7+ #914). -
select_existingnotesWindow.__exit__on reused windows Session(docs[new_window]): NoteWindow.__exit__onselect_existingreuse #926 (new_window(select_existing=True)raisesIndexErroron reuse #821). - Environment tests wait for the shell tests(Session,Window): Wait for the shell before reading env output #922 (Intermittent / flaky test test_capture_pane #484).
Probably for 0.69.0, changes most callers will see:
- Empty tmux fields read
""neo(fix[parse_output]): Keep empty tmux fields as empty strings #900 (parse_outputdrops""values andObj._refreshleaves stale fields #445). - User options returned as strings options(fix): Preserve user-option strings #826 (
show_optioncoerces user options, so an@option set to123oroncomes back as an int or a bool #759). -
with Server()keeps the server running Scoping a Server no longer kills it #728 (Server.__exit__kills any live server, including one it did not start #724).
Later/TBD:
-
get_or_create_window()andget_or_create_session()libtmux(feat[get_or_create]): Add window and session helpers #920 (Addget_or_create_window()andget_or_create_session()helpers #916): waits on Addget_or_create_window()andget_or_create_session()helpers #916 naming, Create or reuse tmux resources with explicit cleanup ownership #804 provenance, and safeSession/Window__exit__(Lifecycle roadmap: overlaps, conflicts, blockers and tmux version gates #925). - Sessionless
Server.connect_or_start()(AddServer.connect_or_start()to keep a server up with no sessions #923),Server.private()(AddServer.private()context manager #872), and server discovery Lobby(feat): Discover local tmux servers #764 (Discover local tmux servers without starting them #924): ordered in Lifecycle roadmap: overlaps, conflicts, blockers and tmux version gates #925. - Per-call client
env,cwd, and flags (Support per-call client flags, cleanenv/cwd, andspawn_client#882). - Mask typed keys and buffer data in logs, common(feat[logging]): Mask typed keys and buffer data in logs #905 or common(feat[logging]): Let callers choose the logged argv redactor #906 (
tmux_cmdlogs unredactedset-environment, buffer, and key values #866): both rebased, comparison posted; pick one. Structured logging docs and failure ownership in Document structured logging and define failure ownership #748 (Documentation: how to use internal libtmux logging #744,tmux_cmdlogs unredactedset-environment, buffer, and key values #866). - Engine seam Engine(feat): Add raw-byte libtmux.engine seam and capabilities #739 and
libtmux.aio/ReplayEngineAio(feat): Addlibtmux.aioand offlineReplayEnginetapes #738 (Design typed operations and engines #688, Operationalize typed operations and engines (follow-up to #688) #689, Asyncio: bake into server? #421). - Preserve explicit program arguments Preserve explicit program arguments across launches #830 (Preserve program arguments when creating or respawning panes #822) and own launched pane programs session(feat): Track fresh program lifetimes #833 (Own a launched pane program through completion and cleanup #823).
- Daemon-checked tmux 3.3a minimum Require tmux 3.3a for core operations #779 (Require tmux 3.3a for core operations #777) and separately gated optional features Support(fix): Gate unsafe optional tmux features #780 (Gate unsafe optional tmux features independently #778), drafts.
- Replace
mypywithtyand RuffANNReplacemypywith stricttyand RuffANN#682 (Investigate ty type checker alongside mypy #681). - Exact session-name matching by default (
Server.kill_session(name)kills a session whose name only starts withname#839). - Which server a bare
Server()uses (Server()without a socket follows an inherited$TMUXto another server #840). - Tests that read a pane before the shell has answered (Intermittent / flaky test test_capture_pane #484): the environment tests are fixed by tests(Session,Window): Wait for the shell before reading env output #922; remaining shell-readiness PRs tests(fix): Wait for rendered pane output #837 and Tests: Improve shell interoperability #577.
-
capture_panehardening (Bullet proofing forcapture_pane#456): observation slices in capture(test[continuity]) Document ambiguous repeated scrollback #808 (Investigate libtmux-side trim detection for scrollback consumers #671), Retain immutable pane capture observations #810 (Snapshot / frame dataclass #370), Add bounded visible-text presence and absence waits #829 (Wait for visible text, future output, or cooperative completion with explicit evidence #673, Waiter v3.0: Requirements #584), and Add Pane.capture_since() for cursor-based incremental pane reads #741 or Capture retained history with counter-backed cursors #832 (feature: upstream capture_since #740). - Duplicate
-tincmd()(Duplicate-tincmd()#670). - Remaining
tmux 3.6aObjformat tokens (Add remainingtmux 3.6aObjformat tokens #927, split from Duplicate-tincmd()#670). - Per-client active pane for
Client.attached_pane(Per-client active-pane resolution for Client.attached_pane #675). - Error contract for
display_message(Predictable error contract for display_message wrappers #676). -
Serverliveness and list errors (Serverliveness, list error handling, andEnvironmentMixinerrors #704), withraise_if_deadand version-check fixes in fix: pre-existing issues in server.py and common.py (raise_if_dead, has_minimum_version) #641. - Format-string quoting under msys2 (Add quotes around format strings for compatibility with msys2 (git bash) #745).
- Reap
wait-forclients on timeout (Reapwait-forclients on timeout/cancel and expose-l/-w#870,Server.wait_for()has no timeout, so a pane that never signals hangs forever #732): server(feat[wait]) Bound ordinary channel waits #809 or Bound a tmux command that may never return #735 (server-wide timeout alternative in Bound every tmux command from a server-wide timeout, listings included #757, per-call deadline in command(feat[timeout]) Add opt-in per-call deadlines #807). - Gate removed
popup-*options (Gate removedpopup-*options on< 3.9and addtmux 3.9-devtokens #878). -
check_name=Falsesession names (Allowcheck_name=Falsesession names and-t ""inObj.cmd()#885). - The 3.4
split-window -pregression andcopy_mode(page_down=True)in the capability table (run_shellreturns nothing before tmux 3.5; gate it on a capability #911).
Activity
[-]Roadmap: the fix queue after libtmux 0.63.0[/-][+]0.63.x & 0.64 Roadmap[/+][-]0.63.x & 0.64 Roadmap[/-][+]0.63.x and beyond Roadmap[/+]tony commentedon Nov 21, 2026
The 15 fixes listed for 0.64.0 are merged into master, each as its own merge commit, and master's CI passed on the last one. The 0.64.x section of
CHANGEShas an entry for each, under What's new, Fixes, Documentation and Development.Notes from the merges:
send_keystext that starts with-) merged without its commit that madesend_keysandenterraise on a tmux error. That raise changes what working callers see, so it stays in tmux(fix[errors]): Raise TmuxObjectDoesNotExist for a closed target #902 for 0.67.0; the description of Pane(fix[send_keys]): Send text that starts with a dash #892 says so.send_keys(hex_keys=True)sends every byte) and Pane(fix[send_keys]): Send text that starts with a dash #892 changed the samesend_keysline. The merged code keeps both:"--", *keys. tmux 3.8a, 3.3a and 3.2a accept--before hex bytes.;passed as data) overlapped the--changes from tmux(fix[args]): Treat values that start with a dash as data #893, Pane(fix[send_keys]): Send text that starts with a dash #892 and Pane(fix[send_keys]): Send each hex byte as its own argument #894 in five files. Each resolved line keeps both the--and the escaping, and its tests pass on tmux 3.8a, 3.3a and 3.2a.SocketPathTooLong, planned for 0.65.0) is rebased onto master now that Resolve the socket path in Server's repr instead of hard-coding /tmp #727 is merged, with itsCHANGESentry regenerated. It is not merged.The list above now ticks the 15 merged items and points the
send_keysraise at #902. #240, #726, #706 and #715 are closed with a reference to the pull request that fixed each.tony commentedon Nov 24, 2026
Milestones 0.68.0 and 0.69.0 now hold the open items listed in those two sections.
An ordering note from #925: #920 (0.68.0) returns sessions it reuses, and
Session.__exit__kills any session it finds, sowith server.get_or_create_session(...)would kill an existing session; #728 (0.69.0) leaves session teardown as it is. #923 (Server.connect_or_start()) also needs #728 first, sinceServer.__exit__kills any live server.