@graphql-tools/executor-graphql-ws
3.2.2 · 17 Nov 2026MIT14.6M / weekRepositorynpmAtom feed
2.0.7 is the newest release of 2.x.
In short
2 breaking1 new1 internal
- Breaking
Executor options don't exist graphql-ws dependency options
- Breaking
Upgrade graphql-ws to v6
Release note
The section about @graphql-tools/executor-graphql-ws of a note shared by several packages.
Major Changes
- Breaking
Executor options don't exist graphql-ws dependency options
Removing the dependency on the types. Some options are still exposed, but if you want to further customise the graphql-ws client, you should pass your own instance of the client instead.
import { buildGraphQLWSExecutor } from '@graphql-tools/executor-graphql-ws'; import { createClient } from 'graphql-ws'; import { options } from './my-graphql-ws-client-options'; const executor = buildGraphQLWSExecutor( createClient({ url: 'ws://localhost:4000/graphql', ...options, }), ); - Breaking
Upgrade graphql-ws to v6
If you have a custom graphql-ws configuration when building the executor with
buildGraphQLWSExecutor, you will have to migrate the graphql-ws side to v6. Please consult the changelog of graphql-ws.
Minor Changes
Export GraphQLWSExecutorOptions type
Patch Changes
Dependencies updates:
Updated dependency
graphql-ws@^6.0.3↗︎ (from^5.14.0, independencies)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.