Skip to content

Commit 21f7260

Browse files
authored
chore: prepare to release 0.2.22 (#2672)
# 0.2.22 (July 2!, 2020) ### Fixes - docs: misc improvements (#2572, #2658, #2663, #2656, #2647, #2630, #2487, #2621, #2624, #2600, #2623, #2622, #2577, #2569, #2589, #2575, #2540, #2564, #2567, #2520, #2521, #2493) - rt: allow calls to `block_on` inside calls to `block_in_place` that are themselves inside `block_on` (#2645) - net: fix non-portable behavior when dropping `TcpStream` `OwnedWriteHalf` (#2597) - io: improve stack usage by allocating large buffers on directly on the heap (#2634) - io: fix unsound pin projection in `AsyncReadExt::read_buf` and `AsyncWriteExt::write_buf` (#2612) - io: fix unnecessary zeroing for `AsyncRead` implementors (#2525) - io: Fix `BufReader` not correctly forwarding `poll_write_buf` (#2654) - io: fix panic in `AsyncReadExt::read_line` (#2541) ### Changes - coop: returning `Poll::Pending` no longer decrements the task budget (#2549) ### Added - io: little-endian variants of `AsyncReadExt` and `AsyncWriteExt` methods (#1915) - task: add [`tracing`] instrumentation to spawned tasks (#2655) - sync: allow unsized types in `Mutex` and `RwLock` (via `default` constructors) (#2615) - net: add `ToSocketAddrs` implementation for `&[SocketAddr]` (#2604) - fs: add `OpenOptionsExt` for `OpenOptions` (#2515) - fs: add `DirBuilder` (#2524) [`tracing`]: https://crates.io/crates/tracing Signed-off-by: Eliza Weisman <[email protected]>
1 parent c344aac commit 21f7260

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

tokio/CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
# 0.2.22 (July 21, 2020)
2+
3+
### Fixes
4+
- docs: misc improvements (#2572, #2658, #2663, #2656, #2647, #2630, #2487, #2621,
5+
#2624, #2600, #2623, #2622, #2577, #2569, #2589, #2575, #2540, #2564, #2567,
6+
#2520, #2521, #2493)
7+
- rt: allow calls to `block_on` inside calls to `block_in_place` that are
8+
themselves inside `block_on` (#2645)
9+
- net: fix non-portable behavior when dropping `TcpStream` `OwnedWriteHalf` (#2597)
10+
- io: improve stack usage by allocating large buffers on directly on the heap
11+
(#2634)
12+
- io: fix unsound pin projection in `AsyncReadExt::read_buf` and
13+
`AsyncWriteExt::write_buf` (#2612)
14+
- io: fix unnecessary zeroing for `AsyncRead` implementors (#2525)
15+
- io: Fix `BufReader` not correctly forwarding `poll_write_buf` (#2654)
16+
- io: fix panic in `AsyncReadExt::read_line` (#2541)
17+
18+
### Changes
19+
- coop: returning `Poll::Pending` no longer decrements the task budget (#2549)
20+
21+
### Added
22+
- io: little-endian variants of `AsyncReadExt` and `AsyncWriteExt` methods
23+
(#1915)
24+
- task: add [`tracing`] instrumentation to spawned tasks (#2655)
25+
- sync: allow unsized types in `Mutex` and `RwLock` (via `default` constructors)
26+
(#2615)
27+
- net: add `ToSocketAddrs` implementation for `&[SocketAddr]` (#2604)
28+
- fs: add `OpenOptionsExt` for `OpenOptions` (#2515)
29+
- fs: add `DirBuilder` (#2524)
30+
31+
[`tracing`]: https://crates.io/crates/tracing
32+
133
# 0.2.21 (May 13, 2020)
234

335
### Fixes
@@ -6,7 +38,7 @@
638
- rt: `LocalSet` and task budgeting (#2462).
739
- rt: task budgeting with `block_in_place` (#2502).
840
- sync: release `broadcast` channel memory without sending a value (#2509).
9-
- time: notify when resetting a `Delay` to a time in the past (#2290).
41+
- time: notify when resetting a `Delay` to a time in the past (#2290)
1042

1143
### Added
1244
- io: `get_mut`, `get_ref`, and `into_inner` to `Lines` (#2450).

tokio/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ name = "tokio"
88
# - README.md
99
# - Update CHANGELOG.md.
1010
# - Create "v0.2.x" git tag.
11-
version = "0.2.21"
11+
version = "0.2.22"
1212
edition = "2018"
1313
authors = ["Tokio Contributors <[email protected]>"]
1414
license = "MIT"
1515
readme = "README.md"
16-
documentation = "https://docs.rs/tokio/0.2.21/tokio/"
16+
documentation = "https://docs.rs/tokio/0.2.22/tokio/"
1717
repository = "https://github.com/tokio-rs/tokio"
1818
homepage = "https://tokio.rs"
1919
description = """

tokio/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/tokio/0.2.21")]
1+
#![doc(html_root_url = "https://docs.rs/tokio/0.2.22")]
22
#![allow(
33
clippy::cognitive_complexity,
44
clippy::large_enum_variant,

0 commit comments

Comments
 (0)