go-commons This Week: AWS SDK v2 and OpenTelemetry SDK Bumps

gruntwork-io/go-commons is the shared Go library behind Gruntwork tooling. This week it saw three commits, all dependency bumps from Dependabot, with the biggest one moving the AWS SDK v2 modules.

I looked at the last week of activity. There are no new APIs and no behavior changes in the library code. Still, if you import go-commons in your own tools, the bumps change what lands in your go.sum, so they are worth a short read.

AWS SDK v2 group update

The largest change is the grouped bump of six AWS SDK v2 modules, merged as PR #144. It touches go.mod and go.sum only.

Direct dependencies moved like this:

  • aws-sdk-go-v2 from v1.47.8 to v1.48.0
  • config from v1.33.16 to v1.33.18
  • service/autoscaling from v1.80.0 to v1.82.0
  • service/ec2 from v1.344.2 to v1.347.0
  • service/s3 from v1.114.9 to v1.114.10
  • service/secretsmanager from v1.50.11 to v1.51.0

The indirect modules came along too. credentials went from v1.20.16 to v1.21.0, which is a minor version step rather than a patch. service/signin moved from v1.12.4 to v1.13.1, service/sts from v1.51.9 to v1.52.0, and smithy-go from v1.28.8 to v1.28.9.

The diff excerpt shows no source files changed, so the library code compiles against the new versions as is. The go.mod still lists the older github.com/aws/aws-sdk-go v1.44.122 as a direct requirement. This bump does not touch it.

OpenTelemetry SDK 1.47.0

The second change is the bump of go.opentelemetry.io/otel/sdk from 1.45.0 to 1.47.0, tracked in PR #141. It skips one minor release, which is normal when Dependabot waits for a merge.

Why it matters: go-commons is a library, and its go.mod sets a floor for the OpenTelemetry SDK version for every consumer. If your tool pins an older otel/sdk, Go’s minimal version selection will raise it to 1.47.0 once you update go-commons. If you also pin otel API or exporter modules, check that they still line up with the SDK.

A quick way to see what changes in your own module:

go get github.com/gruntwork-io/go-commons@master
go mod tidy
git diff --stat go.mod go.sum

CI action bump

The smallest change is the jdx/mise-action update from 5.2.7 to 5.2.8, merged as PR #143. It lives in .github/actions/setup/action.yml, the composite setup action used by the repo workflows.

This one affects only the repo’s own CI. It does not reach downstream users. It is a patch release, and there is nothing else in the diff.

What to watch

  • If your build pulls go-commons and the AWS SDK v2 together, run your tests after updating. credentials and signin crossed minor versions, so credential loading paths are the first place to look.
  • Expect more of the same. The repo uses grouped Dependabot updates for the AWS SDK, so each new SDK release tends to produce one PR like #144.
  • The legacy aws-sdk-go v1 requirement is still in go.mod. A future cleanup could drop it, but nothing in this week’s commits points to that.

This is a quiet week in terms of features. For a shared library, quiet is fine. The useful part is knowing which transitive versions you now inherit.

← All updates