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 github.com/aws/aws-sdk-go-v2 from 0.19.0 to 0.20.0 #31

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Mar 18, 2020

Bumps github.com/aws/aws-sdk-go-v2 from 0.19.0 to 0.20.0.

Release notes

Sourced from github.com/aws/aws-sdk-go-v2's releases.

Release v0.20.0 (2020-03-17)

Breaking Change

  • Update SDK retry behavior
    • Significant updates were made the SDK's retry behavior. The SDK will now retry all connections error. In addition, to changing what errors are retried the SDK's retry behavior not distinguish the difference between throttling errors, and regular retryable errors. All errors will be retried with the same backoff jitter delay scaling.
    • The SDK will attempt an operation request 3 times by default. This is one less than the previous initial request with 3 retires.
    • New helper functions in the new aws/retry package allow wrapping a Retrier with custom behavior, overriding the base Retrier, (e.g. AddWithErrorCodes, and AddWithMaxAttempts)
  • Update SDK error handling
    • Updates the SDK's handling of errors to take advantage of Go 1.13's new errors.As, Is, and Unwrap. The SDK's errors were updated to satisfy the Unwrap interface, returning the underlying error.
    • With this update, you can now more easily access the SDK's layered errors, and meaningful state such as, Timeout, Temporary, and other states added to the SDK such as CanceledError.
  • Bump SDK minimum supported version from Go 1.12 to Go 1.13
    • The SDK's minimum supported version is bumped to take advantage of Go 1.13's updated errors package.

Services

  • Synced the V2 SDK with latest AWS service API definitions.

SDK Features

  • aws: Add Support for additional credential providers and credential configuration chaining (#488)
    • aws/processcreds: Adds Support for the Process Credential Provider
    • aws/stscreds: Adds Support for the Web Identity Credential Provider
    • Adds Support for credential_source
  • aws/awserr: Adds support for Go 1.13's errors.Unwrap (#487)
  • aws: Updates SDK retry behavior (#487)
    • aws/retry: New package defining logic to determine if a request should be retried, and backoff.
    • aws/ratelimit: New package defining rate limit logic such as token bucket used by the retry.Standard retrier.

SDK Enhancements

  • aws: Add grouping of concurrent refresh of credentials (#503)
    • Concurrent calls to Retrieve are now grouped in order to prevent numerous synchronous calls to refresh the credentials. Replacing the mutex with a singleflight reduces the overall amount of time request signatures need to wait while retrieving credentials. This is improvement becomes pronounced when many requests are made concurrently.
  • service/s3/s3manager: Improve memory allocation behavior by replacing sync.Pool with custom pool implementation
    • Improves memory allocations that occur when the provided io.Reader to upload does not satisfy both the io.ReaderAt and io.ReadSeeker interfaces.

SDK Bugs

  • service/s3/s3manager: Fix resource leaks when the following occurred:
    • Failed CreateMultipartUpload call
    • Failed UploadPart call
Changelog

Sourced from github.com/aws/aws-sdk-go-v2's changelog.

Release v0.20.0 (2020-03-17)

Breaking Change

  • Update SDK retry behavior
    • Significant updates were made the SDK's retry behavior. The SDK will now retry all connections error. In addition, to changing what errors are retried the SDK's retry behavior not distinguish the difference between throttling errors, and regular retryable errors. All errors will be retried with the same backoff jitter delay scaling.
    • The SDK will attempt an operation request 3 times by default. This is one less than the previous initial request with 3 retires.
    • New helper functions in the new aws/retry package allow wrapping a Retrier with custom behavior, overriding the base Retrier, (e.g. AddWithErrorCodes, and AddWithMaxAttempts)
  • Update SDK error handling
    • Updates the SDK's handling of errors to take advantage of Go 1.13's new errors.As, Is, and Unwrap. The SDK's errors were updated to satisfy the Unwrap interface, returning the underlying error.
    • With this update, you can now more easily access the SDK's layered errors, and meaningful state such as, Timeout, Temporary, and other states added to the SDK such as CanceledError.
  • Bump SDK minimum supported version from Go 1.12 to Go 1.13
    • The SDK's minimum supported version is bumped to take advantage of Go 1.13's updated errors package.

Services

  • Synced the V2 SDK with latest AWS service API definitions.

SDK Features

  • aws: Add Support for additional credential providers and credential configuration chaining (#488)
    • aws/processcreds: Adds Support for the Process Credential Provider
    • aws/stscreds: Adds Support for the Web Identity Credential Provider
    • Adds Support for credential_source
  • aws/awserr: Adds support for Go 1.13's errors.Unwrap (#487)
  • aws: Updates SDK retry behavior (#487)
    • aws/retry: New package defining logic to determine if a request should be retried, and backoff.
    • aws/ratelimit: New package defining rate limit logic such as token bucket used by the retry.Standard retrier.

SDK Enhancements

  • aws: Add grouping of concurrent refresh of credentials (#503)
    • Concurrent calls to Retrieve are now grouped in order to prevent numerous synchronous calls to refresh the credentials. Replacing the mutex with a singleflight reduces the overall amount of time request signatures need to wait while retrieving credentials. This is improvement becomes pronounced when many requests are made concurrently.
  • service/s3/s3manager: Improve memory allocation behavior by replacing sync.Pool with custom pool implementation
    • Improves memory allocations that occur when the provided io.Reader to upload does not satisfy both the io.ReaderAt and io.ReadSeeker interfaces.

SDK Bugs

  • service/s3/s3manager: Fix resource leaks when the following occurred:
    • Failed CreateMultipartUpload call
    • Failed UploadPart call
Commits
  • 2930532 Release v0.20.0 (2020-03-17) (#507)
  • dbdbb82 aws: Add singleflight support to SafeCredentialsProvider (#503)
  • 7e732f1 aws: Fix BuildableHTTPClient datarace bug (#504)
  • 0f1fe1b aws/defaults: Add recording clock skew metadata per request attempt (#500)
  • 2b617db service/s3/s3manager: Port Improvements from V1 SDK (#499)
  • dc3c876 Refactor SDK's request retry, and error handling behavior (#487)
  • 9fc62ee aws: Add Support for additional credential providers and credential configura...
  • 0c78da5 Update SDK's Go module dependencies (#486)
  • f22e9c9 Endpoint Discovery (#484)
  • See full diff in compare view

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 will merge this PR once CI passes on it, as requested by @shogo82148.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-go-v2@v0.19.0...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 18, 2020
@shogo82148
Copy link
Owner

@dependabot merge

@dependabot-preview dependabot-preview bot merged commit 4101f45 into master Mar 18, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/go_modules/github.com/aws/aws-sdk-go-v2-0.20.0 branch March 18, 2020 22:09
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.

None yet

1 participant