Skip to content

v90.0.0

Latest

Choose a tag to compare

@gmlewis gmlewis released this 04 Aug 18:16
32b8631

This release contains the following breaking API changes:

  • refactor!: Pass UpdateConnectedExternalGroup request body by value via new UpdateConnectedExternalGroupRequest (#4425)
    BREAKING CHANGE: TeamsService.UpdateConnectedExternalGroup now takes UpdateConnectedExternalGroupRequest (with non-pointer GroupID) by value.
  • refactor!: Rename PullRequestReviewDismissalRequest to PullRequestDismissReviewRequest, add PullRequestSubmitReviewRequest, and pass review request bodies by value (#4406)
    BREAKING CHANGE: PullRequestReviewDismissalRequest is now PullRequestDismissReviewRequest with non-pointer Message and PullRequestsService.DismissReview takes it by value; PullRequestsService.SubmitReview now takes a new PullRequestSubmitReviewRequest.
  • refactor!: Split CreateOrUpdateCustomRepoRoleOptions into CreateCustomRepoRoleRequest and UpdateCustomRepoRoleRequest and pass by value (#4401)
    BREAKING CHANGE: CreateOrUpdateCustomRepoRoleOptions is split into CreateCustomRepoRoleRequest (with non-pointer Name and BaseRole) and UpdateCustomRepoRoleRequest; OrganizationsService.CreateCustomRepoRole and UpdateCustomRepoRole now take these request types by value.
  • refactor!: Rename EditLabel to UpdateLabel, Split Label into CreateLabelRequest & UpdateLabelRequest and pass by value (#4400)
    BREAKING CHANGE: IssuesService.CreateLabel now takes CreateLabelRequest by value (with required non-pointer Name); IssuesService.EditLabel renamed to UpdateLabel, taking an UpdateLabelRequest by value.
  • refactor!: Rename AutolinkOptions to CreateAutolinkRequest, AddAutolink to CreateAutolink, and pass the body by value (#4399)
    BREAKING CHANGE: AutolinkOptions is now CreateAutolinkRequest with non-pointer KeyPrefix and URLTemplate; RepositoriesService.AddAutolink is now CreateAutolink and passes body by value.
  • refactor!: Split IssueRequest into CreateIssueRequest & UpdateIssueRequest and pass by value (#4396)
    BREAKING CHANGE: IssueService.Edit is renamed to IssueService.Update.
  • refactor!: Rename NewPullRequest to CreatePullRequest and pass it by value (#4395)
    BREAKING CHANGE: NewPullRequest is renamed to CreatePullRequest, PullRequests.Create now takes it by value, and CreatePullRequest.Head and CreatePullRequest.Base are now string.
  • refactor!: Pass SarifAnalysis by value (#4394)
    BREAKING CHANGE: CodeScanningService.UploadSarif now takes body by value and its required fields are no longer pointers.
  • refactor!: Pass CreateDeploymentBranchPolicyRequest and UpdateDeploymentBranchPolicyRequest by value (#4382)
    BREAKING CHANGE: RepositoriesService.CreateDeploymentBranchPolicy and UpdateDeploymentBranchPolicy now take body by value and the required Name field is of type string.
  • refactor!: Pass TemplateRepoRequest by value in Repositories.CreateFromTemplate (#4378)
    BREAKING CHANGE: RepositoriesService.CreateFromTemplate now passes body by value and Name is now required and passed by value.
  • refactor!: Pass RepositoryMergeRequest and RepoMergeUpstreamRequest by value (#4372)
    BREAKING CHANGE: RepositoriesService.Merge and RepositoriesService.MergeUpstream now pass body by value and required struct fields are now values.
  • feat!: Refactor dependabot secrets to pass request by value (#4348)
    BREAKING CHANGE: DependabotService methods involving secrets have new params and return values.

...and the following additional changes:

  • chore: Bump version of go-github to v90.0.0 (#4428)
  • docs: Clarify assisted contribution expectations (#4427)
  • feat: Add org level secret scanning custom patterns support (#4426)
  • feat: Add MetaService.ListAPIVersions (#4422)
  • feat: Add DeleteCodeQLDatabase for code scanning (#4421)
  • feat: Add Stack field to PullRequest for stacked pull requests (#4423)
  • build: Bump GitHub workflow action versions (#4424)
  • feat: Add search_type support to issue search (#4414)
  • chore: Update SecurityAdvisory structs with new fields (#4413)
  • chore: Consolidate Dependabot PRs (#4418)
  • feat: Support OIDC custom property claims for Actions (#4411)
  • feat: Add repo-level secret scanning custom patterns support (#4397)
  • chore: Update openapi_operations.yaml (#4412)
  • chore: Fix comment typo (#4410)
  • chore: Update dependabot changes (#4405)
  • chore: Update openapi_operations.yaml (#4398)
  • feat: Add remaining Projects v2 endpoints (#4319)
  • chore: Update Dependabot-driven dependencies (#4393)
  • chore: Bump /example dependencies (#4380)
  • chore: Fix flaky tests with deterministic runs (#4377)
  • build(deps): Bump golang.org/x/sync from 0.21.0 to 0.22.0 in /tools (#4376)
  • chore: Fix flaky unit test (#4374)
  • fix: Enable submitting empty allowlist for actions permissions patterns (#4371)
  • feat: Add GitHub App Enterprise perm scope (#4343)
  • chore: Bump go-github from v88 to v89 in /scrape (#4370)