Releases: enisdenjo/graphql-ws
Releases · enisdenjo/graphql-ws
v4.4.3
v4.4.2
v4.4.1
v4.4.0
4.4.0 (2021-04-11)
Features
Server usage with uWebSockets.js
import uWS from 'uWebSockets.js'; // yarn add uWebSockets.js@uNetworking/uWebSockets.js#<tag>
import { makeBehavior } from 'graphql-ws/lib/use/uWebSockets';
import { schema } from './my-graphql-schema';
uWS
.App()
.ws('/graphql/is-performant', makeBehavior({ schema }))
.listen(4000, (listenSocket) => {
if (listenSocket) {
console.log('Listening to port 4000');
}
});
v4.3.4
v4.3.3
v4.3.2
v4.3.1
v4.3.0
4.3.0 (2021-03-25)
Bug Fixes
- server: Respect completed subscriptions even if
subscribe
oronOperation
didnt resolve yet (4700154)
Features
- client:
url
option accepts a function or a Promise (#143) (76f522f), closes #145 #146 - server:
execute
andsubscribe
are optional (#148) (af748b0) - server: Dynamic
schema
support by accepting a function or a Promise (#147) (6a0bf94), closes #127 - server: Use
validate
option for custom GraphQL validation (b68d56c)