From 37e8025b0be6523beae026e7435fb91d2cee1ee0 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 8 Dec 2023 10:01:13 +0100 Subject: [PATCH 1/2] chore: prepare Tokio v1.35.0 --- README.md | 2 +- tokio/CHANGELOG.md | 47 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 50 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 e21d1c1d4f9..9100a91e712 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,50 @@ +# 1.35.0 (December 8th, 2023) + +### Added + +- net: add Apple watchOS support ([#6176]) +- net: add `SocketAddr::as_abstract_namespace` ([#6144]) + +### 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: From ad848ff50012052853caa81d813d7fcb3ee0c3ca Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 8 Dec 2023 23:21:30 +0100 Subject: [PATCH 2/2] Update changelog --- tokio/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 9100a91e712..d3584893ebc 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -3,7 +3,6 @@ ### Added - net: add Apple watchOS support ([#6176]) -- net: add `SocketAddr::as_abstract_namespace` ([#6144]) ### Changed