From 69b5967fce95bf7c0888ee17dc090a6008bb64f0 Mon Sep 17 00:00:00 2001 From: Bastian Kersting Date: Sun, 25 Jun 2023 20:53:10 +0200 Subject: [PATCH] chore: Prepare for 0.4.2 (#340) --- CHANGELOG.md | 14 +++++++++++++- Cargo.lock | 4 ++-- README.md | 4 ++-- engineio/Cargo.toml | 2 +- socketio/Cargo.toml | 4 ++-- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f67b02cf..da6f90af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog], and this project adheres to ## Overview * [unreleased](#unreleased) +* [`0.4.2`](#042) - _2023.06.25_ * [`0.4.1-alpha.2`](#041a2) - _2023.03.26_ * [`0.4.1-alpha.1`](#041a1) - _2023.01.15_ * [`0.4.0`](#041) - _2023.01.15_ @@ -33,7 +34,18 @@ The format is based on [Keep a Changelog], and this project adheres to _nothing new to show for… yet!_ - [0.4.0-alpha.2] - _Async socket.io fixes_ +## [0.4.2] - _Stabilizing the async interface!_ + +_2023.06.25_ + +- Fix "Error while parsing an incomplete packet socketio" on first heartbeat killing the connection async client +([#311](https://github.com/1c3t3a/rust-socketio/issues/311)). Credits to [@sirkrypt0](https://github.com/sirkrypt0) +- Fix allow awaiting async callbacks ([#313](https://github.com/1c3t3a/rust-socketio/issues/313)). Credits to [@felix-gohla](https://github.com/felix-gohla) +- Various performance improvements especially in packet parsing. Credits to [@MaxOhn](https://github.com/MaxOhn) +- API for setting the reconnect URL on a connected client ([#251](https://github.com/1c3t3a/rust-socketio/issues/251)). +Credits to [@tyilo](https://github.com/tyilo) + +## [0.4.0-alpha.2] - _Async socket.io fixes_ _2023.03.26_ diff --git a/Cargo.lock b/Cargo.lock index d915f8b0..f895f462 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1535,7 +1535,7 @@ dependencies = [ [[package]] name = "rust_engineio" -version = "0.4.1-alpha.1" +version = "0.4.2" dependencies = [ "adler32", "async-stream", @@ -1559,7 +1559,7 @@ dependencies = [ [[package]] name = "rust_socketio" -version = "0.4.1-alpha.2" +version = "0.4.2" dependencies = [ "adler32", "async-stream", diff --git a/README.md b/README.md index 15f0589f..b0ee1959 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Information on the [`async`](#async) version can be found below. Add the following to your `Cargo.toml` file: ```toml -rust_socketio = "0.4.1" +rust_socketio = "0.4.2" ``` Then you're able to run the following example code: @@ -98,7 +98,7 @@ The async `Client` and `ClientBuilder` support a similar interface to the sync v in the `asynchronous` module. In order to enable the support, you need to enable the `async` feature flag: ```toml -rust_socketio = { version = "0.4.1-alpha.1", features = ["async"] } +rust_socketio = { version = "0.4.2", features = ["async"] } ``` The following code shows the example above in async fashion: diff --git a/engineio/Cargo.toml b/engineio/Cargo.toml index 0678bb82..9096547c 100644 --- a/engineio/Cargo.toml +++ b/engineio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust_engineio" -version = "0.4.1-alpha.1" +version = "0.4.2" authors = ["Bastian Kersting "] edition = "2021" description = "An implementation of a engineio client written in rust." diff --git a/socketio/Cargo.toml b/socketio/Cargo.toml index 9896901f..ef5c03ce 100644 --- a/socketio/Cargo.toml +++ b/socketio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust_socketio" -version = "0.4.1-alpha.2" +version = "0.4.2" authors = ["Bastian Kersting "] edition = "2021" description = "An implementation of a socketio client written in rust." @@ -11,7 +11,7 @@ categories = ["network-programming", "web-programming", "web-programming::websoc license = "MIT" [dependencies] -rust_engineio = { version = "0.4.1-alpha.1", path = "../engineio" } +rust_engineio = { version = "0.4.2", path = "../engineio" } base64 = "0.21.0" bytes = "1" backoff = "0.4"