Releases: ably/ably-js
1.0.23
- Only make a single token request at a time
- Fix crash with react-native on some Android versions when making REST requests
- Tweak fallback host logic for connected realtime clients making REST requests
1.0.21
- Reinstate 'stop clientId forcing token auth' change (#542)
- Prioritise a tokenParam over an authParam of the same name
- Fix behaviour with multiple concurrent pings in-flight
- Use console.warn (if present) when logging at ERROR level
- Implement client-side-enforced maxMessageSize limit and bundling constraints
- Deduce streaming response from lack of content-length header even if no transfer-encoding
1.0.19
- Expose rest#setLog method to change log level or handler at runtime
- Allow jsonp for REST requests even if allowComet is false
- Expose Rest.Message for node, for consistency with Realtime.Message
- Add updateOnAttached channel option to force 'update' event even if
resumed
is true - Stop a clientId from forcing token auth (#542)
h Fix to NPM package creation that was unnecessarily bloating the package size
1.0.18
1.0.17
- Give presence.subscribe attach callback the same behaviour as channel.subscribe, for consistency (so it calls back once attached rather than only in the event of an attach error) (#526)
- Handle empty string response from an authUrl or authCallback as a token error
- Upgrade ws module to v5 (nodejs only) (#525)
Note: this release drops support for nodejs versions < 4.5. node v4 versions 4.5 or later are still supported; customers using node v4 are highly encouraged to update to the latest 4.x branch for security reasons
1.0.14
1.0.13
Fix a regression in 1.0.12 related to resuming connections
1.0.12
1.0.11
- Allow Message#fromEncoded to take a short-form (key-only) cipherParams (#438)
[note: 1.0.10 skipped due to buggy version on npm used to create package; see https://github.com/npm/npm/issues/18870]
1.0.9
-
Add ability for an auth server to trigger a client to move to the failed state by returning an HTTP 403 #434
-
Enable transient publishes when publish is called on a channel that isn't already attached #430
-
Fix bug where qs params provided in an authUrl were being discarded after first use #433
-
Default to logging timestamps on all platforms
-
Tweak websocket error log levels to avoid logging non-error closes at ERROR level