Releases: ably/ably-js
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
v1.1.0 - Push notification support - beta v1
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: uploadbrowser/static/ably.js
somewhere accessible and source it as normal
- For webpack: require
1.0.7
1.0.6
- Fix issue where presence updates sent immediately after a recover can be ignored https://www.github.com/ably/ably-js/pull/412
- Fix authMethod being ignored if there are no authParams: https://www.github.com/ably/ably-js/pull/415
- Combine authParams with querystring params given in an authUrl, rather than replace: https://www.github.com/ably/ably-js/pull/418