Skip to content

chore: update Go, linter, and dependencies - #157

Merged
traefiker merged 1 commit into
traefik:masterfrom
mloiseleur:chore/update-go-linter-deps
Sep 14, 2026
Merged

traefiker merged 1 commit into
traefik:masterfrom
mloiseleur:chore/update-go-linter-deps

Conversation

@mloiseleur

@mloiseleur mloiseleur commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Refresh the tech stack: Go 1.27, golangci-lint v2.13.2 & deps.

Follow-up PRs, left out here because they are API migrations rather than version bumps:

  • github.com/google/go-github v57 -> v77
  • github.com/urfave/cli v2 -> v3
  • Upstream the traefik fork patch 3c53dca ("Fix verify exported functions") to http-wasm/http-wasm-host-go so the replace directive can be dropped. It is the only commit not contained in upstream v0.7.0.

Go 1.23 -> 1.27, golangci-lint v2.4.0 -> v2.13.2, and a minor/patch
refresh of all dependencies (OTel 1.37 -> 1.46, wazero 1.7.2 -> 1.12.0,
testify, zerolog, grpc, x/*).

Linter config: disable exhaustruct_v5 (same intent as exhaustruct) and
the deprecated gomodguard, migrate gofumpt extra-rules to extra.*, and
refresh the canonicalheader exclusions whose message text changed.

Code changes are golangci-lint --fix output for the new Go 1.27
modernizations (interface{} -> any, new(v), reflect.TypeFor/TypeAssert,
promoted fields in composite literals) plus t.Chdir and a pluginKey
constant for goconst.
@traefiker
traefiker merged commit 27585fa into traefik:master Sep 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants