Breaking Changes
CredentialsErrorvariants became non-exhaustive & now have struct bodies. This makes them impossible to construct directly outside of theaws_typescrate. In order to construct credentials errors, new methods have been added for each variant. Instead ofCredentialsError::Unhandled(...), you should instead useCredentialsError::unhandled. Matching methods exist for all variants. If you match on specific variants, you will also need to update your code to include... (#781)- The default credentials chain now returns
CredentialsError::CredentialsNotLoadedinstead ofProviderErrorwhen no credentials providers are configured. - ⚠️ All Smithy runtime crates have been renamed to have an
aws-prefix. This may require code changes:- Cargo.toml changes:
smithy-async->aws-smithy-asyncsmithy-client->aws-smithy-clientsmithy-eventstream->aws-smithy-eventstreamsmithy-http->aws-smithy-httpsmithy-http-tower->aws-smithy-http-towersmithy-json->aws-smithy-jsonsmithy-protocol-test->aws-smithy-protocol-testsmithy-query->aws-smithy-querysmithy-types->aws-smithy-typessmithy-xml->aws-smithy-xml
- Rust
usestatement changes:smithy_async->aws_smithy_asyncsmithy_client->aws_smithy_clientsmithy_eventstream->aws_smithy_eventstreamsmithy_http->aws_smithy_httpsmithy_http_tower->aws_smithy_http_towersmithy_json->aws_smithy_jsonsmithy_protocol_test->aws_smithy_protocol_testsmithy_query->aws_smithy_querysmithy_types->aws_smithy_typessmithy_xml->aws_smithy_xml
- Cargo.toml changes:
New this week
- Moved the contents of
aws-authinto theaws-httpruntime crate (smithy-rs#783) - Fix instances where docs were missing in generated services and add
#[warn_missing_docs](smithy-rs#779) - Add tracing output for resolved AWS endpoint (smithy-rs#784)
- Update AWS service models (smithy-rs#790)
- Add support for the following Glacier customizations:
- Set the ApiVersion header (smithy-rs#138, #787)