Skip to content

Releases: tmux-python/libtmux

v0.33.0 - Split and new window improvements

17 Mar 13:57
Compare
Choose a tag to compare

Breaking changes

Improved new sessions (#532)

  • Session.new_window():

  • Added {meth}Window.new_window() shorthand to create window based on that
    window's position.

Improved window splitting (#532)

  • Window.split_window() to Window.split()

    • Deprecate Window.split_window()
  • Pane.split_window() to Pane.split()

    • Deprecate Pane.split_window()

    • Learned direction, via PaneDirection).

      • Deprecate vertical and horizontal in favor of direction.
    • Learned zoom

Tweak: Pane position (#532)

It's now possible to retrieve the position of a pane in a window via a bool helper::

Development

Full Changelog: v0.32.0...v0.33.0b0

Full Changelog: v0.32.0...v0.33.0

v0.33.0b1 - Fix for split and new window

17 Mar 12:04
Compare
Choose a tag to compare

What's Changed

  • Split, new window follow ups by @tony in #534

Full Changelog: v0.33.0b0...v0.33.0b1

v0.33.0b0 - Splitting and new window improvements

17 Mar 08:38
Compare
Choose a tag to compare

Breaking changes

Improved new sessions (#532)

Improved window splitting (#532)

  • Window.split_window() to Window.split()

    • Deprecate Window.split_window()
  • Pane.split_window() to Pane.split()

    • Deprecate Pane.split_window()

    • Learned direction, via PaneDirection).

      • Deprecate vertical and horizontal in favor of direction.
    • Learned zoom

Tweak: Pane position (#532)

It's now possible to retrieve the position of a pane in a window via a bool helper::

Development

Full Changelog: v0.32.0...v0.33.0b0

v0.32.0 - module export improvement, ruff 0.3.0

02 Mar 00:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.31.0...v0.32.0

v0.31.0post0 - Doc fixes

17 Feb 13:42
Compare
Choose a tag to compare

Post-release Documentation Fixes

  • Doc fixes to command examples

Full Changelog: v0.31.0...v0.31.0post0

v0.31.0 - Command overhaul, renamings

17 Feb 13:09
Compare
Choose a tag to compare

Cleanups (#527)

  • Streamline {Server,Session,Window,Pane}.cmd(), across all usages to:

    • Use cmd: str as first positional
    • Removed unused keyword arguments **kwargs

Renamings (#527)

Improvements (#527)

  • Server.attached_windows now users QueryList’s .filter()

Full Changelog: v0.30.2...v0.31.0

v0.30.2: Bump `TMUX_MAX_VERSION`

16 Feb 22:13
Compare
Choose a tag to compare
  • TMUX_MAX_VERSION: 3.3 -> 3.4

Full Changelog: v0.30.1...v0.30.2

v0.30.1 - pytest plugin renamings

16 Feb 21:07
Compare
Choose a tag to compare
  • pytest plugin, test module: Update to renamed methods introduced in v0.30.0

Full Changelog: v0.30.0...v0.30.1

v0.30.0 - Improved commands

16 Feb 20:36
Compare
Choose a tag to compare

New and improved commands

by @tony in #525

New commands

  • Pane.kill()

Renamed commands

  • Window.select_window() renamed to Window.select()
    • Deprecated Window.select_window()
  • Pane.select_pane() renamed to Pane.select()
    • Deprecated Pane.pane_select()
  • Session.attach_session() renamed to Session.attach()
    • Deprecated Session.attach_session()
  • Server.kill_server() renamed to Server.kill()
    • Deprecated Server.kill_server()
  • Session.kill_session() renamed to Session.kill()
    • Deprecated Session.kill_session()
  • Window.kill_window() renamed to Window.kill()
    • Deprecated Window.kill_window()

Improved commands

  • Server.new_session(): Support environment variables

  • Window.split_window(): Support size via -l

    Supports columns/rows (size=10) and percentage (size='10%')

Full Changelog: v0.29.0...v0.30.0

v0.29.0 - `DeprecationWarning` improvements

16 Feb 17:44
Compare
Choose a tag to compare

Develpment

  • fix(warnings): Use DeprecationWarning for APIs being deprecated by @tony in #526

Testing

  • pytest: Ignore DeprecationWarning in tests @tony in #526

Full Changelog: v0.28.1...v0.29.0