Skip to content

Commit 0273e45

Browse files
authored
chore: prepare Tokio v1.50.0 (#7934)
1 parent e3ee4e5 commit 0273e45

File tree

4 files changed

+98
-4
lines changed

4 files changed

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

397
### Added

tokio/Cargo.toml

Lines changed: 2 additions & 2 deletions
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>"]
@@ -90,7 +90,7 @@ io-uring = ["dep:io-uring", "libc", "mio/os-poll", "mio/os-ext", "dep:slab"]
9090
taskdump = ["dep:backtrace"]
9191

9292
[dependencies]
93-
tokio-macros = { version = "~2.6.0", path = "../tokio-macros", optional = true }
93+
tokio-macros = { version = "~2.6.0", optional = true }
9494

9595
pin-project-lite = "0.2.11"
9696

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)