Skip to content

Releases: ably/ably-js

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

v1.1.0 - Push notification support - beta v1

13 Oct 16:09
Compare
Choose a tag to compare

See https://www.ably.io/documentation/realtime/push for details on how to use Ably's native push notifications.

This PR adds push notification support to the Ably JS library.

Note that Push notifications support is currently in public beta. The API may change before the final release. Please report any bugs or feedback to [email protected]

Installation instructions

  • Clone the repository (git clone https://github.com/ably/ably-js.git)
  • Check out the push branch (git fetch origin push && git checkout push)
  • For node: require nodejs/index.js from your code (e.g. const Ably = require('relative/path/to/ably-js/nodejs/index.js');)
  • For browsers:
    • For webpack: require browser/static/ably.js from your code (e.g. const Ably = require('relative/path/to/ably-js/browser/static/ably.js');)
    • For use with a script tag: upload browser/static/ably.js somewhere accessible and source it as normal

1.0.7

13 Oct 11:44
Compare
Choose a tag to compare
  • Fix idle timeout bug when timer extended due to positive timeRemaning (if setTimeout is overly eager) #421
  • Fix channel state change log message when error is not an ErrorInfo #420
  • Stop network error trading a token request for a token failing the connection #419

1.0.6

13 Oct 11:44
Compare
Choose a tag to compare