@@ -14,10 +14,57 @@ $ pip install --user --upgrade --pre libtmux
14
14
15
15
<!-- Maintainers and contributors: Insert change notes for the next release above -->
16
16
17
+ ### Breaking changes
18
+
19
+ #### ` Session.new_window() ` + ` Window.split_window() ` : No longer attaches by default
20
+
21
+ - 0.28 +: Now _ defaults_ to ` attach=False ` .
22
+ - 0.27.1 and before: _ defaults_ to ` attach=True ` .
23
+
24
+ Pass ` attach=True ` for the old behavior.
25
+
26
+ #### ` Pane.resize_pane() ` renamed to ` Pane.resize() ` : (#523 )
27
+
28
+ This convention will be more consistent with ` Window.resize() ` .
29
+
30
+ #### ` Pane.resize_pane() ` : Params changed (#523 )
31
+
32
+ - No longer accepts ` -U ` , ` -D ` , ` -L ` , ` -R ` directly, instead accepts
33
+ ` ResizeAdjustmentDirection ` .
34
+
35
+ ### New features
36
+
37
+ #### ` Pane.resize() ` : Improved param coverage (#523 )
38
+
39
+ - Learned to accept adjustments via ` adjustment_direction ` w/
40
+ ` ResizeAdjustmentDirection ` + ` adjustment ` .
41
+
42
+ - Learned to accept manual ` height ` and / or ` width ` (columns/rows or percentage)
43
+
44
+ - Zoom (and unzoom)
45
+
46
+ #### ` Window.resize_window() ` : New Method (#523 )
47
+
48
+ If ` Pane.resize_pane() ` (now ` Pane.resize() ` ) didn't work before, try resizing the window.
49
+
50
+ ### Bug fixes
51
+
52
+ #### ` Window.refresh() ` and ` Pane.refresh() ` : Refresh more underlying state (#523 )
53
+
54
+ #### ` Obj._refresh ` : Allow passing args (#523 )
55
+
56
+ e.g. ` -a ` (all) to ` list-panes ` and ` list-windows `
57
+
58
+ #### ` Server.panes ` : Fix listing of panes (#523 )
59
+
60
+ Would list only panes in attached session, rather than all in a server.
61
+
17
62
### Improvement
18
63
19
64
- Pane, Window: Improve parsing of option values that return numbers
20
65
(#520 )
66
+ - ` Obj._refresh ` : Allow passing ` list_extra_args ` to ensure ` list-windows ` and
67
+ ` list-panes ` can return more than the target (#523 )
21
68
22
69
### Tests
23
70
0 commit comments