From af278be8636c20d94e5994312c6895a62e6a7a93 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sun, 9 Jun 2024 16:56:52 +0200 Subject: [PATCH] Add changelog for v1 As v1 is not yet released this may be incomplete. --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfb2b9baf..02b4b3335 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,43 @@ +# 1.0 + +With v1 Mio is able to bump it's MSRV, allowing us to implement I/O safety +traits (https://github.com/rust-lang/rust/issues/87074) and replace `SocketAddr` +with the version found in the standard library. + +## Added + +* Implement `AsFd` for`TcpListener`, `TcpStream`, `UdpSocket`, `UnixDatagram`, + `UnixListener`, `UnixStream`, `pipe::Receiver` and `pipe::Sender` + (https://github.com/tokio-rs/mio/pull/1749, https://github.com/tokio-rs/mio/pull/1797). +* Implement `From` for `TcpListener`, `TcpStream`, `UdpSocket`, `UnixDatagram`, + `UnixListener`, and `UnixStream` for their standard library counterpart + (https://github.com/tokio-rs/mio/pull/1767). +* Add support for abstract namespaces on Android + (https://github.com/tokio-rs/mio/pull/1749). +* Add support for QNX OS + (https://github.com/tokio-rs/mio/pull/1766). + +## Removed + +* The `SocketAddr` type is removed in favour of `std::os::unix::net::SocketAddr` + (https://github.com/tokio-rs/mio/pull/1760). + +## Changes + +* MSRV was updated to 1.74, updating to Rust edition edition + (https://github.com/tokio-rs/mio/pull/1733). +* `UnixDatagram::{local_addr,peer_addr,bind_addr,recv_from}`, + `UnixListener::{local_addr,bind_addr,accept}` and + `UnixStream::{local_addr,peer_addr,connect_addr}` return and/or use + `std::os::unix::net::SocketAddr` instead of Mio's own `SocketAddr` type + (https://github.com/tokio-rs/mio/pull/1760). +* Use `OwnedFd` internally for `Poll` where possible + (https://github.com/tokio-rs/mio/pull/1749). +* Support ESP-IDF and Hermit without cfg flags + (https://github.com/tokio-rs/mio/pull/1789). +* Updated windows-sys to v0.52 + (https://github.com/tokio-rs/mio/pull/1668). + # 0.8.11 * Fix receiving IOCP events after deregistering a Windows named pipe