Skip to content

Commit 43c224f

Browse files
authored
chore: prepare Tokio v1.17.0 release (#4504)
# 1.17.0 (February 16, 2022) This release updates the minimum supported Rust version (MSRV) to 1.49, the `mio` dependency to v0.8, and the (optional) `parking_lot` dependency to v0.12. Additionally, it contains several bug fixes, as well as internal refactoring and performance improvements. ### Fixed - time: prevent panicking in `sleep` with large durations ([#4495]) - time: eliminate potential panics in `Instant` arithmetic on platforms where `Instant::now` is not monotonic ([#4461]) - io: fix `DuplexStream` not participating in cooperative yielding ([#4478]) - rt: fix potential double panic when dropping a `JoinHandle` ([#4430]) ### Changed - update minimum supported Rust version to 1.49 ([#4457]) - update `parking_lot` dependency to v0.12.0 ([#4459]) - update `mio` dependency to v0.8 ([#4449]) - rt: remove an unnecessary lock in the blocking pool ([#4436]) - rt: remove an unnecessary enum in the basic scheduler ([#4462]) - time: use bit manipulation instead of modulo to improve performance ([#4480]) - net: use `std::future::Ready` instead of our own `Ready` future ([#4271]) - replace deprecated `atomic::spin_loop_hint` with `hint::spin_loop` ([#4491]) - fix miri failures in intrusive linked lists ([#4397]) ### Documented - io: add an example for `tokio::process::ChildStdin` ([#4479]) ### Unstable The following changes only apply when building with `--cfg tokio_unstable`: - task: fix missing location information in `tracing` spans generated by `spawn_local` ([#4483]) - task: add `JoinSet` for managing sets of tasks ([#4335]) - metrics: fix compilation error on MIPS ([#4475]) - metrics: fix compilation error on arm32v7 ([#4453]) [#4495]: #4495 [#4461]: #4461 [#4478]: #4478 [#4430]: #4430 [#4457]: #4457 [#4459]: #4459 [#4449]: #4449 [#4462]: #4462 [#4436]: #4436 [#4480]: #4480 [#4271]: #4271 [#4491]: #4491 [#4397]: #4397 [#4479]: #4479 [#4483]: #4483 [#4335]: #4335 [#4475]: #4475 [#4453]: #4453
1 parent 8758965 commit 43c224f

File tree

4 files changed

+63
-3
lines changed

4 files changed

+63
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.16.1", features = ["full"] }
59+
tokio = { version = "1.17.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1+
# 1.17.0 (February 16, 2022)
2+
3+
This release updates the minimum supported Rust version (MSRV) to 1.49, the
4+
`mio` dependency to v0.8, and the (optional) `parking_lot` dependency to v0.12.
5+
Additionally, it contains several bug fixes, as well as internal refactoring and
6+
performance improvements.
7+
8+
### Fixed
9+
10+
- time: prevent panicking in `sleep` with large durations ([#4495])
11+
- time: eliminate potential panics in `Instant` arithmetic on platforms where
12+
`Instant::now` is not monotonic ([#4461])
13+
- io: fix `DuplexStream` not participating in cooperative yielding ([#4478])
14+
- rt: fix potential double panic when dropping a `JoinHandle` ([#4430])
15+
16+
### Changed
17+
18+
- update minimum supported Rust version to 1.49 ([#4457])
19+
- update `parking_lot` dependency to v0.12.0 ([#4459])
20+
- update `mio` dependency to v0.8 ([#4449])
21+
- rt: remove an unnecessary lock in the blocking pool ([#4436])
22+
- rt: remove an unnecessary enum in the basic scheduler ([#4462])
23+
- time: use bit manipulation instead of modulo to improve performance ([#4480])
24+
- net: use `std::future::Ready` instead of our own `Ready` future ([#4271])
25+
- replace deprecated `atomic::spin_loop_hint` with `hint::spin_loop` ([#4491])
26+
- fix miri failures in intrusive linked lists ([#4397])
27+
28+
### Documented
29+
30+
- io: add an example for `tokio::process::ChildStdin` ([#4479])
31+
32+
### Unstable
33+
34+
The following changes only apply when building with `--cfg tokio_unstable`:
35+
36+
- task: fix missing location information in `tracing` spans generated by
37+
`spawn_local` ([#4483])
38+
- task: add `JoinSet` for managing sets of tasks ([#4335])
39+
- metrics: fix compilation error on MIPS ([#4475])
40+
- metrics: fix compilation error on arm32v7 ([#4453])
41+
42+
[#4495]: https://github.com/tokio-rs/tokio/pull/4495
43+
[#4461]: https://github.com/tokio-rs/tokio/pull/4461
44+
[#4478]: https://github.com/tokio-rs/tokio/pull/4478
45+
[#4430]: https://github.com/tokio-rs/tokio/pull/4430
46+
[#4457]: https://github.com/tokio-rs/tokio/pull/4457
47+
[#4459]: https://github.com/tokio-rs/tokio/pull/4459
48+
[#4449]: https://github.com/tokio-rs/tokio/pull/4449
49+
[#4462]: https://github.com/tokio-rs/tokio/pull/4462
50+
[#4436]: https://github.com/tokio-rs/tokio/pull/4436
51+
[#4480]: https://github.com/tokio-rs/tokio/pull/4480
52+
[#4271]: https://github.com/tokio-rs/tokio/pull/4271
53+
[#4491]: https://github.com/tokio-rs/tokio/pull/4491
54+
[#4397]: https://github.com/tokio-rs/tokio/pull/4397
55+
[#4479]: https://github.com/tokio-rs/tokio/pull/4479
56+
[#4483]: https://github.com/tokio-rs/tokio/pull/4483
57+
[#4335]: https://github.com/tokio-rs/tokio/pull/4335
58+
[#4475]: https://github.com/tokio-rs/tokio/pull/4475
59+
[#4453]: https://github.com/tokio-rs/tokio/pull/4453
60+
161
# 1.16.1 (January 28, 2022)
262

363
This release fixes a bug in [#4428] with the change [#4437].

tokio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio"
66
# - README.md
77
# - Update CHANGELOG.md.
88
# - Create "v1.0.x" git tag.
9-
version = "1.16.1"
9+
version = "1.17.0"
1010
edition = "2018"
1111
rust-version = "1.49"
1212
authors = ["Tokio Contributors <[email protected]>"]

tokio/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.16.1", features = ["full"] }
59+
tokio = { version = "1.17.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)