1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 01:11:07 +01:00
actix-net/actix-tls/CHANGES.md

189 lines
6.7 KiB
Markdown
Raw Normal View History

# Changes
2022-03-02 17:40:11 +01:00
## Unreleased - 2022-xx-xx
2022-03-15 20:43:47 +01:00
2023-03-03 23:36:13 +01:00
- Minimum supported Rust version (MSRV) is now 1.59.
2022-03-15 20:43:47 +01:00
## 3.0.4 - 2022-03-15
2023-03-03 23:36:13 +01:00
2022-03-15 20:37:08 +01:00
- Logs emitted now use the `tracing` crate with `log` compatibility. [#451]
[#451]: https://github.com/actix/actix-net/pull/451
2022-01-28 23:11:21 +01:00
2022-02-15 02:47:27 +01:00
## 3.0.3 - 2022-02-15
2023-03-03 23:36:13 +01:00
- No significant changes since `3.0.2`.
2022-02-15 02:47:27 +01:00
2022-01-28 23:11:21 +01:00
## 3.0.2 - 2022-01-28
2023-03-03 23:36:13 +01:00
2022-01-28 23:10:24 +01:00
- Expose `connect::Connection::new`. [#439]
[#439]: https://github.com/actix/actix-net/pull/439
2022-01-11 23:17:31 +01:00
## 3.0.1 - 2022-01-11
2023-03-03 23:36:13 +01:00
- No significant changes since `3.0.0`.
2021-12-26 22:12:19 +01:00
## 3.0.0 - 2021-12-26
2023-03-03 23:36:13 +01:00
- No significant changes since `3.0.0-rc.2`.
2021-12-26 22:12:19 +01:00
## 3.0.0-rc.2 - 2021-12-10
2023-03-03 23:36:13 +01:00
2021-12-18 04:35:18 +01:00
- Re-export `openssl::SslConnectorBuilder` in `connect::openssl::reexports`. [#429]
2021-12-18 04:35:18 +01:00
[#429]: https://github.com/actix/actix-net/pull/429
## 3.0.0-rc.1 - 2021-11-29
2023-03-03 23:36:13 +01:00
### Added
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Derive `Debug` for `connect::Connection`. [#422]
- Implement `Display` for `accept::TlsError`. [#422]
- Implement `Error` for `accept::TlsError` where both types also implement `Error`. [#422]
- Implement `Default` for `connect::Resolver`. [#422]
- Implement `Error` for `connect::ConnectError`. [#422]
- Implement `Default` for `connect::tcp::{TcpConnector, TcpConnectorService}`. [#423]
- Implement `Default` for `connect::ConnectorService`. [#423]
### Changed
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- 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` to `connect` module. [#422]
### Removed
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- 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]
[#422]: https://github.com/actix/actix-net/pull/422
[#423]: https://github.com/actix/actix-net/pull/423
2021-11-22 14:34:15 +01:00
## 3.0.0-beta.9 - 2021-11-22
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- 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]
[#393]: https://github.com/actix/actix-net/pull/393
[#420]: https://github.com/actix/actix-net/pull/420
2021-11-15 18:55:23 +01:00
## 3.0.0-beta.8 - 2021-11-15
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Add `Connect::request` for getting a reference to the connection request. [#415]
[#415]: https://github.com/actix/actix-net/pull/415
2021-10-19 17:51:40 +02:00
## 3.0.0-beta.7 - 2021-10-20
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Add `webpki_roots_cert_store()` to get rustls compatible webpki roots cert store. [#401]
- Alias `connect::ssl` to `connect::tls`. [#401]
[#401]: https://github.com/actix/actix-net/pull/401
2021-10-19 17:51:40 +02:00
## 3.0.0-beta.6 - 2021-10-19
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Update `tokio-rustls` to `0.23` which uses `rustls` `0.20`. [#396]
- Removed a re-export of `Session` from `rustls` as it no longer exist. [#396]
- Minimum supported Rust version (MSRV) is now 1.52.
2021-03-29 07:57:47 +02:00
[#396]: https://github.com/actix/actix-net/pull/396
2021-03-29 07:57:47 +02:00
## 3.0.0-beta.5 - 2021-03-29
2023-03-03 23:36:13 +01:00
- Changed `connect::ssl::rustls::RustlsConnectorService` to return error when `DNSNameRef` generation failed instead of panic. [#296]
2021-12-18 03:49:23 +01:00
- 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 a `TcpStream` should use `connect::ConnectService` instead and call `Connection<T, TcpStream>::into_parts`. [#299]
[#295]: https://github.com/actix/actix-net/pull/295
[#296]: https://github.com/actix/actix-net/pull/296
[#297]: https://github.com/actix/actix-net/pull/297
2021-03-27 22:03:24 +01:00
[#299]: https://github.com/actix/actix-net/pull/299
2021-02-25 12:50:24 +01:00
## 3.0.0-beta.4 - 2021-02-24
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Rename `accept::openssl::{SslStream => TlsStream}`.
- Add `connect::Connect::set_local_addr` to attach local `IpAddr`. [#282]
- `connector::TcpConnector` service will try to bind to local_addr of `IpAddr` when given. [#282]
2021-02-23 18:20:01 +01:00
[#282]: https://github.com/actix/actix-net/pull/282
2021-02-06 20:24:52 +01:00
## 3.0.0-beta.3 - 2021-02-06
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Remove `trust-dns-proto` and `trust-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]
2023-03-03 23:36:13 +01:00
- Export `webpki_roots::TLS_SERVER_ROOTS` in `actix_tls::connect` mod and remove the export from `actix_tls::accept` [#248]
- Remove `ConnectTakeAddrsIter`. `Connect::take_addrs` now returns `ConnectAddrsIter<'static>` as owned iterator. [#248]
2021-12-18 03:49:23 +01:00
- Rename `Address::{host => hostname}` to more accurately describe which URL segment is returned.
- Update `actix-rt` to `2.0.0`. [#273]
[#248]: https://github.com/actix/actix-net/pull/248
2021-02-06 20:24:52 +01:00
[#273]: https://github.com/actix/actix-net/pull/273
2020-12-29 02:04:21 +01:00
2022-03-02 17:40:11 +01:00
## 3.0.0-beta.2 - 2022-xx-xx
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Depend on stable trust-dns packages. [#204]
2021-01-03 05:39:37 +01:00
[#204]: https://github.com/actix/actix-net/pull/204
2020-12-29 02:04:21 +01:00
## 3.0.0-beta.1 - 2020-12-29
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Move acceptors under `accept` module. [#238]
- Merge `actix-connect` crate under `connect` module. [#238]
- Add feature flags to enable acceptors and/or connectors individually. [#238]
[#238]: https://github.com/actix/actix-net/pull/238
2020-09-08 19:00:07 +02:00
## 2.0.0 - 2020-09-03
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- `nativetls::NativeTlsAcceptor` is renamed to `nativetls::Acceptor`.
- Where possible, "SSL" terminology is replaced with "TLS".
2023-03-03 23:36:13 +01:00
- `SslError` is renamed to `TlsError`.
- `TlsError::Ssl` enum variant is renamed to `TlsError::Tls`.
- `max_concurrent_ssl_connect` is renamed to `max_concurrent_tls_connect`.
2020-09-08 19:00:07 +02:00
## 2.0.0-alpha.2 - 2020-08-17
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Update `rustls` dependency to 0.18
- Update `tokio-rustls` dependency to 0.14
- Update `webpki-roots` dependency to 0.20
2020-03-03 11:47:40 +01:00
## [2.0.0-alpha.1] - 2020-03-03
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Update `rustls` dependency to 0.17
- Update `tokio-rustls` dependency to 0.13
- Update `webpki-roots` dependency to 0.19
2020-09-08 19:00:07 +02:00
## [1.0.0] - 2019-12-11
2019-12-11 09:53:58 +01:00
2023-03-03 23:36:13 +01:00
- 1.0.0 release
2019-12-05 11:40:24 +01:00
2020-09-08 19:00:07 +02:00
## [1.0.0-alpha.3] - 2019-12-07
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Migrate to tokio 0.2
- Enable rustls acceptor service
- Enable native-tls acceptor service
2020-09-08 19:00:07 +02:00
## [1.0.0-alpha.1] - 2019-12-02
2023-03-03 23:36:13 +01:00
2021-12-18 03:49:23 +01:00
- Split openssl acceptor from actix-server package