From ba52d243017163f5255e3acf51b0bd395cecdb51 Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Tue, 12 Jul 2022 16:12:57 -0500 Subject: [PATCH 1/5] chore: prepare tokio v1.20.0 --- README.md | 2 +- tokio/CHANGELOG.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 54 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 307369e429c..562156a888c 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.19.2", features = ["full"] } +tokio = { version = "1.20.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 2d67dad105b..dba4f995900 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,54 @@ +# 1.20.0 (July 12, 2022) +### Added +- add track_caller to public APIs ([#4772]) +- time: add track_caller to public APIs ([#4791]) +- io: add track_caller to public APIs ([#4793]) +- sync: Add `has_changed` method to `watch::Ref` ([#4758]) +- signal: add track_caller to public APIs ([#4806]) +- sync: add track_caller to public APIs ([#4808]) + +### Changed + +- time: remove `src/time/driver/wheel/stack.rs` ([#4766]) +- rt: clean up arguments passed to basic scheduler ([#4767]) +- net: be more specific about winapi features ([#4764]) +- tokio: use const initialized thread locals where possible ([#4677]) +- task: various small improvements to LocalKey ([#4795]) + +### Fixed + +### Documented + +- fs: warn about performance pitfall ([#4762]) +- chore: fix spelling ([#4769]) +- sync: document spurious failures in oneshot ([#4777]) +- sync: add warning for watch in non-Send futures ([#4741]) +- chore: fix typo ([#4798]) + +### Unstable + +- joinset: rename `join_one` to `join_next` ([#4755]) +- rt: unhandled panic config for current thread rt ([#4770]) + +[#4751]: https://github.com/tokio-rs/tokio/pull/4755 +[#4766]: https://github.com/tokio-rs/tokio/pull/4766 +[#4767]: https://github.com/tokio-rs/tokio/pull/4767 +[#4762]: https://github.com/tokio-rs/tokio/pull/4762 +[#4769]: https://github.com/tokio-rs/tokio/pull/4769 +[#4762]: https://github.com/tokio-rs/tokio/pull/4764 +[#4770]: https://github.com/tokio-rs/tokio/pull/4770 +[#4777]: https://github.com/tokio-rs/tokio/pull/4777 +[#4772]: https://github.com/tokio-rs/tokio/pull/4772 +[#4791]: https://github.com/tokio-rs/tokio/pull/4791 +[#4793]: https://github.com/tokio-rs/tokio/pull/4793 +[#4741]: https://github.com/tokio-rs/tokio/pull/4741 +[#4758]: https://github.com/tokio-rs/tokio/pull/4758 +[#4677]: https://github.com/tokio-rs/tokio/pull/4677 +[#4795]: https://github.com/tokio-rs/tokio/pull/4795 +[#4798]: https://github.com/tokio-rs/tokio/pull/4798 +[#4806]: https://github.com/tokio-rs/tokio/pull/4806 +[#4808]: https://github.com/tokio-rs/tokio/pull/4808 + # 1.19.2 (June 6, 2022) This release fixes another bug in `Notified::enable`. ([#4751]) diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 9228b3c6449..f79997a2959 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v1.0.x" git tag. -version = "1.19.2" +version = "1.20.0" edition = "2018" rust-version = "1.49" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 307369e429c..562156a888c 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.19.2", features = ["full"] } +tokio = { version = "1.20.0", features = ["full"] } ``` Then, on your main.rs: From 87079ece76397fc5f0bd4d9e7f33001979e8ae1d Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Tue, 12 Jul 2022 16:19:52 -0500 Subject: [PATCH 2/5] Update tokio/CHANGELOG.md Co-authored-by: Alice Ryhl --- tokio/CHANGELOG.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index dba4f995900..60a48b72fc0 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,11 +1,7 @@ # 1.20.0 (July 12, 2022) ### Added -- add track_caller to public APIs ([#4772]) -- time: add track_caller to public APIs ([#4791]) -- io: add track_caller to public APIs ([#4793]) +- tokio: add track_caller to public APIs ([#4772], [#4791], [#4793], [#4806], [#4808]) - sync: Add `has_changed` method to `watch::Ref` ([#4758]) -- signal: add track_caller to public APIs ([#4806]) -- sync: add track_caller to public APIs ([#4808]) ### Changed From 8625aabca58f5209b0b526e20cf08a99207e3aa1 Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Tue, 12 Jul 2022 16:21:28 -0500 Subject: [PATCH 3/5] Update tokio/CHANGELOG.md Co-authored-by: Alice Ryhl --- tokio/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 60a48b72fc0..465951e64ee 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -31,7 +31,7 @@ [#4767]: https://github.com/tokio-rs/tokio/pull/4767 [#4762]: https://github.com/tokio-rs/tokio/pull/4762 [#4769]: https://github.com/tokio-rs/tokio/pull/4769 -[#4762]: https://github.com/tokio-rs/tokio/pull/4764 +[#4764]: https://github.com/tokio-rs/tokio/pull/4764 [#4770]: https://github.com/tokio-rs/tokio/pull/4770 [#4777]: https://github.com/tokio-rs/tokio/pull/4777 [#4772]: https://github.com/tokio-rs/tokio/pull/4772 From fe7e9cd8c78a96c549b60ab6e347b2ad8ac996cd Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Tue, 12 Jul 2022 16:21:36 -0500 Subject: [PATCH 4/5] Update tokio/CHANGELOG.md Co-authored-by: Alice Ryhl --- tokio/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 465951e64ee..170a92f2ef6 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -26,7 +26,7 @@ - joinset: rename `join_one` to `join_next` ([#4755]) - rt: unhandled panic config for current thread rt ([#4770]) -[#4751]: https://github.com/tokio-rs/tokio/pull/4755 +[#4755]: https://github.com/tokio-rs/tokio/pull/4755 [#4766]: https://github.com/tokio-rs/tokio/pull/4766 [#4767]: https://github.com/tokio-rs/tokio/pull/4767 [#4762]: https://github.com/tokio-rs/tokio/pull/4762 From 8b77e89611d06467f1f8a117b3f5de05025b5db6 Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Tue, 12 Jul 2022 16:23:11 -0500 Subject: [PATCH 5/5] reorder links --- tokio/CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 170a92f2ef6..ad7abcd4934 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -26,20 +26,20 @@ - joinset: rename `join_one` to `join_next` ([#4755]) - rt: unhandled panic config for current thread rt ([#4770]) +[#4677]: https://github.com/tokio-rs/tokio/pull/4677 +[#4741]: https://github.com/tokio-rs/tokio/pull/4741 [#4755]: https://github.com/tokio-rs/tokio/pull/4755 +[#4758]: https://github.com/tokio-rs/tokio/pull/4758 +[#4762]: https://github.com/tokio-rs/tokio/pull/4762 +[#4764]: https://github.com/tokio-rs/tokio/pull/4764 [#4766]: https://github.com/tokio-rs/tokio/pull/4766 [#4767]: https://github.com/tokio-rs/tokio/pull/4767 -[#4762]: https://github.com/tokio-rs/tokio/pull/4762 [#4769]: https://github.com/tokio-rs/tokio/pull/4769 -[#4764]: https://github.com/tokio-rs/tokio/pull/4764 [#4770]: https://github.com/tokio-rs/tokio/pull/4770 -[#4777]: https://github.com/tokio-rs/tokio/pull/4777 [#4772]: https://github.com/tokio-rs/tokio/pull/4772 +[#4777]: https://github.com/tokio-rs/tokio/pull/4777 [#4791]: https://github.com/tokio-rs/tokio/pull/4791 [#4793]: https://github.com/tokio-rs/tokio/pull/4793 -[#4741]: https://github.com/tokio-rs/tokio/pull/4741 -[#4758]: https://github.com/tokio-rs/tokio/pull/4758 -[#4677]: https://github.com/tokio-rs/tokio/pull/4677 [#4795]: https://github.com/tokio-rs/tokio/pull/4795 [#4798]: https://github.com/tokio-rs/tokio/pull/4798 [#4806]: https://github.com/tokio-rs/tokio/pull/4806