Skip to content

Releases: ably/ably-js

v1.2.47

02 Nov 13:53
b87ac65
Compare
Choose a tag to compare
  • fix(react): fix issue where useChannel would error upon router navigation or HMR #1478

v1.2.46

25 Oct 10:12
e3e6781
Compare
Choose a tag to compare
  • fix: avoid directly exporting Ably.ErrorInfo from promises.js #1463
  • fix(react): add missing id param for useStateErrors call to useChannelStateListener #1455
  • fix: allow RealtimePresence#leave to take PresenceMessage as argument #1466
  • deps: bump ws to 8.14.2 #1467

v1.2.45

25 Sep 11:33
76cc74f
Compare
Choose a tag to compare
  • remove AblyProvider options prop #1446
  • fix: throw descriptive error when callbacks used with react #1450

v1.2.44

04 Sep 14:36
76a5475
Compare
Choose a tag to compare
  • Add new experimental react hooks and context provider #1433
  • Export the ErrorInfo class #1430

v1.2.43

10 Aug 13:01
cfdeda0
Compare
Choose a tag to compare
  • Add REST APIs for batch publishing, batch presence, and token revocation #1410
  • Add support for presence message extras #1418

v1.2.42

25 Jul 10:51
9d8865a
Compare
Choose a tag to compare
  • Auth: remain connected upon failed authorize unless returning explicit 403 #1385
  • Make Utils#inspectError use toString for Error-like values #1391
  • docs: fix description of AuthOptions.token #1368

v1.2.41

29 Jun 14:35
6facbfc
Compare
Choose a tag to compare
  • add ChannelStateChange.hasBacklog and return state change to attach promise/callback #1347
  • fix a bug where host fallback was initially skipped after falling back to the base transport #1357

v1.2.40

26 May 14:08
48c9ffa
Compare
Choose a tag to compare

This release adds a new experimental channels.getDerived method which allows you to create custom realtime data feeds by selectively subscribing to receive only part of the data from the channel. See the announcement post for more information.

  • add experimental API to get derived channel #1306
  • make Message.connectionId optional #1305
  • fix misleading stack traces for early-intialised connection errors #1206
  • remove ProtocolMessage.connectionKey #1218
  • fix broken promisification of Presence.history signature #1224
  • fix issue with query string encoding in react-native websockets #1286
  • fix nodejs encryption of ArrayBuffer plaintext #1280

v1.2.39

13 Apr 15:25
e98c53b
Compare
Choose a tag to compare
  • bump got dependency to ^11.8.5 #1189

v1.2.38

04 Apr 14:46
834736d
Compare
Choose a tag to compare
  • retry connection attempt if 'online' event received whilst connecting #1171
  • populate invalid state ErrorInfo.cause with the current errorReason, if set #1169
  • fix: align exposed type of ErrorInfo with internal type, extending Error #1142
  • fix: avoid global scope TextEncoder access #1157