mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
2e63ff5928
* Fix type confusion in some scenarios When the feature for rustls 0.22 is enabled, and rustls 0.23 is also present in a project, there suddently exist multiple paths for errors when building middleware chains due to the use of two consecutive `?` operators without specifying the intermediate error type. This commit addresses the issue by removing the first `?`, so that the first error type will always be known, and the second `?` always has a well defined implementation. * Add CHANGES entry about type confusion * actix-http: add rustls 0.23 support * actix-http: update ws example, tests for rustls 0.23 * actix-http: add rustls 0.23 to changelog * Update comments to mention 0.23 instead of 0.22 * awc: add rustls 0.23 support This also fixes certificate lookup when native-roots is enabled for rustls 0.22. * awc: update changelog for rustls 0.23 * awc: Add base rustls-0_23 feature without roots to better enable custom config * actix-test: add rustls-0.23 * actix-test: add rustls 0.23 to changelog * awc: update changelog with rustls 0.23 tweaks * actix-web: add rustls 0.23 * Add rustls-0_23 to CI * Update tls_rustls.rs * review nits * review nits part 2 * fix doc test --------- Co-authored-by: Rob Ede <robjtede@icloud.com>
2.2 KiB
2.2 KiB
Changes
Unreleased
- Add
TestServerConfig::rustls_0_23()
method for Rustls v0.23 support behind newrustls-0_23
crate feature. - Minimum supported Rust version (MSRV) is now 1.72.
- Various types from
awc
, such asClientRequest
andClientResponse
, are now re-exported.
0.1.3
- Add
TestServerConfig::rustls_0_22()
method for Rustls v0.22 support behind newrustls-0_22
crate feature.
0.1.2
- Add
TestServerConfig::rustls_021()
method for Rustls v0.21 support behind newrustls-0_21
crate feature. - Add
TestServerConfig::workers()
method. - Add
rustls-0_20
crate feature, which the existingrustls
feature now aliases. - Minimum supported Rust version (MSRV) is now 1.68 due to transitive
time
dependency.
0.1.1
- Add
TestServerConfig::port()
setter method. - Minimum supported Rust version (MSRV) is now 1.59 due to transitive
time
dependency.
0.1.0
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive
time
dependency.
0.1.0-beta.13
- No significant changes since
0.1.0-beta.12
.
0.1.0-beta.12
- Rename
TestServerConfig::{client_timeout => client_request_timeout}
. #2611
0.1.0-beta.11
- Minimum supported Rust version (MSRV) is now 1.54.
0.1.0-beta.10
- No significant changes since
0.1.0-beta.9
.
0.1.0-beta.9
0.1.0-beta.8
- No significant changes since
0.1.0-beta.7
.
0.1.0-beta.7
- Fix compatibility with experimental
io-uring
feature ofactix-rt
. #2408
0.1.0-beta.6
- No significant changes from
0.1.0-beta.5
.
0.1.0-beta.5
- Updated rustls to v0.20. #2414
- Minimum supported Rust version (MSRV) is now 1.52.
0.1.0-beta.4
- Minimum supported Rust version (MSRV) is now 1.51.
0.1.0-beta.3
- No significant changes from
0.1.0-beta.2
.
0.1.0-beta.2
- No significant changes from
0.1.0-beta.1
.
0.1.0-beta.1
- Move integration testing structs from
actix-web
. #2112