Skip to content

Commit c1ed9b7

Browse files
committed
chore: prepare Tokio v1.48.0
1 parent c689594 commit c1ed9b7

File tree

4 files changed

+118
-4
lines changed

4 files changed

+118
-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 activated the full features of the tokio crate on Cargo.toml:
5656

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

tokio/CHANGELOG.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,117 @@
1+
# 1.48.0 (October 14th, 2025)
2+
3+
The MSRV is increased to 1.71.
4+
5+
### Added
6+
7+
- fs: add `File::max_buf_size` ([#7594])
8+
- io: export `Chain` of `AsyncReadExt::chain` ([#7599])
9+
- macros: add `local` runtime flavor ([#7375], [#7597])
10+
- net: add `SocketAddr::as_abstract_name` ([#7491])
11+
- net: add `TcpStream::quickack` and `TcpStream::set_quickack` ([#7490])
12+
- net: implement `AsRef<Self>` for `TcpStream` and `UnixStream` ([#7573])
13+
- task: add `LocalKey::try_get` ([#7666])
14+
- task: implement `Ord` for `task::Id` ([#7530])
15+
16+
### Changed
17+
18+
- deps: bump windows-sys to version 0.61 ([#7645])
19+
- fs: preserve `max_buf_size` when cloning a `File` ([#7593])
20+
- macros: suppress `clippy::unwrap_in_result` in `#[tokio::main]` ([#7651])
21+
- net: remove `PollEvented` noise from Debug formats ([#7675])
22+
- process: upgrade `Command::spawn_with` to use `FnOnce` ([#7511])
23+
- sync: remove inner mutex in `SetOnce` ([#7554])
24+
- sync: use `UnsafeCell::get_mut` in `Mutex::get_mut` and `RwLock::get_mut` ([#7569])
25+
- time: reduce the generated code size of `Timeout<T>::poll` ([#7535])
26+
27+
### Fixed
28+
29+
- macros: fix hygiene issue in `join!` and `try_join!` ([#7638])
30+
- net: fix copy/paste errors in udp peek methods ([#7604])
31+
- process: fix error when runtime is shut down on nightly-2025-10-12 ([#7672])
32+
- process: fix panic from spurious pidfd wakeup ([#7494])
33+
- runtime: use release ordering in `wake_by_ref()` even if already woken ([#7622])
34+
- sync: close the `broadcast::Sender` in `broadcast::Sender::new()` ([#7629])
35+
- sync: fix implementation of unused `RwLock::try_*` methods ([#7587])
36+
37+
### Unstable
38+
39+
- tokio: use cargo features instead of `--cfg` flags for `taskdump` and `io_uring` ([#7655], [#7621])
40+
- fs: support `io_uring` in `fs::write` ([#7567])
41+
- fs: support `io_uring` with `File::open()` ([#7617])
42+
- fs: support `io_uring` with `OpenOptions` ([#7321])
43+
44+
### Documented
45+
46+
- io: clarify the zero capacity case of `AsyncRead::poll_read` ([#7580])
47+
- io: fix typos in the docs of `AsyncFd` readiness guards ([#7583])
48+
- net: clarify socket gets closed on drop ([#7526])
49+
- net: clarify the behavior of `UCred::pid()` on Cygwin ([#7611])
50+
- net: clarify the supported platform of `set_reuseport()` and `reuseport()` ([#7628])
51+
- net: qualify that `SO_REUSEADDR` is only set on Unix ([#7533])
52+
- runtime: add guide for choosing between runtime types ([#7635])
53+
- runtime: clarify the behavior of `Handle::block_on` ([#7665])
54+
- runtime: clarify the edge case of `Builder::global_queue_interval()` ([#7605])
55+
- sync: clarify bounded channel panic behavior ([#7641])
56+
- sync: clarify the behavior of `tokio::sync::watch::Receiver` ([#7584])
57+
- sync: document cancel safety on `SetOnce::wait` ([#7506])
58+
- sync: fix the docs of `parking_lot` feature flag ([#7663])
59+
- sync: improve the docs of `UnboundedSender::send` ([#7661])
60+
- sync: improve the docs of `sync::watch` ([#7601])
61+
- sync: reword allocation failure paragraph in broadcast docs ([#7595])
62+
- task: clarify the behavior of several `spawn_local` methods ([#7669])
63+
- task: clarify the task ID reuse guarantees ([#7577])
64+
- task: improve the example of `poll_proceed` ([#7586])
65+
66+
[#7321]: https://github.com/tokio-rs/tokio/pull/7321
67+
[#7375]: https://github.com/tokio-rs/tokio/pull/7375
68+
[#7490]: https://github.com/tokio-rs/tokio/pull/7490
69+
[#7491]: https://github.com/tokio-rs/tokio/pull/7491
70+
[#7494]: https://github.com/tokio-rs/tokio/pull/7494
71+
[#7506]: https://github.com/tokio-rs/tokio/pull/7506
72+
[#7511]: https://github.com/tokio-rs/tokio/pull/7511
73+
[#7526]: https://github.com/tokio-rs/tokio/pull/7526
74+
[#7530]: https://github.com/tokio-rs/tokio/pull/7530
75+
[#7533]: https://github.com/tokio-rs/tokio/pull/7533
76+
[#7535]: https://github.com/tokio-rs/tokio/pull/7535
77+
[#7554]: https://github.com/tokio-rs/tokio/pull/7554
78+
[#7567]: https://github.com/tokio-rs/tokio/pull/7567
79+
[#7569]: https://github.com/tokio-rs/tokio/pull/7569
80+
[#7573]: https://github.com/tokio-rs/tokio/pull/7573
81+
[#7577]: https://github.com/tokio-rs/tokio/pull/7577
82+
[#7580]: https://github.com/tokio-rs/tokio/pull/7580
83+
[#7583]: https://github.com/tokio-rs/tokio/pull/7583
84+
[#7584]: https://github.com/tokio-rs/tokio/pull/7584
85+
[#7586]: https://github.com/tokio-rs/tokio/pull/7586
86+
[#7587]: https://github.com/tokio-rs/tokio/pull/7587
87+
[#7593]: https://github.com/tokio-rs/tokio/pull/7593
88+
[#7594]: https://github.com/tokio-rs/tokio/pull/7594
89+
[#7595]: https://github.com/tokio-rs/tokio/pull/7595
90+
[#7597]: https://github.com/tokio-rs/tokio/pull/7597
91+
[#7599]: https://github.com/tokio-rs/tokio/pull/7599
92+
[#7601]: https://github.com/tokio-rs/tokio/pull/7601
93+
[#7604]: https://github.com/tokio-rs/tokio/pull/7604
94+
[#7605]: https://github.com/tokio-rs/tokio/pull/7605
95+
[#7611]: https://github.com/tokio-rs/tokio/pull/7611
96+
[#7617]: https://github.com/tokio-rs/tokio/pull/7617
97+
[#7621]: https://github.com/tokio-rs/tokio/pull/7621
98+
[#7622]: https://github.com/tokio-rs/tokio/pull/7622
99+
[#7628]: https://github.com/tokio-rs/tokio/pull/7628
100+
[#7629]: https://github.com/tokio-rs/tokio/pull/7629
101+
[#7635]: https://github.com/tokio-rs/tokio/pull/7635
102+
[#7638]: https://github.com/tokio-rs/tokio/pull/7638
103+
[#7641]: https://github.com/tokio-rs/tokio/pull/7641
104+
[#7645]: https://github.com/tokio-rs/tokio/pull/7645
105+
[#7651]: https://github.com/tokio-rs/tokio/pull/7651
106+
[#7655]: https://github.com/tokio-rs/tokio/pull/7655
107+
[#7661]: https://github.com/tokio-rs/tokio/pull/7661
108+
[#7663]: https://github.com/tokio-rs/tokio/pull/7663
109+
[#7665]: https://github.com/tokio-rs/tokio/pull/7665
110+
[#7666]: https://github.com/tokio-rs/tokio/pull/7666
111+
[#7669]: https://github.com/tokio-rs/tokio/pull/7669
112+
[#7672]: https://github.com/tokio-rs/tokio/pull/7672
113+
[#7675]: https://github.com/tokio-rs/tokio/pull/7675
114+
1115
# 1.47.1 (August 1st, 2025)
2116

3117
### Fixed

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.47.1"
9+
version = "1.48.0"
1010
edition = "2021"
1111
rust-version = "1.71"
1212
authors = ["Tokio Contributors <[email protected]>"]
@@ -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 activated the full features of the tokio crate on Cargo.toml:
5656

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

0 commit comments

Comments
 (0)