From 92a3455c6652ab0ae7273c6273a35007adacaf2c Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 8 Dec 2023 23:35:27 +0100 Subject: [PATCH] chore: prepare Tokio v1.35.0 (#6197) --- README.md | 2 +- tokio/CHANGELOG.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 49 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d73ff594c15..a9e348756fe 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.34.0", features = ["full"] } +tokio = { version = "1.35.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 0e0f3b90fab..7a0ccde4380 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,49 @@ +# 1.35.0 (December 8th, 2023) + +### Added + +- net: add Apple watchOS support ([#6176]) + +### Changed + +- io: drop the `Sized` requirements from `AsyncReadExt.read_buf` ([#6169]) +- runtime: make `Runtime` unwind safe ([#6189]) +- runtime: reduce the lock contention in task spawn ([#6001]) +- tokio: update nix dependency to 0.27.1 ([#6190]) + +### Fixed + +- chore: make `--cfg docsrs` work without net feature ([#6166]) +- chore: use relaxed load for `unsync_load` on miri ([#6179]) +- runtime: handle missing context on wake ([#6148]) +- taskdump: fix taskdump cargo config example ([#6150]) +- taskdump: skip notified tasks during taskdumps ([#6194]) +- tracing: avoid creating resource spans with current parent, use a None parent instead ([#6107]) +- tracing: make task span explicit root ([#6158]) + +### Documented + +- io: flush in `AsyncWriteExt` examples ([#6149]) +- runtime: document fairness guarantees and current behavior ([#6145]) +- task: document cancel safety of `LocalSet::run_until` ([#6147]) + +[#6001]: https://github.com/tokio-rs/tokio/pull/6001 +[#6107]: https://github.com/tokio-rs/tokio/pull/6107 +[#6144]: https://github.com/tokio-rs/tokio/pull/6144 +[#6145]: https://github.com/tokio-rs/tokio/pull/6145 +[#6147]: https://github.com/tokio-rs/tokio/pull/6147 +[#6148]: https://github.com/tokio-rs/tokio/pull/6148 +[#6149]: https://github.com/tokio-rs/tokio/pull/6149 +[#6150]: https://github.com/tokio-rs/tokio/pull/6150 +[#6158]: https://github.com/tokio-rs/tokio/pull/6158 +[#6166]: https://github.com/tokio-rs/tokio/pull/6166 +[#6169]: https://github.com/tokio-rs/tokio/pull/6169 +[#6176]: https://github.com/tokio-rs/tokio/pull/6176 +[#6179]: https://github.com/tokio-rs/tokio/pull/6179 +[#6189]: https://github.com/tokio-rs/tokio/pull/6189 +[#6190]: https://github.com/tokio-rs/tokio/pull/6190 +[#6194]: https://github.com/tokio-rs/tokio/pull/6194 + # 1.34.0 (November 19th, 2023) ### Fixed diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index c84b04462b2..17d5673ae37 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.34.0" +version = "1.35.0" edition = "2021" rust-version = "1.63" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index d73ff594c15..a9e348756fe 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.34.0", features = ["full"] } +tokio = { version = "1.35.0", features = ["full"] } ``` Then, on your main.rs: