Skip to content

Commit f21d596

Browse files
authored
chore: prepare Tokio v1.28.0 (#5650)
1 parent 66c62a4 commit f21d596

File tree

4 files changed

+50
-3
lines changed

4 files changed

+50
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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.27.0", features = ["full"] }
59+
tokio = { version = "1.28.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
# 1.28.0 (April 25th, 2023)
2+
3+
### Added
4+
5+
- io: add `AsyncFd::async_io` ([#5542])
6+
- io: impl BufMut for ReadBuf ([#5590])
7+
- net: add `recv_buf` for `UdpSocket` and `UnixDatagram` ([#5583])
8+
- sync: add `OwnedSemaphorePermit::semaphore` ([#5618])
9+
- sync: add `same_channel` to broadcast channel ([#5607])
10+
- sync: add `watch::Receiver::wait_for` ([#5611])
11+
- task: add `JoinSet::spawn_blocking` and `JoinSet::spawn_blocking_on` ([#5612])
12+
13+
### Changed
14+
15+
- deps: update windows-sys to 0.48 ([#5591])
16+
- io: make `read_to_end` not grow unnecessarily ([#5610])
17+
- macros: make entrypoints more efficient ([#5621])
18+
- sync: improve Debug impl for `RwLock` ([#5647])
19+
- sync: reduce contention in `Notify` ([#5503])
20+
21+
### Fixed
22+
23+
- net: support `get_peer_cred` on AIX ([#5065])
24+
- sync: avoid deadlocks in `broadcast` with custom wakers ([#5578])
25+
26+
### Documented
27+
28+
- sync: fix typo in `Semaphore::MAX_PERMITS` ([#5645])
29+
- sync: fix typo in `tokio::sync::watch::Sender` docs ([#5587])
30+
31+
[#5065]: https://github.com/tokio-rs/tokio/pull/5065
32+
[#5503]: https://github.com/tokio-rs/tokio/pull/5503
33+
[#5542]: https://github.com/tokio-rs/tokio/pull/5542
34+
[#5578]: https://github.com/tokio-rs/tokio/pull/5578
35+
[#5583]: https://github.com/tokio-rs/tokio/pull/5583
36+
[#5587]: https://github.com/tokio-rs/tokio/pull/5587
37+
[#5590]: https://github.com/tokio-rs/tokio/pull/5590
38+
[#5591]: https://github.com/tokio-rs/tokio/pull/5591
39+
[#5607]: https://github.com/tokio-rs/tokio/pull/5607
40+
[#5610]: https://github.com/tokio-rs/tokio/pull/5610
41+
[#5611]: https://github.com/tokio-rs/tokio/pull/5611
42+
[#5612]: https://github.com/tokio-rs/tokio/pull/5612
43+
[#5618]: https://github.com/tokio-rs/tokio/pull/5618
44+
[#5621]: https://github.com/tokio-rs/tokio/pull/5621
45+
[#5645]: https://github.com/tokio-rs/tokio/pull/5645
46+
[#5647]: https://github.com/tokio-rs/tokio/pull/5647
47+
148
# 1.27.0 (March 27th, 2023)
249

350
This release bumps the MSRV of Tokio to 1.56. ([#5559])

tokio/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.27.0"
9+
version = "1.28.0"
1010
edition = "2021"
1111
rust-version = "1.56"
1212
authors = ["Tokio Contributors <team@tokio.rs>"]

tokio/README.md

Lines changed: 1 addition & 1 deletion
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.27.0", features = ["full"] }
59+
tokio = { version = "1.28.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)