v0.8.0
Breaking Changes
async_tungstenite
is no longer a default feautre, you should explicitly
enable it if you need it.- Updated to
tungstenite
0.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
AsyncWebsocketClient
and all its supporting traits and structs are now
deprecated.- The
async-tungstenite
feature flag is deprecated and will be removed in
favour oftungstenite
eventually.
New Features
- Added an entirely new client API as a replacement for the old API.
- Added a
subscribe
function tonext::ClientBuilder
to make
creating a single subscription on a given connection easier.
Changes
graphql-ws-client
now depends only ontungstenite
and 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
tungstenite
version).