Skip to content

Releases: ably/ably-js

v2.4.0

11 Sep 18:13
8c9ce8b
Compare
Choose a tag to compare

Full Changelog: 2.3.2...2.4.0

What's Changed

  • Add wsConnectivityCheckUrl client option #1862
  • Push plugin is now available to be loaded via a CDN link #1861

v2.3.2

06 Sep 20:46
f3ca8ec
Compare
Choose a tag to compare

Full Changelog: 2.3.1...2.3.2

What's Changed

  • Fix websocket reconnection can get stuck in a disconnected/connecting loop under specific network conditions #1855
  • Fix fetchRequest implementation didn't work with checkConnectivity #1856

v2.3.1

30 Jul 09:34
95cc033
Compare
Choose a tag to compare

Full Changelog: 2.3.0...2.3.1

What's Changed

  • Export EventEmitter so we can use it in other SDKs in #1819
  • Fix missing ablyId argument to useConnectionStateListener in #1821

v2.3.0

10 Jul 15:54
d281520
Compare
Choose a tag to compare

With this release, ably-js clients can now be activated as a target for web push notifications. See our official docs for instructions on how to start publishing web push notifications using Ably.

  • Add support for web push activation #1775

v2.2.1

02 Jul 17:08
c6d8267
Compare
Choose a tag to compare
  • Fix an occasion whereby a channel would attempt to automatically reattach from an inappropriate state #1802
  • Update the type information so that ErrorInfo now extends the Error interface #1805

v2.2.0

24 Jun 20:27
bfdaa86
Compare
Choose a tag to compare
  • Add passing a log level as a second parameter to ClientOptions.logHandler function #1787
  • Fix pings stacking when calling Connection.ping() if none ever succeed #1793

v2.1.0

03 Jun 22:52
ebaea38
Compare
Choose a tag to compare

With this release, Ably React Hooks have now moved to the general availability phase and are considered stable. Non-major version changes to the ably package won't include breaking changes for React Hooks going forward.

All changes:

  • Add support for optional multiple recovery scopes via ClientOptions.recoveryKeyStorageName #1762
  • Add wildcard * and privileged-headers values for TokenParams.capability field #1765
  • Add support for unique logHandler per Ably client by removing the global effects of setting logHandler and logLevel #1764
  • Change updateStatus function returned by usePresence hook to be async #1777
  • Fix some of the errors thrown by ConnectionManager have misleading stack traces #1760
  • Fix FetchRequest doesn't properly handle a 204 response #1773
  • Fix Connection closed errors when using usePresence hook #1761
  • Fix Unable to enter presence channel while in suspended state errors with usePresence #1781
  • Fix Can't resolve 'ably' error for environments that don't support exports field in package.json yet #1782

v2.0.4

03 May 12:55
cee64bd
Compare
Choose a tag to compare
  • Fix invalid accessToken when using REST API Client in React Native #1730, #1749
  • Fix docstring for Channels.release method #1752

v2.0.3

18 Apr 12:18
c8bc961
Compare
Choose a tag to compare
  • Improve error message displayed when trying to use Ably.Realtime instance in the Vercel Edge runtime #1736
  • Fix to allow ErrorInfo export to be accessed as a named export in ESM and when using commonjs interop #1741
  • Fix ReferenceError: self is not defined error when running Jest tests in React Native using ably-js #1738
  • Fix httpMaxRetryDuration client option didn't actually limit max elapsed time for rest fallback host retries #1721
  • Fix default value for httpRequestTimeout client option was wrongly 15 seconds instead of expected 10 seconds #1721

v2.0.2

09 Apr 13:44
40d3621
Compare
Choose a tag to compare
  • Fix an issue with realtime connections using the bun runtime #1716