Full Changelog: 2.26.0...2.27.0
What's Changed
- Fall back to the base transport when a proxy rejects the WebSocket handshake outright, rather than reporting
disconnectedafter exhausting every host #2285 - Move connection resumability decisions from the client to the server:
Connection#id,Connection#keyand a channel'schannelSerialare retained throughSUSPENDED, and reconnection always attempts a resume.Connection#createRecoveryKey()consequently returns a recovery key inSUSPENDED, where it previously returnednull#2273 - Fix a resumed attach advancing the channel's attach serial, which broke the contiguity of
untilAttachhistory with the realtime message stream #2276 - Fix stale presence members surviving when a new presence sync replaces one still in progress #2261
- Expand the docstrings on
Auth,RealtimeChannel,RealtimePresence,RealtimeAnnotationsandRestAnnotationsto cover prerequisites, side effects and failure modes, and link the RESTChannelandPresencemembers to their reference pages #2242 #2243 #2244 #2245 #2282