Skip to content

Releases: ably/ably-python

2.0.0-beta.4

01 Mar 16:23
9eae66d
Compare
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
Compare
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
Compare
Choose a tag to compare

Full Changelog

  • Upgrade httpx and respx dependencies #369

2.0.0-beta.2

07 Nov 17:09
3eb8042
Compare
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
Compare
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
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

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

1.2.0

31 Mar 04:11
56cd398
Compare
Choose a tag to compare

Breaking API Changes: Please see our Upgrade / Migration Guide for notes on changes you need to make to your code to update it to use the new API introduced by version 1.2.0.

Full Changelog

Implemented enhancements:

  • Respect content-type with charset #256
  • Release a new version for python 3.10 support #249
  • Support HTTP/2 #197
  • Support Async HTTP #171
  • Implement RSC7d (Ably-Agent header) #168
  • Defaults: Generate environment fallbacks #155
  • Clarify string encoding when sending push notifications #119
  • Support for environments fallbacks #198 (d8x)

Fixed bugs:

  • Channel.publish sometimes returns None after exhausting retries #160
  • Token issue potential bug #54

Closed issues:

  • Conform ReadMe and create Contributing Document #199
  • Add support for DataTypes TokenParams AO2g #187
  • Add support for TO3m [#172](#172
  • Using a clientId should no longer be forcing token auth in the 1.1 spec #149

Merged pull requests:

1.1.1

29 Jan 13:42
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

Closed issues:

  • Remove develop branch #151

Merged pull requests:

1.1.0

13 Feb 17:52
Compare
Choose a tag to compare

This is the first stable release supporting the Ably 1.1. library specification

Full Changelog

This 1.1 release brings many new features from 1.0:

See the complete release notes at https://blog.ably.io/ablys-client-library-sdks-1-1-release-8165c73c76fd

1.0.3

18 Jan 09:03
Compare
Choose a tag to compare