Skip to content

Commit

Permalink
release: Prepare for 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
1c3t3a committed Mar 31, 2024
1 parent 7670f7e commit c082466
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
23 changes: 18 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog], and this project adheres to
## Overview

* [unreleased](#unreleased)
* [`0.5.0`](#050) - _2024.03.31_
* [`0.4.4`](#044) - _2023.11.18_
* [`0.4.3`](#043) - _2023.07.08_
* [`0.4.2`](#042) - _2023.06.25_
Expand All @@ -36,11 +37,23 @@ The format is based on [Keep a Changelog], and this project adheres to

_nothing new to show for… yet!_>

_async callback macro_

_2024.03.15_

- Add macro `async_callback` and `async_any_callback` for async callbacks [#395](https://github.com/1c3t3a/rust-socketio/issue/395) [#399](https://github.com/1c3t3a/rust-socketio/pull/399)
## <a name="050">[0.5.0] - _Packed with changes!_ </a>

_2024.03.31_

- Support multiple arguments to the payload through a new Payload variant called
`Text` that holds a JSON value ([#384](https://github.com/1c3t3a/rust-socketio/pull/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](https://github.com/1c3t3a/rust-socketio/pull/400)). Credits to rageshkrishna@.
- Add an `on_reconnect` callback that allows to change the connection configuration
([#405](https://github.com/1c3t3a/rust-socketio/pull/405)). Credits to rageshkrishna@.
- Fix bug that ignored the ping interval ([#359](https://github.com/1c3t3a/rust-socketio/pull/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](https://github.com/1c3t3a/rust-socketio/pull/399).
Credits to shenjackyuanjie@.

## <a name="044">[0.4.4] - _Bump dependencies_ </a>

Expand Down
4 changes: 2 additions & 2 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 engineio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_engineio"
version = "0.4.4"
version = "0.5.0"
authors = ["Bastian Kersting <bastian@cmbt.de>"]
edition = "2021"
description = "An implementation of a engineio client written in rust."
Expand Down
4 changes: 2 additions & 2 deletions socketio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_socketio"
version = "0.4.4"
version = "0.5.0"
authors = ["Bastian Kersting <bastian@cmbt.de>"]
edition = "2021"
description = "An implementation of a socketio client written in rust."
Expand All @@ -11,7 +11,7 @@ categories = ["network-programming", "web-programming", "web-programming::websoc
license = "MIT"

[dependencies]
rust_engineio = { version = "0.4.3", path = "../engineio" }
rust_engineio = { version = "0.5.0", path = "../engineio" }
base64 = "0.21.5"
bytes = "1"
backoff = "0.4"
Expand Down

0 comments on commit c082466

Please sign in to comment.