From 4dd24fddcc5f7f7137dec1b0c9f51683a9cb8976 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 14 May 2021 12:50:56 +0200 Subject: [PATCH 1/2] chore: prepare Tokio v1.6.0 --- tokio/CHANGELOG.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 4 ++-- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 51626a1ab39..49fc06e90a2 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,47 @@ +# 1.6.0 (May 14, 2021) + +### Added + +- fs: try doing a non-blocking read before punting to the threadpool ([#3518]) +- time: add getter for Interval's period ([#3705]) +- sync: add `mpsc::Sender::{reserve_owned, try_reserve_owned}` ([#3704]) +- sync: add a `MutexGuard::map` method that returns a `MappedMutexGuard` ([#2472]) +- io: add `write_all_buf` to `AsyncWriteExt` ([#3737]) +- net: support non-blocking vectored I/O ([#3761]) + +### Fixed + +- time: prevent `time::advance` from going too far ([#3712]) +- task: update `JoinHandle` panic message ([#3727]) +- sync: preserve permit state in `notify_waiters` ([#3660]) +- io: wake pending writers on `DuplexStream` close ([#3756]) +- signal: use `std::os::raw::c_int` instead of `libc::c_int` on public API ([#3774]) +- process: avoid redundant effort to reap orphan processes ([#3743]) + +### Documented + +- process: updated example ([#3748]) +- task: update documentation on `block_in_place` ([#3753]) +- net: hide `net::unix::datagram` module from docs ([#3775]) +- sync: `Barrier` doc should use task, not thread ([#3780]) + +[#2472]: https://github.com/tokio-rs/tokio/pull/2472 +[#3518]: https://github.com/tokio-rs/tokio/pull/3518 +[#3660]: https://github.com/tokio-rs/tokio/pull/3660 +[#3704]: https://github.com/tokio-rs/tokio/pull/3704 +[#3705]: https://github.com/tokio-rs/tokio/pull/3705 +[#3712]: https://github.com/tokio-rs/tokio/pull/3712 +[#3727]: https://github.com/tokio-rs/tokio/pull/3727 +[#3737]: https://github.com/tokio-rs/tokio/pull/3737 +[#3743]: https://github.com/tokio-rs/tokio/pull/3743 +[#3748]: https://github.com/tokio-rs/tokio/pull/3748 +[#3753]: https://github.com/tokio-rs/tokio/pull/3753 +[#3756]: https://github.com/tokio-rs/tokio/pull/3756 +[#3761]: https://github.com/tokio-rs/tokio/pull/3761 +[#3774]: https://github.com/tokio-rs/tokio/pull/3774 +[#3775]: https://github.com/tokio-rs/tokio/pull/3775 +[#3780]: https://github.com/tokio-rs/tokio/pull/3780 + # 1.5.0 (April 12, 2021) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index fad01e1593b..005767e9ab4 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.5.0" +version = "1.6.0" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/1.5.0/tokio/" +documentation = "https://docs.rs/tokio/1.6.0/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ From fb19da477b3e17eb22f69f5f651a9bd2431c6778 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 14 May 2021 13:05:53 +0200 Subject: [PATCH 2/2] add missing entry and sort --- tokio/CHANGELOG.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 49fc06e90a2..2349b0dc38c 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -3,29 +3,31 @@ ### Added - fs: try doing a non-blocking read before punting to the threadpool ([#3518]) -- time: add getter for Interval's period ([#3705]) -- sync: add `mpsc::Sender::{reserve_owned, try_reserve_owned}` ([#3704]) -- sync: add a `MutexGuard::map` method that returns a `MappedMutexGuard` ([#2472]) - io: add `write_all_buf` to `AsyncWriteExt` ([#3737]) +- io: implement `AsyncSeek` for `BufReader`, `BufWriter`, and `BufStream` ([#3491]) - net: support non-blocking vectored I/O ([#3761]) +- sync: add `mpsc::Sender::{reserve_owned, try_reserve_owned}` ([#3704]) +- sync: add a `MutexGuard::map` method that returns a `MappedMutexGuard` ([#2472]) +- time: add getter for Interval's period ([#3705]) ### Fixed -- time: prevent `time::advance` from going too far ([#3712]) -- task: update `JoinHandle` panic message ([#3727]) -- sync: preserve permit state in `notify_waiters` ([#3660]) - io: wake pending writers on `DuplexStream` close ([#3756]) -- signal: use `std::os::raw::c_int` instead of `libc::c_int` on public API ([#3774]) - process: avoid redundant effort to reap orphan processes ([#3743]) +- signal: use `std::os::raw::c_int` instead of `libc::c_int` on public API ([#3774]) +- sync: preserve permit state in `notify_waiters` ([#3660]) +- task: update `JoinHandle` panic message ([#3727]) +- time: prevent `time::advance` from going too far ([#3712]) ### Documented -- process: updated example ([#3748]) -- task: update documentation on `block_in_place` ([#3753]) - net: hide `net::unix::datagram` module from docs ([#3775]) +- process: updated example ([#3748]) - sync: `Barrier` doc should use task, not thread ([#3780]) +- task: update documentation on `block_in_place` ([#3753]) [#2472]: https://github.com/tokio-rs/tokio/pull/2472 +[#3491]: https://github.com/tokio-rs/tokio/pull/3491 [#3518]: https://github.com/tokio-rs/tokio/pull/3518 [#3660]: https://github.com/tokio-rs/tokio/pull/3660 [#3704]: https://github.com/tokio-rs/tokio/pull/3704