Skip to content

Commit d491f87

Browse files
authored
Edit CHANGELOG (#2109)
* Add entry for 0.26.3, released from a separate branch * Reorder some entries, and tweak a few for consistency. * Change the crate version to 0.26.3
1 parent a2a9a71 commit d491f87

File tree

2 files changed

+40
-36
lines changed

2 files changed

+40
-36
lines changed

CHANGELOG.md

Lines changed: 39 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,35 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2828
([#2085](https://github.com/nix-rust/nix/pull/2085))
2929
- Added `SO_RTABLE` for OpenBSD and `SO_ACCEPTFILTER` for FreeBSD/NetBSD to `nix::sys::socket::sockopt`.
3030
([#2085](https://github.com/nix-rust/nix/pull/2085))
31-
- Removed `flock` from `::nix::fcntl` on Solaris. ([#2082](https://github.com/nix-rust/nix/pull/2082))
32-
- Use I/O safety with `copy_file_range`, and expose it on FreeBSD.
33-
(#[1906](https://github.com/nix-rust/nix/pull/1906))
3431
- Added `MSG_WAITFORONE` to `MsgFlags` on Android, Fuchsia, Linux, NetBSD,
3532
FreeBSD, OpenBSD, and Solaris.
3633
([#2014](https://github.com/nix-rust/nix/pull/2014))
3734
- Added `SO_TS_CLOCK` for FreeBSD to `nix::sys::socket::sockopt`.
3835
([#2093](https://github.com/nix-rust/nix/pull/2093))
3936
- Added support for prctl in Linux.
4037
(#[1550](https://github.com/nix-rust/nix/pull/1550))
41-
38+
- `nix::socket` and `nix::select` are now available on Redox.
39+
([#2012](https://github.com/nix-rust/nix/pull/2012))
40+
- Implemented AsFd, AsRawFd, FromRawFd, and IntoRawFd for `mqueue::MqdT`.
41+
([#2097](https://github.com/nix-rust/nix/pull/2097))
42+
- Add the ability to set `kevent_flags` on `SigEvent`.
43+
([#1731](https://github.com/nix-rust/nix/pull/1731))
4244

4345
### Changed
4446

47+
- All Cargo features have been removed from the default set. Users will need to
48+
specify which features they depend on in their Cargo.toml.
49+
([#2091](https://github.com/nix-rust/nix/pull/2091))
50+
- Implemented I/O safety for many, but not all, of Nix's APIs. Many public
51+
functions argument and return types have changed:
52+
| Original Type | New Type |
53+
| ------------- | --------------------- |
54+
| AsRawFd | AsFd |
55+
| RawFd | BorrowedFd or OwnedFd |
56+
57+
(#[1906](https://github.com/nix-rust/nix/pull/1906))
58+
- Use I/O safety with `copy_file_range`, and expose it on FreeBSD.
59+
(#[1906](https://github.com/nix-rust/nix/pull/1906))
4560
- The MSRV is now 1.65
4661
([#1862](https://github.com/nix-rust/nix/pull/1862))
4762
([#2104](https://github.com/nix-rust/nix/pull/2104))
@@ -50,30 +65,31 @@ This project adheres to [Semantic Versioning](https://semver.org/).
5065
- With I/O-safe type applied in `pty::OpenptyResult` and `pty::ForkptyResult`,
5166
users no longer need to manually close the file descriptors in these types.
5267
([#1921](https://github.com/nix-rust/nix/pull/1921))
68+
- Refactored `name` parameter of `mq_open` and `mq_unlink` to be generic over
69+
`NixPath`.
70+
([#2102](https://github.com/nix-rust/nix/pull/2102)).
71+
- Made `clone` unsafe, like `fork`.
72+
([#1993](https://github.com/nix-rust/nix/pull/1993))
73+
74+
### Removed
75+
5376
- `sys::event::{kevent, kevent_ts}` are deprecated in favor of
5477
`sys::kevent::Kqueue::kevent`, and `sys::event::kqueue` is deprecated in
5578
favor of `sys::kevent::Kqueue::new`.
5679
([#1943](https://github.com/nix-rust/nix/pull/1943))
57-
- `nix::socket` and `nix::select` are now available on Redox.
58-
([#2012](https://github.com/nix-rust/nix/pull/2012))
59-
- All features have been removed from the default set. Users will need to specify
60-
which features they depend on in their Cargo.toml.
61-
([#2091](https://github.com/nix-rust/nix/pull/2091))
62-
63-
- Implemented I/O safety. Many public functions argument and return types have
64-
changed:
65-
| Original Type | New Type |
66-
| ------------- | --------------------- |
67-
| AsRawFd | AsFd |
68-
| RawFd | BorrowedFd or OwnedFd |
80+
- Removed deprecated IoVec API.
81+
([#1855](https://github.com/nix-rust/nix/pull/1855))
82+
- Removed deprecated net APIs.
83+
([#1861](https://github.com/nix-rust/nix/pull/1861))
84+
- `nix::sys::signalfd::signalfd` is deprecated. Use
85+
`nix::sys::signalfd::SignalFd` instead.
86+
([#1938](https://github.com/nix-rust/nix/pull/1938))
87+
- Removed `SigEvent` support on Fuchsia, where it was unsound.
88+
([#2079](https://github.com/nix-rust/nix/pull/2079))
89+
- Removed `flock` from `::nix::fcntl` on Solaris.
90+
([#2082](https://github.com/nix-rust/nix/pull/2082))
6991

70-
(#[1906](https://github.com/nix-rust/nix/pull/1906))
71-
- Implemented AsFd, AsRawFd, FromRawFd, and IntoRawFd for `mqueue::MqdT`.
72-
See ([#2097](https://github.com/nix-rust/nix/pull/2097))
73-
- Refactored `name` parameter of `mq_open` and `mq_unlink` to be generic over
74-
`NixPath`. See ([#2102](https://github.com/nix-rust/nix/pull/2102)).
75-
- Made `clone` unsafe, like `fork`.
76-
([#1993](https://github.com/nix-rust/nix/pull/1993))
92+
## [0.26.3] - 2023-08-27
7793

7894
### Fixed
7995
- Fix: send `ETH_P_ALL` in htons format
@@ -88,18 +104,6 @@ This project adheres to [Semantic Versioning](https://semver.org/).
88104
- Fixed an incorrect lifetime returned from `recvmsg`.
89105
([#2095](https://github.com/nix-rust/nix/pull/2095))
90106

91-
### Removed
92-
93-
- Removed deprecated IoVec API.
94-
([#1855](https://github.com/nix-rust/nix/pull/1855))
95-
- Removed deprecated net APIs.
96-
([#1861](https://github.com/nix-rust/nix/pull/1861))
97-
- `nix::sys::signalfd::signalfd` is deprecated. Use
98-
`nix::sys::signalfd::SignalFd` instead.
99-
([#1938](https://github.com/nix-rust/nix/pull/1938))
100-
- Removed `SigEvent` support on Fuchsia, where it was unsound.
101-
([#2079](https://github.com/nix-rust/nix/pull/2079))
102-
103107
## [0.26.2] - 2023-01-18
104108

105109
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "nix"
33
description = "Rust friendly bindings to *nix APIs"
44
edition = "2021"
5-
version = "0.26.1"
5+
version = "0.26.3"
66
rust-version = "1.65"
77
authors = ["The nix-rust Project Developers"]
88
repository = "https://github.com/nix-rust/nix"

0 commit comments

Comments
 (0)