Skip to content

Update all dependencies to latest#80

Merged
umputun merged 1 commit into
masterfrom
deps/update-latest-go1.25
Jun 30, 2026
Merged

Update all dependencies to latest#80
umputun merged 1 commit into
masterfrom
deps/update-latest-go1.25

Conversation

@paskal

@paskal paskal commented Jun 30, 2026

Copy link
Copy Markdown
Member

Updates every module to its latest version within the go 1.25 requirement.

Security alerts cleared

The Dependabot alerts (grpc CVE-2026-33186 critical, docker/docker CVE-2026-34040 high + related) were all in test-only transitive deps pulled through go-pkgz/testutilstestcontainers-go. Bumping testutils to 0.6.0 moves testcontainers-go to 0.42, which migrated its docker client to the new moby/moby module. As a result github.com/docker/docker and google.golang.org/grpc are dropped from the module graph entirely — the alerts are resolved by removal, not just a version bump.

Other updates

  • go.mongodb.org/mongo-driver/v2 2.5.0 → 2.7.0
  • golang.org/x/net 0.53.0 → 0.56.0, plus x/crypto, x/text, x/sys
  • otel 1.42 → 1.43, aws-sdk and gopsutil deps to latest
  • go-pkgz/lgr, docker/go-connections 0.6 → 0.7

Other

  • Introduced constants for repeated mongo field names/operators (domain, enabled, _id, $set) to satisfy the goconst linter, which was failing CI.
  • vendor/ re-synced.

Verified locally: go test -race ./... (incl. the mongo testcontainers tests), go vet, golangci-lint run, and govulncheck ./... all clean.

Supersedes #79.

Bump go-pkgz/testutils to 0.6.0, which moves testcontainers-go to 0.42
and migrates the docker client to the new moby/moby module. This drops
github.com/docker/docker and google.golang.org/grpc from the graph
entirely, clearing all open Dependabot alerts:
- google.golang.org/grpc CVE-2026-33186 (critical, test-only)
- github.com/docker/docker CVE-2026-34040 and related (high/medium, test-only)

Also update mongo-driver, golang.org/x/net, otel and aws-sdk deps to
latest within the go 1.25 requirement. Introduce constants for repeated
mongo field names and operators to satisfy goconst.

go test -race, go vet, golangci-lint and govulncheck all clean.
@umputun umputun merged commit 55ddde3 into master Jun 30, 2026
2 checks passed
@paskal paskal deleted the deps/update-latest-go1.25 branch June 30, 2026 17:26
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28460920821

Coverage remained the same at 77.947%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 3 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

3 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
datastore/rules.go 3 95.16%

Coverage Stats

Coverage Status
Relevant Lines: 984
Covered Lines: 767
Line Coverage: 77.95%
Coverage Strength: 9.39 hits per line

💛 - Coveralls

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.

3 participants