From c36941c3edcfa3085b146ed0e7de031322287b72 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Sun, 5 Nov 2023 13:20:12 +0800 Subject: [PATCH] chore: fix the changelog of #2151 --- CHANGELOG.md | 56 --------------------------------------- changelog/2151.changed.md | 2 ++ 2 files changed, 2 insertions(+), 56 deletions(-) create mode 100644 changelog/2151.changed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 515bce6d55..934d611e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,62 +1,6 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). -## [Unreleased] - ReleaseDate - -### Fixed -- Fix `SigSet` incorrect implementation of `Eq`, `PartialEq` and `Hash` - ([#1946](https://github.com/nix-rust/nix/pull/1946)) - -- Fixed the function signature of `recvmmsg`, potentially causing UB - ([#2119](https://github.com/nix-rust/nix/issues/2119)) - -- Fix `SignalFd::set_mask`. In 0.27.0 it would actually close the file - descriptor. - ([#2141](https://github.com/nix-rust/nix/pull/2141)) - -### Changed - -- Changed function `SockaddrIn::ip()` to return `net::Ipv4Addr` and - refactored `SocketAddrV6::ip()` to use `const` - ([#2151](https://github.com/nix-rust/nix/pull/2151)) - -- The MSRV is now 1.69 - ([#2144](https://github.com/nix-rust/nix/pull/2144)) - -- The following APIs now take an implementation of `AsFd` rather than a - `RawFd`: - - - `unistd::tcgetpgrp` - - `unistd::tcsetpgrp` - - `unistd::fpathconf` - - `unistd::ttyname` - - `unistd::getpeereid` - - ([#2137](https://github.com/nix-rust/nix/pull/2137)) - -- Changed `openat()` and `Dir::openat()`, now take optional `dirfd`s - ([#2139](https://github.com/nix-rust/nix/pull/2139)) - -- `PollFd::new` now takes a `BorrowedFd` argument, with relaxed lifetime - requirements relative to the previous version. - ([#2134](https://github.com/nix-rust/nix/pull/2134)) - -- `FdSet::{insert, remove, contains}` now take `BorrowedFd` arguments, and have - relaxed lifetime requirements relative to 0.27.1. - ([#2136](https://github.com/nix-rust/nix/pull/2136)) - -- Simplified the function signatures of `recvmmsg` and `sendmmsg` - -### Added -- Added `Icmp` and `IcmpV6` to `SockProtocol`. - (#[2103](https://github.com/nix-rust/nix/pull/2103)) - -- Added `F_GETPATH` FcntlFlags entry on Apple/NetBSD/DragonflyBSD for `::nix::fcntl`. - ([#2142](https://github.com/nix-rust/nix/pull/2142)) - -- Added `Ipv6HopLimit` to `::nix::sys::socket::ControlMessage` for Linux, - MacOS, FreeBSD, DragonflyBSD, Android, iOS and Haiku. - ([#2074](https://github.com/nix-rust/nix/pull/2074)) # Change Log ## [0.27.1] - 2023-08-28 diff --git a/changelog/2151.changed.md b/changelog/2151.changed.md new file mode 100644 index 0000000000..922acc820b --- /dev/null +++ b/changelog/2151.changed.md @@ -0,0 +1,2 @@ +Changed function `SockaddrIn::ip()` to return `net::Ipv4Addr` and refactored +`SocketAddrV6::ip()` to be `const`