-
Notifications
You must be signed in to change notification settings - Fork 3k
Update to google/go-github@v77
#1357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
google/go-github@v77
fc1471d to
fce10ae
Compare
There was a problem hiding this 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 upgrades the go-github library from v76 to v77, along with necessary API adaptations for breaking changes in the Projects API.
- Updated dependency from
github.com/google/go-github/v76tov77.0.0 - Adapted Projects API calls to use new method names and parameter types
- Updated all import statements across 40+ files
Reviewed Changes
Copilot reviewed 46 out of 48 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| go.mod, go.sum | Updated go-github dependency from v76 to v77 |
| third-party-licenses.*.md | Updated license references for v77 |
| third-party/github.com/google/go-github/v77/github/LICENSE | Added BSD-3-Clause license file for v77 |
| third-party/github.com/github/github-mcp-server/LICENSE | Removed MIT license file |
| pkg/github/projects.go | Updated API method names and parameter types for v77 compatibility |
| pkg/github/.go, pkg/raw/.go, pkg/errors/*.go | Updated imports from v76 to v77 |
| internal/ghmcp/server.go, cmd/github-mcp-server/generate_docs.go, e2e/e2e_test.go | Updated imports from v76 to v77 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4c97a67 to
b1183b4
Compare
b1183b4 to
fab59eb
Compare
Towards: https://github.com/github/memex/issues/20995
This PR upgrades our dependency to
google/go-github@v77. The update impacts 48 files, primarily due to adjustments needed for API changes and deprecations introduced in the latestgo-githubrelease.As part of the upgrade, I refactored a few areas that relied on outdated API calls, updated method signatures, and removed deprecated patterns while keeping the overall code changes minimal to ensure compatibility with the new version.
In the process, I also addressed CI requirements related to license compliance. A few commits were specifically focused on updating license files and resolving issues flagged during the build.
While this is a large PR, opting for a full upgrade (rather than selective patching) minimizes the overall diff of actual code changes. This approach should make the changes easier to review and reason about.
Updates to the MCP server based on the
v77release will be handled separately as part of #1358.If you spot anything unexpected or would like clarification—especially around the license or refactor adjustments—please let me know!