Skip to content

Commit 3b4006f

Browse files
committed
docs(CHANGES) Shell-pinned test fixtures and cached get_version
1 parent d700ae5 commit 3b4006f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

CHANGES

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,25 @@ $ uvx --from 'libtmux' --prerelease allow python
4545
_Notes on the upcoming release will go here._
4646
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->
4747

48+
### What's new
49+
50+
#### pytest plugin: deterministic shell in test fixtures (#662)
51+
52+
The bundled `.tmux.conf` fixture now pins `default-shell` to `/bin/sh`
53+
and the plugin force-aligns `$SHELL=/bin/sh` for every test. Skips
54+
developer-shell init per pane and eliminates the prompt-rendering
55+
noise that used to flake `capture-pane` and `automatic-rename`
56+
assertions in downstream consumers. Workspaces can still override
57+
`default-shell` per-session because `default-command` is intentionally
58+
left empty.
59+
60+
#### `get_version()` is now cached per tmux binary (#662)
61+
62+
Repeat calls within a process — plugin construction, version checks
63+
during pane capture, CLI startup — reuse the parsed version instead
64+
of re-running `tmux -V`. `get_version.cache_clear()` is exposed for
65+
test fixtures that swap the tmux binary.
66+
4867
## libtmux 0.58.0 (2026-05-23)
4968

5069
libtmux 0.58.0 fixes subprocess output decoding on non-UTF-8 locales.
@@ -189,6 +208,8 @@ else:
189208
log("no clients")
190209
```
191210

211+
## libtmux 0.56.0 (2026-05-10)
212+
192213
### What's new
193214

194215
#### `Client` object and `Server.clients` accessor (#672)

0 commit comments

Comments
 (0)