Skip to content

Commit

Permalink
Merge pull request #355 from ably/release/2.0.0-beta.1
Browse files Browse the repository at this point in the history
Release 2.0.0-beta.1
  • Loading branch information
owenpearson authored Nov 2, 2022
2 parents 98ea745 + ebfb769 commit f6c684e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Change Log

## [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)
- 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)
Expand Down
2 changes: 1 addition & 1 deletion ably/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
logger.addHandler(logging.NullHandler())

api_version = '1.2'
lib_version = '1.2.1'
lib_version = '2.0.0-beta.1'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion test/ably/resthttp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit f6c684e

Please sign in to comment.