Skip to content

Commit a377240

Browse files
authored
chore: prepare for Tokio v1.26.0 release (#5521)
# 1.26.0 (March 1st, 2023) ### Fixed - macros: fix empty `join!` and `try_join!` ([#5504]) - 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]) ### Added - fs: add `fs::try_exists` ([#4299]) - net: add types for named unix pipes ([#5351]) - sync: add `MappedOwnedMutexGuard` ([#5474]) ### Changed - chore: update windows-sys to 0.45 ([#5386]) - net: use Message Read Mode for named pipes ([#5350]) - 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 - io: use `poll_fn` in `copy_bidirectional` ([#5486]) - net: refactor named pipe builders to not use bitfields ([#5477]) - rt: remove Arc from Clock ([#5434]) - sync: make `notify_waiters` calls atomic ([#5458]) - time: don't store deadline twice in sleep entries ([#5410]) ### Unstable - metrics: add a new metric for budget exhaustion yields ([#5517]) ### Documented - io: improve AsyncFd example ([#5481]) - runtime: document the nature of the main future ([#5494]) - runtime: remove extra period in docs ([#5511]) - signal: updated Documentation for Signals ([#5459]) - sync: add doc aliases for `blocking_*` methods ([#5448]) - sync: fix docs for Send/Sync bounds in broadcast ([#5480]) - sync: document drop behavior for channels ([#5497]) - task: clarify what happens to spawned work during runtime shutdown ([#5394]) - task: clarify `process::Command` docs ([#5413]) - task: fix wording with 'unsend' ([#5452]) - time: document immediate completion guarantee for timeouts ([#5509]) - tokio: document supported platforms ([#5483]) [#4299]: #4299 [#5350]: #5350 [#5351]: #5351 [#5386]: #5386 [#5394]: #5394 [#5410]: #5410 [#5413]: #5413 [#5422]: #5422 [#5434]: #5434 [#5448]: #5448 [#5452]: #5452 [#5458]: #5458 [#5459]: #5459 [#5464]: #5464 [#5468]: #5468 [#5469]: #5469 [#5471]: #5471 [#5474]: #5474 [#5475]: #5475 [#5477]: #5477 [#5480]: #5480 [#5481]: #5481 [#5483]: #5483 [#5486]: #5486 [#5494]: #5494 [#5497]: #5497 [#5504]: #5504 [#5509]: #5509 [#5511]: #5511 [#5513]: #5513 [#5517]: #5517
1 parent 52da177 commit a377240

File tree

4 files changed

+86
-3
lines changed

4 files changed

+86
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.25.0", features = ["full"] }
59+
tokio = { version = "1.26.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

+83
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
1+
# 1.26.0 (March 1st, 2023)
2+
3+
### Fixed
4+
5+
- macros: fix empty `join!` and `try_join!` ([#5504])
6+
- sync: don't leak tracing spans in mutex guards ([#5469])
7+
- sync: drop wakers after unlocking the mutex in Notify ([#5471])
8+
- sync: drop wakers outside lock in semaphore ([#5475])
9+
10+
### Added
11+
12+
- fs: add `fs::try_exists` ([#4299])
13+
- net: add types for named unix pipes ([#5351])
14+
- sync: add `MappedOwnedMutexGuard` ([#5474])
15+
16+
### Changed
17+
18+
- chore: update windows-sys to 0.45 ([#5386])
19+
- net: use Message Read Mode for named pipes ([#5350])
20+
- sync: mark lock guards with `#[clippy::has_significant_drop]` ([#5422])
21+
- sync: reduce contention in watch channel ([#5464])
22+
- time: remove cache padding in timer entries ([#5468])
23+
- time: Improve `Instant::now()` perf with test-util ([#5513])
24+
25+
### Internal Changes
26+
27+
- io: use `poll_fn` in `copy_bidirectional` ([#5486])
28+
- net: refactor named pipe builders to not use bitfields ([#5477])
29+
- rt: remove Arc from Clock ([#5434])
30+
- sync: make `notify_waiters` calls atomic ([#5458])
31+
- time: don't store deadline twice in sleep entries ([#5410])
32+
33+
### Unstable
34+
35+
- metrics: add a new metric for budget exhaustion yields ([#5517])
36+
37+
### Documented
38+
39+
- io: improve AsyncFd example ([#5481])
40+
- runtime: document the nature of the main future ([#5494])
41+
- runtime: remove extra period in docs ([#5511])
42+
- signal: updated Documentation for Signals ([#5459])
43+
- sync: add doc aliases for `blocking_*` methods ([#5448])
44+
- sync: fix docs for Send/Sync bounds in broadcast ([#5480])
45+
- sync: document drop behavior for channels ([#5497])
46+
- task: clarify what happens to spawned work during runtime shutdown ([#5394])
47+
- task: clarify `process::Command` docs ([#5413])
48+
- task: fix wording with 'unsend' ([#5452])
49+
- time: document immediate completion guarantee for timeouts ([#5509])
50+
- tokio: document supported platforms ([#5483])
51+
52+
[#4299]: https://github.com/tokio-rs/tokio/pull/4299
53+
[#5350]: https://github.com/tokio-rs/tokio/pull/5350
54+
[#5351]: https://github.com/tokio-rs/tokio/pull/5351
55+
[#5386]: https://github.com/tokio-rs/tokio/pull/5386
56+
[#5394]: https://github.com/tokio-rs/tokio/pull/5394
57+
[#5410]: https://github.com/tokio-rs/tokio/pull/5410
58+
[#5413]: https://github.com/tokio-rs/tokio/pull/5413
59+
[#5422]: https://github.com/tokio-rs/tokio/pull/5422
60+
[#5434]: https://github.com/tokio-rs/tokio/pull/5434
61+
[#5448]: https://github.com/tokio-rs/tokio/pull/5448
62+
[#5452]: https://github.com/tokio-rs/tokio/pull/5452
63+
[#5458]: https://github.com/tokio-rs/tokio/pull/5458
64+
[#5459]: https://github.com/tokio-rs/tokio/pull/5459
65+
[#5464]: https://github.com/tokio-rs/tokio/pull/5464
66+
[#5468]: https://github.com/tokio-rs/tokio/pull/5468
67+
[#5469]: https://github.com/tokio-rs/tokio/pull/5469
68+
[#5471]: https://github.com/tokio-rs/tokio/pull/5471
69+
[#5474]: https://github.com/tokio-rs/tokio/pull/5474
70+
[#5475]: https://github.com/tokio-rs/tokio/pull/5475
71+
[#5477]: https://github.com/tokio-rs/tokio/pull/5477
72+
[#5480]: https://github.com/tokio-rs/tokio/pull/5480
73+
[#5481]: https://github.com/tokio-rs/tokio/pull/5481
74+
[#5483]: https://github.com/tokio-rs/tokio/pull/5483
75+
[#5486]: https://github.com/tokio-rs/tokio/pull/5486
76+
[#5494]: https://github.com/tokio-rs/tokio/pull/5494
77+
[#5497]: https://github.com/tokio-rs/tokio/pull/5497
78+
[#5504]: https://github.com/tokio-rs/tokio/pull/5504
79+
[#5509]: https://github.com/tokio-rs/tokio/pull/5509
80+
[#5511]: https://github.com/tokio-rs/tokio/pull/5511
81+
[#5513]: https://github.com/tokio-rs/tokio/pull/5513
82+
[#5517]: https://github.com/tokio-rs/tokio/pull/5517
83+
184
# 1.25.0 (January 28, 2023)
285

386
### Fixed

tokio/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio"
66
# - README.md
77
# - Update CHANGELOG.md.
88
# - Create "v1.x.y" git tag.
9-
version = "1.25.0"
9+
version = "1.26.0"
1010
edition = "2018"
1111
rust-version = "1.49"
1212
authors = ["Tokio Contributors <[email protected]>"]

tokio/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.25.0", features = ["full"] }
59+
tokio = { version = "1.26.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)