Skip to content

Release/0.7.6#97

Merged
Oguzhan Unlu (oguzhanunlu) merged 3 commits intomasterfrom
release/0.7.6
Jan 20, 2026
Merged

Release/0.7.6#97
Oguzhan Unlu (oguzhanunlu) merged 3 commits intomasterfrom
release/0.7.6

Conversation

@oguzhanunlu
Copy link
Member

No description provided.

- Update Go version from 1.19 to 1.24.11
- Update Alpine base image from 3.18.5 to 3.21
- CI workflow update (Consul 1.8.3 → 1.22.2)
- go:embed instead of go-bindata
- Native go build instead of gox
- Update major dependencies:
  - aws-sdk-go: v1.34.5 -> v1.55.8
  - sentry-go: v0.14.0 -> v0.40.0
  - consul/api: v1.4.0 -> v1.32.0
  - consul/sdk: v0.4.0 -> v0.16.1
  - golang.org/x/sys, golang.org/x/text, and others
- Fix InitConsulLock to properly parse URL schemes for new consul/api
- Fix test compatibility with updated dependencies
- Fix Makefile sed command for macOS compatibility
This commit completes the migration from AWS SDK for Go v1 to v2,
following the official AWS migration guide best practices.

Key changes:
- Replace session.NewSession with config.LoadDefaultConfig
- Use service.NewFromConfig(cfg) for client construction
- Use context-first API pattern for all AWS operations
- Move to types package for enum values and structs
- Use SDK v2 Waiters (ClusterRunningWaiter, ClusterTerminatedWaiter)
- Use SDK v2 Paginators (s3.NewListObjectsV2Paginator)
- Wrap credentials with aws.NewCredentialsCache for thread safety
- Define custom interfaces for testability (replaces removed *iface)
- Add *WithContext methods for context propagation
- Replace deprecated ioutil with os/io packages
- Use modern Go idioms (any, slices.Contains)
- Replace hashicorp/errwrap with fmt.Errorf %w
- Add constants for magic numbers
- Use structured logging with log.Infof
@oguzhanunlu Oguzhan Unlu (oguzhanunlu) merged commit 8c87e53 into master Jan 20, 2026
1 check passed
@oguzhanunlu Oguzhan Unlu (oguzhanunlu) deleted the release/0.7.6 branch January 20, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants