Repository navigation
2.0.0-beta.3
Pre-release
Pre-release
·
592 commits
to main
since this 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.
- Resend protocol messages for pending channels upon resume #347
- Attempt to resume connection when disconnected unexpectedly #346
- Handle
CONNECTEDmessages once connected #345 - Implement
maxIdleInterval#344 - Implement realtime connectivity check #343
- Use fallback realtime hosts when encountering an appropriate error #342
- Add
fallbackHostsclient 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
CONNECTINGorDISCONNECTED#418 - Propagate connection interruptions to realtime channels #417
- Spec compliance:
Realtime.connectshould be sync #413 - Emit
updateevent on additionalATTACHEDmessage #386 - Set the
ATTACH_RESUMEflag 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
connectionStateTtlelapsed #379 - Refactor websocket async tasks into WebSocketTransport class #373
- Send version transport param #368
- Clear
Connection.error_reasonwhenConnection.connectis called #367