Skip to content

Releases: 1c3t3a/rust-socketio

v0.6.0

16 Apr 10:07
Compare
Choose a tag to compare

Changes

  • Fix issues with processing multi-payload messages (#392).
    Credits to shenjackyuanjie@.
  • Bump http to 1.0 and all dependencies that use http to a version that also uses http 1.0 (#418).
    Bumping those dependencies makes this a breaking change.

v0.5.0

31 Mar 12:28
Compare
Choose a tag to compare

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 called as_stream on the engine.io socket.
  • Add macro async_callback and async_any_callback for async callbacks (#399.
    Credits to shenjackyuanjie@.

v0.4.4

18 Nov 17:48
Compare
Choose a tag to compare

Changes

  • Bump tungstenite version to v0.20.1 (avoiding security vulnerability) #368
  • Updating other dependencies

v0.4.3

08 Jul 10:14
Compare
Choose a tag to compare

Changes

  • Fix of #323
  • Marking the async feature optional

v0.4.2

25 Jun 18:57
69b5967
Compare
Choose a tag to compare

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

26 Mar 15:08
Compare
Choose a tag to compare

Changes

  • Add on_any method for async ClientBuilder. 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

15 Jan 12:43
Compare
Choose a tag to compare

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

15 Jan 10:48
Compare
Choose a tag to compare

Changes

  • As of #264, the callbacks are now allowed to be ?Sync.
  • As of #265, the Payload type now implements AsRef<u8>.

v0.4.0

20 Oct 08:45
Compare
Choose a tag to compare

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.

v0.3.0

29 Dec 20:10
cfd012d
Compare
Choose a tag to compare

Changes

  • Stabilized alpha features.
  • Fixes regarding #133.