0.38.0 (Februrary 24, 2022)
Pre-release
Pre-release
Breaking Changes:
- ⚠ (smithy-rs#1197)
aws_smithy_types::retry::RetryKindhad itsNotRetryablevariant split intoUnretryableFailureandUnnecessary. If you implement theClassifyResponse, then successful responses need to returnUnnecessary, and failures that shouldn't be retried need to returnUnretryableFailure. - ⚠ (smithy-rs#1209)
aws_smithy_types::primitive::Encoderis now a struct rather than an enum, but its usage remains the same. - ⚠ (smithy-rs#1217)
ClientBuilderhelpersrustls()andnative_tls()now returnDynConnectorand use dynamic dispatch rather than returning their concrete connector type that would allow static dispatch. If static dispatch is desired, then manually construct a connector to give to the builder. For example, for rustls:builder.connector(Adapter::builder().build(aws_smithy_client::conns::https()))(whereAdapteris inaws_smithy_client::hyper_ext).
New this release:
- 🐛 (smithy-rs#1197) Fixed a bug that caused clients to eventually stop retrying. The cross-request retry allowance wasn't being reimbursed upon receiving a successful response, so once this allowance reached zero, no further retries would ever be attempted.