Skip to content

Commit

Permalink
chore(deps): bump crates to v0.12.0 (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Totodore authored Mar 20, 2024
1 parent 2eaa749 commit 5f0f5af
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 0.12.0
**MSRV**: Minimum supported Rust version is now 1.75.

# socketioxide
* **(Breaking)**: Introduction of [connect middlewares](https://docs.rs/socketioxide/latest/socketioxide/#middlewares). It allows to execute code before the connection to the namespace is established. It is useful to check the request, to authenticate the user, to log the connection etc. It is possible to add multiple middlewares and to chain them.
* The `SocketRef` extractor is now `Clone`. Be careful to drop clones when the socket is disconnected to avoid any memory leak.

# 0.11.1
## socketioxide
* fix(#232): under heavy traffic, the adjacent binary packet to the head packet requirement for engine.io was not respected. It was leading to a protocol error.

# 0.11.0
## socketioxide
* fix: a panic was raised sometimes under heavy traffic with socketio v5 when the connect timeout handler is destroyed but that the chan sender is still alive.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[workspace.package]
version = "0.11.0"
version = "0.12.0"
edition = "2021"
rust-version = "1.75.0"
authors = ["Théodore Prévot <"]
repository = "https://github.com/totodore/socketioxide"
homepage = "https://github.com/totodore/socketioxide"
keywords = ["socketio", "tower", "axum", "hyper", "websocket"]
categories = [
"asynchronous",
"network-programming",
"web-programming::websocket",
"asynchronous",
"network-programming",
"web-programming::websocket",
]
license = "MIT"

Expand Down
14 changes: 7 additions & 7 deletions socketioxide/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ readme = "../README.md"


[dependencies]
engineioxide = { path = "../engineioxide", version = "0.11.0" }
engineioxide = { path = "../engineioxide", version = "0.12.0" }
futures.workspace = true
tokio = { workspace = true, features = ["rt", "time"] }
serde.workspace = true
Expand Down Expand Up @@ -45,18 +45,18 @@ state = ["dep:state"]

[dev-dependencies]
engineioxide = { path = "../engineioxide", features = [
"v3",
"tracing",
"test-utils",
"v3",
"tracing",
"test-utils",
] }
tokio-tungstenite.workspace = true
rust_socketio.workspace = true
axum.workspace = true
salvo.workspace = true
tokio = { workspace = true, features = [
"macros",
"parking_lot",
"rt-multi-thread",
"macros",
"parking_lot",
"rt-multi-thread",
] }
tracing-subscriber.workspace = true
criterion.workspace = true
Expand Down

0 comments on commit 5f0f5af

Please sign in to comment.