@@ -7,6 +7,49 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
77
88## [ Unreleased]
99
10+ # [ 1.2.0] - 2019-11-27
11+
12+ [ API Documentation] ( https://docs.rs/async-std/1.2.0/async-std )
13+
14+ This patch includes some minor quality-of-life improvements, introduces a
15+ new ` Stream::unzip ` API, and adds verbose errors to our networking types.
16+
17+ This means if you can't connect to a socket, you'll never have to wonder again
18+ * which* address it was you couldn't connect to, instead of having to go through
19+ the motions to debug what the address was.
20+
21+ ## Example
22+
23+ Unzip a stream of tuples into two collections:
24+
25+ ``` rust
26+ use async_std :: prelude :: * ;
27+ use async_std :: stream;
28+
29+ let s = stream :: from_iter (vec! [(1 ,2 ), (3 ,4 )]);
30+
31+ let (left , right ): (Vec <_ >, Vec <_ >) = s . unzip (). await ;
32+
33+ assert_eq! (left , [1 , 3 ]);
34+ assert_eq! (right , [2 , 4 ]);
35+ ```
36+
37+ ## Added
38+
39+ - Added ` Stream::unzip ` as "unstable".
40+ - Added verbose errors to the networking types.
41+
42+ ## Changed
43+
44+ - Enabled CI on master branch.
45+ - ` Future::join ` and ` Future::try_join ` can now join futures with different
46+ output types.
47+
48+ ## Fixed
49+
50+ - Fixed the docs and ` Debug ` output of ` BufWriter ` .
51+ - Fixed a bug in ` Stream::throttle ` that made it consume too much CPU.
52+
1053# [ 1.1.0] - 2019-11-21
1154
1255[ API Documentation] ( https://docs.rs/async-std/1.1.0/async-std )
@@ -510,7 +553,8 @@ task::blocking(async {
510553
511554- Initial beta release
512555
513- [ Unreleased ] : https://github.com/async-rs/async-std/compare/v1.1.0...HEAD
556+ [ Unreleased ] : https://github.com/async-rs/async-std/compare/v1.2.0...HEAD
557+ [ 1.2.0 ] : https://github.com/async-rs/async-std/compare/v1.1.0...v1.2.0
514558[ 1.1.0 ] : https://github.com/async-rs/async-std/compare/v1.0.1...v1.1.0
515559[ 1.0.1 ] : https://github.com/async-rs/async-std/compare/v1.0.0...v1.0.1
516560[ 1.0.0 ] : https://github.com/async-rs/async-std/compare/v0.99.12...v1.0.0
0 commit comments