v/0.15.0
版本发布时间: 2023-07-07 22:48:08
rustls/rustls最新发布版本:v/0.23.15(2024-10-16 21:21:05)
- Update dependencies.
-
Breaking API change: ALPN protocols are now encoded as a
Vec<u8>
, not aString
. This alters the type of:-
ClientConfig::alpn_protocols
-
ClientConfig::set_protocols
-
ServerConfig::alpn_protocols
-
ServerConfig::set_protocols
-
Session::get_alpn_protocol
-
- Emit a warning when receiving an invalid SNI extension, such as one including an IP address.
- Extended QUIC support for later QUIC drafts.
- Correct bug where we'd send more than one fatal alert for handshake failure cases.
- Discontinue support for SHA1 signatures.
- Move to Rust 2018 edition.
What's Changed
- Move HandshakeHash into SessionCommon by @Ralith in https://github.com/rustls/rustls/pull/201
- Update env_logger requirement from 0.5 to 0.6 by @dependabot-preview in https://github.com/rustls/rustls/pull/202
-
allow(unused_variables)
whenlogging
feature is disabled to fix CI. by @briansmith in https://github.com/rustls/rustls/pull/208 - Tone down logging a little by @illicitonion in https://github.com/rustls/rustls/pull/210
- Use ring 0.14, along with new versions of ct-logs, sct.rs, webpki, and webpki-roots. by @briansmith in https://github.com/rustls/rustls/pull/212
- Raw handshake I/O for QUIC by @Ralith in https://github.com/rustls/rustls/pull/187
- Reexport
WriteEarlyData
by @jonas-schievink in https://github.com/rustls/rustls/pull/216 - Don't send duplicate fatal alerts on bad client version by @Ralith in https://github.com/rustls/rustls/pull/218
- Prepare for rust 2018 edition by @ctz in https://github.com/rustls/rustls/pull/200
New Contributors
- @illicitonion made their first contribution in https://github.com/rustls/rustls/pull/210
- @jonas-schievink made their first contribution in https://github.com/rustls/rustls/pull/216
Full Changelog: https://github.com/rustls/rustls/compare/v/0.14.0...v/0.15.0