From 4f2186204a629b4e4907d6b61b9380dea58ed198 Mon Sep 17 00:00:00 2001 From: mox692 Date: Sat, 19 Oct 2024 02:12:26 +0900 Subject: [PATCH 1/6] chore: prepare Tokio v1.41.0 --- README.md | 2 +- tokio/CHANGELOG.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 60 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..2ab3cef42ff 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,60 @@ +# 1.41.0 (Oct 19th, 2024) + +### Added + +- metrics: stabilize `injection_queue_depth` ([#6854]) +- 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) + +- 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 + # 1.40.0 (August 30th, 2024) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index b07f50150b7..971d80a3d61 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: From b5ed34463cfbfd6d18e87e16ffe789bb7753d0c6 Mon Sep 17 00:00:00 2001 From: mox692 Date: Sat, 19 Oct 2024 04:17:35 +0900 Subject: [PATCH 2/6] reflect #6918 --- tokio/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 2ab3cef42ff..756c2518e08 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -2,7 +2,7 @@ ### Added -- metrics: stabilize `injection_queue_depth` ([#6854]) +- 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]) @@ -54,6 +54,7 @@ [#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 +[#6918]: https://github.com/tokio-rs/tokio/pull/6918 # 1.40.0 (August 30th, 2024) From 5933a1ae8c93b6f2ffc228faa919c0ac2050856e Mon Sep 17 00:00:00 2001 From: mox692 Date: Mon, 21 Oct 2024 23:42:48 +0900 Subject: [PATCH 3/6] reflect #6897 --- tokio/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 756c2518e08..e96f5e03460 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -10,6 +10,7 @@ ### Added (unstable) +- metrics: add H2 Histogram option to improve histogram granularity ([#6897]) - runtime: add `LocalRuntime` ([#6808]) ### Changed @@ -55,6 +56,7 @@ [#6890]: https://github.com/tokio-rs/tokio/pull/6890 [#6891]: https://github.com/tokio-rs/tokio/pull/6891 [#6918]: https://github.com/tokio-rs/tokio/pull/6918 +[#6897]: https://github.com/tokio-rs/tokio/pull/6897 # 1.40.0 (August 30th, 2024) From 28cc6e3c754b5c250ac839f4f7db7f9ad57a7ee6 Mon Sep 17 00:00:00 2001 From: mox692 Date: Tue, 22 Oct 2024 17:57:23 +0900 Subject: [PATCH 4/6] reorder --- tokio/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index e96f5e03460..2341e43a2be 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -55,8 +55,8 @@ [#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 -[#6918]: https://github.com/tokio-rs/tokio/pull/6918 [#6897]: https://github.com/tokio-rs/tokio/pull/6897 +[#6918]: https://github.com/tokio-rs/tokio/pull/6918 # 1.40.0 (August 30th, 2024) From aff13c5925d349ddeb6c4dba79ac3086b31dc2d6 Mon Sep 17 00:00:00 2001 From: mox692 Date: Tue, 22 Oct 2024 17:57:51 +0900 Subject: [PATCH 5/6] reflect #6924 --- tokio/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 2341e43a2be..0fdab93f50a 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -11,6 +11,7 @@ ### Added (unstable) - metrics: add H2 Histogram option to improve histogram granularity ([#6897]) +- metrics: rename some histogram apis ([#6924]) - runtime: add `LocalRuntime` ([#6808]) ### Changed @@ -57,6 +58,7 @@ [#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) From 9e12cf1da3384680db94c757a9514f3276796c88 Mon Sep 17 00:00:00 2001 From: mox692 Date: Tue, 22 Oct 2024 17:58:03 +0900 Subject: [PATCH 6/6] update release date --- tokio/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 0fdab93f50a..0357579ee0b 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.41.0 (Oct 19th, 2024) +# 1.41.0 (Oct 22th, 2024) ### Added