From 16795eb7cf09f27d5e8c6edb910f1821f75066a4 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Wed, 2 Nov 2022 14:33:01 +0000 Subject: [PATCH 1/3] chore: bump version number for 2.0.0-beta.1 release --- ably/__init__.py | 2 +- pyproject.toml | 2 +- test/ably/resthttp_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ably/__init__.py b/ably/__init__.py index 128e3d08..ed9c6e09 100644 --- a/ably/__init__.py +++ b/ably/__init__.py @@ -15,4 +15,4 @@ logger.addHandler(logging.NullHandler()) api_version = '1.2' -lib_version = '1.2.1' +lib_version = '2.0.0-beta.1' diff --git a/pyproject.toml b/pyproject.toml index e977e457..3c59ae41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ably" -version = "1.2.1" +version = "2.0.0-beta.1" description = "Python REST client library SDK for Ably realtime messaging service" license = "Apache-2.0" authors = ["Ably "] diff --git a/test/ably/resthttp_test.py b/test/ably/resthttp_test.py index e809a877..43507403 100644 --- a/test/ably/resthttp_test.py +++ b/test/ably/resthttp_test.py @@ -202,7 +202,7 @@ async def test_request_headers(self): # Agent assert 'Ably-Agent' in r.request.headers - expr = r"^ably-python\/\d.\d.\d python\/\d.\d+.\d+$" + expr = r"^ably-python\/\d.\d.\d(-beta\.\d)? python\/\d.\d+.\d+$" assert re.search(expr, r.request.headers['Ably-Agent']) await ably.close() From 6548721848b260eac9ce72491f1646093f4ad6a4 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Wed, 2 Nov 2022 14:40:27 +0000 Subject: [PATCH 2/3] chore: update CHANGELOG for 2.0.0-beta.1 release --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20531a76..f96f4fa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## [v2.0.0-beta.1](https://github.com/ably/ably-python/tree/v2.0.0-beta.1) + +[Full Changelog](https://github.com/ably/ably-python/compare/v1.2.1...2.0.0-beta.1) + +- Create Basic Api Key connection [\#311](https://github.com/ably/ably-python/pull/311) +- Send Ably-Agent header in realtime connection [\#314](https://github.com/ably/ably-python/pull/314) +- Close client service [\#315](https://github.com/ably/ably-python/pull/315) +- Implement EventEmitter interface on Connection [\#316](https://github.com/ably/ably-python/pull/316) +- Finish tasks gracefully on failed connection [\#317](https://github.com/ably/ably-python/pull/317) +- Implement realtime ping [\#318](https://github.com/ably/ably-python/pull/318) +- Realtime channel attach/detach [\#319](https://github.com/ably/ably-python/pull/319) +- Add `auto_connect` implementation and client option [\#325](https://github.com/ably/ably-python/pull/325) +- RealtimeChannel subscribe/unsubscribe [\#326](https://github.com/ably/ably-python/pull/326) +- ConnectionStateChange [\#327](https://github.com/ably/ably-python/pull/327) +- Improve realtime logging [\#330](https://github.com/ably/ably-python/pull/330) +- Update readme with realtime documentation [\#334](334](https://github.com/ably/ably-python/pull/334) +- Use string-based enums [\#351](https://github.com/ably/ably-python/pull/351) +- Add environment client option for realtime [\#335](https://github.com/ably/ably-python/pull/335) +- EventEmitter: allow signatures with no event arg [\#350](https://github.com/ably/ably-python/pull/350) + ## [v1.2.1](https://github.com/ably/ably-python/tree/v1.2.1) [Full Changelog](https://github.com/ably/ably-python/compare/v1.2.0...v1.2.1) From ebfb769d2265e5e92e1cfdbf73f97f6dfa9546ae Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Wed, 2 Nov 2022 14:55:43 +0000 Subject: [PATCH 3/3] chore: add a blurb to 2.0.0-beta.1 changelog notes --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f96f4fa0..9a6a2dcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [v2.0.0-beta.1](https://github.com/ably/ably-python/tree/v2.0.0-beta.1) +**New ably-python realtime client**: This beta release features our first ever python realtime client! Currently the realtime client only supports basic authentication and realtime message subscription. Check out the README for usage examples. + [Full Changelog](https://github.com/ably/ably-python/compare/v1.2.1...2.0.0-beta.1) - Create Basic Api Key connection [\#311](https://github.com/ably/ably-python/pull/311)