From b69ad7570f586b51ff0d66f150e1cdc013fa873b Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Wed, 1 Mar 2023 15:16:16 -0600 Subject: [PATCH] chore: prepare for Tokio v1.26.0 release # 1.26.0 (March 1st, 2023) ### Fixed - sync: don't leak tracing spans in mutex guards ([#5469]) - sync: drop wakers after unlocking the mutex in Notify ([#5471]) - sync: drop wakers outside lock in semaphore ([#5475]) - macros: fix empty `join!` and `try_join!` ([#5504]) ### Added - fs: add `fs::try_exists` ([#4299]) - net: add types for named unix pipes ([#5351]) - sync: add `MappedOwnedMutexGuard` ([#5474]) ### Documented - task: clarify what happens to spawned work during runtime shutdown ([#5394]) - task: clarify `process::Command` docs (#5406) ([#5413]) - sync: add doc aliases for `blocking_*` methods ([#5448]) - task: fix wording with 'unsend' ([#5452]) - signal: updated Documentation for Signals ([#5459]) - sync: fix docs for Send/Sync bounds in broadcast ([#5480]) - io: improve AsyncFd example ([#5481]) - tokio: document supported platforms ([#5483]) - runtime: document the nature of the main future ([#5494]) - sync: document drop behavior for channels ([#5497]) - time: document immediate completion guarantee for timeouts ([#5509]) - runtime: remove extra period in docs ([#5511]) ### Changed - net: use Message Read Mode for named pipes ([#5350]) - chore: update windows-sys to 0.45 ([#5386]) - sync: mark lock guards with `#[clippy::has_significant_drop]` ([#5422]) - sync: reduce contention in watch channel ([#5464]) - time: remove cache padding in timer entries ([#5468]) - time: Improve `Instant::now()` perf with test-util ([#5513]) ### Internal Changes - tests: port proptest fuzz harnesses to use cargo-fuzz ([#5392]) - time: don't store deadline twice in sleep entries ([#5410]) - rt: remove Arc from Clock ([#5434]) - sync: make `notify_waiters` calls atomic ([#5458]) - net: refactor named pipe builders to not use bitfields ([#5477]) - io: use `poll_fn` in `copy_bidirectional` ([#5486]) - fs: add more tests for filesystem functionality ([#5493]) - net: fix test compilation failure ([#5506]) - io: ignore SplitByUtf8BoundaryIfWindows test on miri ([#5507]) ### Unstable - metrics: add a new metric for budget exhaustion yields ([#5517]) [#4299]: https://github.com/tokio-rs/tokio/pull/4299 [#5350]: https://github.com/tokio-rs/tokio/pull/5350 [#5351]: https://github.com/tokio-rs/tokio/pull/5351 [#5386]: https://github.com/tokio-rs/tokio/pull/5386 [#5392]: https://github.com/tokio-rs/tokio/pull/5392 [#5394]: https://github.com/tokio-rs/tokio/pull/5394 [#5410]: https://github.com/tokio-rs/tokio/pull/5410 [#5413]: https://github.com/tokio-rs/tokio/pull/5413 [#5422]: https://github.com/tokio-rs/tokio/pull/5422 [#5434]: https://github.com/tokio-rs/tokio/pull/5434 [#5448]: https://github.com/tokio-rs/tokio/pull/5448 [#5452]: https://github.com/tokio-rs/tokio/pull/5452 [#5458]: https://github.com/tokio-rs/tokio/pull/5458 [#5459]: https://github.com/tokio-rs/tokio/pull/5459 [#5464]: https://github.com/tokio-rs/tokio/pull/5464 [#5468]: https://github.com/tokio-rs/tokio/pull/5468 [#5469]: https://github.com/tokio-rs/tokio/pull/5469 [#5471]: https://github.com/tokio-rs/tokio/pull/5471 [#5474]: https://github.com/tokio-rs/tokio/pull/5474 [#5475]: https://github.com/tokio-rs/tokio/pull/5475 [#5477]: https://github.com/tokio-rs/tokio/pull/5477 [#5480]: https://github.com/tokio-rs/tokio/pull/5480 [#5481]: https://github.com/tokio-rs/tokio/pull/5481 [#5483]: https://github.com/tokio-rs/tokio/pull/5483 [#5486]: https://github.com/tokio-rs/tokio/pull/5486 [#5493]: https://github.com/tokio-rs/tokio/pull/5493 [#5494]: https://github.com/tokio-rs/tokio/pull/5494 [#5497]: https://github.com/tokio-rs/tokio/pull/5497 [#5504]: https://github.com/tokio-rs/tokio/pull/5504 [#5506]: https://github.com/tokio-rs/tokio/pull/5506 [#5507]: https://github.com/tokio-rs/tokio/pull/5507 [#5509]: https://github.com/tokio-rs/tokio/pull/5509 [#5511]: https://github.com/tokio-rs/tokio/pull/5511 [#5513]: https://github.com/tokio-rs/tokio/pull/5513 [#5517]: https://github.com/tokio-rs/tokio/pull/5517 --- README.md | 2 +- tokio/CHANGELOG.md | 90 ++++++++++++++++++++++++++++++++++++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 93 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 462e6e8b0b7..22834866564 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.25.0", features = ["full"] } +tokio = { version = "1.26.0", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 39a57fde717..6397964581f 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,93 @@ +# 1.26.0 (March 1st, 2023) + +### Fixed + +- sync: don't leak tracing spans in mutex guards ([#5469]) +- sync: drop wakers after unlocking the mutex in Notify ([#5471]) +- sync: drop wakers outside lock in semaphore ([#5475]) +- macros: fix empty `join!` and `try_join!` ([#5504]) + +### Added + +- fs: add `fs::try_exists` ([#4299]) +- net: add types for named unix pipes ([#5351]) +- sync: add `MappedOwnedMutexGuard` ([#5474]) + +### Documented + +- task: clarify what happens to spawned work during runtime shutdown ([#5394]) +- task: clarify `process::Command` docs (#5406) ([#5413]) +- sync: add doc aliases for `blocking_*` methods ([#5448]) +- task: fix wording with 'unsend' ([#5452]) +- signal: updated Documentation for Signals ([#5459]) +- sync: fix docs for Send/Sync bounds in broadcast ([#5480]) +- io: improve AsyncFd example ([#5481]) +- tokio: document supported platforms ([#5483]) +- runtime: document the nature of the main future ([#5494]) +- sync: document drop behavior for channels ([#5497]) +- time: document immediate completion guarantee for timeouts ([#5509]) +- runtime: remove extra period in docs ([#5511]) + +### Changed + +- net: use Message Read Mode for named pipes ([#5350]) +- chore: update windows-sys to 0.45 ([#5386]) +- sync: mark lock guards with `#[clippy::has_significant_drop]` ([#5422]) +- sync: reduce contention in watch channel ([#5464]) +- time: remove cache padding in timer entries ([#5468]) +- time: Improve `Instant::now()` perf with test-util ([#5513]) + +### Internal Changes +- tests: port proptest fuzz harnesses to use cargo-fuzz ([#5392]) +- time: don't store deadline twice in sleep entries ([#5410]) +- rt: remove Arc from Clock ([#5434]) +- sync: make `notify_waiters` calls atomic ([#5458]) +- net: refactor named pipe builders to not use bitfields ([#5477]) +- io: use `poll_fn` in `copy_bidirectional` ([#5486]) +- fs: add more tests for filesystem functionality ([#5493]) +- net: fix test compilation failure ([#5506]) +- io: ignore SplitByUtf8BoundaryIfWindows test on miri ([#5507]) + +### Unstable + +- metrics: add a new metric for budget exhaustion yields ([#5517]) + +[#4299]: https://github.com/tokio-rs/tokio/pull/4299 +[#5350]: https://github.com/tokio-rs/tokio/pull/5350 +[#5351]: https://github.com/tokio-rs/tokio/pull/5351 +[#5386]: https://github.com/tokio-rs/tokio/pull/5386 +[#5392]: https://github.com/tokio-rs/tokio/pull/5392 +[#5394]: https://github.com/tokio-rs/tokio/pull/5394 +[#5410]: https://github.com/tokio-rs/tokio/pull/5410 +[#5413]: https://github.com/tokio-rs/tokio/pull/5413 +[#5422]: https://github.com/tokio-rs/tokio/pull/5422 +[#5434]: https://github.com/tokio-rs/tokio/pull/5434 +[#5448]: https://github.com/tokio-rs/tokio/pull/5448 +[#5452]: https://github.com/tokio-rs/tokio/pull/5452 +[#5458]: https://github.com/tokio-rs/tokio/pull/5458 +[#5459]: https://github.com/tokio-rs/tokio/pull/5459 +[#5464]: https://github.com/tokio-rs/tokio/pull/5464 +[#5468]: https://github.com/tokio-rs/tokio/pull/5468 +[#5469]: https://github.com/tokio-rs/tokio/pull/5469 +[#5471]: https://github.com/tokio-rs/tokio/pull/5471 +[#5474]: https://github.com/tokio-rs/tokio/pull/5474 +[#5475]: https://github.com/tokio-rs/tokio/pull/5475 +[#5477]: https://github.com/tokio-rs/tokio/pull/5477 +[#5480]: https://github.com/tokio-rs/tokio/pull/5480 +[#5481]: https://github.com/tokio-rs/tokio/pull/5481 +[#5483]: https://github.com/tokio-rs/tokio/pull/5483 +[#5486]: https://github.com/tokio-rs/tokio/pull/5486 +[#5493]: https://github.com/tokio-rs/tokio/pull/5493 +[#5494]: https://github.com/tokio-rs/tokio/pull/5494 +[#5497]: https://github.com/tokio-rs/tokio/pull/5497 +[#5504]: https://github.com/tokio-rs/tokio/pull/5504 +[#5506]: https://github.com/tokio-rs/tokio/pull/5506 +[#5507]: https://github.com/tokio-rs/tokio/pull/5507 +[#5509]: https://github.com/tokio-rs/tokio/pull/5509 +[#5511]: https://github.com/tokio-rs/tokio/pull/5511 +[#5513]: https://github.com/tokio-rs/tokio/pull/5513 +[#5517]: https://github.com/tokio-rs/tokio/pull/5517 + # 1.25.0 (January 28, 2023) ### Fixed diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 3087c3318e5..ae64fd5cff7 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.25.0" +version = "1.26.0" edition = "2018" rust-version = "1.49" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 462e6e8b0b7..22834866564 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.25.0", features = ["full"] } +tokio = { version = "1.26.0", features = ["full"] } ``` Then, on your main.rs: