Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
32 changes: 32 additions & 0 deletions tokio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <team@tokio.rs>"]
Expand Down
9 changes: 5 additions & 4 deletions tokio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
Loading