Same contents as v0.9.19 (published before v0.9.19 before realizing it would be helpful if the new version was picked up by packages looking for ^0.9).
v0.9.19 (2021-06-08)
Bump ws dependency to allow v6 and v7. Note that there are breaking changes in ws6.0.0 and 7.0.0; for example, messages over 100MiB are rejected, and (in v7) the behavior of sending messages while the connection is starting or ending has changed. We are publishing this package to allow users of Apollo Server 2 to avoid seeing this CVE in their npm audit. However, note that (a) this CVE does not affect the subscriptions client, just the server and (b) Apollo Server 3 will remove its superficial integration with this package entirely. We encourage users of Apollo Server 2 to disable the integration with this unmaintained package via new ApolloServer({subscriptions: false}), and consider packages such as graphql-ws to power GraphQL subscriptions until such time as Apollo Server has more fully integrated subscriptions support.
v0.9.18 (2020-08-17)
Bug Fixes
Do not send GQL_STOP when unsubscribing after GQL_COMPLETE is received. @onhate in #775
Clear WebSocket event listeners on close. @tretne in #615
applies fix suggested by @pandemosth regarding "No subscription is made on reconnect" and "Duplicate subscription made on reconnect" described in Issue #295
v0.9.11
allow using custom WebSocket server implementation PR #374
docs(setup): Fix dead link to subscriptions-to-schema
upgrade to support graphql 0.12.X
v0.9.4
fix unhandledRejection error in GQL_START handling if initPromise rejected PR #310
v0.9.3
fix unhandledRejection error in GQL_STOP handling if initPromise rejected PR #309
fix return of init error message to legacy clients PR #309
v0.9.2
fix format of keep alive message sent to legacy clients. PR #297
fix(isPromise): Made checks for promises in server.ts loose to allow for augmented and polyfilled promises. PR #304
v0.9.1
docs(KEEP_ALIVE): Updated protocol docs to explain the correct server implementation of GQL_CONNECTION_INIT, GQL_CONNECTION_ACK and GQL_CONNECTION_KEEP_ALIVEPR #279
docs(language-typos): Update documentation to remove some language typos PR #282
fix(typescript-2.5.x-typings): Fix a couple of typing changes required by latest typing files with TypeScript 2.5.X. PR #285
test(NA): fixed run condition on tests for gql_data with errors PR #289
v0.9.0
docs(README): Fix example for subscribe and subscribeToMore PR #273