Releases: obmarg/graphql-ws-client
Releases · obmarg/graphql-ws-client
v0.12.0
Breaking Changes
- The tungstenite feature flag has been removed in favour of version specific
feature flags. Users should use the feature flag that pairs with the version
that they need:tungstenite-0.23tungstenite-0.24tungstenite-0.25tungstenite-0.26tungstenite-0.27tungstenite-0.28
Subscription::stopis now synchronous and no longer has a return type.
New Features
- Added a stop function to the
Clientthat takes aSubscriptionId - Added an
idfunction toSubscriptionthat returns aSubscriptionId - Dropping a
Subscriptionwill now stop the subscription on the server.
Previously this would have continued on until the server realised the
subscription was dead.
Bug Fixes
- Raised the pin-project dependency slightly
Subscription::stopis now drop safe - previously it's future could be
dropped before the send message was sent and the subscription would
carry on until the server realised it was dead.
Changes
- Bumped the MSRV to 1.85
v0.11.1
v0.11.0
v0.10.2
Bug Fixes
- send graphql-specific ping instead of ws ping frame (#117)
Changes
Bug Fixes
- graphql-transport-ws pings are now responded to with graphql-tranport-ws pongs,
rather than websocket pongs (#116) - Keep alives now send
graphql-transport-wsping messages instead of websocket ping
frames (#117)
Contributors
Thanks to the people who contributed to this release:
v0.10.1
v0.10.0
Breaking Changes
- All Connection trait functions now return impl Future instead of BoxFuture
(#108) - Removed the legacy API that was deprecated in v0.8.0
(#81) - The deprecated
async-tungstenitefeature has been removed. Use the
tungstenitefeature instead, which works withasync-tungtenite,
tokio-tungsteniteand any other library that provides a
futures::{Stream, Sink}based tungsetenite interface.
(#106)
Changes
- MSRV is now 1.76
- Updated dependencies (#100)
tungstenite0.23graphql_client0.14
- Removed unused dependencies (#105)
async-traitpin-project-lite
Contributors
Thanks to the people who contributed to this release:
v0.9.0
Breaking Changes
- The
no-loggingfeature has been removed in favour of a defaultlogging
feature (#97)
New Features
- Added keep-alive functionality. When enabled this will send periodic pings
when the connection appears inactive. If these pings are not replied to, the
connection will be considered broken.
(#93, #94, #103) - Client is now Debug (#101)
Changes
- simplify keep alive implementation
- pin release-plz version (#91)
Contributors
Thanks to the people who contributed to this release:
v0.8.2
v0.8.1
Fixes
- Hopefully fixed the docs.rs build
v0.8.0
Breaking Changes
async_tungsteniteis no longer a default feautre, you should explicitly
enable it if you need it.- Updated to
tungstenite0.21 - MSRV is now 1.69 (there was no official MSRV before)
- Subscription IDs sent to the server are now just monotonic numbers rather
than uuids.
Deprecations
These will be removed in a future version, probably in v0.9.0
AsyncWebsocketClientand all its supporting traits and structs are now
deprecated.- The
async-tungstenitefeature flag is deprecated and will be removed in
favour oftungsteniteeventually.
New Features
- Added an entirely new client API as a replacement for the old API.
- Added a
subscribefunction tonext::ClientBuilderto make
creating a single subscription on a given connection easier.
Changes
graphql-ws-clientnow depends only ontungsteniteand not directly on
async-tungstenite(ortokio-tungstenite). This should allow it to work
with more versions of the async libraries (provided they support the same
tungsteniteversion).