Skip to content

Commit 2609f43

Browse files
committed
docs(CHANGES): Note Server repr update
1 parent 975937b commit 2609f43

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CHANGES

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ $ pip install --user --upgrade --pre libtmux
1414

1515
<!-- Maintainers and contributors: Insert change notes for the next release above -->
1616

17+
### Breaking
18+
- Server: Add `__repr__` and set `socket_path` if none set.
19+
20+
Before (0.17 and below):
21+
22+
```python
23+
libtmux.server.Server object at ...>
24+
```
25+
26+
New `__repr__` (0.18+):
27+
28+
```python
29+
Server(socket_name=test)
30+
```
31+
32+
```python
33+
Server(socket_path=/tmp/tmux-1000/default)
34+
```
35+
1736
## libtmux 0.17.2 (2022-12-27)
1837

1938
- Server: Move `_list_panes` and `_update_panes` to deprecated

0 commit comments

Comments
 (0)