|
| 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 | + |
1 | 50 | # 1.26.0 (March 1st, 2023) |
2 | 51 |
|
3 | 52 | ### Fixed |
|
0 commit comments