Skip to content

Upgrade Go to 1.25 - #97

Closed
janhartman wants to merge 1 commit into
masterfrom
go-1-25-upgrade-3a184972-bc3a-4496-b610-fc1409358dbf
Closed

janhartman wants to merge 1 commit into
masterfrom
go-1-25-upgrade-3a184972-bc3a-4496-b610-fc1409358dbf

Conversation

@janhartman

Copy link
Copy Markdown

Raises this repository's declared Go version to 1.25.

  • Every non-vendored go.mod declaring a version below 1.25 now declares go 1.25.0 (and its toolchain directive, where present, is pinned to go1.25.0).
  • Go version pins elsewhere in the repository — CI workflows, Dockerfile base images, .go-version / .tool-versions, build scripts, and docs — are raised to match, so builds don't silently run on an older toolchain.

Dependencies are untouched: no go mod tidy, no go.sum changes.

One thing worth a look if this module was previously below go 1.22: raising the language version changes for loop variable scoping to per-iteration. That is usually a bug fix, but it can alter behaviour in code that deliberately captured the shared loop variable.

Created by a Sourcegraph agentic batch change.

@janhartman janhartman closed this Sep 14, 2026
@janhartman
janhartman deleted the go-1-25-upgrade-3a184972-bc3a-4496-b610-fc1409358dbf branch September 14, 2026 11:41
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.

1 participant