Skip to content

v0.13.0a0 - Strict mypy typings

Pre-release
Pre-release
Compare
Choose a tag to compare
@tony tony released this 05 Aug 01:34
· 1185 commits to master since this release

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 a dict.

    • 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

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