Skip to content

Commit 23567dd

Browse files
committed
docs(CHANGES,MIGRATION): Note split window updates
1 parent 3bfd218 commit 23567dd

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

CHANGES

+33
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,39 @@ $ pip install --user --upgrade --pre libtmux
1515

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

18+
### Breaking changes
19+
20+
#### Improved new sessions (#532)
21+
22+
- `Session.new_window()` to {meth}`Session.new_window()`
23+
24+
- Learned `direction`, via {class}`~libtmux.constants.WindowDirection`).
25+
26+
#### Improved window splitting (#532)
27+
28+
- `Window.split_window()` to {meth}`Window.split()`
29+
30+
- Deprecate `Window.split_window()`
31+
32+
- `Pane.split_window()` to {meth}`Pane.split()`
33+
34+
- Deprecate `Pane.split_window()`
35+
- Learned `direction`, via {class}`~libtmux.constants.PaneDirection`).
36+
37+
- Deprecate `vertical` and `horizontal` in favor of `direction`.
38+
39+
- Learned `zoom`
40+
41+
#### Tweak: Pane position (#532)
42+
43+
It's now possible to retrieve the position of a pane in a window via a
44+
`bool` helper::
45+
46+
- {attr}`Pane.at_left`
47+
- {attr}`Pane.at_right`
48+
- {attr}`Pane.at_bottom`
49+
- {attr}`Pane.at_right`
50+
1851
### Development
1952

2053
- poetry: 1.7.1 -> 1.8.1

MIGRATION

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ _Detailed migration steps for the next version will be posted here._
2525

2626
<!-- To the maintainers and contributors: please add migration details for the upcoming release here -->
2727

28+
## 0.33.0: Deprecations for splitting (2024-03-03)
29+
30+
### Deprecations (#532)
31+
32+
- `Window.split_window()` to {meth}`Window.split()`
33+
- `Pane.split_window()` to {meth}`Pane.split()`
34+
2835
## 0.31.0: Renaming and command cleanup (2024-02-17)
2936

3037
### Cleanups (#527)

0 commit comments

Comments
 (0)