Skip to content

Commit e881185

Browse files
committed
docs(CHANGES): Note updates for options
1 parent 4afa370 commit e881185

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

236+
### Renamed commands
237+
238+
- Renamed `Window.set_window_option()` to {meth}`Window.set_option()` (#516)
239+
240+
Deprecated `Window.set_window_option()`
241+
242+
- Renamed `Window.show_window_option()` to {meth}`Window.show_option()` (#516)
243+
244+
Deprecated `Window.show_window_option()`
245+
246+
- Renamed `Window.show_window_options()` to {meth}`Window.show_options()` (#516)
247+
248+
Deprecated `Window.show_window_options()`
249+
250+
### Improved options
251+
252+
- Option support expanded to server, session, window, and pane
253+
- Option support enhanced and streamlined via {class}`options.OptionsMixin`.
254+
255+
- `set_option`
256+
- `show_option`
257+
- `show_options`
258+
- `unset_option`
259+
260+
- {meth}`Window.set_option()` (#516)
261+
262+
Added arguments:
263+
264+
- `format` -> `-F`
265+
- `unset` -> `-u`
266+
- `global` -> `-g`
267+
- `unset_panes` -> `-U`: Also unset other panse in windows
268+
- `prevent_overwrite`: `-o`
269+
- `suppress_warnings`: `-q`
270+
- `append`: `-a`
271+
272+
236273
## libtmux 0.42.0 (2025-02-02)
237274

238275
### Bug fixes
@@ -259,17 +296,6 @@ Add `TestServer` pytest fixture for creating temporary tmux servers (#565):
259296
- `Server`: Fix `colors` docstring to note it accepts `88` or `256`, Thank you
260297
@TravisDart! (via #544)
261298

262-
### Development
263-
264-
#### chore: Implement PEP 563 deferred annotation resolution (#555)
265-
266-
- Add `from __future__ import annotations` to defer annotation resolution and reduce unnecessary runtime computations during type checking.
267-
- Enable Ruff checks for PEP-compliant annotations:
268-
- [non-pep585-annotation (UP006)](https://docs.astral.sh/ruff/rules/non-pep585-annotation/)
269-
- [non-pep604-annotation (UP007)](https://docs.astral.sh/ruff/rules/non-pep604-annotation/)
270-
271-
For more details on PEP 563, see: https://peps.python.org/pep-0563/
272-
273299
## libtmux 0.40.1 (2024-12-24)
274300

275301
### Bug fix

0 commit comments

Comments
 (0)