Skip to content

Commit 3fb24bf

Browse files
committed
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](#488)) * `aws/processcreds`: Adds Support for the Process Credential Provider * Fixes [#249](#249) * `aws/stscreds`: Adds Support for the Web Identity Credential Provider * Fixes [#475](#475) * Fixes [#338](#338) * Adds Support for `credential_source` * Fixes [#274](#274) * `aws/awserr`: Adds support for Go 1.13's `errors.Unwrap` ([#487](#487)) * `aws`: Updates SDK retry behavior ([#487](#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](#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
1 parent deb6497 commit 3fb24bf

File tree

3 files changed

+48
-32
lines changed

3 files changed

+48
-32
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
Release v0.20.0 (2020-03-17)
2+
===
3+
4+
Breaking Change
5+
---
6+
* Update SDK retry behavior
7+
* 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.
8+
* The SDK will attempt an operation request 3 times by default. This is one less than the previous initial request with 3 retires.
9+
* 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`)
10+
* Update SDK error handling
11+
* 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.
12+
* 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`.
13+
* Bump SDK minimum supported version from Go 1.12 to Go 1.13
14+
* The SDK's minimum supported version is bumped to take advantage of Go 1.13's updated `errors` package.
15+
16+
Services
17+
---
18+
* Synced the V2 SDK with latest AWS service API definitions.
19+
20+
SDK Features
21+
---
22+
* `aws`: Add Support for additional credential providers and credential configuration chaining ([#488](https://github.com/aws/aws-sdk-go-v2/pull/488))
23+
* `aws/processcreds`: Adds Support for the Process Credential Provider
24+
* Fixes [#249](https://github.com/aws/aws-sdk-go-v2/issues/249)
25+
* `aws/stscreds`: Adds Support for the Web Identity Credential Provider
26+
* Fixes [#475](https://github.com/aws/aws-sdk-go-v2/issues/475)
27+
* Fixes [#338](https://github.com/aws/aws-sdk-go-v2/issues/338)
28+
* Adds Support for `credential_source`
29+
* Fixes [#274](https://github.com/aws/aws-sdk-go-v2/issues/274)
30+
* `aws/awserr`: Adds support for Go 1.13's `errors.Unwrap` ([#487](https://github.com/aws/aws-sdk-go-v2/pull/487))
31+
* `aws`: Updates SDK retry behavior ([#487](https://github.com/aws/aws-sdk-go-v2/pull/487))
32+
* `aws/retry`: New package defining logic to determine if a request should be retried, and backoff.
33+
* `aws/ratelimit`: New package defining rate limit logic such as token bucket used by the `retry.Standard` retrier.
34+
35+
SDK Enhancements
36+
---
37+
* `aws`: Add grouping of concurrent refresh of credentials ([#503](https://github.com/aws/aws-sdk-go-v2/pull/503)
38+
* 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.
39+
* `service/s3/s3manager`: Improve memory allocation behavior by replacing sync.Pool with custom pool implementation
40+
* Improves memory allocations that occur when the provided `io.Reader` to upload does not satisfy both the `io.ReaderAt` and `io.ReadSeeker` interfaces.
41+
42+
SDK Bugs
43+
---
44+
* `service/s3/s3manager`: Fix resource leaks when the following occurred:
45+
* Failed CreateMultipartUpload call
46+
* Failed UploadPart call
47+
148
Release v0.19.0 (2020-01-30)
249
===
350

CHANGELOG_PENDING.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,14 @@
11
Breaking Change
22
---
33

4-
* Update SDK retry behavior
5-
* 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.
6-
* The SDK will attempt an operation request 3 times by default. This is one less than the previous initial request with 3 retires.
7-
* 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`)
8-
* Update SDK error handling
9-
* 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.
10-
* 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`.
11-
* Bump SDK minimum supported version from Go 1.12 to Go 1.13
12-
* The SDK's minimum supported version is bumped to take advantage of Go 1.13's updated `errors` package.
13-
144
Services
155
---
16-
* Synced the V2 SDK with latest AWS service API definitions.
176

187
SDK Features
198
---
20-
* `aws`: Add Support for additional credential providers and credential configuration chaining ([#488](https://github.com/aws/aws-sdk-go-v2/pull/488))
21-
* `aws/processcreds`: Adds Support for the Process Credential Provider
22-
* Fixes [#249](https://github.com/aws/aws-sdk-go-v2/issues/249)
23-
* `aws/stscreds`: Adds Support for the Web Identity Credential Provider
24-
* Fixes [#475](https://github.com/aws/aws-sdk-go-v2/issues/475)
25-
* Fixes [#338](https://github.com/aws/aws-sdk-go-v2/issues/338)
26-
* Adds Support for `credential_source`
27-
* Fixes [#274](https://github.com/aws/aws-sdk-go-v2/issues/274)
28-
* `aws/awserr`: Adds support for Go 1.13's `errors.Unwrap` ([#487](https://github.com/aws/aws-sdk-go-v2/pull/487))
29-
* `aws`: Updates SDK retry behavior ([#487](https://github.com/aws/aws-sdk-go-v2/pull/487))
30-
* `aws/retry`: New package defining logic to determine if a request should be retried, and backoff.
31-
* `aws/ratelimit`: New package defining rate limit logic such as token bucket used by the `retry.Standard` retrier.
329

3310
SDK Enhancements
3411
---
35-
* `aws`: Add grouping of concurrent refresh of credentials ([#503](https://github.com/aws/aws-sdk-go-v2/pull/503)
36-
* 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.
37-
* `service/s3/s3manager`: Improve memory allocation behavior by replacing sync.Pool with custom pool implementation
38-
* Improves memory allocations that occur when the provided `io.Reader` to upload does not satisfy both the `io.ReaderAt` and `io.ReadSeeker` interfaces.
3912

4013
SDK Bugs
4114
---
42-
* `service/s3/s3manager`: Fix resource leaks when the following occurred:
43-
* Failed CreateMultipartUpload call
44-
* Failed UploadPart call
45-

aws/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ package aws
55
const SDKName = "aws-sdk-go"
66

77
// SDKVersion is the version of this SDK
8-
const SDKVersion = "0.19.0"
8+
const SDKVersion = "0.20.0"

0 commit comments

Comments
 (0)