Skip to content

Releases: ably/ably-python

2.0.1

21 Aug 07:53
02efe98

Choose a tag to compare

Full Changelog

Closed issues:

  • Implement / Add tests for TM1,TM2,TM3 Message spec #516

Merged pull requests:

  • [SDK-3807] Implement and test empty inner message fields #517 (sacOO7)

2.0.0

29 Jun 17:18
2e40e1b

Choose a tag to compare

New ably-python realtime client: This new release features our first ever python realtime client! Currently the realtime client only supports realtime message subscription. Check out the README for usage examples. There have been some minor breaking changes from the 1.2 version, please consult the migration guide for instructions on how to upgrade to 2.0.

Full Changelog

  • refactor!: add mandatory version param to Rest.request #500
  • bump api_version to 2.0, add DeviceDetails.deviceSecret #507
  • Include cause in AblyException.str result #508
  • feat!: use api v3 and untyped stats #505
  • Implement add_request_ids client option #399
  • Improve logger output upon disconnection #492
  • Fix an issue where in some cases the client was unable to recover after loss of connectivity #493
  • Remove soft-deprecated APIs #482
  • Improve realtime client typings #476
  • Improve REST client typings #477
  • Stop raising KeyError when releasing a channel which doesn't exist #474
  • Allow token auth methods for realtime constructor #425
  • Send AUTH protocol message when Auth.authorize called on realtime client #427
  • Reauth upon inbound AUTH protocol message #428
  • Handle connection request failure due to token error #445
  • Handle token ERROR response to a resume request #444
  • Handle DISCONNECTED messages containing token errors #443
  • Pass clientId as query string param when opening a new connection #449
  • Validate clientId in ClientOptions #448
  • Apply Auth#clientId only after a realtime connection has been established #409
  • Channels should transition to INITIALIZED if Connection.connect called from terminal state #411
  • Calling connect while CLOSING should start connect on a new transport #410
  • Handle realtime channel errors #455
  • Resend protocol messages for pending channels upon resume #347
  • Attempt to resume connection when disconnected unexpectedly #346
  • Handle CONNECTED messages once connected #345
  • Implement maxIdleInterval #344
  • Implement realtime connectivity check #343
  • Use fallback realtime hosts when encountering an appropriate error #342
  • Add fallbackHosts client option for realtime clients #341
  • Implement connectionStateTtl #340
  • Implement disconnectedRetryTimeout #339
  • Handle recoverable connection opening errors #338
  • Implement channelRetryTimeout #442
  • Queue protocol messages when connection state is CONNECTING or DISCONNECTED #418
  • Propagate connection interruptions to realtime channels #417
  • Spec compliance: Realtime.connect should be sync #413
  • Emit update event on additional ATTACHED message #386
  • Set the ATTACH_RESUME flag on unclean attach #385
  • Handle fatal resume error #384
  • Handle invalid resume response #383
  • Handle clean resume response #382
  • Send resume query param when reconnecting within connectionStateTtl #381
  • Immediately reattempt connection when unexpectedly disconnected #380
  • Clear connection state when connectionStateTtl elapsed #379
  • Refactor websocket async tasks into WebSocketTransport class #373
  • Send version transport param #368
  • Clear Connection.error_reason when Connection.connect is called #367
  • Fix a bug with realtime_host configuration #358
  • Create Basic Api Key connection #311
  • Send Ably-Agent header in realtime connection #314
  • Close client service #315
  • Implement EventEmitter interface on Connection #316
  • Finish tasks gracefully on failed connection #317
  • Implement realtime ping #318
  • Realtime channel attach/detach #319
  • Add auto_connect implementation and client option #325
  • RealtimeChannel subscribe/unsubscribe #326
  • ConnectionStateChange #327
  • Improve realtime logging #330
  • Update readme with realtime documentation [#334](334](#334)
  • Use string-based enums #351
  • Add environment client option for realtime #335
  • EventEmitter: allow signatures with no event arg #350

2.0.0-beta.6

05 May 16:45
efb4883

Choose a tag to compare

2.0.0-beta.6 Pre-release
Pre-release
  • Improve logger output upon disconnection #492
  • Fix an issue where in some cases the client was unable to recover after loss of connectivity #493

2.0.0-beta.5

27 Mar 17:15
d7413d5

Choose a tag to compare

2.0.0-beta.5 Pre-release
Pre-release

The latest beta release of ably-python 2.0 makes some minor breaking changes, removing already soft-deprecated features from the 1.x branch. Most users will not be affected by these changes since the library was already warning that these features were deprecated. For information on how to migrate, please consult the migration guide.

Full Changelog

  • Remove soft-deprecated APIs #482
  • Improve realtime client typings #476
  • Improve REST client typings #477
  • Stop raising KeyError when releasing a channel which doesn't exist #474

2.0.0-beta.4

01 Mar 16:23
9eae66d

Choose a tag to compare

2.0.0-beta.4 Pre-release
Pre-release

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

  • Allow token auth methods for realtime constructor #425
  • Send AUTH protocol message when Auth.authorize called on realtime client #427
  • Reauth upon inbound AUTH protocol message #428
  • Handle connection request failure due to token error #445
  • Handle token ERROR response to a resume request #444
  • Handle DISCONNECTED messages containing token errors #443
  • Pass clientId as query string param when opening a new connection #449
  • Validate clientId in ClientOptions #448
  • Apply Auth#clientId only after a realtime connection has been established #409
  • Channels should transition to INITIALIZED if Connection.connect called from terminal state #411
  • Calling connect while CLOSING should start connect on a new transport #410
  • Handle realtime channel errors #455

2.0.0-beta.3

06 Feb 15:52
ffcade0

Choose a tag to compare

2.0.0-beta.3 Pre-release
Pre-release

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.

Full Changelog

  • Resend protocol messages for pending channels upon resume #347
  • Attempt to resume connection when disconnected unexpectedly #346
  • Handle CONNECTED messages once connected #345
  • Implement maxIdleInterval #344
  • Implement realtime connectivity check #343
  • Use fallback realtime hosts when encountering an appropriate error #342
  • Add fallbackHosts client option for realtime clients #341
  • Implement connectionStateTtl #340
  • Implement disconnectedRetryTimeout #339
  • Handle recoverable connection opening errors #338
  • Implement channelRetryTimeout #442
  • Queue protocol messages when connection state is CONNECTING or DISCONNECTED #418
  • Propagate connection interruptions to realtime channels #417
  • Spec compliance: Realtime.connect should be sync #413
  • Emit update event on additional ATTACHED message #386
  • Set the ATTACH_RESUME flag on unclean attach #385
  • Handle fatal resume error #384
  • Handle invalid resume response #383
  • Handle clean resume response #382
  • Send resume query param when reconnecting within connectionStateTtl #381
  • Immediately reattempt connection when unexpectedly disconnected #380
  • Clear connection state when connectionStateTtl elapsed #379
  • Refactor websocket async tasks into WebSocketTransport class #373
  • Send version transport param #368
  • Clear Connection.error_reason when Connection.connect is called #367

1.2.2

22 Nov 18:57
382e824

Choose a tag to compare

Full Changelog

  • Upgrade httpx and respx dependencies #369

2.0.0-beta.2

07 Nov 17:09
3eb8042

Choose a tag to compare

2.0.0-beta.2 Pre-release
Pre-release

Full Changelog

  • Fix a bug with realtime_host configuration #358

2.0.0-beta.1

02 Nov 16:33
f6c684e

Choose a tag to compare

2.0.0-beta.1 Pre-release
Pre-release

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

  • Create Basic Api Key connection #311
  • Send Ably-Agent header in realtime connection #314
  • Close client service #315
  • Implement EventEmitter interface on Connection #316
  • Finish tasks gracefully on failed connection #317
  • Implement realtime ping #318
  • Realtime channel attach/detach #319
  • Add auto_connect implementation and client option #325
  • RealtimeChannel subscribe/unsubscribe #326
  • ConnectionStateChange #327
  • Improve realtime logging #330
  • Update readme with realtime documentation [#334](334](#334)
  • Use string-based enums #351
  • Add environment client option for realtime #335
  • EventEmitter: allow signatures with no event arg #350

1.2.1

06 Sep 13:19
fa2c7b3

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Add support to get channel lifecycle status #271
  • Migrate project to poetry #305