Releases: tmux-python/libtmux
v0.13.0a1 - Typing tweaks, deprecate `retry()`
What's Changed
- chore!(test): Remove
libtmux.test.retry()
, deprecated in 0.13 by @tony in #393 - More typing improvements by @tony in #392
Full Changelog: v0.13.0a0...v0.13.0a1
v0.13.0a0 - Strict mypy typings
Breaking changes
-
Deprecated individual item lookups (#390)
-
Removed key lookups from
libtmux.common.EnvironmentMixin.show_environment()
Only
EnvironmentMixin.show_environment()
(without an argument) exists, and it still returns adict
. -
Add key lookups via
libtmux.common.EnvironmentMixin.getenv()
Before:
server.show_environment('DISPLAY')
After:
server.getenv('DISPLAY')
Before:
session.show_environment('DISPLAY')
After:
session.getenv('DISPLAY')
-
Removed key lookups from
Session.show_options()
session.show_options() # still returns dict, without an argument
Old:
session.show_options('DISPLAY')
Now:
session.show_option('DISPLAY')
-
Removed key lookups from
Window.show_window_options()
window.show_window_options() # still returns dict, without an argument
Old:
window.show_window_options('DISPLAY')
Now
window.show_window_option('DISPLAY')
-
What's new
-
Improved typings
Now
mypy --strict
compliant (#383)
Development
- Fix incorrect function name
findWhere()
(#391)
PRs
- fix(temp_window):
findWhere
->find_where
by @tony in #391 - API Changes - Simplify
EnvironmentMixin
by @tony in #390 - Mypy: Strict annotations by @tony in #383
Full Changelog: v0.12.0...v0.13.0a0
v0.12.0 - Internal cleanups, doc, basic typings
v0.13.0 (or v0.14.0) will be the one that's fully typed
What's Changed
Compatibility
- Update
TMUX_MAX_VERSION
, add 3.3a to CI #387
Testing
- Modify
retry()
to take a callable and enforce the timeout by @categulario in #372
Typings
Chores
New Contributors
- @categulario made their first contribution in #372
Full Changelog: v0.11.0...v0.12.0
v0.12.0a1
What's Changed
- Drop python 3.7 and 3.8 by @tony in #363
- sphinx-autoapi by @tony in #367
- Modify retry() to take a callable and enforce the timeout by @categulario in #372
- Revert "compat!: Drop python 3.7 and 3.8 (#363)" by @tony in #375
New Contributors
- @categulario made their first contribution in #372
Full Changelog: v0.11.0...v0.12.0a1
v0.11.0
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #353
- split on a special wildcard instead of tab by @JonathanRaiman in #298
- Fix format seperator by @jagguli in #343
- Black: Format w/ string normalization by @tony in #354
- pyupgrade @ 3.7 by @tony in #357
- Create codeql-analysis.yml by @tony in #356
- Adding unobtrusive type hinting by @otherJL0 in #359
- Adding type hints to class methods returning self and child by @otherJL0 in #361
- Refactor: Cleaning up by @otherJL0 in #362
New Contributors
- @JonathanRaiman made their first contribution in #298
- @jagguli made their first contribution in #343
- @otherJL0 made their first contribution in #359
Full Changelog: v0.10.3...v0.11.0
v0.10.1
v0.10.0
v0.8.5
- #297: Enchance subprocess interaction std[in|out|err]. Needed for interact with big buffer, fixes :issue:
251
, thank you @gil-obradors! - #303: Add common.get_libtmux_version which gives the tmux version as a loose constraint. Fix linking to terms inside docs, and duplicate description of module which sphinx warned about in api.rst.
- #266: Fix issue on local tests where env variables would cause show-environment to pause tests indefinitely.
v0.8.4
- #234: Window.split_window: Allow passing percent, Thank you @jinankjain!
- #289: Fix warning due to invalid escape sequences, Thank you @tirkarthi!
- #295: Publish docs via our own action
- #295: Move more packaging over to poetry, though we'll keep setup.py for the moment to ensure compatibility package maintainers.
- #295: New development instructions
- #295: Move doc/ to docs/
- #296`: CI: Test python 2.7, cache python packages, prevent running internal PRs twice