Skip to content

Commit 5f7be0a

Browse files
authored
chore: perpare 1.52.0 (#8045)
# 1.52.0 (April 14th, 2026) ## Added - io: `AioSource::register_borrowed` for I/O safety support ([#7992]) - net: add `try_io` function to `unix::pipe` sender and receiver types ([#8030]) ## Added (unstable) - runtime: `Builder::enable_eager_driver_handoff` setting enable eager hand off of the I/O and time drivers before polling tasks ([#8010]) - taskdump: add `trace_with()` for customized task dumps ([#8025]) - taskdump: allow `impl FnMut()` in `trace_with` instead of just `fn()` ([#8040]) - fs: support `io_uring` in `AsyncRead` for `File` ([#7907]) ## Changed - runtime: improve `spawn_blocking` scalability with sharded queue ([#7757]) - runtime: use `compare_exchange_weak()` in worker queue ([#8028]) ## Fixed - runtime: overflow second half of tasks when local queue is filled instead of first half ([#8029]) ## Documented - docs: fix typo in `oneshot::Sender::send` docs ([#8026]) - docs: hide #[tokio::main] attribute in the docs of `sync::watch` ([#8035]) - net: add docs on `ConnectionRefused` errors with UDP sockets ([#7870]) [#7757]: #7757 [#7870]: #7870 [#7907]: #7907 [#7992]: #7992 [#8010]: #8010 [#8025]: #8025 [#8026]: #8026 [#8028]: #8028 [#8029]: #8029 [#8030]: #8030 [#8035]: #8035 [#8040]: #8040
1 parent 36d12d2 commit 5f7be0a

4 files changed

Lines changed: 45 additions & 3 deletions

File tree

README.md

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

6161
```toml
6262
[dependencies]
63-
tokio = { version = "1.51.1", features = ["full"] }
63+
tokio = { version = "1.52.0", features = ["full"] }
6464
```
6565
Then, on your main.rs:
6666

tokio/CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
# 1.52.0 (April 14th, 2026)
2+
3+
## Added
4+
5+
- io: `AioSource::register_borrowed` for I/O safety support ([#7992])
6+
- net: add `try_io` function to `unix::pipe` sender and receiver types ([#8030])
7+
8+
## Added (unstable)
9+
10+
- runtime: `Builder::enable_eager_driver_handoff` setting enable eager hand off of the I/O and time drivers before polling tasks ([#8010])
11+
- taskdump: add `trace_with()` for customized task dumps ([#8025])
12+
- taskdump: allow `impl FnMut()` in `trace_with` instead of just `fn()` ([#8040])
13+
- fs: support `io_uring` in `AsyncRead` for `File` ([#7907])
14+
15+
## Changed
16+
17+
- runtime: improve `spawn_blocking` scalability with sharded queue ([#7757])
18+
- runtime: use `compare_exchange_weak()` in worker queue ([#8028])
19+
20+
## Fixed
21+
22+
- runtime: overflow second half of tasks when local queue is filled instead of first half ([#8029])
23+
24+
## Documented
25+
26+
- docs: fix typo in `oneshot::Sender::send` docs ([#8026])
27+
- docs: hide #[tokio::main] attribute in the docs of `sync::watch` ([#8035])
28+
- net: add docs on `ConnectionRefused` errors with UDP sockets ([#7870])
29+
30+
[#7757]: https://github.com/tokio-rs/tokio/pull/7757
31+
[#7870]: https://github.com/tokio-rs/tokio/pull/7870
32+
[#7907]: https://github.com/tokio-rs/tokio/pull/7907
33+
[#7992]: https://github.com/tokio-rs/tokio/pull/7992
34+
[#8010]: https://github.com/tokio-rs/tokio/pull/8010
35+
[#8025]: https://github.com/tokio-rs/tokio/pull/8025
36+
[#8026]: https://github.com/tokio-rs/tokio/pull/8026
37+
[#8028]: https://github.com/tokio-rs/tokio/pull/8028
38+
[#8029]: https://github.com/tokio-rs/tokio/pull/8029
39+
[#8030]: https://github.com/tokio-rs/tokio/pull/8030
40+
[#8035]: https://github.com/tokio-rs/tokio/pull/8035
41+
[#8040]: https://github.com/tokio-rs/tokio/pull/8040
42+
143
# 1.51.1 (April 8th, 2026)
244

345
### Fixed

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

tokio/README.md

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

6161
```toml
6262
[dependencies]
63-
tokio = { version = "1.51.1", features = ["full"] }
63+
tokio = { version = "1.52.0", features = ["full"] }
6464
```
6565
Then, on your main.rs:
6666

0 commit comments

Comments
 (0)