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 visible (Hide)

ably-js - v1.2.36

Published by owenpearson over 1 year ago

  • fix(Node/http): prevent got from using its own retry mechanism #1122
  • deps: update http-cache-semantics dependency #1123
ably-js - v1.2.35

Published by owenpearson over 1 year ago

  • Implement ably-js protocol v2 #1110
  • Add global HTTP agent pool (fixes memory leak when creating several rest clients) #1113
ably-js - v1.2.34

Published by owenpearson almost 2 years ago

  • fix incorrect sync event signature in base Transport class (fixes an issue with react-native realtime connections) #1094
ably-js - v1.2.33

Published by owenpearson almost 2 years ago

  • Fix some callback typings #1075
ably-js - v1.2.32

Published by owenpearson almost 2 years ago

  • fix: add EventEmitter.off signature with no args #1073
ably-js - v1.2.31

Published by owenpearson almost 2 years ago

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
ably-js - v1.2.30

Published by owenpearson about 2 years ago

  • 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
ably-js - v1.2.29

Published by owenpearson about 2 years ago

  • Fix upgrade bug that could lead to an indefinitely sync-pending transport #1041
  • Always allow event queueing while connecting #1039
ably-js - v1.2.28

Published by owenpearson about 2 years ago

  • Add clientId to MessageFilter #1032
  • Transports: implement timeouts in tryConnect() #1035
  • Only log connectionSerial mismatch from channel messages #1036
ably-js - v1.2.27

Published by Peter-Maguire over 2 years ago

  • Add filtered subscription type to RealtimeChannel #1008
ably-js - v1.2.26

Published by owenpearson over 2 years ago

  • Improve global object fallback logic (fixes an issue when using the library in some service worker contexts) #1016
  • Add backoff and jitter to channel and connection retry strategies #1008
  • Bump versions for some underlying dependencies #1010
  • Fix a bug with xhr transports for react-native #1007
ably-js - v1.2.25

Published by owenpearson over 2 years ago

  • Fix a bug in 1.2.23 where Message and PresenceMessage were removed from the public API #1004
ably-js - v1.2.24

Published by owenpearson over 2 years ago

  • Revert a bug in 1.2.23 where the Crypto interface was removed from the public API
  • Revert change to package.json typings field
  • Remove sourcemap links from CDN uploads
ably-js - v1.2.23

Published by owenpearson over 2 years ago

  • Add Channel.status method to get channel lifecycle status #985
  • Fix bug in compatibility with Salesforce Lightning Components #993
  • Revert uploading sourcemaps to the CDN #998
ably-js - v1.2.22

Published by owenpearson over 2 years ago

  • Fix bug in RealtimeChannel.subscribe promisify when second argument is undefined #984
  • Update deprecated NativeScript application settings import #980
ably-js - v1.2.21

Published by owenpearson over 2 years ago

  • Make Connection.id and Connection.key optional #952
  • Remove support for MozWebSocket #954
  • Fix a bug with promisified EventEmitter.whenState #962
  • Update ably.com/documentation urls #964
  • Remove console.log statements from msgpack encoder #966
  • Fix nativescript bundle #971
ably-js - v1.2.20

Published by owenpearson over 2 years ago

  • Fix error where calling realtime presence update caused call stack errors #949
  • Fix an issue where Ably-Agent headers were encoded incorrectly #950
ably-js - v1.2.19

Published by owenpearson over 2 years ago

  • Fix error where some promisified REST methods caused call stack errors #943
  • Fix wasClean implementation for reactnative websocket transport #946
  • Ensure that Ably-Agent is always URI encoded #947
ably-js - v1.2.18

Published by owenpearson over 2 years ago

  • Convert library source code to TypeScript #762
  • Add realtimeRequestTimeout to ClientOptions type #934
  • Override toJSON for HttpPaginatedResponse #913
  • Throw ErrorInfo when invalid key supplied #912
  • Remove ErrorReporter #908
  • Fix nonsensical error in RealtimePresence.leaveClient when channel state is invalid #911
ably-js - v1.2.17

Published by owenpearson almost 3 years ago

  • Remove NPM preinstall script (this was breaking NPM installs when outside a git repository) #876