From 01e04daaa162ce6122bb894fdda0b6803dd32093 Mon Sep 17 00:00:00 2001 From: Motoyuki Kimura Date: Tue, 22 Oct 2024 18:22:33 +0900 Subject: [PATCH] chore: prepare Tokio v1.41.0 (#6917) --- README.md | 2 +- tokio/CHANGELOG.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 65 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6fe5b34ef82..d8e70b55e1a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.40.0", features = ["full"] } +tokio = { version = "1.41.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index bddb5c421b6..0357579ee0b 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,65 @@ +# 1.41.0 (Oct 22th, 2024) + +### Added + +- metrics: stabilize `global_queue_depth` ([#6854], [#6918]) +- net: add conversions for unix `SocketAddr` ([#6868]) +- sync: add `watch::Sender::sender_count` ([#6836]) +- sync: add `mpsc::Receiver::blocking_recv_many` ([#6867]) +- task: stabilize `Id` apis ([#6793], [#6891]) + +### Added (unstable) + +- metrics: add H2 Histogram option to improve histogram granularity ([#6897]) +- metrics: rename some histogram apis ([#6924]) +- runtime: add `LocalRuntime` ([#6808]) + +### Changed + +- runtime: box futures larger than 16k on release mode ([#6826]) +- sync: add `#[must_use]` to `Notified` ([#6828]) +- sync: make `watch` cooperative ([#6846]) +- sync: make `broadcast::Receiver` cooperative ([#6870]) +- task: add task size to tracing instrumentation ([#6881]) +- wasm: enable `cfg_fs` for `wasi` target ([#6822]) + +### Fixed + +- net: fix regression of abstract socket path in unix socket ([#6838]) + +### Documented + +- io: recommend `OwnedFd` with `AsyncFd` ([#6821]) +- io: document cancel safety of `AsyncFd` methods ([#6890]) +- macros: render more comprehensible documentation for `join` and `try_join` ([#6814], [#6841]) +- net: fix swapped examples for `TcpSocket::set_nodelay` and `TcpSocket::nodelay` ([#6840]) +- sync: document runtime compatibility ([#6833]) + +[#6793]: https://github.com/tokio-rs/tokio/pull/6793 +[#6808]: https://github.com/tokio-rs/tokio/pull/6808 +[#6810]: https://github.com/tokio-rs/tokio/pull/6810 +[#6814]: https://github.com/tokio-rs/tokio/pull/6814 +[#6821]: https://github.com/tokio-rs/tokio/pull/6821 +[#6822]: https://github.com/tokio-rs/tokio/pull/6822 +[#6826]: https://github.com/tokio-rs/tokio/pull/6826 +[#6828]: https://github.com/tokio-rs/tokio/pull/6828 +[#6833]: https://github.com/tokio-rs/tokio/pull/6833 +[#6836]: https://github.com/tokio-rs/tokio/pull/6836 +[#6838]: https://github.com/tokio-rs/tokio/pull/6838 +[#6840]: https://github.com/tokio-rs/tokio/pull/6840 +[#6841]: https://github.com/tokio-rs/tokio/pull/6841 +[#6846]: https://github.com/tokio-rs/tokio/pull/6846 +[#6854]: https://github.com/tokio-rs/tokio/pull/6854 +[#6867]: https://github.com/tokio-rs/tokio/pull/6867 +[#6868]: https://github.com/tokio-rs/tokio/pull/6868 +[#6870]: https://github.com/tokio-rs/tokio/pull/6870 +[#6881]: https://github.com/tokio-rs/tokio/pull/6881 +[#6890]: https://github.com/tokio-rs/tokio/pull/6890 +[#6891]: https://github.com/tokio-rs/tokio/pull/6891 +[#6897]: https://github.com/tokio-rs/tokio/pull/6897 +[#6918]: https://github.com/tokio-rs/tokio/pull/6918 +[#6924]: https://github.com/tokio-rs/tokio/pull/6924 + # 1.40.0 (August 30th, 2024) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 4edbd25ea8d..23873e5b409 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v1.x.y" git tag. -version = "1.40.0" +version = "1.41.0" edition = "2021" rust-version = "1.70" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 6fe5b34ef82..d8e70b55e1a 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.40.0", features = ["full"] } +tokio = { version = "1.41.0", features = ["full"] } ``` Then, on your main.rs: