Changelog
0.8.22 (2016-06-24)
Biggest changes:
Log and emit errors that occur on-connect (resume failures and upgrade failures) #291
Rework upgrade flow so that all messages complete on one transport before switching to another, to avoid 'Invalid transport ID' message race condition #291
Fix issue #285 where a detach that happens during a presence sync could fail (also #291)
Log all connectionDetails on transport active (including the server you're connected to), not just clientId #294
Implement waitForSync
option in (realtime form of) presence.get()
#295
Changelog
0.8.20 (2016-06-13)
Biggest changes:
Rewrite the transport fallback sequence. It now starts with a polling transport (since some proxies break streaming transports) and then tries to upgrade to a websocket and streaming transport in parallel, picking the websocket if possible. It also remembers the best transport that worked (using HTML5 localstorage) and jumps straight to that if it can. #279
Fix crypto bug when generating random data in IE 8 and 9 #282
Disable JSONP transport when document is undefined, for React Native support #283
Clear presence set on detach #287
Changelog
0.8.17 (2016-04-05)
Biggest changes:
Don’t activate a transport that isn’t connected #255
Don't try host fallbacks for token errors #251
Standardise on 'initialize' event spelling #244
Stop assuming that connection state won't change during a transport sync #249
Don't reject a presence enter for lacking a clientId unless we're absolutely certain we're anonymous #256