v0.13.0a0 - Strict mypy typings
Pre-releaseBreaking 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 argumentOld:
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 argumentOld:
window.show_window_options('DISPLAY')Now
window.show_window_option('DISPLAY')
-
What's new
-
Improved typings
Now
mypy --strictcompliant (#383)
Development
- Fix incorrect function name
findWhere()(#391)
PRs
- fix(temp_window):
findWhere->find_whereby @tony in #391 - API Changes - Simplify
EnvironmentMixinby @tony in #390 - Mypy: Strict annotations by @tony in #383
Full Changelog: v0.12.0...v0.13.0a0