ably-js

Javascript, Node, Typescript, React, React Native client library SDK for Ably realtime messaging service

APACHE-2.0 License

Downloads
435.4K
Stars
292
Committers
38

Bot releases are hidden (Show)

ably-js -

Published by SimonWoolf over 5 years ago

  • Fix channel#unsubscribe() throwing an error if called on a failed channel, and removes the optional callback argument to subscribe()
ably-js -

Published by SimonWoolf over 5 years ago

  • Auth: fix tokenParams missing from token requests in the event that no authParams specified
ably-js -

Published by SimonWoolf over 5 years ago

  • Auth: if you do multiple concurrent authorize()s, make sure the token from last one wins
  • If fallback hosts are enabled and a connection is abruptly disconnected with a 5xx error, retry immediately to a fallback rather than waiting the usual 15s disconnectedRetryTimeout
ably-js -

Published by SimonWoolf over 5 years ago

  • Catch common failure mode with poorly-implemented authCallback
  • Fix typings of TokenParams.capability
ably-js -

Published by SimonWoolf over 5 years ago

  • Improve handling of responso to active traffic management placement constraint error for smooth cluster handover
  • Normalise statuscode for 40170-failure to obtain token from client auth callback to 401 per spec
ably-js -

Published by SimonWoolf over 5 years ago

  • Only autoremove an expired token if we know the local offset from server time
  • Fix tokenParams not being correctly mixed in to authParams in some circumstances
ably-js -

Published by SimonWoolf over 5 years ago

  • Support PUSH, PATCH, and DELETE in Rest#request()
  • Support arbitrary params for REST publishes
  • Fix scope leak issue when using the minified version of the library
ably-js - Official 1.1 update

Published by mattheworiordan over 5 years ago

This 1.1 release brings many new features from 1.0:

See the complete release notes at https://blog.ably.io/ablys-client-library-sdks-1-1-release-8165c73c76fd

ably-js -

Published by SimonWoolf over 5 years ago

  • 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
ably-js -

Published by SimonWoolf almost 6 years ago

  • Reinstate 'stop clientId forcing token auth' change (https://github.com/ably/ably-js/issues/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
ably-js -

Published by SimonWoolf almost 6 years ago

  • 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 (https://github.com/ably/ably-js/issues/542)
    h Fix to NPM package creation that was unnecessarily bloating the package size
ably-js -

Published by SimonWoolf about 6 years ago

ably-js -

Published by SimonWoolf about 6 years ago

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

ably-js -

Published by SimonWoolf over 6 years ago

ably-js -

Published by SimonWoolf over 6 years ago

Fix a regression in 1.0.12 related to resuming connections

ably-js -

Published by funkyboy over 6 years ago

ably-js -

Published by SimonWoolf almost 7 years ago

[note: 1.0.10 skipped due to buggy version on npm used to create package; see https://github.com/npm/npm/issues/18870]

ably-js - 1.0.9

Published by SimonWoolf almost 7 years ago

  • 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

ably-js - v1.1.0 - Push notification support - beta v1

Published by mattheworiordan about 7 years ago

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
ably-js - 1.0.0 Major update

Published by SimonWoolf about 7 years ago

Major update to this client library with some breaking changes. See https://blog.ably.io/v1-0-client-libraries-released-8a375dca7a26 for a summary of important, breaking changes and upgrade notes. Alteranatively, see the full changelog here.