chore(deps): bump Go toolchain to 1.26.2 and update dependencies#96
chore(deps): bump Go toolchain to 1.26.2 and update dependencies#96
Conversation
Upgrade the Go version from 1.26.1 to 1.26.2 across all project configuration files (go.mod, Makefile, .project-settings.env, .golangci.yaml, and the pre-commit unit test hook). Also bump indirect dependencies to their latest versions: - github.com/mattn/go-isatty: v0.0.20 → v0.0.21 - github.com/valyala/fasthttp: v1.69.0 → v1.70.0 - golang.org/x/crypto: v0.49.0 → v0.50.0 - golang.org/x/net: v0.52.0 → v0.53.0 - golang.org/x/sys: v0.42.0 → v0.43.0 - golang.org/x/text: v0.35.0 → v0.36.0
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s Go toolchain patch version and refreshes a set of indirect Go module dependencies to newer releases, keeping the build/tooling configuration aligned across repo files.
Changes:
- Bump configured Go version from
1.26.1to1.26.2in build, lint, and pre-commit tooling configs. - Update indirect dependencies in
go.modand corresponding checksums ingo.sum.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Makefile | Updates GO_VERSION used by local tooling targets. |
| go.mod | Updates the go directive and indirect dependency versions. |
| go.sum | Updates module checksums to match the dependency bumps. |
| .project-settings.env | Updates the shared GO_VERSION env value. |
| .pre-commit/unit-test-hook | Updates the toolchain version used for pre-commit unit tests. |
| .golangci.yaml | Updates the Go version target for golangci-lint runs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| module github.com/hyp3rd/hypercache | ||
|
|
||
| go 1.26.1 | ||
| go 1.26.2 |
There was a problem hiding this comment.
The go directive in go.mod represents the module’s language version and generally must be a major.minor (or major.minor.0) value; using a patch version like 1.26.2 can cause go commands to fail with an “invalid go version” error. Consider setting this to 1.26 (or 1.26.0) and, if you need to pin the toolchain patch level, add a toolchain go1.26.2 directive instead (or keep the patch pinning only in CI/tooling env vars).
| go 1.26.2 | |
| go 1.26 | |
| toolchain go1.26.2 |
Upgrade the Go version from 1.26.1 to 1.26.2 across all project configuration files (go.mod, Makefile, .project-settings.env, .golangci.yaml, and the pre-commit unit test hook).
Also bump indirect dependencies to their latest versions: