From 8bf4696f316c55def02978a65a34726c9118bbb3 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 7 Jan 2020 11:40:49 -0800 Subject: chore: prepare v0.2.7 release (#2065) --- tokio/CHANGELOG.md | 27 +++++++++++++++++++++++++++ tokio/Cargo.toml | 4 ++-- tokio/src/lib.rs | 2 +- 3 files changed, 30 insertions(+), 3 deletions(-) (limited to 'tokio') diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 57c1b260..27a70317 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,30 @@ +# 0.2.7 (January 7, 2019) + +### Fixes +- potential deadlock when dropping `basic_scheduler` Runtime. +- calling `spawn_blocking` from within a `spawn_blocking` (#2006). +- storing a `Runtime` instance in a thread-local (#2011). +- miscellaneous documentation fixes. +- rt: fix `Waker::will_wake` to return true when tasks match (#2045). +- test-util: `time::advance` runs pending tasks before changing the time (#2059). + +### Added +- `net::lookup_host` maps a `T: ToSocketAddrs` to a stream of `SocketAddrs` (#1870). +- `process::Child` fields are made public to match `std` (#2014). +- impl `Stream` for `sync::broadcast::Receiver` (#2012). +- `sync::RwLock` provides an asynchonous read-write lock (#1699). +- `runtime::Handle::current` returns the handle for the current runtime (#2040). +- `StreamExt::filter` filters stream values according to a predicate (#2001). +- `StreamExt::filter_map` simultaneously filter and map stream values (#2001). +- `StreamExt::try_next` convenience for streams of `Result` (#2005). +- `StreamExt::take` limits a stream to a specified number of values (#2025). +- `StreamExt::take_while` limits a stream based on a predicate (#2029). +- `StreamExt::all` tests if every element of the stream matches a predicate (#2035). +- `StreamExt::any` tests if any element of the stream matches a predicate (#2034). +- `task::LocalSet.await` runs spawned tasks until the set is idle (#1971). +- `time::DelayQueue::len` returns the number entries in the queue (#1755). +- expose runtime options from the `#[tokio::main]` and `#[tokio::test]` (#2022). + # 0.2.6 (December 19, 2019) ### Fixes diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 71f36a52..c7da23ca 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.6" +version = "0.2.7" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.2.6/tokio/" +documentation = "https://docs.rs/tokio/0.2.7/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 9658ccec..19d3dbec 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.6")] +#![doc(html_root_url = "https://docs.rs/tokio/0.2.7")] #![allow(clippy::cognitive_complexity, clippy::needless_doctest_main)] #![warn( missing_debug_implementations, -- cgit v1.2.3