Skip to content

Commit 48e35c1

Browse files
authored
chore: release Tokio v1.39.0 (#6711)
1 parent dd1d371 commit 48e35c1

File tree

4 files changed

+81
-3
lines changed

4 files changed

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

tokio/CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
# 1.39.0 (July 23rd, 2024)
2+
3+
- This release bumps the MSRV to 1.70. ([#6645])
4+
- This release upgrades to mio v1. ([#6635])
5+
- This release upgrades to windows-sys v0.52 ([#6154])
6+
7+
### Added
8+
9+
- io: implement `AsyncSeek` for `Empty` ([#6663])
10+
- metrics: stabilize `num_alive_tasks` ([#6619], [#6667])
11+
- process: add `Command::as_std_mut` ([#6608])
12+
- sync: add `watch::Sender::same_channel` ([#6637])
13+
- sync: add `{Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}` ([#6661])
14+
- sync: implement `Default` for `watch::Sender` ([#6626])
15+
- task: implement `Clone` for `AbortHandle` ([#6621])
16+
- task: stabilize `consume_budget` ([#6622])
17+
18+
### Changed
19+
20+
- io: improve panic message of `ReadBuf::put_slice()` ([#6629])
21+
- io: read during write in `copy_bidirectional` and `copy` ([#6532])
22+
- runtime: replace `num_cpus` with `available_parallelism` ([#6709])
23+
- task: avoid stack overflow when passing large future to `block_on` ([#6692])
24+
- time: avoid traversing entries in the time wheel twice ([#6584])
25+
- time: support `IntoFuture` with `timeout` ([#6666])
26+
- macros: support `IntoFuture` with `join!` and `select!` ([#6710])
27+
28+
### Fixed
29+
30+
- docs: fix docsrs builds with the fs feature enabled ([#6585])
31+
- io: only use short-read optimization on known-to-be-compatible platforms ([#6668])
32+
- time: fix overflow panic when using large durations with `Interval` ([#6612])
33+
34+
### Added (unstable)
35+
36+
- macros: allow `unhandled_panic` behavior for `#[tokio::main]` and `#[tokio::test]` ([#6593])
37+
- metrics: add `spawned_tasks_count` ([#6114])
38+
- metrics: add `worker_park_unpark_count` ([#6696])
39+
- metrics: add worker thread id ([#6695])
40+
41+
### Documented
42+
43+
- io: update `tokio::io::stdout` documentation ([#6674])
44+
- macros: typo fix in `join.rs` and `try_join.rs` ([#6641])
45+
- runtime: fix typo in `unhandled_panic` ([#6660])
46+
- task: document behavior of `JoinSet::try_join_next` when all tasks are running ([#6671])
47+
48+
[#6114]: https://github.com/tokio-rs/tokio/pull/6114
49+
[#6154]: https://github.com/tokio-rs/tokio/pull/6154
50+
[#6532]: https://github.com/tokio-rs/tokio/pull/6532
51+
[#6584]: https://github.com/tokio-rs/tokio/pull/6584
52+
[#6585]: https://github.com/tokio-rs/tokio/pull/6585
53+
[#6593]: https://github.com/tokio-rs/tokio/pull/6593
54+
[#6608]: https://github.com/tokio-rs/tokio/pull/6608
55+
[#6612]: https://github.com/tokio-rs/tokio/pull/6612
56+
[#6619]: https://github.com/tokio-rs/tokio/pull/6619
57+
[#6621]: https://github.com/tokio-rs/tokio/pull/6621
58+
[#6622]: https://github.com/tokio-rs/tokio/pull/6622
59+
[#6626]: https://github.com/tokio-rs/tokio/pull/6626
60+
[#6629]: https://github.com/tokio-rs/tokio/pull/6629
61+
[#6635]: https://github.com/tokio-rs/tokio/pull/6635
62+
[#6637]: https://github.com/tokio-rs/tokio/pull/6637
63+
[#6641]: https://github.com/tokio-rs/tokio/pull/6641
64+
[#6645]: https://github.com/tokio-rs/tokio/pull/6645
65+
[#6660]: https://github.com/tokio-rs/tokio/pull/6660
66+
[#6661]: https://github.com/tokio-rs/tokio/pull/6661
67+
[#6663]: https://github.com/tokio-rs/tokio/pull/6663
68+
[#6666]: https://github.com/tokio-rs/tokio/pull/6666
69+
[#6667]: https://github.com/tokio-rs/tokio/pull/6667
70+
[#6668]: https://github.com/tokio-rs/tokio/pull/6668
71+
[#6671]: https://github.com/tokio-rs/tokio/pull/6671
72+
[#6674]: https://github.com/tokio-rs/tokio/pull/6674
73+
[#6692]: https://github.com/tokio-rs/tokio/pull/6692
74+
[#6695]: https://github.com/tokio-rs/tokio/pull/6695
75+
[#6696]: https://github.com/tokio-rs/tokio/pull/6696
76+
[#6709]: https://github.com/tokio-rs/tokio/pull/6709
77+
[#6710]: https://github.com/tokio-rs/tokio/pull/6710
78+
179
# 1.38.1 (July 16th, 2024)
280

381
This release fixes the bug identified as ([#6682]), which caused timers not

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.x.y" git tag.
9-
version = "1.38.1"
9+
version = "1.39.0"
1010
edition = "2021"
1111
rust-version = "1.70"
1212
authors = ["Tokio Contributors <team@tokio.rs>"]

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy