diff --git a/CHANGES b/CHANGES index da82a88aa..c9a99b0c3 100644 --- a/CHANGES +++ b/CHANGES @@ -14,10 +14,57 @@ $ pip install --user --upgrade --pre libtmux +### Breaking changes + +#### `Session.new_window()` + `Window.split_window()`: No longer attaches by default + +- 0.28 +: Now _defaults_ to `attach=False`. +- 0.27.1 and before: _defaults_ to `attach=True`. + +Pass `attach=True` for the old behavior. + +#### `Pane.resize_pane()` renamed to `Pane.resize()`: (#523) + +This convention will be more consistent with `Window.resize()`. + +#### `Pane.resize_pane()`: Params changed (#523) + +- No longer accepts `-U`, `-D`, `-L`, `-R` directly, instead accepts + `ResizeAdjustmentDirection`. + +### New features + +#### `Pane.resize()`: Improved param coverage (#523) + +- Learned to accept adjustments via `adjustment_direction` w/ + `ResizeAdjustmentDirection` + `adjustment`. + +- Learned to accept manual `height` and / or `width` (columns/rows or percentage) + +- Zoom (and unzoom) + +#### `Window.resize_window()`: New Method (#523) + +If `Pane.resize_pane()` (now `Pane.resize()`) didn't work before, try resizing the window. + +### Bug fixes + +#### `Window.refresh()` and `Pane.refresh()`: Refresh more underlying state (#523) + +#### `Obj._refresh`: Allow passing args (#523) + +e.g. `-a` (all) to `list-panes` and `list-windows` + +#### `Server.panes`: Fix listing of panes (#523) + +Would list only panes in attached session, rather than all in a server. + ### Improvement - Pane, Window: Improve parsing of option values that return numbers (#520) +- `Obj._refresh`: Allow passing `list_extra_args` to ensure `list-windows` and + `list-panes` can return more than the target (#523) ### Tests