Skip to content

Fluent client, error refactoring, concrete response bodies

Pre-release
Pre-release
Compare
Choose a tag to compare
@rcoh rcoh released this 17 Mar 13:23
· 2670 commits to main since this release
3f4f44c

New this week:

  • A "fluent" ergonomic client is available in dynamodb::fluent (and for all other services). At the cost of some flexibility, this offers an API with fewer moving parts that is generally a little more ergonomic to use. The old API is still available. This is enabled via the fluent feature which is enabled by default & brings in aws-hyper as a default transport. Breaking: To preserve the old behavior, add default-features = false
  • Breaking change: Errors have been refactored to expose their "kind" separate from metadata. In general, you can simply add .kind to existing code.
  • SdkResult/SdkError are no longer generic in B, the response body. Instead, a concrete ResponseBody is provided by the SDK that is optimized for the specific use case.

Diff to last week: v0.4-alpha.cargo...v0.5-alpha.cargo