mirror of https://github.com/fafhrd91/actix-net
7.3 KiB
7.3 KiB
Changes
Unreleased
- Minimum supported Rust version (MSRV) is now 1.76.
3.4.0
- Add
rustls-0_23,rustls-0_23-webpki-roots, andrustls-0_23-native-rootscrate features. - Minimum supported Rust version (MSRV) is now 1.70.
3.3.0
- Add
rustls-0_22crate feature which excludes any root certificate methods or re-exports.
3.2.0
- Support Rustls v0.22.
- Add
{accept, connect}::rustls_0_22modules. - Add
rustls-0_21-native-rootsandrustls-0_20-native-rootscrate features which utilize therustls-native-certscrate to enable anative_roots_cert_store()functions in each rustls-basedconnectmodule. - Implement
Hostforhttp::Uri(httpcrate version1).
3.1.1
- Fix
rustlsv0.21 version requirement.
3.1.0
- Support Rustls v0.21.
- Add
{accept, connect}::rustls_0_21modules. - Add
{accept, connect}::rustls_0_20alias for{accept, connect}::rustlsmodules. - Minimum supported Rust version (MSRV) is now 1.65.
3.0.4
- Logs emitted now use the
tracingcrate withlogcompatibility. #451
3.0.3
- No significant changes since
3.0.2.
3.0.2
- Expose
connect::Connection::new. #439
3.0.1
- No significant changes since
3.0.0.
3.0.0
- No significant changes since
3.0.0-rc.2.
3.0.0-rc.2
- Re-export
openssl::SslConnectorBuilderinconnect::openssl::reexports. #429
3.0.0-rc.1
Added
- Derive
Debugforconnect::Connection. #422 - Implement
Displayforaccept::TlsError. #422 - Implement
Errorforaccept::TlsErrorwhere both types also implementError. #422 - Implement
Defaultforconnect::Resolver. #422 - Implement
Errorforconnect::ConnectError. #422 - Implement
Defaultforconnect::tcp::{TcpConnector, TcpConnectorService}. #423 - Implement
Defaultforconnect::ConnectorService. #423
Changed
- The crate's default features flags no longer include
uri. #422 - Useful re-exports from underlying TLS crates are exposed in a
reexportsmodules in all acceptors and connectors. - Convert
connect::ResolverServicefrom enum to struct. #422 - Make
ConnectAddrsIterprivate. #422 - Mark
tcp::{TcpConnector, TcpConnectorService}structs#[non_exhaustive]. #423 - Rename
accept::native_tls::{NativeTlsAcceptorService => AcceptorService}. #422 - Rename
connect::{Address => Host}trait. #422 - Rename method
connect::Connection::{host => hostname}. #422 - Rename struct
connect::{Connect => ConnectInfo}. #422 - Rename struct
connect::{ConnectService => ConnectorService}. #422 - Rename struct
connect::{ConnectServiceFactory => Connector}. #422 - Rename TLS acceptor service future types and hide from docs. #422
- Unbox some service futures types. #422
- Inline modules in
connect::tlstoconnectmodule. #422
Removed
- Remove
connect::{new_connector, new_connector_factory, default_connector, default_connector_factory}methods. #422 - Remove
connect::native_tls::Connector::servicemethod. #422 - Remove redundant
connect::Connection::from_partsmethod. #422
3.0.0-beta.9
- Add configurable timeout for accepting TLS connection. #393
- Added
TlsError::Timeoutvariant. #393 - All TLS acceptor services now use
TlsErrorfor their error types. #393 - Added
TlsError::into_service_error. #420
3.0.0-beta.8
- Add
Connect::requestfor getting a reference to the connection request. #415
3.0.0-beta.7
- Add
webpki_roots_cert_store()to get rustls compatible webpki roots cert store. #401 - Alias
connect::ssltoconnect::tls. #401
3.0.0-beta.6
- Update
tokio-rustlsto0.23which usesrustls0.20. #396 - Removed a re-export of
Sessionfromrustlsas it no longer exist. #396 - Minimum supported Rust version (MSRV) is now 1.52.
3.0.0-beta.5
- Changed
connect::ssl::rustls::RustlsConnectorServiceto return error whenDNSNameRefgeneration failed instead of panic. #296 - Remove
connect::ssl::openssl::OpensslConnectServiceFactory. #297 - Remove
connect::ssl::openssl::OpensslConnectService. #297 - Add
connect::ssl::native_tlsmodule for native tls support. #295 - Rename
accept::{nativetls => native_tls}. #295 - Remove
connect::TcpConnectServicetype. Service caller expecting aTcpStreamshould useconnect::ConnectServiceinstead and callConnection<T, TcpStream>::into_parts. #299
3.0.0-beta.4
- Rename
accept::openssl::{SslStream => TlsStream}. - Add
connect::Connect::set_local_addrto attach localIpAddr. #282 connector::TcpConnectorservice will try to bind to local_addr ofIpAddrwhen given. #282
3.0.0-beta.3
- Remove
trust-dns-protoandtrust-dns-resolver. #248 - Use
std::net::ToSocketAddrsas simple and basic default resolver. #248 - Add
Resolvetrait for custom DNS resolvers. #248 - Add
Resolver::new_customfunction to construct custom resolvers. #248 - Export
webpki_roots::TLS_SERVER_ROOTSinactix_tls::connectmod and remove the export fromactix_tls::accept#248 - Remove
ConnectTakeAddrsIter.Connect::take_addrsnow returnsConnectAddrsIter<'static>as owned iterator. #248 - Rename
Address::{host => hostname}to more accurately describe which URL segment is returned. - Update
actix-rtto2.0.0. #273
3.0.0-beta.2
- Depend on stable trust-dns packages. #204
3.0.0-beta.1
- Move acceptors under
acceptmodule. #238 - Merge
actix-connectcrate underconnectmodule. #238 - Add feature flags to enable acceptors and/or connectors individually. #238
2.0.0
nativetls::NativeTlsAcceptoris renamed tonativetls::Acceptor.- Where possible, "SSL" terminology is replaced with "TLS".
SslErroris renamed toTlsError.TlsError::Sslenum variant is renamed toTlsError::Tls.max_concurrent_ssl_connectis renamed tomax_concurrent_tls_connect.
2.0.0-alpha.2
- Update
rustlsdependency to 0.18 - Update
tokio-rustlsdependency to 0.14 - Update
webpki-rootsdependency to 0.20
[2.0.0-alpha.1]
- Update
rustlsdependency to 0.17 - Update
tokio-rustlsdependency to 0.13 - Update
webpki-rootsdependency to 0.19
[1.0.0]
- 1.0.0 release
[1.0.0-alpha.3]
- Migrate to tokio 0.2
- Enable rustls acceptor service
- Enable native-tls acceptor service
[1.0.0-alpha.1]
- Split openssl acceptor from actix-server package