mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
chore: prepare Tokio v1.49.0 (#7824)
This commit is contained in:
@@ -56,7 +56,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.48.0", features = ["full"] }
|
tokio = { version = "1.49.0", features = ["full"] }
|
||||||
```
|
```
|
||||||
Then, on your main.rs:
|
Then, on your main.rs:
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,71 @@
|
|||||||
|
# 1.49.0 (January 3rd, 2026)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* net: add support for `TCLASS` option on IPv6 ([#7781])
|
||||||
|
* runtime: stabilize `runtime::id::Id` ([#7125])
|
||||||
|
* task: implement `Extend` for `JoinSet` ([#7195])
|
||||||
|
* task: stabilize the `LocalSet::id()` ([#7776])
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* net: deprecate `{TcpStream,TcpSocket}::set_linger` ([#7752])
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* macros: fix the hygiene issue of `join!` and `try_join!` ([#7766])
|
||||||
|
* runtime: revert "replace manual vtable definitions with Wake" ([#7699])
|
||||||
|
* sync: return `TryRecvError::Disconnected` from `Receiver::try_recv` after `Receiver::close` ([#7686])
|
||||||
|
* task: remove unnecessary trait bounds on the `Debug` implementation ([#7720])
|
||||||
|
|
||||||
|
### Unstable
|
||||||
|
|
||||||
|
* fs: handle `EINTR` in `fs::write` for io-uring ([#7786])
|
||||||
|
* fs: support io-uring with `tokio::fs::read` ([#7696])
|
||||||
|
* runtime: disable io-uring on `EPERM` ([#7724])
|
||||||
|
* time: add alternative timer for better multicore scalability ([#7467])
|
||||||
|
|
||||||
|
### Documented
|
||||||
|
|
||||||
|
* docs: fix a typos in `bounded.rs` and `park.rs` ([#7817])
|
||||||
|
* io: add `SyncIoBridge` cross-references to `copy` and `copy_buf` ([#7798])
|
||||||
|
* io: doc that `AsyncWrite` does not inherit from `std::io::Write` ([#7705])
|
||||||
|
* metrics: clarify that `num_alive_tasks` is not strongly consistent ([#7614])
|
||||||
|
* net: clarify the cancellation safety of the `TcpStream::peek` ([#7305])
|
||||||
|
* net: clarify the drop behavior of `unix::OwnedWriteHalf` ([#7742])
|
||||||
|
* net: clarify the platform-dependent backlog in `TcpSocket` docs ([#7738])
|
||||||
|
* runtime: mention `LocalRuntime` in `new_current_thread` docs ([#7820])
|
||||||
|
* sync: add missing period to `mpsc::Sender::try_send` docs ([#7721])
|
||||||
|
* sync: clarify the cancellation safety of `oneshot::Receiver` ([#7780])
|
||||||
|
* sync: improve the docs for the `errors` of mpsc ([#7722])
|
||||||
|
* task: add example for `spawn_local` usage on local runtime ([#7689])
|
||||||
|
|
||||||
|
[#7125]: https://github.com/tokio-rs/tokio/pull/7125
|
||||||
|
[#7195]: https://github.com/tokio-rs/tokio/pull/7195
|
||||||
|
[#7305]: https://github.com/tokio-rs/tokio/pull/7305
|
||||||
|
[#7467]: https://github.com/tokio-rs/tokio/pull/7467
|
||||||
|
[#7614]: https://github.com/tokio-rs/tokio/pull/7614
|
||||||
|
[#7686]: https://github.com/tokio-rs/tokio/pull/7686
|
||||||
|
[#7689]: https://github.com/tokio-rs/tokio/pull/7689
|
||||||
|
[#7696]: https://github.com/tokio-rs/tokio/pull/7696
|
||||||
|
[#7699]: https://github.com/tokio-rs/tokio/pull/7699
|
||||||
|
[#7705]: https://github.com/tokio-rs/tokio/pull/7705
|
||||||
|
[#7720]: https://github.com/tokio-rs/tokio/pull/7720
|
||||||
|
[#7721]: https://github.com/tokio-rs/tokio/pull/7721
|
||||||
|
[#7722]: https://github.com/tokio-rs/tokio/pull/7722
|
||||||
|
[#7724]: https://github.com/tokio-rs/tokio/pull/7724
|
||||||
|
[#7738]: https://github.com/tokio-rs/tokio/pull/7738
|
||||||
|
[#7742]: https://github.com/tokio-rs/tokio/pull/7742
|
||||||
|
[#7752]: https://github.com/tokio-rs/tokio/pull/7752
|
||||||
|
[#7766]: https://github.com/tokio-rs/tokio/pull/7766
|
||||||
|
[#7776]: https://github.com/tokio-rs/tokio/pull/7776
|
||||||
|
[#7780]: https://github.com/tokio-rs/tokio/pull/7780
|
||||||
|
[#7781]: https://github.com/tokio-rs/tokio/pull/7781
|
||||||
|
[#7786]: https://github.com/tokio-rs/tokio/pull/7786
|
||||||
|
[#7798]: https://github.com/tokio-rs/tokio/pull/7798
|
||||||
|
[#7817]: https://github.com/tokio-rs/tokio/pull/7817
|
||||||
|
[#7820]: https://github.com/tokio-rs/tokio/pull/7820
|
||||||
|
|
||||||
# 1.48.0 (October 14th, 2025)
|
# 1.48.0 (October 14th, 2025)
|
||||||
|
|
||||||
The MSRV is increased to 1.71.
|
The MSRV is increased to 1.71.
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ name = "tokio"
|
|||||||
# - README.md
|
# - README.md
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v1.x.y" git tag.
|
# - Create "v1.x.y" git tag.
|
||||||
version = "1.48.0"
|
version = "1.49.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.71"
|
rust-version = "1.71"
|
||||||
authors = ["Tokio Contributors <[email protected]>"]
|
authors = ["Tokio Contributors <[email protected]>"]
|
||||||
|
|||||||
+1
-1
@@ -56,7 +56,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.48.0", features = ["full"] }
|
tokio = { version = "1.49.0", features = ["full"] }
|
||||||
```
|
```
|
||||||
Then, on your main.rs:
|
Then, on your main.rs:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user