Skip to content

Release v0.12.0 (2019-09-17)

Pre-release
Pre-release

Choose a tag to compare

@skotambkar skotambkar released this 17 Sep 21:59
9d23340

Services

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

SDK Enhancements

  • aws/endpoints: Expose DNSSuffix for partitions (#369)
    • Exposes the underlying partition metadata's DNSSuffix value via the DNSSuffix method on the endpoint's Partition type. This allows access to the partition's DNS suffix, e.g. "amazon.com".
    • Fixes #347
  • private/protocol: Add support for parsing fractional timestamp (#367)
    • Fixes the SDK's ability to parse fractional unix timestamp values and adds tests.
    • Fixes #365
  • aws/ec2metadata: Add marketplaceProductCodes to EC2 Instance Identity Document (#374)
    • Adds MarketplaceProductCodes to the EC2 Instance Metadata's Identity Document. The ec2metadata client will now retrieve these values if they are available.
    • Related to: aws/aws-sdk-go#2781
  • aws: Adds configurations to the default retryer (#375)
    • Provides more customization options for retryer by adding a constructor for default Retryer which accepts functional options. Adds NoOpRetryer to support no retry behavior. Exposes members of default retryer.
    • Updates the underlying logic used by the default retryer to calculate jittered delay for retry. Handles int overflow for retry delay.
    • Fixes #370
  • aws : Refactors request retry behavior path logic (#384)
    • Retry utilities now follow a consistent code path. aws.IsErrorRetryable is the primary entry point to determine if a request is retryable.
    • Corrects sdk's behavior by not retrying errors with status code 501. Adds support for retrying the Kinesis API error, LimitExceededException.
    • Fixes #372, #145

SDK Bugs

  • aws: Fixes bug in calculating throttled retry delay (#373)
    • The Retry-After duration specified in the request is now added to the Retry delay for throttled exception. Adds test for retry delays for throttled exceptions. Fixes bug where the throttled retry's math was off.
    • Fixes #45
  • aws : Adds missing sdk error checking when seeking readers (#379)
    • Adds support for nonseekable io.Reader. Adds support for streamed payloads for unsigned body request.
    • Fixes #371
  • service/s3 : Fixes unexpected EOF error by s3manager (#386)
    • Fixes bug which threw unexpected EOF error when s3 upload is performed for a file of maximum allowed size
    • Fixes #316
  • private/model : Fixes generated API Reference docs links being invalid (387)