Releases: tmux-python/libtmux
v0.28.1 - Maintenance release
Maintenance only, no bug fixes or new features
Testing
- CI: Bump actions to node 20+ versions
Documentation
- Refine docs and add migration for v0.28.0
Full Changelog: v0.28.0...v0.28.1
v0.28.0 - Refresh and resize improvements
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 / orwidth
(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.
Improvements
- Pane, Window: Improve parsing of option values that return numbers
(#520) Obj._refresh
: Allow passinglist_extra_args
to ensurelist-windows
and
list-panes
can return more than the target (#523)
Full Changelog: v0.27.1...v0.28.0
v0.27.1 - Packaging tweak
What's Changed
Full Changelog: v0.27.0...v0.27.1
v0.27.0 - `QueryList` improvements
Improvements
-
QueryList: Generic fixes by @tony in #515
-
This improves the annotations in descendant objects such as:
Server.sessions
Session.windows
Window.panes
-
Bolster tests (ported from
libvcs
): doctests and pytests
-
Full Changelog: v0.26.0...v0.27.0
v0.26.0 - Doc and linting improvements
What's Changed
Breaking change
get_by_id()
(already deprecated) keyword argument renamed fromid
to
Server.get_by_id(session_id)
,Session.get_by_id(window_id)
, andWindow.get_by_id(pane_id)
(#514)
Documentation
- Various docstring fixes and tweaks (#514)
Development
-
Strengthen linting (#514)
-
Add flake8-commas (COM)
-
Add flake8-builtins (A)
-
Add flake8-errmsg (EM)
-
CI
- Move CodeQL from advanced configuration file to GitHub's default
Full Changelog: v0.25.0...v0.26.0
v0.25.0 - doc and comparator improvements
Changes
Comparator fixes
- Fixed
__eq__
for windows. by @m1guelperez in #505 - fix(pane,session,server): Return
False
if type mismatched by @tony in #510
Documentation
New Contributors
- @m1guelperez made their first contribution in #505
Full Changelog: v0.24.1...v0.25.0
v0.24.1 - Packaging fixes
What's Changed
Packaging
- packaging: Remove requirements/ folder. Unused. by @tony in #507
- pyproject: Add
gp-libs
totest
dependency group
Full Changelog: v0.24.0...v0.24.1
v0.24.0 - Maintenance release
Maintenance only, no bug fixes or new features
What's Changed
Breaking changes
Packaging
-
packaging(pytest): Move configuration to pyproject.toml by @tony in #499
-
Poetry: 1.5.1 -> 1.6.1 (#497), 1.6.1 -> 1.7.0 (direct to trunk)
See also: https://github.com/python-poetry/poetry/blob/1.7.0/CHANGELOG.md
-
Packaging (poetry): Fix development dependencies
Per Poetry's docs on managing dependencies and
poetry check
, we had it wrong: Instead of using extras, we should create these:[tool.poetry.group.group-name.dependencies] dev-dependency = "1.0.0"
Which we now do.
Development
-
CI: Update action packages to fix warnings
- dorny/paths-filter: 2.7.0 -> 2.11.1
- codecov/codecov-action: 2 -> 3
Full Changelog: v0.23.2...v0.24.0
v0.23.2 - Maintenance release (final python 3.7 release)
Maintenance only, no bug fixes or new features
Final Python 3.7 Release (End of life was June 27th, 2023)
Full Changelog: v0.23.1...v0.23.2
v0.23.1 - Typo fixes, lint tweaks
Maintenance only, no bug fixes, or new features
Development
-
Automated typo fixes from typos-cli:
typos --format brief --write-changes
-
ruff's linter for code comments,
ERA
(eradicate), has been removed
Full Changelog: v0.23.0...v0.23.1