Skip to content

chore(deps): bump Go toolchain to 1.26.2 and update dependencies#96

Merged
hyp3rd merged 1 commit intomainfrom
chore/deps-updates-260404
Apr 9, 2026
Merged

chore(deps): bump Go toolchain to 1.26.2 and update dependencies#96
hyp3rd merged 1 commit intomainfrom
chore/deps-updates-260404

Conversation

@hyp3rd
Copy link
Copy Markdown
Owner

@hyp3rd hyp3rd commented Apr 9, 2026

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

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
Copilot AI review requested due to automatic review settings April 9, 2026 22:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.1 to 1.26.2 in build, lint, and pre-commit tooling configs.
  • Update indirect dependencies in go.mod and corresponding checksums in go.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
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Suggested change
go 1.26.2
go 1.26
toolchain go1.26.2

Copilot uses AI. Check for mistakes.
@hyp3rd hyp3rd merged commit 23de431 into main Apr 9, 2026
12 of 13 checks passed
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