From c63057ebc57acb352c3c15ce4b88b7747c24ecf1 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Thu, 12 Nov 2020 20:40:26 +0100 Subject: [PATCH] chore: prepare v0.2.23 release (#3114) --- tokio/CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 6 +++--- tokio/src/lib.rs | 2 +- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 9d9b612d1f8..86a4a6bba44 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,35 @@ +# 0.2.23 (November 12, 2020) + +### Fixes + + - time: report correct error for timers that exceed max duration (#2023) + - time: fix resetting expired timers causing panics (#2587) + - macros: silence `unreachable_code` warning in `select!` (#2678) + - rt: fix potential leak during runtime shutdown (#2649) + - sync: fix missing notification during mpsc close (#2854) + +### Changes + + - io: always re-export `std::io` (#2606) + - dependencies: update `parking_lot` dependency to 0.11.0 (#2676) + - io: rewrite `read_to_end` and `read_to_string` (#2560) + - coop: reset coop budget when blocking in `block_on` (#2711) + - sync: better Debug for Mutex (#2725) + - net: make `UnixListener::poll_accept` public (#2880) + - dep: raise `lazy_static` to `1.4.0` (#3132) + - dep: raise `slab` to `0.4.2` (#3132) + +### Added + + - io: add `io::duplex()` as bidirectional reader/writer (#2661) + - net: introduce split and `into_split` on `UnixDatagram` (#2557) + - net: ensure that unix sockets have both `split` and `into_split` (#2687) + - net: add `try_recv`/`from` & `try_send`/`to` to UnixDatagram (#1677) + - net: Add `UdpSocket::{try_send,try_send_to}` methods (#1979) + - net: implement `ToSocketAddrs` for `(String, u16)` (#2724) + - io: add `ReaderStream` (#2714) + - sync: implement map methods (#2771) + # 0.2.22 (July 21, 2020) ### Fixes diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 55c3b7cb85d..67c9f393e96 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -8,12 +8,12 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.2.22" +version = "0.2.23" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.2.22/tokio/" +documentation = "https://docs.rs/tokio/0.2.23/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ @@ -91,7 +91,7 @@ udp = ["io-driver"] uds = ["io-driver", "mio-uds", "libc"] [dependencies] -tokio-macros = { version = "0.2.4", path = "../tokio-macros", optional = true } +tokio-macros = { version = "0.2.6", optional = true } bytes = "0.5.0" pin-project-lite = "0.1.1" diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index faddb991cf6..3ca3696558e 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio/0.2.22")] +#![doc(html_root_url = "https://docs.rs/tokio/0.2.23")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant,