Skip to content

Commit 02d944e

Browse files
chore(release): 🎉 4.0.0 [skip ci]
# [4.0.0](v3.2.0...v4.0.0) (2021-01-13) ### Bug Fixes * **server:** Client can complete/cancel any operation ([0ad1c4c](0ad1c4c)) * **server:** Enforce ID uniqueness across all operations and during the whole subscription life ([#96](#96)) ([65d1bfa](65d1bfa)) ### Features * **server:** Add `onDisconnect` callback ([#94](#94)) ([2a61268](2a61268)) * **server:** Log a warning for unsupported subprotocols ([88a12ef](88a12ef)), closes [#92](#92) ### BREAKING CHANGES * **server:** The return function of `server.opened` (`closed`) now requires the close event code and reason for reporting to the `onDisconnect` callback. * **server:** The `Context.subscriptions` record value can be either an `AsyncIterator` or a `Promise`.
1 parent 44cc9c3 commit 02d944e

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# [4.0.0](https://github.com/enisdenjo/graphql-ws/compare/v3.2.0...v4.0.0) (2021-01-13)
2+
3+
4+
### Bug Fixes
5+
6+
* **server:** Client can complete/cancel any operation ([0ad1c4c](https://github.com/enisdenjo/graphql-ws/commit/0ad1c4c174d13effc185de49b42c64cdfd54a7ec))
7+
* **server:** Enforce ID uniqueness across all operations and during the whole subscription life ([#96](https://github.com/enisdenjo/graphql-ws/issues/96)) ([65d1bfa](https://github.com/enisdenjo/graphql-ws/commit/65d1bfa876fa5ff724c736b7ce958a1b1c9b0dc3))
8+
9+
10+
### Features
11+
12+
* **server:** Add `onDisconnect` callback ([#94](https://github.com/enisdenjo/graphql-ws/issues/94)) ([2a61268](https://github.com/enisdenjo/graphql-ws/commit/2a612687d2b3fe7dc9a62dca5a171a52c28b99ab))
13+
* **server:** Log a warning for unsupported subprotocols ([88a12ef](https://github.com/enisdenjo/graphql-ws/commit/88a12ef3d9261e787a150d226210856688bf97da)), closes [#92](https://github.com/enisdenjo/graphql-ws/issues/92)
14+
15+
16+
### BREAKING CHANGES
17+
18+
* **server:** The return function of `server.opened` (`closed`) now requires the close event code and reason for reporting to the `onDisconnect` callback.
19+
* **server:** The `Context.subscriptions` record value can be either an `AsyncIterator` or a `Promise`.
20+
121
# [3.2.0](https://github.com/enisdenjo/graphql-ws/compare/v3.1.0...v3.2.0) (2020-12-17)
222

323

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-ws",
3-
"version": "3.2.0",
3+
"version": "4.0.0",
44
"description": "Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client",
55
"keywords": [
66
"protocol",

0 commit comments

Comments
 (0)