@@ -11,9 +11,27 @@ $ pip install --user --upgrade --pre libtmux
11
11
12
12
## libtmux 0.43.x (Yet to be released)
13
13
14
+ <!-- To maintainers and contributors: Please add notes for the forthcoming version below -->
15
+
14
16
- _ Future release notes will be placed here_
15
17
16
- <!-- To maintainers and contributors: Please add notes for the forthcoming version above -->
18
+ ### Features
19
+
20
+ Server now accepts 2 new optional params, ` socket_name_factory ` and ` on_init ` callbacks (#565 ):
21
+
22
+ - ` socket_name_factory ` : Callable that generates unique socket names for new servers
23
+ - ` on_init ` : Callback that runs after server initialization
24
+ - Useful for creating multiple servers with unique names and tracking server instances
25
+ - Socket name factory is tried after socket_name, maintaining backward compatibility
26
+
27
+ #### New test fixture: ` TempServer `
28
+
29
+ Add ` TempServer ` pytest fixture for creating temporary tmux servers (#565 ):
30
+
31
+ - Creates servers with unique socket names that clean up after themselves
32
+ - Useful for testing interactions between multiple tmux servers
33
+ - Includes comprehensive test coverage and documentation
34
+ - Available in doctest namespace
17
35
18
36
## libtmux 0.42.1 (2024-02-15)
19
37
@@ -88,6 +106,7 @@ _Maintenance only, no bug fixes or new features_
88
106
``` sh
89
107
ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .
90
108
```
109
+
91
110
- Tests: Stability fixes for legacy ` test_select_pane ` test (#552 )
92
111
93
112
## libtmux 0.39.0 (2024-11-26)
0 commit comments