-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use towncrier for CHANGELOG (#2149)
- Loading branch information
Showing
20 changed files
with
86 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Do not remove this file. This is used to keep the `changelog` dir around after | ||
generating new changelog file. | ||
|
||
Without this, `towncrier` would remove the changelog files as well as the | ||
directory if it is empty. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix `SigSet` incorrect implementation of `Eq`, `PartialEq` and `Hash` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Added `impl From<Signal> for SigSet`. | ||
- Added `impl std::ops::BitOr for SigSet`. | ||
- Added `impl std::ops::BitOr for Signal`. | ||
- Added `impl std::ops::BitOr<Signal> for SigSet` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Added `Ipv6HopLimit` to `::nix::sys::socket::ControlMessage` for Linux, | ||
MacOS, FreeBSD, DragonflyBSD, Android, iOS and Haiku. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added `Icmp` and `IcmpV6` to `SockProtocol` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Simplified the function signatures of `recvmmsg` and `sendmmsg` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed the function signature of `recvmmsg`, potentially causing UB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
`PollFd::new` now takes a `BorrowedFd` argument, with relaxed lifetime | ||
requirements relative to the previous version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
`FdSet::{insert, remove, contains}` now take `BorrowedFd` arguments, and have | ||
relaxed lifetime requirements relative to 0.27.1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The following APIs now take an implementation of `AsFd` rather than a | ||
`RawFd`: | ||
|
||
- `unistd::tcgetpgrp` | ||
- `unistd::tcsetpgrp` | ||
- `unistd::fpathconf` | ||
- `unistd::ttyname` | ||
- `unistd::getpeereid` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Changed `openat()` and `Dir::openat()`, now take optional `dirfd`s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix `SignalFd::set_mask`. In 0.27.0 it would actually close the file descriptor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added `F_GETPATH` FcntlFlags entry on Apple/NetBSD/DragonflyBSD for `::nix::fcntl`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The MSRV is now 1.69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added `F_KINFO` FcntlFlags entry on FreeBSD for `::nix::fcntl`. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# towncrier configuration document: | ||
# https://towncrier.readthedocs.io/en/stable/configuration.html | ||
|
||
[tool.towncrier] | ||
# Read news fragments from this directory | ||
directory = "changelog" | ||
# Concatenate fragments, and prepend to this file | ||
filename = "CHANGELOG.md" | ||
title_format = "## [{version}] - {project_date}" | ||
# Used to disable towncrier's "=====" title header | ||
underlines = ["", "", ""] | ||
# Wrap news fragments to a line length of 79 | ||
wrap = true | ||
# Every news fragement under the `changelog` directory is named "<id>.<type>.md", | ||
# this `id` field, is called issue/ticket number in towncrier's term | ||
# `issue_format` controls how this will be rendered in the final CHANGELOG | ||
# We use this for Pull Request even though it is called "issue" | ||
issue_format = "[#{issue}](https://github.com/nix-rust/nix/pull/{issue})" | ||
# Ask towncrier to add new notes after this | ||
start_string = "# Change Log\n" | ||
|
||
# nix's change log typs (in alphabetical order) | ||
# These types will be capitalized by default. | ||
[tool.towncrier.fragment.added] | ||
[tool.towncrier.fragment.changed] | ||
[tool.towncrier.fragment.fixed] | ||
[tool.towncrier.fragment.removed] |