Skip to content

Bump all Go dependencies (fixes jsonparser DoS), require Go 1.26 - #99

Merged
Albert221 merged 2 commits into
mainfrom
bump-jsonparser
Sep 23, 2026
Merged

Albert221 merged 2 commits into
mainfrom
bump-jsonparser

Conversation

@Albert221

@Albert221 Albert221 commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Resolves Dependabot alert #2 (github.com/buger/jsonparser <= 1.1.1 DoS) and bumps every other dependency and tool to its latest version while we're at it.

Go version

The latest golang.org/x/* modules require Go >= 1.26, so go.mod now says go 1.26.0 (and the toolchain go1.24.2 line is dropped). CI and the release workflow read the Go version from go.mod via setup-go's go-version-file, and the released binaries are statically built, so this only raises the minimum Go version for building from source / go install.

Bumped

Module From To
github.com/spf13/cobra v1.9.1 v1.10.2
github.com/spf13/pflag v1.0.6 v1.0.10
github.com/hashicorp/go-version v1.7.0 v1.9.0
github.com/stretchr/testify v1.10.0 v1.12.1
golang.org/x/text v0.24.0 v0.42.0
github.com/buger/jsonparser (indirect) v1.1.1 v1.6.1
github.com/mailru/easyjson (indirect) v0.9.0 v0.9.2
golang.org/x/{mod,sync,tools,exp/typeparams} (indirect) — latest
honnef.co/go/tools (staticcheck tool) v0.6.1 v0.8.1
mvdan.cc/gofumpt (tool) v0.8.0 v0.12.0

Testing

  • go build ./..., go vet ./..., go test ./... pass on Go 1.26.
  • go tool gofumpt -l . reports nothing; go tool staticcheck ./... passes.

🤖 Generated with Claude Code

Albert221 and others added 2 commits September 23, 2026 15:26
Fixes a denial of service vulnerability in <= v1.1.1 (Dependabot alert #2).
It's an indirect dependency via github.com/wk8/go-ordered-map/v2.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Latest golang.org/x/* modules require Go >= 1.26. CI and releases read
the Go version from go.mod, and released binaries are statically built,
so this only raises the minimum for building from source.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Albert221 Albert221 changed the title Bump github.com/buger/jsonparser to v1.1.2 Bump all Go dependencies (fixes jsonparser DoS), require Go 1.26 Sep 23, 2026
@Albert221
Albert221 merged commit d4ed893 into main Sep 23, 2026
3 checks passed
@Albert221
Albert221 deleted the bump-jsonparser branch September 23, 2026 13:33
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