diff --git a/CHANGES b/CHANGES index d212a8c2be..45cbf34438 100644 --- a/CHANGES +++ b/CHANGES @@ -44,6 +44,29 @@ $ tmuxp@next load yoursession _Notes on the upcoming release will go here._ +### Breaking changes + +#### `#` in workspace names and start directories is kept as typed (#1111) + +A `#` in a workspace's `session_name`, a `window_name` or a `start_directory` +reaches tmux as typed, so `window_name: build#2` names the window `build#2` +and `window_name: "#S"` names it `#S`. tmux used to expand these as formats, +so `#S` became the session name. This comes from libtmux 0.67.0. + +### Dependencies + +#### Minimum `libtmux~=0.67.1` (was `~=0.66.0`) (#1111) + +Picks up libtmux 0.67.0 and 0.67.1. Names, titles, start directories and +buffer paths passed to libtmux are kept as typed, `libtmux.Format` asks tmux +to expand one value, and `new_session(kill_session=True)` kills only the +exactly named session. 0.67.1 makes `new_window(select_existing=True)` find a +window by its literal name on every tmux. See the +[libtmux 0.67.0](https://libtmux.git-pull.com/history.html#libtmux-0-67-0-2026-11-22) +and +[0.67.1](https://github.com/tmux-python/libtmux/releases/tag/v0.67.1) +release notes. + ## tmuxp 1.80.0 (2026-11-22) tmuxp 1.80.0 updates libtmux to 0.66.0. It has no breaking changes of its own: diff --git a/pyproject.toml b/pyproject.toml index 86955351cc..2426828258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ include = [ { path = "conftest.py", format = "sdist" }, ] dependencies = [ - "libtmux~=0.66.0", + "libtmux~=0.67.1", "PyYAML>=6.0" ] diff --git a/uv.lock b/uv.lock index e93e906b13..7c5b208a65 100644 --- a/uv.lock +++ b/uv.lock @@ -709,11 +709,11 @@ wheels = [ [[package]] name = "libtmux" -version = "0.66.0" +version = "0.67.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/47/46/ddb4bed3da5adea81ea8324918ff6ec424e89a329745bf2ee5632d24a694/libtmux-0.66.0.tar.gz", hash = "sha256:a973c2408e20ed67739590d43b3f6c26a0f0c1d8f70b48e4eecd910ab332881c", size = 694928, upload-time = "2026-11-22T14:39:58.245Z" } +sdist = { url = "https://files.pythonhosted.org/packages/72/f3/d33065929a6fe8c1005f34ebd8efc07be6fce4f068adfa3569005668b205/libtmux-0.67.1.tar.gz", hash = "sha256:4de44cc40e35aed07cdf75f6f8d4062efa16731234ce8e2658d2f3b8edc20341", size = 711035, upload-time = "2026-11-23T01:17:57.558Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/13/dd/34953157737cd9d8bab757351ab1195548d0aa02c2c4eaba3245df863fee/libtmux-0.66.0-py3-none-any.whl", hash = "sha256:3372928493e637d7bd94fd4a31e9c44dc34b99e8c8c722a7d16fbff92d00b84e", size = 154257, upload-time = "2026-11-22T14:39:56.603Z" }, + { url = "https://files.pythonhosted.org/packages/00/16/b964757ba53e66c6cdb13100ad21b8ee0cc164095b59b07cb57341376b40/libtmux-0.67.1-py3-none-any.whl", hash = "sha256:d1b1fd5d4b7831b20fbc93750e3d3e66392eb770edfaf3f668fdf567a2e20160", size = 160521, upload-time = "2026-11-23T01:17:56.29Z" }, ] [[package]] @@ -1612,7 +1612,7 @@ testing = [ [package.metadata] requires-dist = [ - { name = "libtmux", specifier = "~=0.66.0" }, + { name = "libtmux", specifier = "~=0.67.1" }, { name = "pyyaml", specifier = ">=6.0" }, ]