Skip to content

Releases: tmux-python/libtmux

v0.13.0a1 - Typing tweaks, deprecate `retry()`

05 Aug 03:28
Compare
Choose a tag to compare

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

05 Aug 01:34
Compare
Choose a tag to compare
Pre-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

v0.12.0 - Internal cleanups, doc, basic typings

31 Jul 20:13
Compare
Choose a tag to compare

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

  • mypy annotations #382
  • Core relational typings: Server, Session, Window, Pane #385

Chores

  • Import tweaks #384
  • docs: sphinx-autoapi #367

New Contributors

Full Changelog: v0.11.0...v0.12.0

v0.12.0a1

21 May 11:32
Compare
Choose a tag to compare
v0.12.0a1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.12.0a1

v0.11.0

21 May 11:32
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.3...v0.11.0

v0.10.1

10 Oct 15:42
Compare
Choose a tag to compare

Update Window.select_window() for #271

v0.10.0

16 Jun 19:13
Compare
Choose a tag to compare
  • #321: Convert to markdown
  • #271: Fix select_window() by providing the session ID as argument to -t. Thanks @Flowdalic
  • Drop python 3.5 support

v0.8.5

14 Jun 16:24
Compare
Choose a tag to compare
  • #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

14 Jun 16:23
Compare
Choose a tag to compare
  • #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

v0.8.3

16 Aug 14:52
Compare
Choose a tag to compare
  • #278 Fix Python deprecation warnings, thanks @d1618033

    Also thanks @Flowdalic for a similar PR at #294

  • Add project_urls to setup.py

  • #293 Move from Pipfile to poetry

  • Fix show_option test in tmux 3.0

  • Clean up handle_option_error comments

  • Move CI to a GitHub action