Skip to content

Commit 1df874e

Browse files
authored
chore: prepare Tokio v1.27.0 (#5584)
1 parent 614fe35 commit 1df874e

File tree

4 files changed

+52
-3
lines changed

4 files changed

+52
-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.26.0", features = ["full"] }
59+
tokio = { version = "1.27.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
# 1.27.0 (March 27th, 2023)
2+
3+
This release bumps the MSRV of Tokio to 1.56. ([#5559])
4+
5+
### Added
6+
7+
- io: add `async_io` helper method to sockets ([#5512])
8+
- io: add implementations of `AsFd`/`AsHandle`/`AsSocket` ([#5514], [#5540])
9+
- net: add `UdpSocket::peek_sender()` ([#5520])
10+
- sync: add `RwLockWriteGuard::{downgrade_map, try_downgrade_map}` ([#5527])
11+
- task: add `JoinHandle::abort_handle` ([#5543])
12+
13+
### Changed
14+
15+
- io: use `memchr` from `libc` ([#5558])
16+
- macros: accept path as crate rename in `#[tokio::main]` ([#5557])
17+
- macros: update to syn 2.0.0 ([#5572])
18+
- time: don't register for a wakeup when `Interval` returns `Ready` ([#5553])
19+
20+
### Fixed
21+
22+
- fs: fuse std iterator in `ReadDir` ([#5555])
23+
- tracing: fix `spawn_blocking` location fields ([#5573])
24+
- time: clean up redundant check in `Wheel::poll()` ([#5574])
25+
26+
### Documented
27+
28+
- macros: define cancellation safety ([#5525])
29+
- io: add details to docs of `tokio::io::copy[_buf]` ([#5575])
30+
- io: refer to `ReaderStream` and `StreamReader` in module docs ([#5576])
31+
32+
[#5512]: https://github.com/tokio-rs/tokio/pull/5512
33+
[#5514]: https://github.com/tokio-rs/tokio/pull/5514
34+
[#5520]: https://github.com/tokio-rs/tokio/pull/5520
35+
[#5525]: https://github.com/tokio-rs/tokio/pull/5525
36+
[#5527]: https://github.com/tokio-rs/tokio/pull/5527
37+
[#5540]: https://github.com/tokio-rs/tokio/pull/5540
38+
[#5543]: https://github.com/tokio-rs/tokio/pull/5543
39+
[#5553]: https://github.com/tokio-rs/tokio/pull/5553
40+
[#5555]: https://github.com/tokio-rs/tokio/pull/5555
41+
[#5557]: https://github.com/tokio-rs/tokio/pull/5557
42+
[#5558]: https://github.com/tokio-rs/tokio/pull/5558
43+
[#5559]: https://github.com/tokio-rs/tokio/pull/5559
44+
[#5572]: https://github.com/tokio-rs/tokio/pull/5572
45+
[#5573]: https://github.com/tokio-rs/tokio/pull/5573
46+
[#5574]: https://github.com/tokio-rs/tokio/pull/5574
47+
[#5575]: https://github.com/tokio-rs/tokio/pull/5575
48+
[#5576]: https://github.com/tokio-rs/tokio/pull/5576
49+
150
# 1.26.0 (March 1st, 2023)
251

352
### Fixed

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.26.0"
9+
version = "1.27.0"
1010
edition = "2021"
1111
rust-version = "1.56"
1212
authors = ["Tokio Contributors <[email protected]>"]

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.26.0", features = ["full"] }
59+
tokio = { version = "1.27.0", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)