From db3805be8eeaa743395c923c0c11336237a66a6f Mon Sep 17 00:00:00 2001 From: Fujiwara Takumi Date: Sun, 17 Dec 2023 14:35:22 +0000 Subject: [PATCH 1/3] upgrade tokio-tungstenite to 0.21 --- axum/Cargo.toml | 2 +- examples/testing-websockets/Cargo.toml | 2 +- examples/websockets/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 2bde57ddf0..3001c97f60 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -61,7 +61,7 @@ serde_path_to_error = { version = "0.1.8", optional = true } serde_urlencoded = { version = "0.7", optional = true } sha1 = { version = "0.10", optional = true } tokio = { package = "tokio", version = "1.25.0", features = ["time"], optional = true } -tokio-tungstenite = { version = "0.20", optional = true } +tokio-tungstenite = { version = "0.21", optional = true } tracing = { version = "0.1", default-features = false, optional = true } [dependencies.tower-http] diff --git a/examples/testing-websockets/Cargo.toml b/examples/testing-websockets/Cargo.toml index 3c3513ade2..842624c9e5 100644 --- a/examples/testing-websockets/Cargo.toml +++ b/examples/testing-websockets/Cargo.toml @@ -9,4 +9,4 @@ axum = { path = "../../axum", features = ["ws"] } futures = "0.3" hyper = { version = "1.0.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] } -tokio-tungstenite = "0.20" +tokio-tungstenite = "0.21" diff --git a/examples/websockets/Cargo.toml b/examples/websockets/Cargo.toml index 1cedfc277b..f62a8b03ee 100644 --- a/examples/websockets/Cargo.toml +++ b/examples/websockets/Cargo.toml @@ -11,7 +11,7 @@ futures = "0.3" futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } headers = "0.4" tokio = { version = "1.0", features = ["full"] } -tokio-tungstenite = "0.20" +tokio-tungstenite = "0.21" tower = { version = "0.4", features = ["util"] } tower-http = { version = "0.5.0", features = ["fs", "trace"] } tracing = "0.1" From 2a6a3cead7d00ecf61c8619f8f71502bb1c28037 Mon Sep 17 00:00:00 2001 From: Fujiwara Takumi Date: Sun, 17 Dec 2023 15:38:08 +0000 Subject: [PATCH 2/3] Add a note to the changelog --- axum/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index bcfe29069b..2184b0e03c 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased - **change:** Update version of multer used internally for multipart ([#2433]) +- **change:** Update tokio-tungstenite to 0.21 ([#2435]) [#2433]: https://github.com/tokio-rs/axum/pull/2433 From 35b694275073ba9c42e78e0954e40b6cd59466c5 Mon Sep 17 00:00:00 2001 From: Fujiwara Takumi Date: Mon, 18 Dec 2023 13:24:48 +0000 Subject: [PATCH 3/3] fixed the reference --- axum/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index 2184b0e03c..1ebd21d18b 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **change:** Update tokio-tungstenite to 0.21 ([#2435]) [#2433]: https://github.com/tokio-rs/axum/pull/2433 +[#2435]: https://github.com/tokio-rs/axum/pull/2435 # 0.7.2 (03. December, 2023)