Releases: tmux-python/libtmux
v0.15.0a3 - documentation improvements
What's Changed
gp-libs is now used for sphinx plugins
Documentation
-
Render changelog in linkify_issues (#410)
-
Fix Table of contents rendering with sphinx autodoc with sphinx_toctree_autodoc_fix (#410)
Tests
- Test
doctests
in documentation via pytest-doctest-docutils (#410)
Full Changelog: v0.15.0a2...v0.15.0a3
v0.15.0a2 - pytest plugin, flake8 checks
What's new
pytest
plugin #411
Linting
Documentation
- docs: Update doctests, #412
Full Changelog: v0.15.0a1...v0.15.0a2
v0.15.0a1 - Move to `shutil.which()`
Breaking change
- fix(tmux_cmd): use
shutil.which
and onlyPATH
to discover tmux by @rockandska in #407
Full Changelog: v0.15.0a0...v0.15.0a1
v0.15.0a0 - Fix for new lines `tmux_cmd`
Breaking changes
- fix(tmux_cmd): remove only trailing new lines in stdout by @rockandska in #405
Docs
New Contributors
- @rockandska made their first contribution in #405
Full Changelog: v0.14.2...v0.15.0a0
v0.14.2 - Server.new_session w/o session name fix
What's Changed
- fix(
Server.session_name
): Handle empty session names better by @tony in #401, follow up to #400, for #399
Full Changelog: v0.14.1...v0.14.2
v0.14.1 - `Server.session_name` tweak
v0.14.0 - doctests, `Pane.send_keys()` change
Breaking changes
- [
Pane.send_keys()]
(https://libtmux.git-pull.com/reference/panes.html#libtmux.Pane.send_keys):suppress_history
default value changed fromTrue
toFalse
, #395
Tests and docs
-
Fix bug in
temp_window()
context manager, #394 -
Pytest configuration conftest.py moved to libtmux/conftest.py, so doctest can detect the fixtures #394
Automated PRs
- Basic doctest by @tony in #394
- refactor!(
Pane.send_keys
): Defaultsuppress_history
value toFalse
by @tony in #395
Full Changelog: v0.13.0...v0.14.0
v0.14.0a1 - `Pane.send_keys` - history suppression off by default
What's Changed
Full Changelog: v0.14.0a0...v0.14.0a1
v0.14.0a0 - Basic doctests
v0.13.0 - Type annotations
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
- chore!(test): Remove retry(), deprecated in 0.13 by @tony in #393
- More typing improvements by @tony in #392
Full Changelog: v0.12.0...v0.13.0