=========
Changelog
=========

Here you can find the recent changes to libtmux

libtmux 0.8.3 (2020-08-16)
--------------------------
- :issue:`278`: Fix Python deprecation warnings, thanks @d1618033

  Also thanks Flowdalic for a similar PR at :issue:`294`
- Add ``project_urls`` to setup.py
- :issue:`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

libtmux 0.8.2 (2019-06-02)
--------------------------
- CHANGES updated to plain reStructuredText
- Add ``project_urls`` to setup.py for pypi.
- Looser Pipfile versions, add Pipfile.lock

libtmux 0.8.1 (2019-01-26)
--------------------------
- :issue:`117` Fix issue with renaming clients with tmux 2.7 on BSD/macOS
  machines.
- :issue:`121` Support ``literal=True`` (``-l``) in ``Pane.send_keys``
  from @ritiek
- :issue:`131` Fix for unicode commands in Python 2, thanks @myw
- :issue:`172` Support for next-X.Y versions from @sloria
- :issue:`120` ``capture_pane`` support for ``Pane``
- :issue:`119` ``display_message`` support for ``Pane``
- Sort imports with isort
- Add sphinxcontrib-napoleon package for documentation
- Move docstrings over to numpy's style

libtmux 0.8.0 (2018-03-11)
--------------------------
- :issue:`46` Change license from BSD to MIT
- Move to new organization, tmux-python
- Support package updates to pytest, sphinx, etc.
- Travis/CI: Limit tests to Python 2.7 and 3.6 (removed 3.3 to 3.5)
- Travis/CI: Update pypy veersions
- :issue:`103` ``Server.new_session`` learned how to run commands in
  window on session start, thanks @grimpy!
- :issue:`68` Make Server.has_session() use returncode, thanks
  @jlargentaye! This should make ``has_session`` more robust.

libtmux 0.7.8 (2018-03-04)
--------------------------
- Port ``retry`` function from tmuxp
  (https://github.com/tmux-python/tmuxp/issues/354)

libtmux 0.7.7 (2017-11-10)
--------------------------
- Don't add -x/-y in tmux >= 2.6 if running tmuxp from inside
  client.

libtmux 0.7.6 (2017-11-09)
--------------------------
- Allow ``Window.select_layout`` with no args
- Fix test where ``bell-`` was no longer ambiguous as of tmux 2.6

libtmux 0.7.5 (2017-10-07)
--------------------------
- Hotfix to support tmux 2.6 session creation

libtmux 0.7.4 (2017-08-19)
--------------------------
- :issue:`65` Add session id to commands, thanks `@askedrelic`_

libtmux 0.7.3 (2017-05-29)
--------------------------
- Exact matches only supported on 2.1 and up

libtmux 0.7.2 (2017-05-29)
--------------------------
- Support exact matching in ``Server.has_session``

libtmux 0.7.1 (2017-04-28)
--------------------------
- :issue:`37` Improve support for formatted options like
  ``pane-border-status``. Thanks @kaushalmodi.

libtmux 0.7.0 (2017-04-27)
--------------------------
- Support for python 2.6 dropped. New minimum version is 2.7
- Add support for tmux 2.4, pypy and pypy3
- Overhaul error handling when setting and showing options
  
  - Added `handle_option_error` for handling option errors
  - Added :exc:`libtmux.exc.OptionError` base exception
  - Added :exc:`libtmux.exc.InvalidOption` and `libtmux.exc.AmbiguousOption`
  - :exc:`libtmux.exc.UnknownOption` now extends :exc:`libtmux.exc.OptionError`

- Overhaul version checking

  - ``has_version`` has been renamed to ``get_version``
  - ``get_version`` will return tmux built from git master as the latest version supported by the libtmux version with ``-master`` at the end, e.g. ``2.4-master``
  - ``get_version`` will return tmux on openbsd base system as the latest version supported by the libtmux version with ``-openbsd`` at the end, e.g. ``2.4-openbsd``
  - ``has_required_tmux_version`` has been renamed to ``has_minimum_version``
  - added ``has_gt_version``, ``has_gte_version``, ``has_lt_version``, ``has_lte_version``,

- Fixed up documentation in some session methods
- Added pydoc exception info to option methods in window and sessions.
- Added ``TMUX_MIN_VERSION`` and ``TMUX_MAX_VERSION``

libtmux 0.6.5 (2017-04-02)
--------------------------
- Fix ``which`` command
- Add ``TmuxCommandNotFound`` exception
- Add ``tmux_search_paths`` and ``append_env_path`` kwargs to
  ``tmux_cmd``.

libtmux 0.6.4 (2017-03-25)
--------------------------
- :issue:`32` support for OpenBSD's tmux

libtmux 0.6.3 (2017-02-08)
--------------------------
- :issue:`25` support for working with tmux ``master``, thanks @sloria.

libtmux 0.6.2 (2017-01-19)
--------------------------
- :issue:`197` use `LooseVersion` instead of `StrictVersion` for version
  checks. Thanks @minijackson.
- Pin packages with pyup.io
- :issue:`21` Readme fix from @huwenchao.

libtmux 0.6.1 (2016-12-20)
--------------------------
- :issue:`18` Fix logger, courtesy of @geekli
- :issue:`19` Add support for ``start_directory`` in new sessions and
  panes, courtesy of @gandelman-a.
- Fix tests and add official support for 2.3

libtmux 0.6.0 (2016-09-16)
--------------------------
- Raise exception for invalid session names. tmux does not
  allow names that are empty, contain periods or colons.
- Remove unused ``target_sesssion`` param in
  ``Server.attach_session`` and ``Server.switch_client``.

libtmux 0.5.1 (2016-08-18)
--------------------------
- :issue:`12` - fix logger message when tmux doesn't exist in ``PATH``

libtmux 0.5 (2016-06-15)
------------------------
- :issue:`8` new exception ``UnknownOption``
- :issue:`8` return ``None`` for options that are valid tmux options,
  but unset at that scope.
- :issue:`6` major documentation overhaul

libtmux 0.4.1 (2016-05-23)
--------------------------
- update ``which()`` to find tmux via ``os.environ['PATH']``.
  https://redd.it/4laeut

libtmux 0.4.0 (2016-05-23)
--------------------------
- attributes for formatters are now accessible via
  ``Session``, ``Window`` and ``Pane`` objects. ``session.name``
  is equivalent to ``session.get('session_name')``, you can do the
  same with other properties in ``_info``. ``window.name``,
  ``pane.current_path``, ``session.id``, ``window.id``, ``pane.id``,
  ``session.index``, ``window.index``, ``pane.index``, etc.
- ``attached_sessions``, ``attached_window`` and
  ``attached_pane`` are now properties.
- ``_TMUX`` metadata object changed to ``_info``.
- ``.findWhere()`` is now ``find_where``.
- README and usage fixes

libtmux 0.3.0 (2016-05-23)
--------------------------
- switch to pytest 

libtmux 0.1.0 (2016-05-22)
--------------------------
- libtmux forked from `tmuxp`_.

.. _tmuxp: https://github.com/tmux-python/tmuxp
.. _@askedrelic: https://github.com/askedrelic

.. # vim: set filetype=rst:
