February 04, 2025
@graphql-tools/executor-graphql-ws@2.0.0
Major Changes
-
#481
0b13cb4
Thanks @enisdenjo! - Executor options don't exist graphql-ws dependency optionsRemoving 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, }), );
-
#481
0b13cb4
Thanks @enisdenjo! - Upgrade graphql-ws to v6If 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
- #481
0b13cb4
Thanks @enisdenjo! - Export GraphQLWSExecutorOptions type
Patch Changes
-
#481
0b13cb4
Thanks @enisdenjo! - dependencies updates:- Updated dependency
graphql-ws@^6.0.3
↗︎ (from^5.14.0
, independencies
)
- Updated dependency
@graphql-hive/gateway@1.9.2
Patch Changes
-
#481
0b13cb4
Thanks @enisdenjo! - dependencies updates:- Updated dependency
graphql-ws@^6.0.3
↗︎ (from^5.16.0
, independencies
)
- Updated dependency
-
#481
0b13cb4
Thanks @enisdenjo! - WebSocket transport options allow configuring onlyconnectionParams
In most of the cases you won't need to configure the underlying graphql-ws client any further.
-
#481
0b13cb4
Thanks @enisdenjo! - Upgrade graphql-ws to v6If you have a custom graphql-ws configuration when using the transport, you will have to migrate the graphql-ws side to v6. Please consult the changelog of graphql-ws.
-
Updated dependencies [
0b13cb4
,0b13cb4
,0b13cb4
,0b13cb4
,0b13cb4
]:- @graphql-hive/gateway-runtime@1.4.11
- @graphql-mesh/transport-ws@1.0.0
- @graphql-mesh/hmac-upstream-signature@1.2.19
- @graphql-mesh/plugin-opentelemetry@1.3.39
- @graphql-mesh/plugin-prometheus@1.3.27
@graphql-mesh/plugin-opentelemetry@1.3.39
Patch Changes
- Updated dependencies [
0b13cb4
]:- @graphql-hive/gateway-runtime@1.4.11
@graphql-mesh/plugin-prometheus@1.3.27
Patch Changes
- Updated dependencies [
0b13cb4
]:- @graphql-hive/gateway-runtime@1.4.11
@graphql-hive/gateway-runtime@1.4.11
Patch Changes
-
#481
0b13cb4
Thanks @enisdenjo! - dependencies updates:- Updated dependency
graphql-ws@^6.0.3
↗︎ (from^5.16.0
, independencies
)
- Updated dependency
-
Updated dependencies []:
- @graphql-mesh/hmac-upstream-signature@1.2.19
@graphql-mesh/transport-ws@1.0.0
Major Changes
-
#481
0b13cb4
Thanks @enisdenjo! - WebSocket transport options allow configuring onlyconnectionParams
In most of the cases you won't need to configure the underlying graphql-ws client any further.
-
#481
0b13cb4
Thanks @enisdenjo! - WebSocket transport is stable and production ready
Minor Changes
-
#481
0b13cb4
Thanks @enisdenjo! - Upgrade graphql-ws to v6If you have a custom graphql-ws configuration when using the transport, you will have to migrate the graphql-ws side to v6. Please consult the changelog of graphql-ws.
Patch Changes
-
#481
0b13cb4
Thanks @enisdenjo! - dependencies updates:- Updated dependency
graphql-ws@^6.0.3
↗︎ (from^5.16.0
, independencies
) - Added dependency
isomorphic-ws@^5.0.0
↗︎ (todependencies
)
- Updated dependency
-
Updated dependencies [
0b13cb4
,0b13cb4
,0b13cb4
,0b13cb4
]:- @graphql-tools/executor-graphql-ws@2.0.0