mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-23 22:51:07 +01:00
6.3 KiB
6.3 KiB
Changes
Unreleased - 2021-xx-xx
- Remove use of
str::split_once
to lower MSRV ofactix-tls
to a de-facto 1.50.0 from 1.52.0
3.0.0 - 2021-12-26
- No significant changes since
3.0.0-rc.2
.
3.0.0-rc.2 - 2021-12-10
- Re-export
openssl::SslConnectorBuilder
inconnect::openssl::reexports
. #429
3.0.0-rc.1 - 2021-11-29
Added
- Derive
Debug
forconnect::Connection
. #422 - Implement
Display
foraccept::TlsError
. #422 - Implement
Error
foraccept::TlsError
where both types also implementError
. #422 - Implement
Default
forconnect::Resolver
. #422 - Implement
Error
forconnect::ConnectError
. #422 - Implement
Default
forconnect::tcp::{TcpConnector, TcpConnectorService}
. #423 - Implement
Default
forconnect::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
reexports
modules in all acceptors and connectors. - Convert
connect::ResolverService
from enum to struct. #422 - Make
ConnectAddrsIter
private. #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::tls
toconnect
module. #422
Removed
- Remove
connect::{new_connector, new_connector_factory, default_connector, default_connector_factory}
methods. #422 - Remove
connect::native_tls::Connector::service
method. #422 - Remove redundant
connect::Connection::from_parts
method. #422
3.0.0-beta.9 - 2021-11-22
- Add configurable timeout for accepting TLS connection. #393
- Added
TlsError::Timeout
variant. #393 - All TLS acceptor services now use
TlsError
for their error types. #393 - Added
TlsError::into_service_error
. #420
3.0.0-beta.8 - 2021-11-15
- Add
Connect::request
for getting a reference to the connection request. #415
3.0.0-beta.7 - 2021-10-20
- Add
webpki_roots_cert_store()
to get rustls compatible webpki roots cert store. #401 - Alias
connect::ssl
toconnect::tls
. #401
3.0.0-beta.6 - 2021-10-19
- Update
tokio-rustls
to0.23
which usesrustls
0.20
. #396 - Removed a re-export of
Session
fromrustls
as it no longer exist. #396 - Minimum supported Rust version (MSRV) is now 1.52.
3.0.0-beta.5 - 2021-03-29
- Changed
connect::ssl::rustls::RustlsConnectorService
to return error whenDNSNameRef
generation failed instead of panic. #296 - Remove
connect::ssl::openssl::OpensslConnectServiceFactory
. #297 - Remove
connect::ssl::openssl::OpensslConnectService
. #297 - Add
connect::ssl::native_tls
module for native tls support. #295 - Rename
accept::{nativetls => native_tls}
. #295 - Remove
connect::TcpConnectService
type. Service caller expecting aTcpStream
should useconnect::ConnectService
instead and callConnection<T, TcpStream>::into_parts
. #299
3.0.0-beta.4 - 2021-02-24
- Rename
accept::openssl::{SslStream => TlsStream}
. - Add
connect::Connect::set_local_addr
to attach localIpAddr
. #282 connector::TcpConnector
service will try to bind to local_addr ofIpAddr
when given. #282
3.0.0-beta.3 - 2021-02-06
- Remove
trust-dns-proto
andtrust-dns-resolver
. #248 - Use
std::net::ToSocketAddrs
as simple and basic default resolver. #248 - Add
Resolve
trait for custom DNS resolvers. #248 - Add
Resolver::new_custom
function to construct custom resolvers. #248 - Export
webpki_roots::TLS_SERVER_ROOTS
inactix_tls::connect
mod and remove the export fromactix_tls::accept
#248 - Remove
ConnectTakeAddrsIter
.Connect::take_addrs
now returnsConnectAddrsIter<'static>
as owned iterator. #248 - Rename
Address::{host => hostname}
to more accurately describe which URL segment is returned. - Update
actix-rt
to2.0.0
. #273
3.0.0-beta.2 - 2021-xx-xx
- Depend on stable trust-dns packages. #204
3.0.0-beta.1 - 2020-12-29
- Move acceptors under
accept
module. #238 - Merge
actix-connect
crate underconnect
module. #238 - Add feature flags to enable acceptors and/or connectors individually. #238
2.0.0 - 2020-09-03
nativetls::NativeTlsAcceptor
is renamed tonativetls::Acceptor
.- Where possible, "SSL" terminology is replaced with "TLS".
SslError
is renamed toTlsError
.TlsError::Ssl
enum variant is renamed toTlsError::Tls
.max_concurrent_ssl_connect
is renamed tomax_concurrent_tls_connect
.
2.0.0-alpha.2 - 2020-08-17
- Update
rustls
dependency to 0.18 - Update
tokio-rustls
dependency to 0.14 - Update
webpki-roots
dependency to 0.20
[2.0.0-alpha.1] - 2020-03-03
- Update
rustls
dependency to 0.17 - Update
tokio-rustls
dependency to 0.13 - Update
webpki-roots
dependency to 0.19
[1.0.0] - 2019-12-11
- 1.0.0 release
[1.0.0-alpha.3] - 2019-12-07
- Migrate to tokio 0.2
- Enable rustls acceptor service
- Enable native-tls acceptor service
[1.0.0-alpha.1] - 2019-12-02
- Split openssl acceptor from actix-server package