github google/go-github v92.0.0

3 hours ago

This release contains the following breaking API changes:

  • refactor!: Pass the Codespaces body types by value and rename them to ...Request (#4540)
    BREAKING CHANGE: CreateCodespaceOptions, CodespaceCreateForUserOptions, UpdateCodespaceOptions and PublishCodespaceOptions are renamed to CreateCodespaceRequest, CreateCodespaceForUserRequest, UpdateCodespaceRequest and PublishCodespaceRequest; CodespacesService.CreateInRepo, CreateFromPullRequest, Create, Update and Publish now take them by value instead of by pointer; CreateCodespaceForUserRequest.RepositoryID is now *int64.
  • refactor!: Rename DependencyGraphSnapshot to CreateDependencyGraphSnapshotRequest and pass by value (#4519)
    BREAKING CHANGE: DependencyGraphSnapshot is now CreateDependencyGraphSnapshotRequest with field pointer/value changes.
  • feat!: Add pagination to Enterprise.ListBudgets and add GetUserStatesForBudget (#4501)
    BREAKING CHANGE: EnterpriseService.ListBudgets now takes EnterpriseListBudgetsOptions.
  • refactor!: Split RepositoryComment request bodies and pass by value (#4496)
    BREAKING CHANGE: RepositoriesService.CreateComment now takes CreateCommitCommentRequest and RepositoriesService.UpdateComment takes UpdateCommitCommentRequest, both passed by value instead of *RepositoryComment.

...and the following additional changes:

  • chore: Bump version of go-github to v92.0.0 (#4554)
  • fix: Re-add ldapdb for ghes team creation (#4553)
  • feat: Add ImageGen to HostedRunner and UpdateHostedRunnerRequest (#4549)
  • feat: Support the edited and dismissed actions on PullRequestReviewEvent (#4552)
  • fix: Escape package names in UsersService methods (#4546)
  • feat: Add simple CRUD endpoints for GitHub Copilot Spaces (#4379)
  • feat: Add Agents secrets API (#4533)
  • fix: Escape environment names in URL paths across 5 files (#4536)
  • feat: Add Copilot user-teams daily metrics report endpoints (#4500)
  • chore: Consolidate Dependabot PRs (#4542)
  • chore: Remove alexandear from REVIEWERS (#4535)
  • feat: Add stacked pull request endpoints (#4436)
  • feat: Add GetOrganizationUsageSummary and GetUserUsageSummary to BillingService (#4521)
  • fix: Escape branch names when listing rules (#4534)
  • fix: Accept 202 when deleting app installation (#4529)
  • docs: Deprecate singular assignee fields (#4528)
  • chore: Update AUTHORS (#4522)
  • feat: Add ThrottledAt field to HookDelivery (#4518)
  • chore: Consolidate Dependabot PRs (#4515)
  • feat: Add IsEnabled field to IssueType (#4504)
  • feat: Add Copilot repository daily metrics report endpoints (#4498)
  • chore: Bump go-github from v90 to v91 in /scrape (#4506)

Don't miss a new go-github release

NewReleases is sending notifications on new releases.