Skip to content

Commit e3b89bb

Browse files
authored
chore: prepare Tokio v1.49.0 (#7824)
1 parent 4f577b8 commit e3b89bb

4 files changed

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

tokio/CHANGELOG.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,71 @@
1+
# 1.49.0 (January 3rd, 2026)
2+
3+
### Added
4+
5+
* net: add support for `TCLASS` option on IPv6 ([#7781])
6+
* runtime: stabilize `runtime::id::Id` ([#7125])
7+
* task: implement `Extend` for `JoinSet` ([#7195])
8+
* task: stabilize the `LocalSet::id()` ([#7776])
9+
10+
### Changed
11+
12+
* net: deprecate `{TcpStream,TcpSocket}::set_linger` ([#7752])
13+
14+
### Fixed
15+
16+
* macros: fix the hygiene issue of `join!` and `try_join!` ([#7766])
17+
* runtime: revert "replace manual vtable definitions with Wake" ([#7699])
18+
* sync: return `TryRecvError::Disconnected` from `Receiver::try_recv` after `Receiver::close` ([#7686])
19+
* task: remove unnecessary trait bounds on the `Debug` implementation ([#7720])
20+
21+
### Unstable
22+
23+
* fs: handle `EINTR` in `fs::write` for io-uring ([#7786])
24+
* fs: support io-uring with `tokio::fs::read` ([#7696])
25+
* runtime: disable io-uring on `EPERM` ([#7724])
26+
* time: add alternative timer for better multicore scalability ([#7467])
27+
28+
### Documented
29+
30+
* docs: fix a typos in `bounded.rs` and `park.rs` ([#7817])
31+
* io: add `SyncIoBridge` cross-references to `copy` and `copy_buf` ([#7798])
32+
* io: doc that `AsyncWrite` does not inherit from `std::io::Write` ([#7705])
33+
* metrics: clarify that `num_alive_tasks` is not strongly consistent ([#7614])
34+
* net: clarify the cancellation safety of the `TcpStream::peek` ([#7305])
35+
* net: clarify the drop behavior of `unix::OwnedWriteHalf` ([#7742])
36+
* net: clarify the platform-dependent backlog in `TcpSocket` docs ([#7738])
37+
* runtime: mention `LocalRuntime` in `new_current_thread` docs ([#7820])
38+
* sync: add missing period to `mpsc::Sender::try_send` docs ([#7721])
39+
* sync: clarify the cancellation safety of `oneshot::Receiver` ([#7780])
40+
* sync: improve the docs for the `errors` of mpsc ([#7722])
41+
* task: add example for `spawn_local` usage on local runtime ([#7689])
42+
43+
[#7125]: https://github.com/tokio-rs/tokio/pull/7125
44+
[#7195]: https://github.com/tokio-rs/tokio/pull/7195
45+
[#7305]: https://github.com/tokio-rs/tokio/pull/7305
46+
[#7467]: https://github.com/tokio-rs/tokio/pull/7467
47+
[#7614]: https://github.com/tokio-rs/tokio/pull/7614
48+
[#7686]: https://github.com/tokio-rs/tokio/pull/7686
49+
[#7689]: https://github.com/tokio-rs/tokio/pull/7689
50+
[#7696]: https://github.com/tokio-rs/tokio/pull/7696
51+
[#7699]: https://github.com/tokio-rs/tokio/pull/7699
52+
[#7705]: https://github.com/tokio-rs/tokio/pull/7705
53+
[#7720]: https://github.com/tokio-rs/tokio/pull/7720
54+
[#7721]: https://github.com/tokio-rs/tokio/pull/7721
55+
[#7722]: https://github.com/tokio-rs/tokio/pull/7722
56+
[#7724]: https://github.com/tokio-rs/tokio/pull/7724
57+
[#7738]: https://github.com/tokio-rs/tokio/pull/7738
58+
[#7742]: https://github.com/tokio-rs/tokio/pull/7742
59+
[#7752]: https://github.com/tokio-rs/tokio/pull/7752
60+
[#7766]: https://github.com/tokio-rs/tokio/pull/7766
61+
[#7776]: https://github.com/tokio-rs/tokio/pull/7776
62+
[#7780]: https://github.com/tokio-rs/tokio/pull/7780
63+
[#7781]: https://github.com/tokio-rs/tokio/pull/7781
64+
[#7786]: https://github.com/tokio-rs/tokio/pull/7786
65+
[#7798]: https://github.com/tokio-rs/tokio/pull/7798
66+
[#7817]: https://github.com/tokio-rs/tokio/pull/7817
67+
[#7820]: https://github.com/tokio-rs/tokio/pull/7820
68+
169
# 1.48.0 (October 14th, 2025)
270

371
The MSRV is increased to 1.71.

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

0 commit comments

Comments
 (0)