@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
7
7
8
8
## [ Unreleased]
9
9
10
+ # [ 0.99.9] - 2019-10-08
11
+
12
+ This patch upgrades our ` futures-rs ` version, allowing us to build on the 1.39
13
+ beta. Additionally we've introduced ` map ` and ` for_each ` to ` Stream ` . And we've
14
+ added about a dozen new ` FromStream ` implementations for ` std ` types, bringing
15
+ us up to par with std's ` FromIterator ` implementations.
16
+
17
+ ## Example
18
+
19
+ __ Create a stream of tuples, and collect into a hashmap__
20
+ ``` rust
21
+ let a = stream :: once (1u8 );
22
+ let b = stream :: once (0u8 );
23
+
24
+ let s = a . zip (b );
25
+
26
+ let map : HashMap <u8 , u8 > = s . collect (). await ;
27
+ assert_eq! (map . get (& 1 ), Some (& 0u8 ));
28
+ ```
29
+
30
+ ## Added
31
+
32
+ - Added ` stream::Stream::map `
33
+ - Added ` stream::Stream::for_each `
34
+ - Added ` stream::Stream::try_for_each `
35
+ - Added ` FromStream ` for all ` std::{option, collections, result, string, sync} ` types.
36
+ - Added the ` path ` submodule as "unstable".
37
+
38
+ ## Changed
39
+
40
+ - Updated ` futures-preview ` to ` 0.3.0-alpha.19 ` , allowing us to build on ` rustc 1.39.0-beta ` .
41
+ - As a consequence of this upgrade, all of our concrete stream implementations
42
+ now make use of ` Stream::size_hint ` to optimize internal allocations.
43
+ - We now use GitHub Actions through [ actions-rs] ( https://github.com/actions-rs ) ,
44
+ in addition to Travis CI. We intend to fully switch in the near future.
45
+ - Fixed a bug introduced in 0.99.6 where Unix Domain Listeners would sometimes become unresponsive.
46
+ - Updated our ` sync::Barrier ` docs to match std.
47
+ - Updated our ` stream::FromStream ` docs to match std's ` FromIterator ` .
48
+
10
49
# [ 0.99.8] - 2019-09-28
11
50
12
51
## Added
@@ -130,7 +169,8 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
130
169
131
170
- Initial beta release
132
171
133
- [ Unreleased ] : https://github.com/async-rs/async-std/compare/v0.99.8...HEAD
172
+ [ Unreleased ] : https://github.com/async-rs/async-std/compare/v0.99.9...HEAD
173
+ [ 0.99.9 ] : https://github.com/async-rs/async-std/compare/v0.99.8...v0.99.9
134
174
[ 0.99.8 ] : https://github.com/async-rs/async-std/compare/v0.99.7...v0.99.8
135
175
[ 0.99.7 ] : https://github.com/async-rs/async-std/compare/v0.99.6...v0.99.7
136
176
[ 0.99.6 ] : https://github.com/async-rs/async-std/compare/v0.99.5...v0.99.6
0 commit comments