From 00e3c29e487ff05b6252be8052b7ba86f7c08202 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Mon, 27 Jan 2020 10:32:07 -0800 Subject: chore: prepare v0.2.11 release (#2179) Also bumps: - tokio-macros: v0.2.4 --- tokio-macros/CHANGELOG.md | 8 ++++++++ tokio-macros/Cargo.toml | 2 +- tokio/CHANGELOG.md | 21 +++++++++++++++++++++ tokio/Cargo.toml | 6 +++--- tokio/src/lib.rs | 2 +- 5 files changed, 34 insertions(+), 5 deletions(-) diff --git a/tokio-macros/CHANGELOG.md b/tokio-macros/CHANGELOG.md index d6e3afa7..91955c7a 100644 --- a/tokio-macros/CHANGELOG.md +++ b/tokio-macros/CHANGELOG.md @@ -1,3 +1,11 @@ +# 0.2.4 (January 27, 2019) + +### Fixed +- generics on `#[tokio::main]` function (#2177). + +### Added +- support for `tokio::select!` (#2152). + # 0.2.3 (January 7, 2019) ### Fixed diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index 3cc3a3e4..01bfdc28 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -7,7 +7,7 @@ name = "tokio-macros" # - Cargo.toml # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.2.3" +version = "0.2.4" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 56536781..91a4670a 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,24 @@ +# 0.2.11 (January 27, 2019) + +### Fixes +- docs: misc fixes and tweaks (#2155, #2103, #2027, #2167, #2175). +- macros: handle generics in `#[tokio::main]` method (#2177). +- sync: `broadcast` potential lost notifications (#2135). +- rt: improve "no runtime" panic messages (#2145). + +### Added +- optional support for using `parking_lot` internally (#2164). +- fs: `fs::copy`, an async version of `std::fs::copy` (#2079). +- macros: `select!` waits for the first branch to complete (#2152). +- macros: `join!` waits for all branches to complete (#2158). +- macros: `try_join!` waits for all branches to complete or the first error (#2169). +- macros: `pin!` pins a value to the stack (#2163). +- net: `ReadHalf::poll()` and `ReadHalf::poll_peak` (#2151) +- stream: `StreamExt::timeout()` sets a per-item max duration (#2149). +- stream: `StreamExt::fold()` applies a function, producing a single value. (#2122). +- sync: impl `Eq`, `PartialEq` for `oneshot::RecvError` (#2168). +- task: methods for inspecting the `JoinError` cause (#2051). + # 0.2.10 (January 21, 2019) ### Fixes diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index ea1fec0c..1a3167d3 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.10" +version = "0.2.11" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.2.10/tokio/" +documentation = "https://docs.rs/tokio/0.2.11/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.3", path = "../tokio-macros", optional = true } +tokio-macros = { version = "0.2.4", path = "../tokio-macros", 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 6b67b4ce..6ea1ee38 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.10")] +#![doc(html_root_url = "https://docs.rs/tokio/0.2.11")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant, -- cgit v1.2.3