Skip to content

v0.11.0

Latest

Choose a tag to compare

@ccf-release-bot ccf-release-bot released this 28 Oct 13:56
7a59e36

0.11.0 (2026-10-28)

⚠ BREAKING CHANGES

  • deps: UsersService.Unsuspend now takes an UnsuspendUserRequest body argument.
    • refactor!: Pass repository creation by value
      (#​4616)
      RepositoriesService.Create now requires a
      CreateRepositoryRequest value instead of a *Repository.
    • refactor!: Rename LockIssueOptions,
      PullRequestBranchUpdateOptions, and UserSuspendOptions to
      ...Request and pass them by value
      (#​4612)
      LockIssueOptions, PullRequestBranchUpdateOptions,
      and UserSuspendOptions are renamed to LockIssueRequest,
      UpdatePullRequestBranchRequest, and SuspendUserRequest and are
      passed by value to IssuesService.Lock,
      PullRequestsService.UpdateBranch, and UsersService.Suspend;
      LockIssueRequest.LockReason is now *string.
    • refactor!: Pass the Projects v2 item body types by value and rename
      them to ...Request
      (#​4609)
      AddProjectItemOptions and UpdateProjectItemOptions
      are renamed to AddProjectItemRequest and UpdateProjectItemRequest
      and passed by value; AddProjectItemRequest.Type is no longer a
      pointer; UpdateProjectItemOptions.Archived is removed.
    • refactor!: Rename RepositoryCreateForkOptions and
      RepositoryAddCollaboratorOptions to ...Request and pass them by
      value
      (#​4607)
      RepositoryCreateForkOptions and
      RepositoryAddCollaboratorOptions are renamed to CreateForkRequest
      and AddCollaboratorRequest; RepositoriesService.CreateFork and
      RepositoriesService.AddCollaborator now take them by value instead of
      by pointer; CreateForkRequest.Organization, CreateForkRequest.Name,
      CreateForkRequest.DefaultBranchOnly and
      AddCollaboratorRequest.Permission are now pointers.
    • refactor!: Pass the Teams body types by value and rename them to
      ...Request
      (#​4606)
      TeamAddTeamMembershipOptions,
      TeamAddTeamRepoOptions and TeamProjectOptions are renamed to
      AddTeamMembershipRequest, AddTeamRepoRequest and
      AddTeamProjectRequest; TeamsService.AddTeamMembershipByID,
      AddTeamMembershipBySlug, AddTeamRepoByID, AddTeamRepoBySlug,
      AddTeamProjectByID and AddTeamProjectBySlug now take them by value
      instead of by pointer; AddTeamMembershipRequest.Role and
      AddTeamRepoRequest.Permission are now *string.
    • refactor!: Pass the secret scanning body types by value and rename
      them to ...Request
      (#​4548)
      SecretScanningAlertUpdateOptions and
      SecretScanningPatternConfigsUpdateOptions are renamed to
      UpdateSecretScanningAlertRequest and
      UpdateSecretScanningPatternConfigsRequest;
      SecretScanningService.UpdateAlert, UpdatePatternConfigsForEnterprise
      and UpdatePatternConfigsForOrg now take them by value;
      UpdateSecretScanningAlertRequest.State is now *string.
    • fix!: Match request body fields to the OpenAPI schemas
      (#​4581)
      Many required request body fields are now passed by
      value.
    • fix!: Send credentials only to configured origins
      (#​4564)
      Credentials are sent only to a client's configured API
      and upload origins — every other destination, including a redirect hop,
      goes out unauthenticated. A request body aimed outside those origins is
      refused. BasicAuthTransport and UnauthenticatedRateLimitedTransport
      gained AllowedOrigins, which GitHub Enterprise users must set.
    • refactor!: Pass org invitation requests by value
      (#​4551)
      OrganizationsService.CreateOrgInvitation now takes
      CreateOrgInvitationRequest (by value);
      CreateOrgInvitationRequest.TeamID is now TeamIDs.

Bug Fixes

  • deps: bump agent to v0.9.3, workflows to v1.7.0 (#39) (b53f42f)
  • deps: bump agent to v0.9.4 (#42) (d3030e0)
  • deps: update all non-major dependencies (#37) (b3768fa)
  • deps: update module github.com/google/go-github/v71 to v93 (#40) (f471139)
  • deps: update module golang.org/x/net to v0.62.0 [security] (#41) (abf3b5a)