Skip to content

Commit e7eb5a5

Browse files
committed
docs(CHANGES): Note command updates
1 parent 0ade87a commit e7eb5a5

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

CHANGES

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,34 @@ $ pip install --user --upgrade --pre libtmux
1515

1616
<!-- To maintainers and contributors: Please add notes for the forthcoming version above -->
1717

18+
### Cleanups (#527)
19+
20+
- Streamline `{Server,Session,Window,Pane}.cmd()`, across all usages to:
21+
- Use `cmd: str` as first positional
22+
- Removed unused keyword arguments `**kwargs`
23+
24+
### Renamings (#527)
25+
26+
- `Session.attached_window` renamed to {meth}`Session.active_window`
27+
- `Session.attached_window` deprecated
28+
- `Session.attached_pane` renamed to {meth}`Session.active_pane`
29+
- `Session.attached_pane` deprecated
30+
- `Window.attached_pane` renamed to {meth}`Window.active_pane`
31+
- `Window.attached_pane` deprecated
32+
33+
### Improvements (#527)
34+
35+
- `Server.attached_windows` now users `QueryList`'s `.filter()`
36+
37+
### Documentation (#527)
38+
39+
- Document `.cmd` in README and quickstart
40+
- Add doctests and improve docstrings to `cmd()` methods across:
41+
- {meth}`Server.cmd()`
42+
- {meth}`Session.cmd()`
43+
- {meth}`Window.cmd()`
44+
- {meth}`Pane.cmd()`
45+
1846
## libtmux 0.30.2 (2024-02-16)
1947

2048
### Development
@@ -80,7 +108,7 @@ _Maintenance only, no bug fixes or new features_
80108

81109
## libtmux 0.28.0 (2024-02-14)
82110

83-
### Breaking change
111+
### Breaking changes
84112

85113
#### Detached / unselected by default (#523)
86114

0 commit comments

Comments
 (0)