Skip to content

Update to google/go-github@v77 - #1357

Merged
stephenotalora merged 6 commits into
mainfrom
stephenotalora/mcp-projects-v77
Nov 7, 2025
Merged

Update to google/go-github@v77#1357
stephenotalora merged 6 commits into
mainfrom
stephenotalora/mcp-projects-v77

Conversation

@stephenotalora

@stephenotalorastephenotalora commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

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 latest go-github release.

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 v77 release 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!

@stephenotalorastephenotalora changed the title update to google/go-github@v77Update to google/go-github@v77Nov 4, 2025
@stephenotalora
stephenotaloraforce-pushed the stephenotalora/mcp-projects-v77 branch 3 times, most recently from fc1471d to fce10aeCompareNovember 4, 2025 21:31
@stephenotalorastephenotalora self-assigned this Nov 4, 2025
@stephenotalora
stephenotalora marked this pull request as ready for review November 4, 2025 21:43
@stephenotalora
stephenotalora requested a review from a team as a code ownerNovember 4, 2025 21:43
CopilotAI review requested due to automatic review settings November 4, 2025 21:43

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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/v76 to v77.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
FileDescription
go.mod, go.sumUpdated go-github dependency from v76 to v77
third-party-licenses.*.mdUpdated license references for v77
third-party/github.com/google/go-github/v77/github/LICENSEAdded BSD-3-Clause license file for v77
third-party/github.com/github/github-mcp-server/LICENSERemoved MIT license file
pkg/github/projects.goUpdated API method names and parameter types for v77 compatibility
pkg/github/.go, pkg/raw/.go, pkg/errors/*.goUpdated imports from v76 to v77
internal/ghmcp/server.go, cmd/github-mcp-server/generate_docs.go, e2e/e2e_test.goUpdated imports from v76 to v77

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpkg/github/projects.go Outdated
@stephenotalora
stephenotaloraforce-pushed the stephenotalora/mcp-projects-v77 branch from b1183b4 to fab59ebCompareNovember 6, 2025 20:02
@stephenotalora
stephenotalora merged commit cf0e05e into mainNov 7, 2025
16 checks passed
@stephenotalora
stephenotalora deleted the stephenotalora/mcp-projects-v77 branch November 7, 2025 16:06
Sign up for freeto 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.

3 participants

@stephenotalora@kerobbi