Skip to content

Commit 4cbe74a

Browse files
committed
prepare v0.99.9
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 460b8af commit 4cbe74a

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

CHANGELOG.md

+41-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
77

88
## [Unreleased]
99

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+
1049
# [0.99.8] - 2019-09-28
1150

1251
## Added
@@ -130,7 +169,8 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
130169

131170
- Initial beta release
132171

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
134174
[0.99.8]: https://github.com/async-rs/async-std/compare/v0.99.7...v0.99.8
135175
[0.99.7]: https://github.com/async-rs/async-std/compare/v0.99.6...v0.99.7
136176
[0.99.6]: https://github.com/async-rs/async-std/compare/v0.99.5...v0.99.6

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-std"
3-
version = "0.99.8"
3+
version = "0.99.9"
44
authors = [
55
"Stjepan Glavina <[email protected]>",
66
"Yoshua Wuyts <[email protected]>",

0 commit comments

Comments
 (0)