Skip to content

Commit d6bba4e

Browse files
committed
docs(CHANGES): Note updates for options
1 parent 2c7fe6b commit d6bba4e

File tree

1 file changed

+37
-11
lines changed

1 file changed

+37
-11
lines changed

CHANGES

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,43 @@ Add `TestServer` pytest fixture for creating temporary tmux servers (#565):
109109
- dev dependencies: Include `typing-extensions` for Python version < 3.11 via
110110
the `testing` and `lint` groups, via #564.
111111

112+
### Renamed commands
113+
114+
- Renamed `Window.set_window_option()` to {meth}`Window.set_option()` (#516)
115+
116+
Deprecated `Window.set_window_option()`
117+
118+
- Renamed `Window.show_window_option()` to {meth}`Window.show_option()` (#516)
119+
120+
Deprecated `Window.show_window_option()`
121+
122+
- Renamed `Window.show_window_options()` to {meth}`Window.show_options()` (#516)
123+
124+
Deprecated `Window.show_window_options()`
125+
126+
### Improved options
127+
128+
- Option support expanded to server, session, window, and pane
129+
- Option support enhanced and streamlined via {class}`options.OptionsMixin`.
130+
131+
- `set_option`
132+
- `show_option`
133+
- `show_options`
134+
- `unset_option`
135+
136+
- {meth}`Window.set_option()` (#516)
137+
138+
Added arguments:
139+
140+
- `format` -> `-F`
141+
- `unset` -> `-u`
142+
- `global` -> `-g`
143+
- `unset_panes` -> `-U`: Also unset other panse in windows
144+
- `prevent_overwrite`: `-o`
145+
- `suppress_warnings`: `-q`
146+
- `append`: `-a`
147+
148+
112149
## libtmux 0.42.0 (2025-02-02)
113150

114151
### Bug fixes
@@ -135,17 +172,6 @@ Add `TestServer` pytest fixture for creating temporary tmux servers (#565):
135172
- `Server`: Fix `colors` docstring to note it accepts `88` or `256`, Thank you
136173
@TravisDart! (via #544)
137174

138-
### Development
139-
140-
#### chore: Implement PEP 563 deferred annotation resolution (#555)
141-
142-
- Add `from __future__ import annotations` to defer annotation resolution and reduce unnecessary runtime computations during type checking.
143-
- Enable Ruff checks for PEP-compliant annotations:
144-
- [non-pep585-annotation (UP006)](https://docs.astral.sh/ruff/rules/non-pep585-annotation/)
145-
- [non-pep604-annotation (UP007)](https://docs.astral.sh/ruff/rules/non-pep604-annotation/)
146-
147-
For more details on PEP 563, see: https://peps.python.org/pep-0563/
148-
149175
## libtmux 0.40.1 (2024-12-24)
150176

151177
### Bug fix

0 commit comments

Comments
 (0)