From d87569164fb61145e79e7ffe0b25783569cc8f93 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 8 May 2026 14:52:32 +0200 Subject: [PATCH] chore: prepare Tokio v1.52.3 (#8130) --- README.md | 2 +- tokio/CHANGELOG.md | 9 +++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 657a5f3f4..01e7a84f6 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.52.2", features = ["full"] } +tokio = { version = "1.52.3", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 9e44c77e5..6f5e56f2a 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,12 @@ +# 1.52.3 (May 8th, 2026) + +### Fixed + +* sync: fix underflow in mpsc channel `len()` ([#8062]) +* sync: notify receivers in mpsc `OwnedPermit::release()` method ([#8075]) +* sync: require that an `RwLock` has `max_readers != 0` ([#8076]) +* sync: return `Empty` from `try_recv()` when mpsc is closed with outstanding permits ([#8074]) + # 1.52.2 (May 4th, 2026) This release reverts the LIFO slot stealing change introduced in 1.51.0 diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 21f450e19..123781bbf 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v1.x.y" git tag. -version = "1.52.2" +version = "1.52.3" edition = "2021" rust-version = "1.71" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 657a5f3f4..01e7a84f6 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -60,7 +60,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.52.2", features = ["full"] } +tokio = { version = "1.52.3", features = ["full"] } ``` Then, on your main.rs: