diff --git a/README.md b/README.md index 9b43d3d094b..a7bfc3cd009 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.50.0", features = ["full"] } +tokio = { version = "1.51.0", features = ["full"] } ``` Then, on your main.rs: @@ -221,18 +221,18 @@ warrants a patch release with a fix for the bug, it will be backported and released as a new patch release for each LTS minor version. Our current LTS releases are: - * `1.43.x` - LTS release until March 2026. (MSRV 1.70) * `1.47.x` - LTS release until September 2026. (MSRV 1.70) + * `1.51.x` - LTS release until March 2027. (MSRV 1.71) Each LTS release will continue to receive backported fixes for at least a year. If you wish to use a fixed minor release in your project, we recommend that you use an LTS release. To use a fixed minor version, you can specify the version with a tilde. For -example, to specify that you wish to use the newest `1.43.x` patch release, you +example, to specify that you wish to use the newest `1.47.x` patch release, you can use the following dependency specification: ```text -tokio = { version = "~1.43", features = [...] } +tokio = { version = "~1.47", features = [...] } ``` ### Previous LTS releases @@ -245,6 +245,7 @@ tokio = { version = "~1.43", features = [...] } * `1.32.x` - LTS release until September 2024. * `1.36.x` - LTS release until March 2025. * `1.38.x` - LTS release until July 2025. + * `1.43.x` - LTS release until March 2026. ## License diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index a6d11a1eaef..bf27f86a762 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,35 @@ +# 1.51.0 (April 3rd, 2026) + +### Added + +- net: implement `get_peer_cred` on Hurd ([#7989]) +- runtime: add `tokio::runtime::worker_index()` ([#7921]) +- runtime: add runtime name ([#7924]) +- runtime: stabilize `LocalRuntime` ([#7557]) +- wasm: add wasm32-wasip2 networking support ([#7933]) + +### Changed + +- runtime: steal tasks from the LIFO slot ([#7431]) + +### Fixed + +- docs: do not show "Available on non-loom only." doc label ([#7977]) +- macros: improve overall macro hygiene ([#7997]) +- sync: fix `notify_waiters` priority in `Notify` ([#7996]) +- sync: fix panic in `Chan::recv_many` when called with non-empty vector on closed channel ([#7991]) + +[#7431]: https://github.com/tokio-rs/tokio/pull/7431 +[#7557]: https://github.com/tokio-rs/tokio/pull/7557 +[#7921]: https://github.com/tokio-rs/tokio/pull/7921 +[#7924]: https://github.com/tokio-rs/tokio/pull/7924 +[#7933]: https://github.com/tokio-rs/tokio/pull/7933 +[#7977]: https://github.com/tokio-rs/tokio/pull/7977 +[#7989]: https://github.com/tokio-rs/tokio/pull/7989 +[#7991]: https://github.com/tokio-rs/tokio/pull/7991 +[#7996]: https://github.com/tokio-rs/tokio/pull/7996 +[#7997]: https://github.com/tokio-rs/tokio/pull/7997 + # 1.50.0 (Mar 3rd, 2026) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index c20be239a50..b5133c23807 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.50.0" +version = "1.51.0" edition = "2021" rust-version = "1.71" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 9b43d3d094b..a7bfc3cd009 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -60,7 +60,7 @@ Make sure you enable the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.50.0", features = ["full"] } +tokio = { version = "1.51.0", features = ["full"] } ``` Then, on your main.rs: @@ -221,18 +221,18 @@ warrants a patch release with a fix for the bug, it will be backported and released as a new patch release for each LTS minor version. Our current LTS releases are: - * `1.43.x` - LTS release until March 2026. (MSRV 1.70) * `1.47.x` - LTS release until September 2026. (MSRV 1.70) + * `1.51.x` - LTS release until March 2027. (MSRV 1.71) Each LTS release will continue to receive backported fixes for at least a year. If you wish to use a fixed minor release in your project, we recommend that you use an LTS release. To use a fixed minor version, you can specify the version with a tilde. For -example, to specify that you wish to use the newest `1.43.x` patch release, you +example, to specify that you wish to use the newest `1.47.x` patch release, you can use the following dependency specification: ```text -tokio = { version = "~1.43", features = [...] } +tokio = { version = "~1.47", features = [...] } ``` ### Previous LTS releases @@ -245,6 +245,7 @@ tokio = { version = "~1.43", features = [...] } * `1.32.x` - LTS release until September 2024. * `1.36.x` - LTS release until March 2025. * `1.38.x` - LTS release until July 2025. + * `1.43.x` - LTS release until March 2026. ## License