Releases: ilijaNL/graphql-transport-ws
Releases · ilijaNL/graphql-transport-ws
v5.14.1
v5.14.0
Minor Changes
- 9313717: Simplify subscription payload
Features
- Remove graphql dependency (bc2465c)
1.0.0 (2023-03-16)
Bug Fixes
- Add
browser
export map (ea306db) - Add
package.json
to exports map (#119) (1f09863), closes #118 - Add
uWebSockets
exports path (36247cb), closes #155 - Add support for
graphql@v16
(ad5aea2) - add the sink to the subscribed map AFTER emitting a subscribe message (814f46c)
- Add types path to package.json
exports
(#375) (9f394d7) - client:
complete
should not be called after subscriptionerror
(1fba419) - client:
ConnectionInit
payload is absent ifconnectionParams
returns nothing (98f8265) - client:
isFatalConnectionProblem
defaults to undefined for usingshouldRetry
(9d5c573) - client: Accept nullish values for
operationName
andvariables
(2d60dda) - 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: Close event's
wasClean
is not necessary (2c65f0e), closes #81 - client: Close with error message during connecting issues (f8ecdd7)
- client: Connection locks dont increment on retries (1e7bd97), closes #153
- client: Debounce close by
lazyCloseTimeout
(c332837), closes #388 - client: Dispose of subscription on complete or error messages (#23) (fb4d8e9)
- client: Distinguish client connection closes (ed4d9db)
- client: Don't complete after connection error (5f829c3)
- client: Export relevant elements from the browser bundle (b106dbe), closes #97
- client: Lazy connects after successful reconnects are not retries (99b85a3)
- client: Limit client emitted error close message size (2d959f6)
- client: New
error
event listener for handling connection errors (#136) (127b69f), closes #135 - client: No retries when disposed (0d5e6c2)
- client: One cleanup per subscription (#67) (5a5ae4d)
- client: Only
query
is required in the subscribe payload (e892530) - client: Reduce WebSocket event listeners and add new client
message
event (#104) (68d0e20), closes #102 - client: Report close causing internal errors to error listeners (4e7e389)
- client: Report close error even if
Complete
message followed (27754b2), closes #245 - client: Return ping's payload through the response pong (ee6193a)
- client: send complete message and close only if socket is still open (49b75ce)
- client: Should emit
closed
event when disposing (5800de8), closes #108 - client: Shouldn't reconnect if all subscriptions complete while waiting for retry (2826c10), closes #163
- client: Shouldn’t send the
Complete
message if socket is not open (cd12024) - client: Some close events are not worth retrying (4d9134b)
- client: Specify and fail on fatal internal WebSocket close codes (a720125)
- client: Stabilize and simplify internals (#100) (5ff8f1d), closes #99 #85
- client: Stop execution if
connectionParams
took too long and the server kicked the client off (1e94e45), closes #331 - client: Subscribes even if socket is in CLOSING state due to all subscriptions being completed (3e3b8b7), closes #173 #170
- client: Subscription can be disposed only once (abd9c28), closes #170
- client: Subscriptions acquire locks (eb6cb2a)
- client: Time retries and socket change waits (7c707db), closes #85
- client: Wait for server acknowledgement indefinitely (a4bd602), closes #98
- Close the details tag in the README (84144c4)
- correctly detect WebSocket server (eab29dc)
- Define entry points through the
exports
field and use.mjs
suffixed ESM imports (#110) (4196238) - Define graphql execution results (a64c91b)
- Drop TypeScript DOM lib dependency (a81e8c1)
- export both the client and the server from index (29923b1)
- Export useful types (e4cc4d4)
- fastify-websocket: Handle connection and socket emitted errors ([71e9586](71e9586247e91a307b1b401667c8e...