Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.5.7 #511

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 25 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
# 0.5.7

* Added `Socket::(set_)passcred`
(https://github.com/rust-lang/socket2/pull/506).
* Added `RecvFlags::is_confirm` and `RecvFlags::is_dontroute`
(https://github.com/rust-lang/socket2/pull/499).
* Added `MsgHdrMut::control_len`
(https://github.com/rust-lang/socket2/pull/505).

# 0.5.6

* Add `Socket::(set_)multicast_all_v{4,6}`
* Added `Socket::(set_)multicast_all_v{4,6}`
(https://github.com/rust-lang/socket2/pull/485 and
Comment on lines -3 to 13
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to change a convention for the changelog. You don't want a separate PR for that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes the convention consistent, we use both Add and Added before. I put it in a separate commit, which I'm not squashing, so I think it's fine.

(https://github.com/rust-lang/socket2/pull/486).
* Add support for GNU/Hurd
https://github.com/rust-lang/socket2/pull/486).
* Added support for GNU/Hurd
(https://github.com/rust-lang/socket2/pull/474).
* Fix compilation on Haiku
* Fixes compilation on Haiku
(https://github.com/rust-lang/socket2/pull/479 and
(https://github.com/rust-lang/socket2/pull/482).
* Fix compilation on OpenHarmony
https://github.com/rust-lang/socket2/pull/482).
* Fixes compilation on OpenHarmony
(https://github.com/rust-lang/socket2/pull/491).
* Update to window-sys v0.52
(https://github.com/rust-lang/socket2/pull/480).

# 0.5.5

* Add support for Vita
* Added support for Vita
(https://github.com/rust-lang/socket2/pull/465).

# 0.5.4
Expand All @@ -35,7 +44,7 @@
(https://github.com/rust-lang/socket2/pull/442).
* Added `Protocol::DIVERT` on FreeBSD and OpenBSD
(https://github.com/rust-lang/socket2/pull/448).
* Add `Socket::protocol` for Windows (using `WSAPROTOCOL_INFOW`)
* Added `Socket::protocol` for Windows (using `WSAPROTOCOL_INFOW`)
(https://github.com/rust-lang/socket2/pull/470).
* `From<SocketAddrV{4,6}>` for `SockAddr ` nows sets `ss_len` on platforms that
have the fields (most BSDs)
Expand All @@ -53,7 +62,7 @@

# 0.5.2

* Add Unix socket methods to `SockAddr`
* Added Unix socket methods to `SockAddr`
(https://github.com/rust-lang/socket2/pull/403 and
https://github.com/rust-lang/socket2/pull/429).
* Added `SockAddr::as_storage`
Expand Down Expand Up @@ -167,9 +176,9 @@

* Fixed compilation with the `all` on QNX Neutrino
(https://github.com/rust-lang/socket2/pull/419).
* Add support for ESP-IDF
* Added support for ESP-IDF
(https://github.com/rust-lang/socket2/pull/455).
* Add support for Vita
* Added support for Vita
(https://github.com/rust-lang/socket2/pull/475).

# 0.4.9
Expand All @@ -181,7 +190,7 @@

This release was broken for Windows.

* Add `Socket::peek_sender` (backport)
* Added `Socket::peek_sender` (backport)
(https://github.com/rust-lang/socket2/pull/404).

# 0.4.7
Expand All @@ -200,7 +209,7 @@ This release was broken for Windows.
(https://github.com/rust-lang/socket2/pull/307).
* Derive Clone for SockAddr
(https://github.com/rust-lang/socket2/pull/311).
* Fix cfg attributes for Fuchsia
* Fixes cfg attributes for Fuchsia
(https://github.com/rust-lang/socket2/pull/314).

# 0.4.5 (yanked)
Expand All @@ -219,7 +228,7 @@ This release was broken for Windows.

## Fixed

* Fix OpenBSD build
* OpenBSD build
(https://github.com/rust-lang/socket2/pull/291).

# 0.4.4
Expand Down Expand Up @@ -264,13 +273,13 @@ This release was broken for Windows.

## Added

* Add `SockAddr::new`
* Added `SockAddr::new`
* Support for `TCP_USER_TIMEOUT`.
* Support for `IP_BOUND_IF`.
* Support for `IP_TRANSPARENT`.
* Enable `Socket::type` on all platforms.
* Support for uclibc (for Haiku support).
* Add DragonFly support for TCP keepalive (`KEEPINTVL`/`KEEPCNT`).
* Added DragonFly support for TCP keepalive (`KEEPINTVL`/`KEEPCNT`).
* Documentation for proper use of `SockRef::from`, and the improper use.
* Assertion in `SockRef::from` to ensure the raw socket valid.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "socket2"
version = "0.5.6"
version = "0.5.7"
authors = [
"Alex Crichton <[email protected]>",
"Thomas de Zeeuw <[email protected]>"
Expand Down