Skip to content

Commit 514de09

Browse files
committed
chore: prepare Tokio v1.50.0
1 parent 03fe44c commit 514de09

4 files changed

Lines changed: 103 additions & 3 deletions

File tree

README.md

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

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.49.0", features = ["full"] }
59+
tokio = { version = "1.50.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,103 @@
1+
# 1.50.0 (February 24th, 2026)
2+
3+
### Added
4+
5+
- net: add `TcpStream::set_zero_linger` ([#7837])
6+
- rt: make `is_rt_shutdown_err` method public ([#7771])
7+
8+
### Changed
9+
10+
- io: add optimizer hint that `memchr` returns in-bounds pointer ([#7792])
11+
- io: implement vectored writes for `write_buf` ([#7871])
12+
- runtime: panic when `event_interval` is set to 0 ([#7838])
13+
- runtime: shorten default thread name to fit in Linux limit ([#7880])
14+
- signal: guarantee that listeners never return `None` ([#7869])
15+
- signal: remember the result of `SetConsoleCtrlHandler` ([#7833])
16+
- macros: improve error message for return type mismatch in `#[tokio::main]` ([#7856])
17+
- io: hardcode platform list for short write optimization ([#7872])
18+
- signal: specialize windows `Registry` ([#7885])
19+
20+
### Fixed
21+
22+
- io: always cleanup `AsyncFd` registration list on deregister ([#7773])
23+
- macros: remove (most) local `use` declarations in `tokio::select!` ([#7929])
24+
- macros: use `call_site` hygiene to avoid unused qualification ([#7866])
25+
- net: fix `GET_BUF_SIZE` constant for `target_os = "android"` ([#7889])
26+
- runtime: avoid redundant unpark in current_thread scheduler ([#7834])
27+
- runtime: don't park in `current_thread` if `before_park` defers waker ([#7835])
28+
- runtime: fix double increment of `num_idle_threads` on shutdown ([#7910])
29+
- runtime: fix race condition during the blocking pool shutdown ([#7922])
30+
- runtime: fix TOCTOU issue when decreasing `num_idle_threads` ([#7918])
31+
- runtime: wake deferred tasks before entering `block_in_place` ([#7879])
32+
- sync: drop rx waker when oneshot receiver is dropped ([#7886])
33+
34+
### Unstable
35+
36+
- fs: check for io-uring opcode support ([#7815])
37+
- runtime: avoid lock acquisition after uring init ([#7850])
38+
39+
### Documented
40+
41+
- docs: update outdated unstable features section ([#7839])
42+
- io: clarify the behavior of `AsyncWriteExt::shutdown()` ([#7908])
43+
- io: explain how to flush stdout/stderr ([#7904])
44+
- io: fix incorrect and confusing `AsyncWrite` documentation ([#7875])
45+
- rt: clarify the documentation of `Runtime::spawn` ([#7803])
46+
- rt: fix missing quotation in docs ([#7925])
47+
- runtime: correct the default thread name in docs ([#7896])
48+
- runtime: fix `event_interval` doc ([#7932])
49+
- sync: clarify RwLock fairness documentation ([#7919])
50+
- sync: clarify that `recv` returns `None` once closed and no more messages ([#7920])
51+
- task: clarify when to use `spawn_blocking` vs dedicated threads ([#7923])
52+
- task: doc that task drops before `JoinHandle` completion ([#7825])
53+
- task: fix task module feature flags in docs ([#7891])
54+
- task: fix two typos ([#7913])
55+
- task: improve the docs of `Builder::spawn_local` ([#7828])
56+
- time: add docs about auto-advance and when to use sleep ([#7858])
57+
- util: fix typo in docs ([#7926])
58+
59+
[#7771]: https://github.com/tokio-rs/tokio/pull/7771
60+
[#7773]: https://github.com/tokio-rs/tokio/pull/7773
61+
[#7792]: https://github.com/tokio-rs/tokio/pull/7792
62+
[#7803]: https://github.com/tokio-rs/tokio/pull/7803
63+
[#7815]: https://github.com/tokio-rs/tokio/pull/7815
64+
[#7825]: https://github.com/tokio-rs/tokio/pull/7825
65+
[#7828]: https://github.com/tokio-rs/tokio/pull/7828
66+
[#7833]: https://github.com/tokio-rs/tokio/pull/7833
67+
[#7834]: https://github.com/tokio-rs/tokio/pull/7834
68+
[#7835]: https://github.com/tokio-rs/tokio/pull/7835
69+
[#7837]: https://github.com/tokio-rs/tokio/pull/7837
70+
[#7838]: https://github.com/tokio-rs/tokio/pull/7838
71+
[#7839]: https://github.com/tokio-rs/tokio/pull/7839
72+
[#7850]: https://github.com/tokio-rs/tokio/pull/7850
73+
[#7856]: https://github.com/tokio-rs/tokio/pull/7856
74+
[#7858]: https://github.com/tokio-rs/tokio/pull/7858
75+
[#7866]: https://github.com/tokio-rs/tokio/pull/7866
76+
[#7869]: https://github.com/tokio-rs/tokio/pull/7869
77+
[#7871]: https://github.com/tokio-rs/tokio/pull/7871
78+
[#7872]: https://github.com/tokio-rs/tokio/pull/7872
79+
[#7875]: https://github.com/tokio-rs/tokio/pull/7875
80+
[#7879]: https://github.com/tokio-rs/tokio/pull/7879
81+
[#7880]: https://github.com/tokio-rs/tokio/pull/7880
82+
[#7885]: https://github.com/tokio-rs/tokio/pull/7885
83+
[#7886]: https://github.com/tokio-rs/tokio/pull/7886
84+
[#7889]: https://github.com/tokio-rs/tokio/pull/7889
85+
[#7891]: https://github.com/tokio-rs/tokio/pull/7891
86+
[#7896]: https://github.com/tokio-rs/tokio/pull/7896
87+
[#7904]: https://github.com/tokio-rs/tokio/pull/7904
88+
[#7908]: https://github.com/tokio-rs/tokio/pull/7908
89+
[#7910]: https://github.com/tokio-rs/tokio/pull/7910
90+
[#7913]: https://github.com/tokio-rs/tokio/pull/7913
91+
[#7918]: https://github.com/tokio-rs/tokio/pull/7918
92+
[#7919]: https://github.com/tokio-rs/tokio/pull/7919
93+
[#7920]: https://github.com/tokio-rs/tokio/pull/7920
94+
[#7922]: https://github.com/tokio-rs/tokio/pull/7922
95+
[#7923]: https://github.com/tokio-rs/tokio/pull/7923
96+
[#7925]: https://github.com/tokio-rs/tokio/pull/7925
97+
[#7926]: https://github.com/tokio-rs/tokio/pull/7926
98+
[#7929]: https://github.com/tokio-rs/tokio/pull/7929
99+
[#7932]: https://github.com/tokio-rs/tokio/pull/7932
100+
1101
# 1.49.0 (January 3rd, 2026)
2102

3103
### 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.49.0"
9+
version = "1.50.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
@@ -56,7 +56,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.49.0", features = ["full"] }
59+
tokio = { version = "1.50.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)