Skip to content

Commit 674d77d

Browse files
authored
chore: prepare Tokio v1.19.0 (#4738)
1 parent 42b4c27 commit 674d77d

File tree

4 files changed

+55
-3
lines changed

4 files changed

+55
-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.18.2", features = ["full"] }
59+
tokio = { version = "1.19.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
# 1.19.0 (June 3, 2022)
2+
3+
### Added
4+
5+
- runtime: add `is_finished` method for `JoinHandle` and `AbortHandle` ([#4709])
6+
- runtime: make global queue and event polling intervals configurable ([#4671])
7+
- sync: add `Notified::enable` ([#4705])
8+
- sync: add `watch::Sender::send_if_modified` ([#4591])
9+
- sync: add resubscribe method to broadcast::Receiver ([#4607])
10+
- net: add `take_error` to `TcpSocket and `TcpStream` ([#4739])
11+
12+
### Changed
13+
14+
- io: refactor out usage of Weak in the io handle ([#4656])
15+
16+
### Fixed
17+
18+
- macros: avoid starvation in `join!` and `try_join!` ([#4624])
19+
20+
### Documented
21+
22+
- runtime: clarify semantics of tasks outliving `block_on` ([#4729])
23+
- time: fix example for `MissedTickBehavior::Burst` ([#4713])
24+
25+
### Unstable
26+
27+
- metrics: correctly update atomics in `IoDriverMetrics` ([#4725])
28+
- metrics: fix compilation with unstable, process, and rt, but without net ([#4682])
29+
- task: add `#[track_caller]` to `JoinSet`/`JoinMap` ([#4697])
30+
- task: add `Builder::{spawn_on, spawn_local_on, spawn_blocking_on}` ([#4683])
31+
- task: add `consume_budget` for cooperative scheduling ([#4498])
32+
- task: add `join_set::Builder` for configuring `JoinSet` tasks ([#4687])
33+
- task: update return value of `JoinSet::join_one` ([#4726])
34+
35+
[#4498]: https://github.com/tokio-rs/tokio/pull/4498
36+
[#4591]: https://github.com/tokio-rs/tokio/pull/4591
37+
[#4607]: https://github.com/tokio-rs/tokio/pull/4607
38+
[#4624]: https://github.com/tokio-rs/tokio/pull/4624
39+
[#4656]: https://github.com/tokio-rs/tokio/pull/4656
40+
[#4671]: https://github.com/tokio-rs/tokio/pull/4671
41+
[#4682]: https://github.com/tokio-rs/tokio/pull/4682
42+
[#4683]: https://github.com/tokio-rs/tokio/pull/4683
43+
[#4687]: https://github.com/tokio-rs/tokio/pull/4687
44+
[#4697]: https://github.com/tokio-rs/tokio/pull/4697
45+
[#4705]: https://github.com/tokio-rs/tokio/pull/4705
46+
[#4709]: https://github.com/tokio-rs/tokio/pull/4709
47+
[#4713]: https://github.com/tokio-rs/tokio/pull/4713
48+
[#4725]: https://github.com/tokio-rs/tokio/pull/4725
49+
[#4726]: https://github.com/tokio-rs/tokio/pull/4726
50+
[#4729]: https://github.com/tokio-rs/tokio/pull/4729
51+
[#4739]: https://github.com/tokio-rs/tokio/pull/4739
52+
153
# 1.18.2 (May 5, 2022)
254

355
Add missing features for the `winapi` dependency. ([#4663])

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.18.2"
9+
version = "1.19.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.18.2", features = ["full"] }
59+
tokio = { version = "1.19.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)