From 8298aae80fe609282df229dbaaa38b1d3e3372b4 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Wed, 1 Mar 2023 14:12:57 +0000 Subject: [PATCH 1/2] chore: bump version for 2.0.0-beta.4 release --- ably/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ably/__init__.py b/ably/__init__.py index 88c0f542..33265da9 100644 --- a/ably/__init__.py +++ b/ably/__init__.py @@ -15,4 +15,4 @@ logger.addHandler(logging.NullHandler()) api_version = '1.2' -lib_version = '2.0.0-beta.3' +lib_version = '2.0.0-beta.4' diff --git a/pyproject.toml b/pyproject.toml index 5d16edbe..0ec9f9da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ably" -version = "2.0.0-beta.3" +version = "2.0.0-beta.4" description = "Python REST and Realtime client library SDK for Ably realtime messaging service" license = "Apache-2.0" authors = ["Ably "] From c4f96d1d209338226f17c9da6cc60dd10332cf49 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Wed, 1 Mar 2023 14:19:50 +0000 Subject: [PATCH 2/2] chore: update CHANGELOG for 2.0.0-beta.4 release --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3614d251..0fbcfadf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## [v2.0.0-beta.4](https://github.com/ably/ably-python/tree/v2.0.0-beta.4) + +This new beta release of the ably-python realtime client implements token authentication for realtime connections, allowing you to use all currently supported token options to authenticate a realtime client (auth_url, auth_callback, jwt, etc). The client will reauthenticate when the token expires or otherwise becomes invalid. + +[Full Changelog](https://github.com/ably/ably-python/compare/v2.0.0-beta.3...v2.0.0-beta.4) + +- Allow token auth methods for realtime constructor [\#425](https://github.com/ably/ably-python/issues/425) +- Send `AUTH` protocol message when `Auth.authorize` called on realtime client [\#427](https://github.com/ably/ably-python/issues/427) +- Reauth upon inbound `AUTH` protocol message [\#428](https://github.com/ably/ably-python/issues/428) +- Handle connection request failure due to token error [\#445](https://github.com/ably/ably-python/issues/445) +- Handle token `ERROR` response to a resume request [\#444](https://github.com/ably/ably-python/issues/444) +- Handle `DISCONNECTED` messages containing token errors [\#443](https://github.com/ably/ably-python/issues/443) +- Pass `clientId` as query string param when opening a new connection [\#449](https://github.com/ably/ably-python/issues/449) +- Validate `clientId` in `ClientOptions` [\#448](https://github.com/ably/ably-python/issues/448) +- Apply `Auth#clientId` only after a realtime connection has been established [\#409](https://github.com/ably/ably-python/issues/409) +- Channels should transition to `INITIALIZED` if `Connection.connect` called from terminal state [\#411](https://github.com/ably/ably-python/issues/411) +- Calling connect while `CLOSING` should start connect on a new transport [\#410](https://github.com/ably/ably-python/issues/410) +- Handle realtime channel errors [\#455](https://github.com/ably/ably-python/issues/455) + ## [v2.0.0-beta.3](https://github.com/ably/ably-python/tree/v2.0.0-beta.3) This new beta release of the ably-python realtime client implements a number of new features to improve the stability of realtime connections, allowing the client to reconnect during a temporary disconnection, use fallback hosts when necessary, and catch up on messages missed while the client was disconnected.