Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# [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`.
- Loading branch information