Update dependencies, Go toolchain, CI actions to latest#151
Merged
Conversation
- Bump Go to 1.26 (mise.toml, go.mod, all workflows) - Bump golangci-lint to 2.11.4 (mise.toml, lint workflow to v2.11) - Bump goreleaser-action to v7 - Update Go module deps to latest patch/minor versions (gojq 0.12.19, testify 1.11.1, validator 10.30.2, pterm 0.12.83, golang.org/x/* family, mimetype, uax29, go-jose v3.0.5, etc.) - Replace WriteString(fmt.Sprintf(...)) with fmt.Fprintf to satisfy the new staticcheck QF1012 rule Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v4 requires explicit algorithm allowlists for ParseSigned, ParseEncrypted, and ParseSignedAndEncrypted. Add JOSE algorithm constants in internal/oauth2/jose_algos.go covering every standard JWS/JWE algorithm so this OAuth2 testing tool keeps working against servers regardless of their algorithm choices, and pass them at every call site. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
jdabrowski
approved these changes
Apr 29, 2026
ikawalec
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.mise.toml,go.mod, all GitHub workflows).mise.toml; lint workflow pinned tov2.11)goreleaser/goreleaser-actionto v7gojq 0.12.19,testify 1.11.1,validator 10.30.2,pterm 0.12.83,mimetype 1.4.13,uax29/v2 2.7.0,golang.org/x/{crypto,sys,term,text}family)go-josev3 → v4 — addsinternal/oauth2/jose_algos.gowith comprehensive JWS/JWE algorithm allowlists (v4 now requires explicit algorithm lists at everyParse*call site)WriteString(fmt.Sprintf(...))withfmt.Fprintfininternal/oauth2/error.goto satisfy the new staticcheckQF1012rule introduced by the bumped linterTest plan
go build ./...go test ./...— all packages passgolangci-lint run— 0 issues🤖 Generated with Claude Code