Repository navigation
Upgrade go-github v32 → v89 and shurcooL/githubv4 - #2121
Merged
Seanstoppable merged 1 commit intoJul 23, 2026
Merged
Seanstoppable merged 1 commit into
Seanstoppable merged 1 commit into
Conversation
Seanstoppable
force-pushed
the
seanstoppable-upgrade-go-github-v89
branch
from
July 23, 2026 02:17
95d7d22 to
469e643
Compare
- Update go-github from v32.1.0 to v89.0.0 - Migrate auth from oauth2 transport to NewClient option functions (WithAuthToken, WithEnterpriseURLs) - Update shurcooL/githubv4 from Aug 2020 to Feb 2026 pseudo-version - Remove unused oauth2 import from modules/github/github_repo.go
Seanstoppable
force-pushed
the
seanstoppable-upgrade-go-github-v89
branch
from
July 23, 2026 02:53
469e643 to
1cd6f02
Compare
Seanstoppable
enabled auto-merge (squash)
July 23, 2026 02:54
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
Upgrades the GitHub API client libraries:
github.com/google/go-github: v32.1.0 → v89.0.0github.com/shurcooL/githubv4: Aug 2020 → Feb 2026 pseudo-versionChanges
Auth migration (go-github)
The old oauth2 transport pattern (
oauth2.NewClient→github.NewClient(httpClient)) has been replaced with the functional options API introduced in newer versions:For GitHub Enterprise,
NewEnterpriseClient(base, upload, http)is replaced by:Files modified
modules/github/github_repo.go— import path + auth rewritemodules/github/display.go— import path onlysupport/github.go— import path + auth rewritego.mod/go.sum— dependency updatesTesting
go build ./...✅go vet ./...✅