Skip to content

Commit f96093b

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

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
@@ -208,6 +208,43 @@ Add `TestServer` pytest fixture for creating temporary tmux servers (#565):
208208
- dev dependencies: Include `typing-extensions` for Python version < 3.11 via
209209
the `testing` and `lint` groups, via #564.
210210

211+
### Renamed commands
212+
213+
- Renamed `Window.set_window_option()` to {meth}`Window.set_option()` (#516)
214+
215+
Deprecated `Window.set_window_option()`
216+
217+
- Renamed `Window.show_window_option()` to {meth}`Window.show_option()` (#516)
218+
219+
Deprecated `Window.show_window_option()`
220+
221+
- Renamed `Window.show_window_options()` to {meth}`Window.show_options()` (#516)
222+
223+
Deprecated `Window.show_window_options()`
224+
225+
### Improved options
226+
227+
- Option support expanded to server, session, window, and pane
228+
- Option support enhanced and streamlined via {class}`options.OptionsMixin`.
229+
230+
- `set_option`
231+
- `show_option`
232+
- `show_options`
233+
- `unset_option`
234+
235+
- {meth}`Window.set_option()` (#516)
236+
237+
Added arguments:
238+
239+
- `format` -> `-F`
240+
- `unset` -> `-u`
241+
- `global` -> `-g`
242+
- `unset_panes` -> `-U`: Also unset other panse in windows
243+
- `prevent_overwrite`: `-o`
244+
- `suppress_warnings`: `-q`
245+
- `append`: `-a`
246+
247+
211248
## libtmux 0.42.0 (2025-02-02)
212249

213250
### Bug fixes
@@ -234,17 +271,6 @@ Add `TestServer` pytest fixture for creating temporary tmux servers (#565):
234271
- `Server`: Fix `colors` docstring to note it accepts `88` or `256`, Thank you
235272
@TravisDart! (via #544)
236273

237-
### Development
238-
239-
#### chore: Implement PEP 563 deferred annotation resolution (#555)
240-
241-
- Add `from __future__ import annotations` to defer annotation resolution and reduce unnecessary runtime computations during type checking.
242-
- Enable Ruff checks for PEP-compliant annotations:
243-
- [non-pep585-annotation (UP006)](https://docs.astral.sh/ruff/rules/non-pep585-annotation/)
244-
- [non-pep604-annotation (UP007)](https://docs.astral.sh/ruff/rules/non-pep604-annotation/)
245-
246-
For more details on PEP 563, see: https://peps.python.org/pep-0563/
247-
248274
## libtmux 0.40.1 (2024-12-24)
249275

250276
### Bug fix

0 commit comments

Comments
 (0)