Skip to content

[MAINT]: Update to go-github v77 w/o projects #2809

Closed

Description

@nickfloyd

Fixed by: #2891

Describe the need

⚠️ This is a significant breaking change around the projects API.

The v77 release has the following breaking changes:

feat!: Remove Project (classic) support (google/go-github#3380)
BREAKING CHANGE: All support for "Project (classic)" is removed and Project responses are replaced by ProjectV2 (renamed from ProjectsV2).
fix!: Remove unused Stats field from Commit struct (google/go-github#3395)
BREAKING CHANGE: The unused Stats field is removed from the Commit struct.

SDK Version

No response

API Version

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    Status: TriageThis is being looked at and prioritized
    Type: MaintenanceAny dependency, housekeeping, and clean up Issue or PR
    on Oct 23, 2025
  2. added theissue type on Oct 23, 2025
  3. moved this from Backlog to On Deck in Terraform Provideron Oct 23, 2025
  4. self-assigned this
    on Oct 23, 2025
  5. moved this from On Deck to In Progress in Terraform Provideron Oct 23, 2025
  6. removed their assignment
    on Oct 27, 2025
  7. 4 remaining items

  8. moved this from On Deck to In Progress in Terraform Provideron Nov 13, 2025
  9. nickfloyd commented on Nov 13, 2025

    @nickfloyd
    ContributorAuthor

    Post upgrade issues (expected):

    # github.com/integrations/terraform-provider-github/v6/github
    github/resource_github_organization_project.go:62:42: client.Organizations.CreateProject undefined (type *"github.com/google/go-github/v68/github".OrganizationsService has no field or method CreateProject)
    github/resource_github_organization_project.go:64:11: undefined: github.ProjectOptions
    github/resource_github_organization_project.go:95:31: client.Projects undefined (type *"github.com/google/go-github/v68/github".Client has no field or method Projects)
    github/resource_github_organization_project.go:139:20: undefined: github.ProjectOptions
    github/resource_github_organization_project.go:150:25: client.Projects undefined (type *"github.com/google/go-github/v68/github".Client has no field or method Projects)
    github/resource_github_organization_project.go:170:18: client.Projects undefined (type *"github.com/google/go-github/v68/github".Client has no field or method Projects)
    github/resource_github_project_card.go:75:20: undefined: github.ProjectCardOptions
    github/resource_github_project_card.go:92:25: client.Projects undefined (type *"github.com/google/go-github/v68/github".Client has no field or method Projects)
    github/resource_github_project_card.go:115:25: client.Projects undefined (type *"github.com/google/go-github/v68/github".Client has no field or method Projects)
    github/resource_github_project_card.go:152:20: undefined: github.ProjectCardOptions
    github/resource_github_project_card.go:152:20: too many errors
    make: *** [build] Error 1
    
  10. nickfloyd commented on Nov 13, 2025

    @nickfloyd
    ContributorAuthor

    Possible path forward: It looks like in order to get the functionality that we need for projects v2 we will have to jump to go-github v77

  11. nickfloyd commented on Nov 13, 2025

    @nickfloyd
    ContributorAuthor

    Project update needs from v77

    • Org projects are now read-only (ProjectsV2 can't be created via REST API - just read ops available )
    • Repo projects are deprecated (don't exist in ProjectsV2)
    • Project cards have become project items

    Other v77 🆙date issues

    • github.Ruleset -> github.RepositoryRuleset (this looks like it's going to be a messy change due to the SDK expecting entities now)
    • Actions permissions methods have been removed renamed (i.e. EditActionsPermissions -> UpdateActionsPermissions)
    • Repo permissions changes are just like Actions permissions
    • Workflow permissions look like they are just like Actions permissions
    • Branch creation func signature changes
    • Doesn't look like org rulesets are supported
  12. MrMon3y commented on Nov 18, 2025

    @MrMon3y

    Possible path forward: It looks like in order to get the functionality that we need for projects v2 we will have to jump to go-github v77

    Does this finding change the original idea of an iterative approach described here?

  13. changed the title [-][MAINT]: Update to go-github v68[/-] [+][MAINT]: Update to go-github v79[/+] on Nov 20, 2025
  14. changed the title [-][MAINT]: Update to go-github v79[/-] [+][MAINT]: Update to go-github v77[/+] on Nov 20, 2025
  15. changed the title [-][MAINT]: Update to go-github v77[/-] [+][MAINT]: Update to go-github v77 w/o projects[/+] on Nov 20, 2025
  16. added this to the v7.0.0 Release milestone on Nov 20, 2025
  17. nickfloyd commented on Nov 20, 2025

    @nickfloyd
    ContributorAuthor

    Does this finding change the original idea of an iterative approach described here?

    Hey @MrMon3y We've pivoted just a bit on the plan here. We will be releasing go-github v79 updates + Project V2 Items with the upcoming v7.x release. We've got PRs (#2891 and #2898) ready for review in support of all of this.

  18. stevehipwell commented on Jan 7, 2026

    @stevehipwell
    Collaborator

    This was resolved in #3050.

  19. moved this from In Progress to Done in Terraform Provideron Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Status: TriageThis is being looked at and prioritizedType: MaintenanceAny dependency, housekeeping, and clean up Issue or PR

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions