All user visible changes to juniper_graphql_ws crate will be documented in this file. This project uses Semantic Versioning 2.0.0.
Schema::Contextnow requiresClonebound for ability to have a "fresh" context value each time a new GraphQL operation is started in a WebSocket connection. (#1369)COMPATIBILITY: Previously, it was
Arced inside, sharing the same context value across all GraphQL operations of a WebSocket connection. To preserve the previous behavior, theSchema::Contexttype should be either wrapped intoArcor madeArc-based internally.- Replaced
ConnectionConfig::keep_alive_intervaloption withConnectionConfig::keep_aliveone asKeepAliveConfig. (#1367) - Made WebSocket connection closed once
ConnectionConfig::keep_alive::timeoutis reached ingraphql-transport-wsGraphQL over WebSocket Protocol. (#1367)COMPATIBILITY: Previously, a WebSocket connection was kept alive, even when clients do not respond to server's
Pongmessages at all. To preserve the previous behavior, theConnectionConfig::keep_alive::timeoutshould be set toDuration:::ZERO.
ConnectionConfig::panic_handlerfield andConnectionConfig::with_panic_handler()method allowing to specifyPanicHandlerfor panics happened during execution of GraphQL operations. (#1371)
- Merged
graphql_transport_ws::NextPayloadandgraphql_ws::DataPayloadinto a single struct. (#1371)
- Inability to re-subscribe with the same operation
idafter subscription was completed by server. (#1368)
0.5.0 · 2025-09-08
- Switched to 0.17 version of
junipercrate. - Switched to 0.18 version of
juniper_subscriptionscrate. - Bumped up MSRV to 1.85. (#1272, 1b1fc618)
0.4.0 · 2024-03-20
- Moved existing implementation to
graphql_wsmodule implementing legacygraphql-wsGraphQL over WebSocket Protocol behindgraphql-wsCargo feature. (#1196) - Switched to 0.16 version of
junipercrate. - Switched to 0.17 version of
juniper_subscriptionscrate.
graphql_transport_wsmodule implementinggraphql-transport-wsGraphQL over WebSocket Protocol as of 5.14.0 version ofgraphql-wsnpm package behindgraphql-transport-wsCargo feature. (#1158, #1191, #1196, #1197, #1022)
- Made fields of
ConnectionConfigpublic. (#1191)
See old CHANGELOG.