From 98df02d7a4a638b3bc76a01f41966dc83c275103 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 8 Apr 2026 12:37:44 +0200 Subject: [PATCH] chore: prepare Tokio v1.51.1 (#8023) --- README.md | 2 +- tokio/CHANGELOG.md | 17 +++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a7bfc3cd0..1e4454b70 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.51.0", features = ["full"] } +tokio = { version = "1.51.1", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index bf27f86a7..1b446fef0 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,20 @@ +# 1.51.1 (April 8th, 2026) + +### Fixed + +- sync: fix semaphore reopens after forget ([#8021]) +- net: surface errors from `SO_ERROR` on `recv` for UDP sockets on Linux ([#8001]) + +### Fixed (unstable) + +- metrics: fix `worker_local_schedule_count` test ([#8008]) +- rt: do not leak fd when cancelling io\_uring open operation ([#7983]) + +[#7983]: https://github.com/tokio-rs/tokio/pull/7983 +[#8001]: https://github.com/tokio-rs/tokio/pull/8001 +[#8008]: https://github.com/tokio-rs/tokio/pull/8008 +[#8021]: https://github.com/tokio-rs/tokio/pull/8021 + # 1.51.0 (April 3rd, 2026) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index cd5065926..ac9658fec 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.51.0" +version = "1.51.1" edition = "2021" rust-version = "1.71" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index a7bfc3cd0..1e4454b70 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.51.0", features = ["full"] } +tokio = { version = "1.51.1", features = ["full"] } ``` Then, on your main.rs: