| 
 | 1 | +# 0.6.0  | 
 | 2 | + | 
 | 3 | +## Breaking changes  | 
 | 4 | + | 
 | 5 | +All IPv4 methods now have a `_v4` suffix, IPv6 uses `_v6`. TCP methods have a  | 
 | 6 | +`tcp_` prefix (looked better than a suffix).  | 
 | 7 | + | 
 | 8 | +Furthermore we removed all types from external libraries (i.e. libc or  | 
 | 9 | +windows-sys) from the public API, allowing us to update those without breaking  | 
 | 10 | +the API.  | 
 | 11 | + | 
 | 12 | +* Renamed `Socket::freebind_ipv6` to `freebind_v6`  | 
 | 13 | +  (https://github.com/rust-lang/socket2/pull/592).  | 
 | 14 | +* Renamed `Socket::freebind` to `freebind_v4`  | 
 | 15 | +  (https://github.com/rust-lang/socket2/pull/592).  | 
 | 16 | +* Renamed `Socket::original_dst` to `original_dst_v4`  | 
 | 17 | +  (https://github.com/rust-lang/socket2/pull/592).  | 
 | 18 | +* Renamed `Socket::original_dst_ipv6` to `original_dst_v6`  | 
 | 19 | +  (https://github.com/rust-lang/socket2/pull/592).  | 
 | 20 | +* Bump MSRV to 1.70  | 
 | 21 | +  (https://github.com/rust-lang/socket2/pull/597).  | 
 | 22 | +* Use `c_int` from `std::ffi` instead of from libc  | 
 | 23 | +  (https://github.com/rust-lang/socket2/pull/599,  | 
 | 24 | +  https://github.com/rust-lang/socket2/pull/595).  | 
 | 25 | +* `SockAddr`'s methods now accept/return `SockAddrStorage` instead of  | 
 | 26 | +  `sockaddr_storage`/`SOCKADDR_STORAGE`  | 
 | 27 | +  (https://github.com/rust-lang/socket2/pull/576):  | 
 | 28 | +  * `new`  | 
 | 29 | +  * `try_init`  | 
 | 30 | +  * `as_ptr`  | 
 | 31 | +  * `as_storage`  | 
 | 32 | +* Add `SockFilter`, wrapper around `libc::sock_filter`, argument to  | 
 | 33 | +  `Socket::attach_filter`  | 
 | 34 | +  (https://github.com/rust-lang/socket2/pull/581).  | 
 | 35 | +* Various renames of TCP methods on `Socket`  | 
 | 36 | +  (https://github.com/rust-lang/socket2/pull/592):  | 
 | 37 | +  * `keepalive_time` -> `tcp_keepalive_time`  | 
 | 38 | +  * `keepalive_interval` -> `tcp_keepalive_interval`  | 
 | 39 | +  * `keepalive_retries` -> `tcp_keepalive_retries`  | 
 | 40 | +  * `nodelay` -> `tcp_nodelay`  | 
 | 41 | +  * `set_nodelay` -> `tcp_set_nodelay`  | 
 | 42 | +  * `tcp_mss` -> `mss`  | 
 | 43 | +  * `tcp_set_mss` -> `set_mss`  | 
 | 44 | +  * `tcp_cork` -> `cork`  | 
 | 45 | +  * `tcp_set_cork` -> `set_cork`  | 
 | 46 | +  * `tcp_quickack` -> `quickack`  | 
 | 47 | +  * `tcp_set_quickack` -> `set_quickack`  | 
 | 48 | +  * `thin_linear_timeouts` -> `tcp_thin_linear_timeouts`.  | 
 | 49 | + | 
 | 50 | +## Non-breaking changes  | 
 | 51 | + | 
 | 52 | +* Added `Socket::(set_)priority`  | 
 | 53 | +  (https://github.com/rust-lang/socket2/pull/588).  | 
 | 54 | +* Added TCP retries on Windows  | 
 | 55 | +  (https://github.com/rust-lang/socket2/pull/557).  | 
 | 56 | +* Added `SockAddrStorage`, wrapper around `sockaddr_storage`/`SOCKADDR_STORAGE`  | 
 | 57 | +  for usage with `SockAddr` (instead of the types from libc/windows-sys)  | 
 | 58 | +  (https://github.com/rust-lang/socket2/pull/576).  | 
 | 59 | +* Implemented `Socket::bind_device_by_index_{v4,v6}` on Android and Linux  | 
 | 60 | +  (https://github.com/rust-lang/socket2/pull/572).  | 
 | 61 | +* Implemented `Copy` and `Clone` for `InterfaceIndexOrAddress`  | 
 | 62 | +  (https://github.com/rust-lang/socket2/pull/571).  | 
 | 63 | +* Updated to Windows-sys v0.59  | 
 | 64 | +  (https://github.com/rust-lang/socket2/pull/579).  | 
 | 65 | +* We now use `OwnedFd`/`OwnedSocket` internally for `Socket`  | 
 | 66 | +  (https://github.com/rust-lang/socket2/pull/600).  | 
 | 67 | + | 
1 | 68 | # 0.5.10  | 
2 | 69 | 
 
  | 
3 | 70 | * Add cygwin support  | 
 | 
0 commit comments