Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,40 @@ all APIs might be changed.

## Unreleased

## v0.12.0 - 2026-01-11

### 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.23`
- `tungstenite-0.24`
- `tungstenite-0.25`
- `tungstenite-0.26`
- `tungstenite-0.27`
- `tungstenite-0.28`
- `Subscription::stop` is now synchronous and no longer has a return type.

### New Features

- Added a stop function to the `Client` that takes a `SubscriptionId`
- Added an `id` function to `Subscription` that returns a `SubscriptionId`
- Dropping a `Subscription` will 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::stop` is 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 - 2024-10-29

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "graphql-ws-client"
version = "0.11.1"
version = "0.12.0"
authors = ["Graeme Coupar <graeme@polyandglot.dev>"]
edition = "2024"
resolver = "2"
Expand Down
4 changes: 2 additions & 2 deletions examples-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "examples-wasm"
version = "0.11.0"
version = "0.12.0"
authors = ["Graeme Coupar <grambo@grambo.me.uk>"]
edition = "2018"
publish = false
Expand All @@ -21,7 +21,7 @@ console_log = "1"

[dependencies.graphql-ws-client]
path = "../"
version = "0.11.1"
version = "0.12.0"
default-features = false
features = ["cynic", "ws_stream_wasm"]

Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "examples"
version = "0.11.0"
version = "0.12.0"
authors = ["Graeme Coupar <grambo@grambo.me.uk>"]
edition = "2018"
publish = false
Expand All @@ -21,7 +21,7 @@ tokio = { version = "1.15", features = ["rt-multi-thread", "macros"] }

[dependencies.graphql-ws-client]
path = "../"
version = "0.11.1"
version = "0.12.0"
default-features = false
features = ["cynic", "tungstenite-0.27"]

Expand Down