mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
chore: prepare Tokio v1.40.0 (#6806)
This commit is contained in:
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tokio = { version = "1.39.3", features = ["full"] }
|
||||
tokio = { version = "1.40.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
@@ -1,3 +1,52 @@
|
||||
# 1.40.0 (August 30th, 2024)
|
||||
|
||||
### Added
|
||||
|
||||
- io: add `util::SimplexStream` ([#6589])
|
||||
- process: stabilize `Command::process_group` ([#6731])
|
||||
- sync: add `{TrySendError,SendTimeoutError}::into_inner` ([#6755])
|
||||
- task: add `JoinSet::join_all` ([#6784])
|
||||
|
||||
### Added (unstable)
|
||||
|
||||
- runtime: add `Builder::{on_task_spawn, on_task_terminate}` ([#6742])
|
||||
|
||||
### Changed
|
||||
|
||||
- io: use vectored io for `write_all_buf` when possible ([#6724])
|
||||
- runtime: prevent niche-optimization to avoid triggering miri ([#6744])
|
||||
- sync: mark mpsc types as `UnwindSafe` ([#6783])
|
||||
- sync,time: make `Sleep` and `BatchSemaphore` instrumentation explicit roots ([#6727])
|
||||
- task: use `NonZeroU64` for `task::Id` ([#6733])
|
||||
- task: include panic message when printing `JoinError` ([#6753])
|
||||
- task: add `#[must_use]` to `JoinHandle::abort_handle` ([#6762])
|
||||
- time: eliminate timer wheel allocations ([#6779])
|
||||
|
||||
### Documented
|
||||
|
||||
- docs: clarify that `[build]` section doesn't go in Cargo.toml ([#6728])
|
||||
- io: clarify zero remaining capacity case ([#6790])
|
||||
- macros: improve documentation for `select!` ([#6774])
|
||||
- sync: document mpsc channel allocation behavior ([#6773])
|
||||
|
||||
[#6589]: https://github.com/tokio-rs/tokio/pull/6589
|
||||
[#6724]: https://github.com/tokio-rs/tokio/pull/6724
|
||||
[#6727]: https://github.com/tokio-rs/tokio/pull/6727
|
||||
[#6728]: https://github.com/tokio-rs/tokio/pull/6728
|
||||
[#6731]: https://github.com/tokio-rs/tokio/pull/6731
|
||||
[#6733]: https://github.com/tokio-rs/tokio/pull/6733
|
||||
[#6742]: https://github.com/tokio-rs/tokio/pull/6742
|
||||
[#6744]: https://github.com/tokio-rs/tokio/pull/6744
|
||||
[#6753]: https://github.com/tokio-rs/tokio/pull/6753
|
||||
[#6755]: https://github.com/tokio-rs/tokio/pull/6755
|
||||
[#6762]: https://github.com/tokio-rs/tokio/pull/6762
|
||||
[#6773]: https://github.com/tokio-rs/tokio/pull/6773
|
||||
[#6774]: https://github.com/tokio-rs/tokio/pull/6774
|
||||
[#6779]: https://github.com/tokio-rs/tokio/pull/6779
|
||||
[#6783]: https://github.com/tokio-rs/tokio/pull/6783
|
||||
[#6784]: https://github.com/tokio-rs/tokio/pull/6784
|
||||
[#6790]: https://github.com/tokio-rs/tokio/pull/6790
|
||||
|
||||
# 1.39.3 (August 17th, 2024)
|
||||
|
||||
This release fixes a regression where the unix socket api stopped accepting
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ name = "tokio"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v1.x.y" git tag.
|
||||
version = "1.39.3"
|
||||
version = "1.40.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.70"
|
||||
authors = ["Tokio Contributors <[email protected]>"]
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tokio = { version = "1.39.3", features = ["full"] }
|
||||
tokio = { version = "1.40.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user