Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump aws-config from 0.4.1 to 0.6.0 #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2022

Bumps aws-config from 0.4.1 to 0.6.0.

Release notes

Sourced from aws-config's releases.

Public Alpha RC1 4-7-2021

New this week:

  • Support for 2 new services (& the restJson protocol!): This release adds support for ApiGateway and Amazon Polly. As these are the first two services with the new protocol, bugs are more likely than usual. Please let us know if you hit any issues. New examples have been added.
  • New error shapes: Each generated service now generates a <service_name>::Error struct. This is a superset of all errors that the service emits & can be used to write unified error handling that works across all operations on the same service:
    #[tokio::main]
    async fn main() -> Result<(), dynamodb::Error> {
       let client = dynamodb::Client::from_env();
       client.list_tables().send().await?; // All operation errors impl `Into<dynamodb::Error>`
    }
  • Breaking Change: Generated builders are Vec and HashMap aware: Builder objects now generate special case builders when the argument is a Set or HashMap (#267). These builders accept an element of the Vec or HashMap and append to the builder, creating a collection if it did not previously exist. If you need to pass a Vec or HashMap directly to the builder, use builder.set_xyz(Some(v)) instead of builder.xyz(v).
  • Breaking Change: High level clients are now exported in <servicename>::Client instead of <servicename>::fluent::Client
  • Bugfix: The futures produced by clients were not Send which made them unusable for tokio::spawn. This has been resolved.

The generated code has been pushed to https://github.com/awslabs/smithy-rs/releases/tag/v0.6-rc1.cargo

Fluent client, error refactoring, concrete response bodies

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: smithy-lang/smithy-rs@v0.4-alpha.cargo...v0.5-alpha.cargo

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [aws-config](https://github.com/awslabs/smithy-rs) from 0.4.1 to 0.6.0.
- [Release notes](https://github.com/awslabs/smithy-rs/releases)
- [Changelog](https://github.com/awslabs/smithy-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/awslabs/smithy-rs/commits)

---
updated-dependencies:
- dependency-name: aws-config
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants