Skip to content

Releases: tmux-python/libtmux

v0.15.0a3 - documentation improvements

10 Sep 15:18
Compare
Choose a tag to compare
Pre-release

What's Changed

gp-libs is now used for sphinx plugins

Documentation

Tests

Full Changelog: v0.15.0a2...v0.15.0a3

v0.15.0a2 - pytest plugin, flake8 checks

10 Sep 13:59
Compare
Choose a tag to compare

What's new

  • pytest plugin #411

Linting

  • build(deps): Add flake8-comprehensions, #409
  • build(deps): Add flake8-bugbear, #408

Documentation

  • docs: Update doctests, #412

Full Changelog: v0.15.0a1...v0.15.0a2

v0.15.0a1 - Move to `shutil.which()`

28 Aug 21:19
Compare
Choose a tag to compare
Pre-release

Breaking change

  • fix(tmux_cmd): use shutil.which and only PATH to discover tmux by @rockandska in #407

Full Changelog: v0.15.0a0...v0.15.0a1

v0.15.0a0 - Fix for new lines `tmux_cmd`

28 Aug 17:54
Compare
Choose a tag to compare

Breaking changes

  • fix(tmux_cmd): remove only trailing new lines in stdout by @rockandska in #405

Docs

  • docs: Move to sphinx-autoissues by @tony in #406

New Contributors

Full Changelog: v0.14.2...v0.15.0a0

v0.14.2 - Server.new_session w/o session name fix

17 Aug 06:00
Compare
Choose a tag to compare

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

17 Aug 05:58
Compare
Choose a tag to compare
  • Fix: Server.new_session: Create session w/o name by @tony in #400, for #399

    Note this isn't really fixed until v0.14.2 since it still uses None e.g. new-session -sNone

Other

  • ci(setup-python): Use v3/v4's caching method by @tony in #398

Full Changelog: v0.14.0...v0.14.1

v0.14.0 - doctests, `Pane.send_keys()` change

17 Aug 05:57
Compare
Choose a tag to compare

Breaking changes

  • [Pane.send_keys()](https://libtmux.git-pull.com/reference/panes.html#libtmux.Pane.send_keys): suppress_history default value changed from True to False, #395

Tests and docs

  • Initial doctests examples stubbed out #394

  • 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): Default suppress_history value to False by @tony in #395

Full Changelog: v0.13.0...v0.14.0

v0.14.0a1 - `Pane.send_keys` - history suppression off by default

06 Aug 01:11
Compare
Choose a tag to compare

What's Changed

  • refactor!(Pane.send_keys): Default suppress_history value to False by @tony in #395

Full Changelog: v0.14.0a0...v0.14.0a1

v0.14.0a0 - Basic doctests

06 Aug 00:51
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: v0.13.0...v0.14.0a0

v0.13.0 - Type annotations

05 Aug 10:37
Compare
Choose a tag to compare

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
  • 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