Skip to content

Commit ea6d652

Browse files
authored
chore: prepare Tokio v1.40.0 (tokio-rs#6806)
1 parent 11f66f4 commit ea6d652

File tree

4 files changed

+52
-3
lines changed

4 files changed

+52
-3
lines changed

README.md

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

tokio/CHANGELOG.md

+49
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
# 1.40.0 (August 30th, 2024)
2+
3+
### Added
4+
5+
- io: add `util::SimplexStream` ([#6589])
6+
- process: stabilize `Command::process_group` ([#6731])
7+
- sync: add `{TrySendError,SendTimeoutError}::into_inner` ([#6755])
8+
- task: add `JoinSet::join_all` ([#6784])
9+
10+
### Added (unstable)
11+
12+
- runtime: add `Builder::{on_task_spawn, on_task_terminate}` ([#6742])
13+
14+
### Changed
15+
16+
- io: use vectored io for `write_all_buf` when possible ([#6724])
17+
- runtime: prevent niche-optimization to avoid triggering miri ([#6744])
18+
- sync: mark mpsc types as `UnwindSafe` ([#6783])
19+
- sync,time: make `Sleep` and `BatchSemaphore` instrumentation explicit roots ([#6727])
20+
- task: use `NonZeroU64` for `task::Id` ([#6733])
21+
- task: include panic message when printing `JoinError` ([#6753])
22+
- task: add `#[must_use]` to `JoinHandle::abort_handle` ([#6762])
23+
- time: eliminate timer wheel allocations ([#6779])
24+
25+
### Documented
26+
27+
- docs: clarify that `[build]` section doesn't go in Cargo.toml ([#6728])
28+
- io: clarify zero remaining capacity case ([#6790])
29+
- macros: improve documentation for `select!` ([#6774])
30+
- sync: document mpsc channel allocation behavior ([#6773])
31+
32+
[#6589]: https://github.com/tokio-rs/tokio/pull/6589
33+
[#6724]: https://github.com/tokio-rs/tokio/pull/6724
34+
[#6727]: https://github.com/tokio-rs/tokio/pull/6727
35+
[#6728]: https://github.com/tokio-rs/tokio/pull/6728
36+
[#6731]: https://github.com/tokio-rs/tokio/pull/6731
37+
[#6733]: https://github.com/tokio-rs/tokio/pull/6733
38+
[#6742]: https://github.com/tokio-rs/tokio/pull/6742
39+
[#6744]: https://github.com/tokio-rs/tokio/pull/6744
40+
[#6753]: https://github.com/tokio-rs/tokio/pull/6753
41+
[#6755]: https://github.com/tokio-rs/tokio/pull/6755
42+
[#6762]: https://github.com/tokio-rs/tokio/pull/6762
43+
[#6773]: https://github.com/tokio-rs/tokio/pull/6773
44+
[#6774]: https://github.com/tokio-rs/tokio/pull/6774
45+
[#6779]: https://github.com/tokio-rs/tokio/pull/6779
46+
[#6783]: https://github.com/tokio-rs/tokio/pull/6783
47+
[#6784]: https://github.com/tokio-rs/tokio/pull/6784
48+
[#6790]: https://github.com/tokio-rs/tokio/pull/6790
49+
150
# 1.39.3 (August 17th, 2024)
251

352
This release fixes a regression where the unix socket api stopped accepting

tokio/Cargo.toml

+1-1
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.39.3"
9+
version = "1.40.0"
1010
edition = "2021"
1111
rust-version = "1.70"
1212
authors = ["Tokio Contributors <team@tokio.rs>"]

tokio/README.md

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

0 commit comments

Comments
 (0)