Skip to content

Commit 1dad4d8

Browse files
committedMay 24, 2024·
chore: prepare for 0.29.0
1 parent f743197 commit 1dad4d8

31 files changed

+93
-47
lines changed
 

‎CHANGELOG.md

+92
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,98 @@ This project adheres to [Semantic Versioning](https://semver.org/).
33

44
# Change Log
55

6+
## [0.29.0] - 2024-05-24
7+
8+
9+
### Added
10+
11+
- Add `getregset()/setregset()` for Linux/glibc/x86/x86_64/aarch64/riscv64 and
12+
`getregs()/setregs()` for Linux/glibc/aarch64/riscv64
13+
([#2044](https://github.com/nix-rust/nix/pull/2044))
14+
- Add socket option Ipv6Ttl for apple targets.
15+
([#2287](https://github.com/nix-rust/nix/pull/2287))
16+
- Add socket option UtunIfname.
17+
([#2325](https://github.com/nix-rust/nix/pull/2325))
18+
- make SigAction repr(transparent) & can be converted to the libc raw type
19+
([#2326](https://github.com/nix-rust/nix/pull/2326))
20+
- Add `From` trait implementation for conversions between `sockaddr_in` and
21+
`SockaddrIn`, `sockaddr_in6` and `SockaddrIn6`
22+
([#2328](https://github.com/nix-rust/nix/pull/2328))
23+
- Add socket option ReusePortLb for FreeBSD.
24+
([#2332](https://github.com/nix-rust/nix/pull/2332))
25+
- Added support for openat2 on linux.
26+
([#2339](https://github.com/nix-rust/nix/pull/2339))
27+
- Add if_indextoname function.
28+
([#2340](https://github.com/nix-rust/nix/pull/2340))
29+
- Add `mount` and `unmount` API for apple targets.
30+
([#2347](https://github.com/nix-rust/nix/pull/2347))
31+
- Added `_PC_MIN_HOLE_SIZE` for `pathconf` and `fpathconf`.
32+
([#2349](https://github.com/nix-rust/nix/pull/2349))
33+
- Added `impl AsFd for pty::PtyMaster`
34+
([#2355](https://github.com/nix-rust/nix/pull/2355))
35+
- Add `open` flag `O_SEARCH` to AIX, Empscripten, FreeBSD, Fuchsia, solarish,
36+
WASI ([#2374](https://github.com/nix-rust/nix/pull/2374))
37+
- Add prctl function `prctl_set_vma_anon_name` for Linux/Android.
38+
([#2378](https://github.com/nix-rust/nix/pull/2378))
39+
- Add `sync(2)` for `apple_targets/solarish/haiku/aix/hurd`, `syncfs(2)` for
40+
`hurd` and `fdatasync(2)` for `aix/hurd`
41+
([#2379](https://github.com/nix-rust/nix/pull/2379))
42+
- Add fdatasync support for Apple targets.
43+
([#2380](https://github.com/nix-rust/nix/pull/2380))
44+
- Add `fcntl::OFlag::O_PATH` for FreeBSD and Fuchsia
45+
([#2382](https://github.com/nix-rust/nix/pull/2382))
46+
- Added `PathconfVar::MIN_HOLE_SIZE` for apple_targets.
47+
([#2388](https://github.com/nix-rust/nix/pull/2388))
48+
- Add `open` flag `O_SEARCH` to apple_targets
49+
([#2391](https://github.com/nix-rust/nix/pull/2391))
50+
- `O_DSYNC` may now be used with `aio_fsync` and `fcntl` on FreeBSD.
51+
([#2404](https://github.com/nix-rust/nix/pull/2404))
52+
- Added `Flock::relock` for upgrading and downgrading locks.
53+
([#2407](https://github.com/nix-rust/nix/pull/2407))
54+
55+
### Changed
56+
57+
- Change the `ForkptyResult` type to the following repr so that the
58+
uninitialized
59+
`master` field won't be accessed in the child process:
60+
61+
```rs
62+
pub enum ForkptyResult {
63+
Parent {
64+
child: Pid,
65+
master: OwnedFd,
66+
},
67+
Child,
68+
}
69+
``` ([#2315](https://github.com/nix-rust/nix/pull/2315))
70+
- Updated `cfg_aliases` dependency from version 0.1 to 0.2
71+
([#2322](https://github.com/nix-rust/nix/pull/2322))
72+
- Change the signature of `ptrace::write` and `ptrace::write_user` to make them
73+
safe ([#2324](https://github.com/nix-rust/nix/pull/2324))
74+
- Allow use of `SignalFd` through shared reference
75+
76+
Like with many other file descriptors, concurrent use of signalfds is safe.
77+
Changing the signal mask of and reading signals from a signalfd can now be
78+
done
79+
with the `SignalFd` API even if other references to it exist.
80+
([#2367](https://github.com/nix-rust/nix/pull/2367))
81+
- Changed tee, splice and vmsplice RawFd arguments to AsFd.
82+
([#2387](https://github.com/nix-rust/nix/pull/2387))
83+
- Added I/O safety to the sys/aio module. Most functions that previously
84+
accepted a `AsRawFd` argument now accept an `AsFd` instead.
85+
([#2401](https://github.com/nix-rust/nix/pull/2401))
86+
- `RecvMsg::cmsgs()` now returns a `Result`, and checks that cmsgs were not
87+
truncated. ([#2413](https://github.com/nix-rust/nix/pull/2413))
88+
89+
### Fixed
90+
91+
- No longer panics when the `fanotify` queue overflows.
92+
([#2399](https://github.com/nix-rust/nix/pull/2399))
93+
- Fixed ControlMessageOwned::UdpGroSegments wrapped type from u16 to i32 to
94+
reflect the used kernel's one.
95+
([#2406](https://github.com/nix-rust/nix/pull/2406))
96+
97+
698
## [0.28.0] - 2024-02-24
799

8100

‎Cargo.toml

+1-1
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.28.0"
5+
version = "0.29.0"
66
rust-version = "1.69"
77
authors = ["The nix-rust Project Developers"]
88
repository = "https://github.com/nix-rust/nix"

‎changelog/2044.added.md

-2
This file was deleted.

‎changelog/2287.added.md

-1
This file was deleted.

‎changelog/2315.changed.md

-12
This file was deleted.

‎changelog/2322.changed.md

-1
This file was deleted.

‎changelog/2324.changed.md

-1
This file was deleted.

‎changelog/2325.added.md

-1
This file was deleted.

‎changelog/2326.added.md

-1
This file was deleted.

‎changelog/2328.added.md

-1
This file was deleted.

‎changelog/2332.added.md

-1
This file was deleted.

‎changelog/2339.added.md

-1
This file was deleted.

‎changelog/2340.added.md

-1
This file was deleted.

‎changelog/2347.added.md

-1
This file was deleted.

‎changelog/2349.added.md

-1
This file was deleted.

‎changelog/2355.added.md

-1
This file was deleted.

‎changelog/2367.changed.md

-5
This file was deleted.

‎changelog/2374.added.md

-1
This file was deleted.

‎changelog/2378.added.md

-1
This file was deleted.

‎changelog/2379.added.md

-1
This file was deleted.

‎changelog/2380.added.md

-1
This file was deleted.

‎changelog/2382.added.md

-1
This file was deleted.

‎changelog/2387.changed.md

-1
This file was deleted.

‎changelog/2388.added.md

-1
This file was deleted.

‎changelog/2391.added.md

-1
This file was deleted.

‎changelog/2399.fixed.md

-1
This file was deleted.

‎changelog/2401.changed.md

-2
This file was deleted.

‎changelog/2404.added.md

-1
This file was deleted.

‎changelog/2406.fixed.md

-1
This file was deleted.

‎changelog/2407.added.md

-1
This file was deleted.

‎changelog/2413.changed.md

-1
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.