Release v0.20.0 (2020-03-17) #507
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Change
aws/retrypackage allow wrapping aRetrierwith custom behavior, overriding the baseRetrier, (e.g.AddWithErrorCodes, andAddWithMaxAttempts)errors.As,Is, andUnwrap. The SDK's errors were updated to satisfy theUnwrapinterface, returning the underlying error.Timeout,Temporary, and other states added to the SDK such asCanceledError.errorspackage.Services
SDK Features
aws: Add Support for additional credential providers and credential configuration chaining (#488)aws/processcreds: Adds Support for the Process Credential Provideraws/stscreds: Adds Support for the Web Identity Credential Providercredential_sourceaws/awserr: Adds support for Go 1.13'serrors.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 theretry.Standardretrier.SDK Enhancements
aws: Add grouping of concurrent refresh of credentials (#503)Retrieveare 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 implementationio.Readerto upload does not satisfy both theio.ReaderAtandio.ReadSeekerinterfaces.SDK Bugs
service/s3/s3manager: Fix resource leaks when the following occurred: