From 5f3296df77ad594779d1fe1a1583078ca9832daf Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 8 Jan 2025 16:57:25 +0100 Subject: [PATCH] chore: prepare Tokio v1.43.0 (#7079) --- README.md | 2 +- tokio/CHANGELOG.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 57 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ea81cc7c7a0..16b0819fea3 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.42.0", features = ["full"] } +tokio = { version = "1.43.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 99bca9dba57..d2cb6a204d3 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,57 @@ +# 1.43.0 (Jan 8th, 2025) + +### Added + +- net: add `UdpSocket::peek` methods ([#7068]) +- net: add support for Haiku OS ([#7042]) +- process: add `Command::into_std()` ([#7014]) +- signal: add `SignalKind::info` on illumos ([#6995]) +- signal: add support for realtime signals on illumos ([#7029]) + +### Fixed + +- io: don't call `set_len` before initializing vector in `Blocking` ([#7054]) +- macros: suppress `clippy::needless_return` in `#[tokio::main]` ([#6874]) +- runtime: fix thread parking on WebAssembly ([#7041]) + +### Changes + +- chore: use unsync loads for `unsync_load` ([#7073]) +- io: use `Buf::put_bytes` in `Repeat` read impl ([#7055]) +- task: drop the join waker of a task eagerly ([#6986]) + +### Changes to unstable APIs + +- metrics: improve flexibility of H2Histogram Configuration ([#6963]) +- taskdump: add accessor methods for backtrace ([#6975]) + +### Documented + +- io: clarify `ReadBuf::uninit` allows initialized buffers as well ([#7053]) +- net: fix ambiguity in `TcpStream::try_write_vectored` docs ([#7067]) +- runtime: fix `LocalRuntime` doc links ([#7074]) +- sync: extend documentation for `watch::Receiver::wait_for` ([#7038]) +- sync: fix typos in `OnceCell` docs ([#7047]) + +[#6874]: https://github.com/tokio-rs/tokio/pull/6874 +[#6963]: https://github.com/tokio-rs/tokio/pull/6963 +[#6975]: https://github.com/tokio-rs/tokio/pull/6975 +[#6986]: https://github.com/tokio-rs/tokio/pull/6986 +[#6995]: https://github.com/tokio-rs/tokio/pull/6995 +[#7014]: https://github.com/tokio-rs/tokio/pull/7014 +[#7029]: https://github.com/tokio-rs/tokio/pull/7029 +[#7038]: https://github.com/tokio-rs/tokio/pull/7038 +[#7041]: https://github.com/tokio-rs/tokio/pull/7041 +[#7042]: https://github.com/tokio-rs/tokio/pull/7042 +[#7047]: https://github.com/tokio-rs/tokio/pull/7047 +[#7053]: https://github.com/tokio-rs/tokio/pull/7053 +[#7054]: https://github.com/tokio-rs/tokio/pull/7054 +[#7055]: https://github.com/tokio-rs/tokio/pull/7055 +[#7067]: https://github.com/tokio-rs/tokio/pull/7067 +[#7068]: https://github.com/tokio-rs/tokio/pull/7068 +[#7073]: https://github.com/tokio-rs/tokio/pull/7073 +[#7074]: https://github.com/tokio-rs/tokio/pull/7074 + # 1.42.0 (Dec 3rd, 2024) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 2a452413b2f..86017871680 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.42.0" +version = "1.43.0" edition = "2021" rust-version = "1.70" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index ea81cc7c7a0..16b0819fea3 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.42.0", features = ["full"] } +tokio = { version = "1.43.0", features = ["full"] } ``` Then, on your main.rs: