Releases: 1c3t3a/rust-socketio
Releases · 1c3t3a/rust-socketio
v0.6.0
v0.5.0
Changes
- Support multiple arguments to the payload through a new Payload variant called
Text
that holds a JSON value (#384).
Credits to ctrlaltf24@ and SalahaldinBilal@!
Please note: This is a breaking change:Payload::String
is deprecated and will be removed soon. - Async reconnections: Support for automatic reconnection in the async version of the crate!
(#400). Credits to rageshkrishna@. - Add an
on_reconnect
callback that allows to change the connection configuration
(#405). Credits to rageshkrishna@. - Fix bug that ignored the ping interval (#359).
Credits to sirkrypt0@.
This is a breaking change that removes the engine.io's stream impl.
It is however replaced by a method calledas_stream
on the engine.io socket. - Add macro
async_callback
andasync_any_callback
for async callbacks (#399.
Credits to shenjackyuanjie@.
v0.4.4
v0.4.3
v0.4.2
Changes
- Fix "Error while parsing an incomplete packet socketio" on first heartbeat killing the connection async client
(#311). Credits to @sirkrypt0 - Fix allow awaiting async callbacks (#313). Credits to @felix-gohla
- Various performance improvements especially in packet parsing. Credits to @MaxOhn
- API for setting the reconnect URL on a connected client (#251).
Credits to @tyilo
v0.4.1-alpha.2
Changes
- Add
on_any
method for asyncClientBuilder
. This adds the capability to react to all incoming events (custom and otherwise). - Add auth option to async
ClientBuilder
. This allows for specifying JSON data that is sent with the first open packet, which is commonly used for authentication. - Bump dependencies and remove calls to deprecated library functions.
v0.4.1-alpha.1
Changes
- Add an async socket.io interface under the async feature flag, relevant PR: #180.
- See example code under socketio/examples/async.rs and in the async section of the README.
v0.4.1
v0.4.0
Changes
- Fix #214.
- Fix #215.
- Fix #219.
- Fix #221.
- Fix #222.
- BREAKING: The default Client returned by the builder will automatically reconnect to the server unless stopped manually. The new
ReconnectClient
encapsulates this behaviour.
Special thanks to @SSebo for his major contribution to this release.