Skip to content

Releases: ably/ably-js

1.0.23

06 Feb 12:13
Compare
Choose a tag to compare
  • 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

07 Jan 18:07
Compare
Choose a tag to compare
  • 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

22 Nov 12:15
Compare
Choose a tag to compare
  • 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

27 Sep 15:36
Compare
Choose a tag to compare
  • Fix bug where connectionSerial was not getting reset after a resume failure (#540)

1.0.17

19 Sep 13:16
Compare
Choose a tag to compare
  • 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

16 May 16:19
Compare
Choose a tag to compare
  • Avoid xhr with local files on chrome 65+ (#490)
  • Update websocket library on node
  • Improvements to Rest#request error handling
  • Update nodejs supported versions
  • TypeScript namespace change (ablyLib -> Types -- #492)

1.0.13

02 Feb 07:57
Compare
Choose a tag to compare

Fix a regression in 1.0.12 related to resuming connections

1.0.12

30 Jan 13:21
Compare
Choose a tag to compare

1.0.11

11 Dec 14:43
Compare
Choose a tag to compare
  • 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

22 Nov 12:13
Compare
Choose a tag to compare
  • 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