Skip to content

Commit

Permalink
Merge pull request #195 from Totodore/prepare-0.8
Browse files Browse the repository at this point in the history
Prepare 0.8
  • Loading branch information
Totodore authored Dec 11, 2023
2 parents 91889b4 + e88dc3f commit 82b4b2b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 18 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 0.8.0
## socketioxide
* Add `transport_type` and `protocol` fn on the `Socket` struct. It allows to know the transport type and the protocol used by the socket.
* Dynamic `DisconnectHandler`. Now the `on_disconnect` handler take a dynamic handler that maybe async and contain any type that implements `FromDisconnectParts`. It allows to extract data from the disconnection, like the socket, the reason of the disconnection, the state etc.
* New `state` feature flag. It enables global state management. It is useful to share data between handlers. It is disabled by default.

## engineioxide
* Packet encoding/decoding optimizations.

# 0.7.3
## socketioxide
* Fix [#189](https://github.com/Totodore/socketioxide/issues/189). Async message handlers were never called because the returned future was not spawned with `tokio::spawn`.
Expand All @@ -10,7 +19,7 @@

# 0.7.1
## socketioxide
* Fix [#154](https://github.com/Totodore/socketioxide/issues/154), build was broken when using the `hyper-v1` feature flag because of `hyper-util` dependencie which is not published on crates.io.
* Fix [#154](https://github.com/Totodore/socketioxide/issues/154), build was broken when using the `hyper-v1` feature flag because of `hyper-util` dependency which is not published on crates.io.

# 0.7.0
## socketioxide
Expand Down
30 changes: 15 additions & 15 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ warp = "0.3.6"
salvo = { version = "0.58.5", features = ["tower-compat"] }

[workspace.package]
version = "0.7.3"
version = "0.8.0"
edition = "2021"
rust-version = "1.67.0"
authors = ["Théodore Prévot <"]
Expand Down
2 changes: 1 addition & 1 deletion 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.7.3" }
engineioxide = { path = "../engineioxide", version = "0.8.0" }
futures.workspace = true
tokio = { workspace = true, features = ["rt"] }
serde.workspace = true
Expand Down

0 comments on commit 82b4b2b

Please sign in to comment.