subscriptions-transport-ws
0.11.0 · 2 Nov 2021MIT2M / weekRepositoryHomepagenpmAtom feed
Upgrading subscriptions-transport-ws from 0.1.1 to 0.11.0
52 releases in betweennotes for 43
- 2+
- changes to make
- 0
- advisories fixed
- 24+
- new
- 27+
- fixes
Counted from 43 of 52 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking0.9.0
- breaking0.9.0
Release by release
- new
Support for
graphql@16and bump minimal supported version to begraphql@15.7.2. As part of this change signatures forExecuteFunctionandSubscribeFunctionwere changed.
- new
0.9.19 – 0.10.02 releases, nothing new or fixed in the notes
- new
Add
minTimeoutoption for client. - new
Accept extra WebSocket client arguments.
- new
Support server-defined payload in GQL_CONNECTION_ACK message.
- fixed
Do not send GQL_STOP when unsubscribing after GQL_COMPLETE is received.
- new
0.9.17nothing new or fixed in the note
- new
Add ability to set custom WebSocket protocols for client.
- new
- new
Add support for
graphqland@types/graphql14.
- new
46 other lines we could not sort, mostly version bumps
- 0.10.0
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). - 0.9.19
Bump
wsdependency to allow v6 and v7. Note that there are breaking changes inws6.0.0and7.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 theirnpm 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 vianew ApolloServer({subscriptions: false}), and consider packages such asgraphql-wsto power GraphQL subscriptions until such time as Apollo Server has more fully integrated subscriptions support. - 0.9.17
Bump
graphqlpeer/dev deps. - 0.9.12
Use lightweight lodash alternatives Issue #430
- 0.9.12
Applies fix suggested by @pandemosth regarding "No subscription is made on reconnect" and "Duplicate subscription made on reconnect" described in Issue #295
- 0.9.10
Upgrade ws and eventemitter3
- 0.9.7
Change default timeout from 10s to 30s PR #368
- 0.9.7
Pass
request(upgradeReq) toConnectionContextPR #369 - 0.9.7
Pass
ConnectionContexttoonDisconnect()as second argument PR #369 - 0.9.6
Upgrade to support graphql 0.13.X
10 internal lines (docs, tests, tooling) left out.