Skip to content

Releases: enisdenjo/graphql-ws

v4.4.3

27 Apr 22:30
Compare
Choose a tag to compare

4.4.3 (2021-04-27)

Bug Fixes

  • client: Subscribes even if socket is in CLOSING state due to all subscriptions being completed (3e3b8b7), closes #173 #170

v4.4.2

22 Apr 22:15
Compare
Choose a tag to compare

4.4.2 (2021-04-22)

Bug Fixes

  • client: Lazy connects after successful reconnects are not retries (99b85a3)
  • client: Shouldn't reconnect if all subscriptions complete while waiting for retry (2826c10), closes #163

v4.4.1

14 Apr 08:41
Compare
Choose a tag to compare

4.4.1 (2021-04-14)

Bug Fixes

v4.4.0

11 Apr 22:27
Compare
Choose a tag to compare

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

11 Apr 20:42
Compare
Choose a tag to compare

4.3.4 (2021-04-11)

Bug Fixes

  • client: Subscriptions acquire locks (eb6cb2a)

v4.3.3

11 Apr 16:29
Compare
Choose a tag to compare

4.3.3 (2021-04-11)

Bug Fixes

  • client: Connection locks dont increment on retries (1e7bd97), closes #153

v4.3.2

29 Mar 09:16
Compare
Choose a tag to compare

4.3.2 (2021-03-29)

Bug Fixes

  • server: Async iterator must implement return (d99982b), closes #149

Performance Improvements

  • client: Focus subscription message listeners on id (#150) (32c2268)

v4.3.1

25 Mar 21:43
Compare
Choose a tag to compare

4.3.1 (2021-03-25)

Bug Fixes

  • Close the details tag in the README (84144c4)

v4.3.0

25 Mar 21:29
Compare
Choose a tag to compare

4.3.0 (2021-03-25)

Bug Fixes

  • server: Respect completed subscriptions even if subscribe or onOperation didnt resolve yet (4700154)

Features

  • client: url option accepts a function or a Promise (#143) (76f522f), closes #145 #146
  • server: execute and subscribe 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)

v4.2.3

23 Mar 13:29
Compare
Choose a tag to compare

4.2.3 (2021-03-23)

Bug Fixes

  • client: Reduce WebSocket event listeners and add new client message event (#104) (68d0e20), closes #102