Skip to content

Releases: ably/ably-js

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

v1.2.37

27 Feb 16:44
3db1aae
Compare
Choose a tag to compare
  • make ErrorInfo extend Error #1129
  • improve error message for clientId mismatch from user auth provider #1128
  • fix: don't send credentials in webworker FetchInit #1132

v1.2.36

10 Feb 14:06
10ed089
Compare
Choose a tag to compare
  • fix(Node/http): prevent got from using its own retry mechanism #1122
  • deps: update http-cache-semantics dependency #1123

v1.2.35

30 Jan 14:33
f29f367
Compare
Choose a tag to compare
  • Implement ably-js protocol v2 #1110
  • Add global HTTP agent pool (fixes memory leak when creating several rest clients) #1113

v1.2.34

13 Dec 17:13
202d651
Compare
Choose a tag to compare
  • fix incorrect sync event signature in base Transport class (fixes an issue with react-native realtime connections) #1094

v1.2.33

11 Nov 14:13
c075dba
Compare
Choose a tag to compare
  • Fix some callback typings #1075

v1.2.32

09 Nov 17:05
0b46110
Compare
Choose a tag to compare
  • fix: add EventEmitter.off signature with no args #1073

v1.2.31

08 Nov 16:05
ff49bb8
Compare
Choose a tag to compare

In the latest release of ably-js, we’ve added JSDoc comments for the public methods and properties provided by the SDK so you can quickly access the descriptions directly in your code editor using Intelligent code completion features like Intellisense in VSCode.

We have also implemented the fetch API as a fallback HTTP transport so that ably-js is now fully functional in a service worker context.

How do I give feedback?
This docs update and further planned changes are based on feedback from customers like you. So if you’d like to share any other requests or feedback, please reach out to us and help us make Ably better for everyone.

  • Add JSDoc annotations to ably.d.ts #897
  • Implement fetch as fallback if XHR and JSONP unsupported #1019
  • [EDX-158] Generate docs with TypeDoc and upload to sdk.ably.com #1017
  • [EDX-149] Add canonical docstring comments #1026
  • [EDX-207] Add intro blurb to generated documentation #1055
  • Add missing/undocumented docstrings #1064
  • fix: stop mutating Defaults.agent on client init #1068

v1.2.30

05 Oct 09:44
369e9b5
Compare
Choose a tag to compare
  • Add connectivityCheckUrl and disableConnectivityCheck client options #1051
  • Fix EventEmitter.once when using array with promises #1046
  • Allow null arguments in authCallback #1052
  • Move channel state to attaching on new transport reattach when using promises #1053

v1.2.29

08 Aug 13:44
692903e
Compare
Choose a tag to compare
  • Fix upgrade bug that could lead to an indefinitely sync-pending transport #1041
  • Always allow event queueing while connecting #1039