Releases: ably/ably-python
2.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.
- Allow token auth methods for realtime constructor #425
- Send
AUTH
protocol message whenAuth.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
inClientOptions
#448 - Apply
Auth#clientId
only after a realtime connection has been established #409 - Channels should transition to
INITIALIZED
ifConnection.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
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.
- 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
orDISCONNECTED
#418 - Propagate connection interruptions to realtime channels #417
- Spec compliance:
Realtime.connect
should be sync #413 - Emit
update
event on additionalATTACHED
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
whenConnection.connect
is called #367
1.2.2
- Upgrade httpx and respx dependencies #369
2.0.0-beta.2
- Fix a bug with realtime_host configuration #358
2.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.
- 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
Implemented enhancements:
1.2.0
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.
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:
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:
- Add support for Python 3.10, age out 3.6 #253 (tomkirbygreen)
- Compat with 'httpx' public API changes. #252 (tomkirbygreen)
- Respect content-type with charset #248 (tomkirbygreen)
- 'TypedBuffer' fix attempt to call a non-callable object #226 (tomkirbygreen)
- 'auth' module, fix possible unbound local variables warning #225 (tomkirbygreen)
- rest setup - fix redeclared name without usage #217 (tomkirbygreen)
- Fixes mutable-value used as argument default value #215 (tomkirbygreen)
- Fixes most of the PEP 8 coding style violations #214 (tomkirbygreen)
- 'Channel' remove unused 'history' parameter 'timeout'. #209 (tomkirbygreen)
- [#149] Specifying clientId does not force token auth #204 (d8x)
- Support for async #202 (d8x)
- Support for HTTP/2 Protocol #200 (d8x)
- Add missing
modified
property in DeviceDetails #196 (d8x) - RSC7d - Support for Ably-Agent header #195 (d8x)
- fix error message for invalid push data type #169 (netspencer)
- Raise error if all servers reply with a 5xx response #161 (jdavid)
1.1.1
Implemented enhancements:
- Improve handling of clock skew #145
- Test variable length 256 bit AES CBC fixtures #150 (QuintinWillison)
Closed issues:
- Remove develop branch #151
Merged pull requests:
1.1.0
This is the first stable release supporting the Ably 1.1. library specification
This 1.1 release brings many new features from 1.0:
- Push notifications are now generally available
- Experimental support for batch REST publishing
- Access to the Ably DSX
See the complete release notes at https://blog.ably.io/ablys-client-library-sdks-1-1-release-8165c73c76fd