1.4.2 (2020-09-16)
- server: Receiving more than one
ConnectionInit
message closes the socket immediately (757c6e9)
1.4.1 (2020-09-11)
- client: Memoize message parsing for each subscriber (2a7ba46)
1.4.0 (2020-09-10)
- client: Only
query
is required in the subscribe payload (e892530)
- server: Pass roots for operation fields as an option (dcb5ed4)
1.3.0 (2020-09-10)
- WebSocket Ping and Pong as keep-alive (#11) (16ae316)
- client: Emit events for
connecting
,connected
andclosed
(627775b) - client: Implement silent-reconnects (c6f7872), closes #7
- client: Lazy option can be changed (fb0ec14)
1.2.0 (2020-09-04)
- Package rename
@enisdenjo/graphql-transport-ws
👉graphql-transport-ws
. (494f676)
1.1.1 (2020-08-28)
- add the sink to the subscribed map AFTER emitting a subscribe message (814f46c)
- notify only relevant sinks about errors or completions (62155ba)
1.1.0 (2020-08-28)
- server: allow skipping init message wait with zero values (a7419df)
- server: use subscription specific formatter for queries and mutations too (5672a04)
1.0.2 (2020-08-26)
- correctly detect WebSocket server (eab29dc)
1.0.1 (2020-08-26)
- reset connected/connecting state when disconnecting and disposing (2eb3cd5)
- client: cant read the
CloseEvent.reason
after bundling so just pass the whole event to the sink error and let the user handle it (9ccb46b) - client: send complete message and close only if socket is still open (49b75ce)
- http and ws have no default exports (5c01ed9)
- include
types
file holding important types (f3e4edf) - server: scoped execution result formatter from
onConnect
(f91fadb) - export both the client and the server from index (29923b1)
- server: store the intial request in the context (6927ee0)
1.0.0 (2020-08-17)
- client: Re-implement following the new transport protocol (#6) (5191a35)
- server: Implement following the new transport protocol (#1) (a412d25)
- Rewrite GraphQL over WebSocket Protocol (#2) (42045c5)
- This lib is no longer compatible with
subscriptions-transport-ws
. It follows a redesigned transport protocol aiming to improve security, stability and reduce ambiguity.