Skip to content

Commit 3911cb8

Browse files
authored
chore: prepare Tokio v1.47.0 (#7482)
1 parent d545aa2 commit 3911cb8

File tree

4 files changed

+35
-3
lines changed

4 files changed

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

tokio/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
# 1.47.0 (July 25th, 2025)
2+
3+
This release adds `poll_proceed` and `cooperative` to the `coop` module for
4+
cooperative scheduling, adds `SetOnce` to the `sync` module which provides
5+
similar functionality to [`std::sync::OnceLock], and adds a new method
6+
`sync::Notify::notified_owned()` which returns an `OwnedNotified` without
7+
a lifetime parameter.
8+
9+
## Added
10+
11+
- coop: add `cooperative` and `poll_proceed` ([#7405])
12+
- sync: add `SetOnce` ([#7148])
13+
- sync: add `sync::Notify::notified_owned()` ([#7465])
14+
15+
## Changed
16+
17+
- deps: upgrade windows-sys 0.52 → 0.59 ([#7117])
18+
- deps: update to socket2 v0.6 ([#7443])
19+
- sync: improve `AtomicWaker::wake` performance ([#7450])
20+
21+
## Documented
22+
23+
- metrics: fix listed feature requirements for some metrics ([#7449])
24+
- runtime: improve safety comments of `Readiness<'_>` ([#7415])
25+
26+
[#7148]: https://github.com/tokio-rs/tokio/pull/7148
27+
[#7405]: https://github.com/tokio-rs/tokio/pull/7405
28+
[#7415]: https://github.com/tokio-rs/tokio/pull/7415
29+
[#7449]: https://github.com/tokio-rs/tokio/pull/7449
30+
[#7450]: https://github.com/tokio-rs/tokio/pull/7450
31+
[#7465]: https://github.com/tokio-rs/tokio/pull/7465
32+
133
# 1.46.1 (July 4th, 2025)
234

335
This release fixes incorrect spawn locations in runtime task hooks for tasks

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.46.1"
9+
version = "1.47.0"
1010
edition = "2021"
1111
rust-version = "1.70"
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.46.1", features = ["full"] }
59+
tokio = { version = "1.47.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)