Skip to content

Commit 8182ecf

Browse files
authored
chore: prepare Tokio v1.44.0 (#7202)
1 parent a258bff commit 8182ecf

File tree

4 files changed

+82
-3
lines changed

4 files changed

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

tokio/CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,82 @@
1+
# 1.44.0 (March 7th, 2025)
2+
3+
This release changes the `from_std` method on sockets to panic if a blocking
4+
socket is provided. We determined this change is not a breaking change as Tokio is not
5+
intended to operate using blocking sockets. Doing so results in runtime hangs and
6+
should be considered a bug. Accidentally passing a blocking socket to Tokio is one
7+
of the most common user mistakes. If this change causes an issue for you, please
8+
comment on [#7172].
9+
10+
### Added
11+
12+
- coop: add `task::coop` module ([#7116])
13+
- process: add `Command::get_kill_on_drop()` ([#7086])
14+
- sync: add `broadcast::Sender::closed` ([#6685], [#7090])
15+
- sync: add `broadcast::WeakSender` ([#7100])
16+
- sync: add `oneshot::Receiver::is_empty()` ([#7153])
17+
- sync: add `oneshot::Receiver::is_terminated()` ([#7152])
18+
19+
### Fixed
20+
21+
- fs: empty reads on `File` should not start a background read ([#7139])
22+
- process: calling `start_kill` on exited child should not fail ([#7160])
23+
- signal: fix `CTRL_CLOSE`, `CTRL_LOGOFF`, `CTRL_SHUTDOWN` on windows ([#7122])
24+
- sync: properly handle panic during mpsc drop ([#7094])
25+
26+
### Changes
27+
28+
- runtime: clean up magic number in registration set ([#7112])
29+
- coop: make coop yield using waker defer strategy ([#7185])
30+
- macros: make `select!` budget-aware ([#7164])
31+
- net: panic when passing a blocking socket to `from_std` ([#7166])
32+
- io: clean up buffer casts ([#7142])
33+
34+
### Changes to unstable APIs
35+
36+
- rt: add before and after task poll callbacks ([#7120])
37+
- tracing: make the task tracing API unstable public ([#6972])
38+
39+
### Documented
40+
41+
- docs: fix nesting of sections in top-level docs ([#7159])
42+
- fs: rename symlink and hardlink parameter names ([#7143])
43+
- io: swap reader/writer in simplex doc test ([#7176])
44+
- macros: docs about `select!` alternatives ([#7110])
45+
- net: rename the argument for `send_to` ([#7146])
46+
- process: add example for reading `Child` stdout ([#7141])
47+
- process: clarify `Child::kill` behavior ([#7162])
48+
- process: fix grammar of the `ChildStdin` struct doc comment ([#7192])
49+
- runtime: consistently use `worker_threads` instead of `core_threads` ([#7186])
50+
51+
[#6685]: https://github.com/tokio-rs/tokio/pull/6685
52+
[#6972]: https://github.com/tokio-rs/tokio/pull/6972
53+
[#7086]: https://github.com/tokio-rs/tokio/pull/7086
54+
[#7090]: https://github.com/tokio-rs/tokio/pull/7090
55+
[#7094]: https://github.com/tokio-rs/tokio/pull/7094
56+
[#7100]: https://github.com/tokio-rs/tokio/pull/7100
57+
[#7110]: https://github.com/tokio-rs/tokio/pull/7110
58+
[#7112]: https://github.com/tokio-rs/tokio/pull/7112
59+
[#7116]: https://github.com/tokio-rs/tokio/pull/7116
60+
[#7120]: https://github.com/tokio-rs/tokio/pull/7120
61+
[#7122]: https://github.com/tokio-rs/tokio/pull/7122
62+
[#7139]: https://github.com/tokio-rs/tokio/pull/7139
63+
[#7141]: https://github.com/tokio-rs/tokio/pull/7141
64+
[#7142]: https://github.com/tokio-rs/tokio/pull/7142
65+
[#7143]: https://github.com/tokio-rs/tokio/pull/7143
66+
[#7146]: https://github.com/tokio-rs/tokio/pull/7146
67+
[#7152]: https://github.com/tokio-rs/tokio/pull/7152
68+
[#7153]: https://github.com/tokio-rs/tokio/pull/7153
69+
[#7159]: https://github.com/tokio-rs/tokio/pull/7159
70+
[#7160]: https://github.com/tokio-rs/tokio/pull/7160
71+
[#7162]: https://github.com/tokio-rs/tokio/pull/7162
72+
[#7164]: https://github.com/tokio-rs/tokio/pull/7164
73+
[#7166]: https://github.com/tokio-rs/tokio/pull/7166
74+
[#7172]: https://github.com/tokio-rs/tokio/pull/7172
75+
[#7176]: https://github.com/tokio-rs/tokio/pull/7176
76+
[#7185]: https://github.com/tokio-rs/tokio/pull/7185
77+
[#7186]: https://github.com/tokio-rs/tokio/pull/7186
78+
[#7192]: https://github.com/tokio-rs/tokio/pull/7192
79+
180
# 1.43.0 (Jan 8th, 2025)
281

382
### Added

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.43.0"
9+
version = "1.44.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.43.0", features = ["full"] }
59+
tokio = { version = "1.44.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