From e43468a2eb698b27c46a3bdfabbe22d920d08171 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Mon, 26 Aug 2019 09:45:51 -0400 Subject: [PATCH] Bump to version 2.0.1 See the changelog for more information. --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ i3ipc/__version__.py | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7f9368..520f818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## Version 2.0.1 + +Version 2.0.1 is a major release which adds breaking changes and major new features. + +i3ipc-python is now Python 3 only. + +This release adds the asyncio connection class. New code for Python 3.6 or greater is recommended to use this class over the old blocking connection. + +* (breaking) Remove python2 support (#110) +* (breaking) Use the `Rect` class for `OutputReply` and `WorkspaceReply` rect attributes (cec29f9). +* (breaking) Make socket-related members of the `Connection` private (4936704) + - `cmd_socket`, `cmd_lock`, `sub_socket`, `sub_lock`, `MAGIC`, `_event_socket_setup()`, `_event_socket_teardown()`, `_event_socket_poll()` +* (breaking) Make event-related members of the `Connection` private (8424811) + - `subscribe()`, `EventType` +* (breaking) Remove `GenericEvent` in favor of specific events `OutputEvent`, `ModeEvent`, and `ShutdownEvent`. +* (breaking) Remove the `PropsObject` (6ddbc22) +* Add asyncio support with the new `aio.Connection` class. +* Add `Event` class for event subscription by enum (#59) +* Add the `app_id` attribute to the `Con` class (sway only) (#113). +* Get the socket path from the root window with python-xlib (#116). +* Add a commands to get inputs and seats (sway only) (#115). +* Add `event_state_mask` and `symbols` (sway only) to `BindingInfo` (262246d). +* Add version info in `__version__.py` (ee779b). +* Use real X windows in tests (4e9746c). +* Run tests in a docker container (97d0455). +* Add type annotations for all public members. +* Completely rewrite the documentation. + ## Version 1.7.1 Version 1.7.1 adds some bugfixes and features. diff --git a/i3ipc/__version__.py b/i3ipc/__version__.py index 235cdb8..7f81687 100644 --- a/i3ipc/__version__.py +++ b/i3ipc/__version__.py @@ -1,7 +1,7 @@ __title__ = 'i3ipc' __description__ = 'An improved Python library to control i3wm and sway' __url__ = 'https://github.com/altdesktop/i3ipc-python' -__version__ = '1.7.1' +__version__ = '2.0.1' __author__ = 'Tony Crisci' __author_email__ = 'tony@dubstepdish.com' __license__ = 'BSD-3-Clause'