Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Releases: apollographql/subscriptions-transport-ws

0.8.1

11 Jul 20:10
Compare
Choose a tag to compare
  • Send first keep alive message right after the ack PR #223
  • Return after first post-install when it should install dev dependencies PR #218
  • On installing from branch install dev dependencies only if dist folder isnt found PR #219

0.8.0

07 Jul 19:40
Compare
Choose a tag to compare
  • Expose opId onOperationComplete method PR #211
  • Fix to make library able to be installed from a branch PR #208
  • Fix for non forced closes (now it wont send connection_terminate) PR #197
  • A lot of connection's flow improvements (on connect, on disconnect and on reconnect) PR #197
  • Require specific lodash/assign module instead of entire package, so memory impact is reduced PR #196
  • docs(README): Fix onEvent(eventName, callback, thisContext) list of eventName PR #205

0.7.3

13 Jun 14:58
Compare
Choose a tag to compare
  • Fix for first subscription is never unsubscribed PR #179

0.7.2

12 Jun 09:11
Compare
Choose a tag to compare
  • Increase default keep-alive timeout to 30s PR #177
  • Operation key is now string instead of number PR #176

0.7

28 May 11:09
Compare
Choose a tag to compare
0.7
  • Client exposes new asyncronous middleware to modify OperationOptions PR #78
  • Added WebSocketServer error handler to prevent uncaught exceptions. Fixes Issue #94
  • Updated ws dependency to the lastest.
  • Introduce lazy mode for connection, and accept function as connectionParams PR #131
  • Extend transport protocol to support GraphQL queries and mutations over WebSocket PR #108
  • Added built-in support for subscribe from graphql-js PR #133
  • Fixed infinity reconnects when server accepts connections but its in an error state. PR #135
  • Force close client-side socket when using close(), and ignore reconnect logic. PR #137
  • Added new connection events to give a more accurate control over the connection state PR #139. Fixes Issue #136.
  • Replaced Object.assign by lodash.assign to extend browser support PR #144. Fixes Issue #141

0.5.4

08 Mar 17:02
Compare
Choose a tag to compare
  • Ensure INIT is sent before SUBSCRIPTION_START even when client reconnects PR #85
  • Allow data and errors in payload of SUBSCRIPTION_DATA PR #84
  • Expose index.js as entrypoint for server/NodeJS application to allow NodeJS clients to use SubscriptionClient PR #91
  • Fixed a bug with missing error message on INIT_FAIL message #88

0.5.3

22 Feb 16:19
Compare
Choose a tag to compare
  • Fixed a bug with browser declaration on package.json (Issue #79)

0.5.2

21 Feb 16:12
Compare
Choose a tag to compare
  • Updated dependencies versions
  • Fixed typings issue with missing index.d.ts file. PR #73
  • Transpiling client.js to target browsers using webpack. PR #77

0.5.0

05 Feb 12:07
Compare
Choose a tag to compare
  • Updated [email protected].
  • Added addGraphQLSubscriptions - use it to extend your network interface to work with SubscriptionsClient instance. PR #64
  • Client now uses native WebSocket by default, and has optional field to provide another implementation (for NodeJS clients)PR #53
  • Client now support INIT with custom object, so you can use if for authorization, or any other init params. PR #53
  • Server and client are now separated with browser and main fields of package.json. PR #53
  • Client exposes workflow events for connect, disconnect and reconnect. PR #53
  • Server exposes new events: onUnsubscribe, onSubscribe, onConnect and onDisconnect. PR #53
  • Use ws package on server side, and expose it's options from server constructor. PR #53