Skip to content

v2.0.0-beta.24

Compare
Choose a tag to compare
@YakDriver YakDriver released this 23 Feb 18:34
· 860 commits to main since this release

What's Changed

  • Add unit testing for IsAWSErr() and IsAWSErrExtended(), prevent missing OrigErr() panic by @bflad in #16
  • Add GitHub Issue and Pull Request Templates by @bflad in #26
  • Replace TravisCI pull request testing with GitHub Actions by @bflad in #27
  • Enable additional golangci-lint linters and fix reports by @bflad in #28
  • Introduce more exhaustive GetSession testing and resolve some endpoint customization bugs by @bflad in #32
  • Feature/fix cred chain by @nkupton in #20
  • Update messaging, it is used in the backend also by @paultyng in #31
  • Add CODEOWNERS file by @bflad in #29
  • Always enable AWS shared configuration file support by @bflad in #38
  • Automatically handle shared credentials filename home directory expansion by @bflad in #40
  • Implement configuration assume role duration, policy ARNs, tags, and transitive tag keys by @bflad in #39
  • Mock and verify Web Identity Token support (STS AssumeRoleWithWebIdentity) by @bflad in #41
  • Introduce Go 1.13 compatible error types by @bflad in #42
  • Fix SkipMetadataApiCheck and remove now extraneous GetCredentialsFromMetadata by @bflad in #44
  • Additional AWS error functions by @ewbankkit in #37
  • Create and export constants to simplify mock handling, additional assume role testing by @bflad in #45
  • add to user-agent request header with env var data by @anGie44 in #47
  • docs: Add Release Process section and note dependency on Go 1.13 by @bflad in #48
  • Optionally log the STS API calls when assuming a role by @ewbankkit in #51
  • [DOCS] Update comment & test to explicit state which shared credentials will be used by @mattclegg in #50
  • session: Reorder User-Agent header so configuration products take precedence over AWS SDK Go product by @bflad in #56
  • Extends ErrCodeEquals() to accept variadic list of AWS error codes to match against by @gdavison in #55
  • Enables CredentialsChainVerboseErrors on authentication by @gdavison in #63
  • Initial implementation with AWS SDK for Go v2 by @gdavison in #64
  • V2: Adds support for custom User-Agent headers by @gdavison in #66
  • V2: Linting cleanup by @gdavison in #71
  • V2: Enables more authentication by @gdavison in #69
  • V2: Add function to get AWS partition and account ID from configuration by @gdavison in #73
  • V2: Allow specifying shared config file by @gdavison in #72
  • V2: Adds credential validation to GetAwsConfig() by @gdavison in #74
  • V2: Make awsv1shim a separate module by @gdavison in #75
  • V2: Implement MaxRetries by @gdavison in #77
  • V2: Adds ValidateRegion() by @gdavison in #76
  • V2: Make Assume Role config a separate struct by @gdavison in #78
  • V2: Updates release documentation by @gdavison in #79
  • V2: Updates APN user-agent configuration by @gdavison in #82
  • V2: Add proxy config by @gdavison in #81
  • Adds Config parameter to append user-agent products by @gdavison in #86
  • V2: Replace DurationSeconds with Duration by @gdavison in #84
  • Enable FIPS and DualStack endpoint configuration by @gdavison in #88
  • Adds STS region override by @gdavison in #91
  • Adds EC2 Metadata Service endpoint and endpoint mode configuration by @gdavison in #92
  • Exposes AWS SDK v1 session user agent handling by @gdavison in #95
  • Remove DebugLogging parameter from awsbase.Config and always enable logging by @gdavison in #97
  • Add Dependabot support by @gdavison in #100
  • Bump github.com/golangci/golangci-lint from 1.42.0 to 1.44.0 in /tools by @dependabot in #104
  • Bump github.com/aws/aws-sdk-go from 1.42.41 to 1.42.48 in /v2/awsv1shim by @dependabot in #102
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.13.0 to 1.13.1 by @dependabot in #103
  • Use AWS_MAX_ATTEMPTS environment variable to configure AWS SDK max attempts by @gdavison in #105
  • Bump github.com/aws/aws-sdk-go from 1.42.48 to 1.42.49 in /v2/awsv1shim by @dependabot in #106
  • Adds tests for setting region by @gdavison in #107
  • Bump github.com/aws/aws-sdk-go from 1.42.49 to 1.42.51 in /v2/awsv1shim by @dependabot in #109
  • Bump github.com/aws/aws-sdk-go from 1.42.51 to 1.42.52 in /v2/awsv1shim by @dependabot in #112
  • Uses AWS SDK BuildableClient for custom HTTP client by @gdavison in #116
  • Expands ~ and environment variables in file paths by @gdavison in #118
  • Add Custom CA Bundle configuration by @gdavison in #122
  • Bump github.com/golangci/golangci-lint from 1.44.0 to 1.44.2 in /tools by @dependabot in #123
  • Add credentials adapter from v2 to v1 by @gdavison in #125
  • Retrieve region from IMDS when initial credentials retrieved from IMDS by @gdavison in #131
  • Pre-validates Profile name before using it for authentication by @gdavison in #128
  • Adds logging for authentication flow by @gdavison in #146
  • Don't override shared files unless they're set by @gdavison in #151
  • Updates AWS SDK for Go v2 by @gdavison in #153
  • Bump actions/checkout from 2 to 3 by @dependabot in #155
  • Filters out CR (\r) characters from log messages by @gdavison in #157
  • Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.15.0 to 1.16.0 in /v2/awsv1shim by @dependabot in #171
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.14.0 to 1.15.0 in /v2/awsv1shim by @dependabot in #165
  • Filters out CR (\r) characters from log messages in awsv1shim by @gdavison in #172
  • Bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.11.0 to 1.12.0 by @dependabot in #168
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.14.0 to 1.15.0 by @dependabot in #170
  • Bump github.com/aws/aws-sdk-go-v2/service/iam from 1.17.0 to 1.18.0 by @dependabot in #174
  • Implements tests for custom CA bundle support in shared configuration files by @gdavison in #226
  • Adds tests for supported assume role with web identity configurations by @gdavison in #227
  • Bump actions/setup-go from 2 to 3 by @dependabot in #230
  • Adds parameter SuppressDebugLog by @gdavison in #232
  • Bump github.com/golangci/golangci-lint from 1.44.2 to 1.45.2 in /tools by @dependabot in #199
  • Add support for AssumeRoleWithWebIdentity by @mwieczorek in #178
  • Removes boolean SkipEC2MetadataApiCheck in favour of new tri-state EC2MetadataServiceEnableState by @gdavison in #240
  • Support sourcing max_attempts from shared config file by @gdavison in #278
  • Add parameter validation for AssumeRole and AssumeRoleWithWebIdentity by @gdavison in #277
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.46.2 in /tools by @dependabot in #283
  • Remove AWS SDKs from Dependabot by @gdavison in #315
  • Support STS AssumeRole SourceIdentity value by @wlami in #311
  • Refactors user-agent tests to share test cases and setup by @gdavison in #316
  • Add new AWS Region, me-central-1 by @ewbankkit in #328
  • Add user-agent strings to request context by @gdavison in #318
  • [COMPLIANCE] Update MPL 2.0 LICENSE by @hashicorp-copywrite in #332
  • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 by @dependabot in #329
  • Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /v2/awsv1shim by @dependabot in #330
  • Add eu-central-2 region by @nicolas-geniteau in #335
  • Add new AWS Region, eu-south-2 by @ewbankkit in #337
  • Add new AWS Region, ap-south-2 by @ewbankkit in #339
  • Configurable HTTP client by @ewbankkit in #340
  • Adds custom logging using tflog and removes sensitive fields from HTTP requests and responses by @gdavison in #341
  • [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #344
  • Logging fixes by @gdavison in #345
  • Bump github.com/golangci/golangci-lint from 1.50.1 to 1.51.0 in /tools by @dependabot in #346
  • Remove deprecated linters by @ewbankkit in #349
  • Add new AWS region, ap-southeast-4 by @oliverjfletcher in #348
  • Truncates request log body by @gdavison in #351
  • Bump github.com/hashicorp/terraform-plugin-log from 0.7.0 to 0.8.0 by @dependabot in #355
  • Bump go.opentelemetry.io/otel from 1.12.0 to 1.13.0 by @dependabot in #352
  • docs: update required go version by @jar-b in #357
  • Updates for assume role with web identity by @gdavison in #354
  • Updates AWS dependencies by @gdavison in #356
  • Removes no-op retryer for authentication by @gdavison in #361
  • Keeps dependencies in awsv1shim in sync by @gdavison in #360
  • Avoid retries on expired credentials by @YakDriver in #362

New Contributors

Full Changelog: v0.4.0...v2.0.0-beta.24