From f5310acb51af67602e2aa5b6d13d0b28b392f033 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Tue, 26 Oct 2021 13:51:39 +0000 Subject: [PATCH 1/4] chore: prepare Tokio v1.13.0 --- README.md | 2 +- tokio/CHANGELOG.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 4 ++-- tokio/README.md | 2 +- 4 files changed, 57 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4d99c88c4a6..c40cd0f2f39 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.12.0", features = ["full"] } +tokio = { version = "1.13.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 5463a4e6515..46763e0e042 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,56 @@ +# 1.13.0 (October 26, 2021) + +### Fixed + +- sync: fix `Notify` to clone the waker before locking its waiter list ([#4129]) +- tokio: add riscv32 to non atomic64 architectures ([#4185]) + +### Added + +- net: add `poll_{recv,send}_ready` methods to `udp` and `uds_datagram` ([#4131]) +- net: add `try_*`, `readable`, `writable`, `ready`, and `peer_addr` methods to split halves ([#4120]) +- sync: add `blocking_lock` to `Mutex` ([#4130]) +- sync: add `watch::Sender::send_replace` ([#3962]) +- sync: expand `Debug` for `Mutex` impl to unsized `T` ([#4134]) +- tracing: instrument time::Sleep ([#4072]) +- tracing: use structured location fields for spawned tasks ([#4128]) + +### Changed + +- io: add assert in `copy_bidirectional` that `poll_write` is sensible ([#4125]) +- macros: use qualified syntax when polling in `select!` ([#4192]) +- runtime: handle `block_on` wakeups better ([#4157]) +- tokio: assert platform-minimum requirements at build time ([#3797]) + +### Documented + +- docs: conversion of doc comments to indicative mood ([#4174]) +- docs: add returning on the first error example for `try_join!` ([#4133]) +- docs: fixing broken links in `tokio/src/lib.rs` ([#4132]) +- signal: add example with background listener ([#4171]) +- sync: add more oneshot examples ([#4153]) +- time: document `Interval::tick` cancel safety ([#4152]) + +[#3797]: https://github.com/tokio-rs/tokio/pull/3797 +[#3962]: https://github.com/tokio-rs/tokio/pull/3962 +[#4072]: https://github.com/tokio-rs/tokio/pull/4072 +[#4120]: https://github.com/tokio-rs/tokio/pull/4120 +[#4125]: https://github.com/tokio-rs/tokio/pull/4125 +[#4128]: https://github.com/tokio-rs/tokio/pull/4128 +[#4129]: https://github.com/tokio-rs/tokio/pull/4129 +[#4130]: https://github.com/tokio-rs/tokio/pull/4130 +[#4131]: https://github.com/tokio-rs/tokio/pull/4131 +[#4132]: https://github.com/tokio-rs/tokio/pull/4132 +[#4133]: https://github.com/tokio-rs/tokio/pull/4133 +[#4134]: https://github.com/tokio-rs/tokio/pull/4134 +[#4152]: https://github.com/tokio-rs/tokio/pull/4152 +[#4153]: https://github.com/tokio-rs/tokio/pull/4153 +[#4157]: https://github.com/tokio-rs/tokio/pull/4157 +[#4171]: https://github.com/tokio-rs/tokio/pull/4171 +[#4174]: https://github.com/tokio-rs/tokio/pull/4174 +[#4185]: https://github.com/tokio-rs/tokio/pull/4185 +[#4192]: https://github.com/tokio-rs/tokio/pull/4192 + # 1.12.0 (September 21, 2021) ### Fixed diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index d2e4696893d..2e956ff4625 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -7,12 +7,12 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v1.0.x" git tag. -version = "1.12.0" +version = "1.13.0" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/1.12.0/tokio/" +documentation = "https://docs.rs/tokio/1.13.0/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ diff --git a/tokio/README.md b/tokio/README.md index 4d99c88c4a6..c40cd0f2f39 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.12.0", features = ["full"] } +tokio = { version = "1.13.0", features = ["full"] } ``` Then, on your main.rs: From f44e9bbb929a5de2024407274ce6af72f8d1802f Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 27 Oct 2021 14:04:08 +0200 Subject: [PATCH 2/4] Update date --- tokio/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 46763e0e042..bd0956f3a40 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.13.0 (October 26, 2021) +# 1.13.0 (October 27, 2021) ### Fixed From ff89cf09866d6495e12f0ec0f6a6243105c7d4f8 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 27 Oct 2021 14:06:29 +0200 Subject: [PATCH 3/4] Add link --- tokio/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index bd0956f3a40..7e0f2200795 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -10,7 +10,7 @@ - net: add `poll_{recv,send}_ready` methods to `udp` and `uds_datagram` ([#4131]) - net: add `try_*`, `readable`, `writable`, `ready`, and `peer_addr` methods to split halves ([#4120]) - sync: add `blocking_lock` to `Mutex` ([#4130]) -- sync: add `watch::Sender::send_replace` ([#3962]) +- sync: add `watch::Sender::send_replace` ([#3962], [#4195]) - sync: expand `Debug` for `Mutex` impl to unsized `T` ([#4134]) - tracing: instrument time::Sleep ([#4072]) - tracing: use structured location fields for spawned tasks ([#4128]) @@ -50,6 +50,7 @@ [#4174]: https://github.com/tokio-rs/tokio/pull/4174 [#4185]: https://github.com/tokio-rs/tokio/pull/4185 [#4192]: https://github.com/tokio-rs/tokio/pull/4192 +[#4195]: https://github.com/tokio-rs/tokio/pull/4195 # 1.12.0 (September 21, 2021) From 79d119b6699a26a2ce94b2ab009720eb80ed19fd Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 29 Oct 2021 17:36:47 +0200 Subject: [PATCH 4/4] Update CHANGELOG --- tokio/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 7e0f2200795..0bec0d5e89d 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.13.0 (October 27, 2021) +# 1.13.0 (October 29, 2021) ### Fixed @@ -20,6 +20,7 @@ - io: add assert in `copy_bidirectional` that `poll_write` is sensible ([#4125]) - macros: use qualified syntax when polling in `select!` ([#4192]) - runtime: handle `block_on` wakeups better ([#4157]) +- task: allocate callback on heap immediately in debug mode ([#4203]) - tokio: assert platform-minimum requirements at build time ([#3797]) ### Documented @@ -51,6 +52,7 @@ [#4185]: https://github.com/tokio-rs/tokio/pull/4185 [#4192]: https://github.com/tokio-rs/tokio/pull/4192 [#4195]: https://github.com/tokio-rs/tokio/pull/4195 +[#4203]: https://github.com/tokio-rs/tokio/pull/4203 # 1.12.0 (September 21, 2021)