This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
Releases: apollographql/subscriptions-transport-ws
Releases · apollographql/subscriptions-transport-ws
0.8.1
0.8.0
- 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
0.7.2
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
fromgraphql-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
bylodash.assign
to extend browser support PR #144. Fixes Issue #141
0.5.4
- 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 useSubscriptionClient
PR #91 - Fixed a bug with missing error message on
INIT_FAIL
message #88
0.5.3
0.5.2
0.5.0
- Updated
[email protected]
. - Added
addGraphQLSubscriptions
- use it to extend your network interface to work withSubscriptionsClient
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
andmain
fields ofpackage.json
. PR #53 - Client exposes workflow events for connect, disconnect and reconnect. PR #53
- Server exposes new events:
onUnsubscribe
,onSubscribe
,onConnect
andonDisconnect
. PR #53 - Use
ws
package on server side, and expose it's options from server constructor. PR #53