diff --git a/README.md b/README.md index f08f7b26f..b28c4bac6 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.46.1", features = ["full"] } +tokio = { version = "1.47.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 48e03b51e..049b4fb04 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,35 @@ +# 1.47.0 (July 25th, 2025) + +This release adds `poll_proceed` and `cooperative` to the `coop` module for +cooperative scheduling, adds `SetOnce` to the `sync` module which provides +similar functionality to [`std::sync::OnceLock], and adds a new method +`sync::Notify::notified_owned()` which returns an `OwnedNotified` without +a lifetime parameter. + +## Added + +- coop: add `cooperative` and `poll_proceed` ([#7405]) +- sync: add `SetOnce` ([#7148]) +- sync: add `sync::Notify::notified_owned()` ([#7465]) + +## Changed + +- deps: upgrade windows-sys 0.52 → 0.59 ([#7117]) +- deps: update to socket2 v0.6 ([#7443]) +- sync: improve `AtomicWaker::wake` performance ([#7450]) + +## Documented + +- metrics: fix listed feature requirements for some metrics ([#7449]) +- runtime: improve safety comments of `Readiness<'_>` ([#7415]) + +[#7148]: https://github.com/tokio-rs/tokio/pull/7148 +[#7405]: https://github.com/tokio-rs/tokio/pull/7405 +[#7415]: https://github.com/tokio-rs/tokio/pull/7415 +[#7449]: https://github.com/tokio-rs/tokio/pull/7449 +[#7450]: https://github.com/tokio-rs/tokio/pull/7450 +[#7465]: https://github.com/tokio-rs/tokio/pull/7465 + # 1.46.1 (July 4th, 2025) This release fixes incorrect spawn locations in runtime task hooks for tasks diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 2ee0fab0d..5be5efd98 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.46.1" +version = "1.47.0" edition = "2021" rust-version = "1.70" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index f08f7b26f..b28c4bac6 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.46.1", features = ["full"] } +tokio = { version = "1.47.0", features = ["full"] } ``` Then, on your main.rs: