graphql-ws
6.4.1 · 15 Oct 2026MIT10.6M / weekRepositoryHomepagenpmAtom feed
Upgrading graphql-ws from 5.16.2 to 6.0.0
1 release in betweenevery note read
- 5
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
Release by release
- new
Client is truly zero-dependency, not even a peer dependency on
graphql - new
Define optional peer dependencies and least supported versions
- new
7 other lines we could not sort, mostly version bumps
- 6.0.0
The
/lib/part from imports has been removed, for examplegraphql-ws/lib/use/wsbecomesgraphql-ws/use/ws - 6.0.0
ErrorMessageuses andonErrorreturnsGraphQLFormattedError(instead ofGraphQLError) - 6.0.0
Least supported Node version is v20
- 6.0.0
Least supported
graphqlpeer dependency is ^15.10.1 and ^16 - 6.0.0
NextMessageuses andonNextreturnsFormattedExecutionResult(instead ofExecutionResult) - 6.0.0
schema,context,onSubscribe,onOperation,onError,onNextandonCompletehooks don't have the full accompanying message anymore, only the ID and the relevant part from the message - 6.0.0
Errors thrown from subscription iterables will be caught and reported through the
ErrorMessage