diff --git a/README.md b/README.md index 2e62bc5f76b..6ba7d7f44e4 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.41.1", features = ["full"] } +tokio = { version = "1.42.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index da140d415a8..f7f45924875 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,30 @@ +# 1.42.0 (Dec 3rd, 2024) + +### Added + +- io: add `AsyncFd::{try_io, try_io_mut}` ([#6967]) + +### Fixed + +- io: avoid `ptr->ref->ptr` roundtrip in RegistrationSet ([#6929]) +- runtime: do not defer `yield_now` inside `block_in_place` ([#6999]) + +### Changes + +- io: simplify io readiness logic ([#6966]) + +### Documented + +- net: fix docs for `tokio::net::unix::{pid_t, gid_t, uid_t}` ([#6791]) +- time: fix a typo in `Instant` docs ([#6982]) + +[#6791]: https://github.com/tokio-rs/tokio/pull/6791 +[#6929]: https://github.com/tokio-rs/tokio/pull/6929 +[#6966]: https://github.com/tokio-rs/tokio/pull/6966 +[#6967]: https://github.com/tokio-rs/tokio/pull/6967 +[#6982]: https://github.com/tokio-rs/tokio/pull/6982 +[#6999]: https://github.com/tokio-rs/tokio/pull/6999 + # 1.41.1 (Nov 7th, 2024) ### Fixed diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index ac789e242f9..73b2deac76c 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.41.1" +version = "1.42.0" edition = "2021" rust-version = "1.70" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 2e62bc5f76b..6ba7d7f44e4 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.41.1", features = ["full"] } +tokio = { version = "1.42.0", features = ["full"] } ``` Then, on your main.rs: