From e830ad8291f91c668fc501a6577c76f2bd13f260 Mon Sep 17 00:00:00 2001 From: Chris Constantine Date: Wed, 20 Sep 2023 09:14:30 -0700 Subject: [PATCH 1/5] chore: prepare tokio-util v0.7.9 --- tokio-util/CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ tokio-util/Cargo.toml | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/tokio-util/CHANGELOG.md b/tokio-util/CHANGELOG.md index db60574653f..5f2071af42f 100644 --- a/tokio-util/CHANGELOG.md +++ b/tokio-util/CHANGELOG.md @@ -1,3 +1,36 @@ +# 0.7.9 (September 20th, 2023) + +### Added + +- io: Add passthrough `AsyncRead`/`AsyncWrite` to `InspectWriter`/`InspectReader` ([#5739]) +- task: Add spawn blocking methods to joinmap ([#5797]) +- io: Enrich `StreamReader` and `SinkWriter` ([#5941]) +- io: SyncIoBridge: Add `into_inner` ([#5971]) + +### Changed + +- sync: replace `sync::reusable_box::Pending` with `std::future::Pending` ([#6000]) + +### Fixed + +- sync: Fix #5808: Handle possible dangling reference safely ([#5812]) +- util: Fix broken intra-doc link ([#5849]) +- compat: Fix clippy warnings ([#5891]) + +### Documented + +- codec: Specify the line ending of `LinesCodec` ([#5982]) + +[#5739]: https://github.com/tokio-rs/tokio/pull/5739 +[#5797]: https://github.com/tokio-rs/tokio/pull/5797 +[#5941]: https://github.com/tokio-rs/tokio/pull/5941 +[#5971]: https://github.com/tokio-rs/tokio/pull/5971 +[#6000]: https://github.com/tokio-rs/tokio/pull/6000 +[#5812]: https://github.com/tokio-rs/tokio/pull/5812 +[#5849]: https://github.com/tokio-rs/tokio/pull/5849 +[#5891]: https://github.com/tokio-rs/tokio/pull/5891 +[#5982]: https://github.com/tokio-rs/tokio/pull/5982 + # 0.7.8 (April 25th, 2023) This release bumps the MSRV of tokio-util to 1.56. diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index 3e05a1c6239..524fba45f82 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -4,7 +4,7 @@ name = "tokio-util" # - Remove path dependencies # - Update CHANGELOG.md. # - Create "tokio-util-0.7.x" git tag. -version = "0.7.8" +version = "0.7.9" edition = "2021" rust-version = "1.56" authors = ["Tokio Contributors "] From a7ee21e8ff72564bfa51562b94446ba5dc166239 Mon Sep 17 00:00:00 2001 From: Chris Constantine Date: Wed, 20 Sep 2023 10:03:20 -0700 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: Alice Ryhl --- tokio-util/CHANGELOG.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tokio-util/CHANGELOG.md b/tokio-util/CHANGELOG.md index 5f2071af42f..0b690bc9fed 100644 --- a/tokio-util/CHANGELOG.md +++ b/tokio-util/CHANGELOG.md @@ -2,10 +2,10 @@ ### Added -- io: Add passthrough `AsyncRead`/`AsyncWrite` to `InspectWriter`/`InspectReader` ([#5739]) -- task: Add spawn blocking methods to joinmap ([#5797]) -- io: Enrich `StreamReader` and `SinkWriter` ([#5941]) -- io: SyncIoBridge: Add `into_inner` ([#5971]) +- io: add passthrough `AsyncRead`/`AsyncWrite` to `InspectWriter`/`InspectReader` ([#5739]) +- task: add spawn blocking methods to `JoinMap` ([#5797]) +- io: enrich `StreamReader` and `SinkWriter` ([#5941]) +- io: add `SyncIoBridge::into_inner` ([#5971]) ### Changed @@ -13,9 +13,9 @@ ### Fixed -- sync: Fix #5808: Handle possible dangling reference safely ([#5812]) -- util: Fix broken intra-doc link ([#5849]) -- compat: Fix clippy warnings ([#5891]) +- sync: handle possibly dangling reference safely ([#5812]) +- util: fix broken intra-doc link ([#5849]) +- compat: fix clippy warnings ([#5891]) ### Documented From 612d19fc25bba71b9fdcb4c27c7e828c2fe59338 Mon Sep 17 00:00:00 2001 From: Chris Constantine Date: Wed, 20 Sep 2023 10:04:16 -0700 Subject: [PATCH 3/5] Apply suggestion from code review --- tokio-util/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/CHANGELOG.md b/tokio-util/CHANGELOG.md index 0b690bc9fed..cd59c2dadbc 100644 --- a/tokio-util/CHANGELOG.md +++ b/tokio-util/CHANGELOG.md @@ -4,7 +4,7 @@ - io: add passthrough `AsyncRead`/`AsyncWrite` to `InspectWriter`/`InspectReader` ([#5739]) - task: add spawn blocking methods to `JoinMap` ([#5797]) -- io: enrich `StreamReader` and `SinkWriter` ([#5941]) +- io: pass through traits for `StreamReader` and `SinkWriter` ([#5941]) - io: add `SyncIoBridge::into_inner` ([#5971]) ### Changed From 18bf0d130a8c0cb833c41aa56170e1bfbee42997 Mon Sep 17 00:00:00 2001 From: Chris Constantine Date: Wed, 20 Sep 2023 10:04:47 -0700 Subject: [PATCH 4/5] Apply suggestion from code review --- tokio-util/CHANGELOG.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/tokio-util/CHANGELOG.md b/tokio-util/CHANGELOG.md index cd59c2dadbc..c079eaea2c8 100644 --- a/tokio-util/CHANGELOG.md +++ b/tokio-util/CHANGELOG.md @@ -9,8 +9,6 @@ ### Changed -- sync: replace `sync::reusable_box::Pending` with `std::future::Pending` ([#6000]) - ### Fixed - sync: handle possibly dangling reference safely ([#5812]) @@ -25,7 +23,6 @@ [#5797]: https://github.com/tokio-rs/tokio/pull/5797 [#5941]: https://github.com/tokio-rs/tokio/pull/5941 [#5971]: https://github.com/tokio-rs/tokio/pull/5971 -[#6000]: https://github.com/tokio-rs/tokio/pull/6000 [#5812]: https://github.com/tokio-rs/tokio/pull/5812 [#5849]: https://github.com/tokio-rs/tokio/pull/5849 [#5891]: https://github.com/tokio-rs/tokio/pull/5891 From 94e8926df9477a2f53d8cc4ea8ae59f68639abcc Mon Sep 17 00:00:00 2001 From: Chris Constantine Date: Wed, 20 Sep 2023 10:08:41 -0700 Subject: [PATCH 5/5] Apply suggestion from code review --- tokio-util/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/tokio-util/CHANGELOG.md b/tokio-util/CHANGELOG.md index c079eaea2c8..f1cfeaf3645 100644 --- a/tokio-util/CHANGELOG.md +++ b/tokio-util/CHANGELOG.md @@ -7,8 +7,6 @@ - io: pass through traits for `StreamReader` and `SinkWriter` ([#5941]) - io: add `SyncIoBridge::into_inner` ([#5971]) -### Changed - ### Fixed - sync: handle possibly dangling reference safely ([#5812])