You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)