Skip to content

Commit a774414

Browse files
committed
docs(CHANGES): Note updates for options
1 parent b0466ad commit a774414

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

CHANGES

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,43 @@ $ pip install --user --upgrade --pre libtmux
1515

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

18+
### Renamed commands
19+
20+
- Renamed `Window.set_window_option()` to {meth}`Window.set_option()` (#516)
21+
22+
Deprecated `Window.set_window_option()`
23+
24+
- Renamed `Window.show_window_option()` to {meth}`Window.show_option()` (#516)
25+
26+
Deprecated `Window.show_window_option()`
27+
28+
- Renamed `Window.show_window_options()` to {meth}`Window.show_options()` (#516)
29+
30+
Deprecated `Window.show_window_options()`
31+
32+
### Improved options
33+
34+
- Option support expanded to server, session, window, and pane
35+
- Option support enhanced and streamlined via {class}`options.OptionsMixin`.
36+
37+
- `set_option`
38+
- `show_option`
39+
- `show_options`
40+
- `unset_option`
41+
42+
- {meth}`Window.set_option()` (#516)
43+
44+
Added arguments:
45+
46+
- `format` -> `-F`
47+
- `unset` -> `-u`
48+
- `global` -> `-g`
49+
- `unset_panes` -> `-U`: Also unset other panse in windows
50+
- `prevent_overwrite`: `-o`
51+
- `suppress_warnings`: `-q`
52+
- `append`: `-a`
53+
54+
1855
## libtmux 0.42.0 (2025-02-02)
1956

2057
### Bug fixes
@@ -41,17 +78,6 @@ $ pip install --user --upgrade --pre libtmux
4178
- `Server`: Fix `colors` docstring to note it accepts `88` or `256`, Thank you
4279
@TravisDart! (via #544)
4380

44-
### Development
45-
46-
#### chore: Implement PEP 563 deferred annotation resolution (#555)
47-
48-
- Add `from __future__ import annotations` to defer annotation resolution and reduce unnecessary runtime computations during type checking.
49-
- Enable Ruff checks for PEP-compliant annotations:
50-
- [non-pep585-annotation (UP006)](https://docs.astral.sh/ruff/rules/non-pep585-annotation/)
51-
- [non-pep604-annotation (UP007)](https://docs.astral.sh/ruff/rules/non-pep604-annotation/)
52-
53-
For more details on PEP 563, see: https://peps.python.org/pep-0563/
54-
5581
## libtmux 0.40.1 (2024-12-24)
5682

5783
### Bug fix
@@ -76,6 +102,7 @@ _Maintenance only, no bug fixes or new features_
76102
```sh
77103
ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .
78104
```
105+
79106
- Tests: Stability fixes for legacy `test_select_pane` test (#552)
80107

81108
## libtmux 0.39.0 (2024-11-26)

0 commit comments

Comments
 (0)