Fluent client, error refactoring, concrete response bodies
Pre-release
Pre-release
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 thefluent
feature which is enabled by default & brings inaws-hyper
as a default transport. Breaking: To preserve the old behavior, adddefault-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 concreteResponseBody
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