aws-sdk-go v1.30.0 Release Notes

Release Date: 2020-03-30 // about 4 years ago
  • ๐Ÿš€ Release v1.30.0 (2020-03-30)

    โšก๏ธ Service Client Updates

    • ๐Ÿ“š service/accessanalyzer: Updates service API and documentation

    SDK Features

    • ๐Ÿ›  SDK generated errors are fixed to use pointer receivers preventing confusion, and potential impossible type assertions. The SDK will only return API generated API error types as pointers. This fix ensures Go's type system will catch invalid error type assertions.

    SDK Enhancements

    • โšก๏ธ Update SDK's go-jmespath dependency to latest tagged version 0.3.0 (#3205)

    SDK Bugs

    • ๐Ÿ›  Fix generated SDK errors to use pointer receivers
      • Fixes the generated SDK API errors to use pointer function receivers instead of value. This fixes potential confusion writing code and not casting to the correct type. The SDK will always return the API error as a pointer, not value.
      • Code that did type assertions from the operation's returned error to the value type would never be satisfied. Leading to errors being missed. Changing the function receiver to a pointer prevents this error. Highlighting it in code bases.