Repository navigation
This release contains the following breaking API changes:
- feat!: Support
reasoninUsersService.Unsuspend(#4614)
BREAKING CHANGE:UsersService.Unsuspendnow takes anUnsuspendUserRequestbody argument. - refactor!: Pass repository creation by value (#4616)
BREAKING CHANGE:RepositoriesService.Createnow requires aCreateRepositoryRequestvalue instead of a*Repository. - refactor!: Rename
LockIssueOptions,PullRequestBranchUpdateOptions, andUserSuspendOptionsto...Requestand pass them by value (#4612)
BREAKING CHANGE:LockIssueOptions,PullRequestBranchUpdateOptions, andUserSuspendOptionsare renamed toLockIssueRequest,UpdatePullRequestBranchRequest, andSuspendUserRequestand are passed by value toIssuesService.Lock,PullRequestsService.UpdateBranch, andUsersService.Suspend;LockIssueRequest.LockReasonis now*string. - refactor!: Pass the Projects v2 item body types by value and rename them to
...Request(#4609)
BREAKING CHANGE:AddProjectItemOptionsandUpdateProjectItemOptionsare renamed toAddProjectItemRequestandUpdateProjectItemRequestand passed by value;AddProjectItemRequest.Typeis no longer a pointer;UpdateProjectItemOptions.Archivedis removed. - refactor!: Rename
RepositoryCreateForkOptionsandRepositoryAddCollaboratorOptionsto...Requestand pass them by value (#4607)
BREAKING CHANGE:RepositoryCreateForkOptionsandRepositoryAddCollaboratorOptionsare renamed toCreateForkRequestandAddCollaboratorRequest;RepositoriesService.CreateForkandRepositoriesService.AddCollaboratornow take them by value instead of by pointer;CreateForkRequest.Organization,CreateForkRequest.Name,CreateForkRequest.DefaultBranchOnlyandAddCollaboratorRequest.Permissionare now pointers. - refactor!: Pass the Teams body types by value and rename them to
...Request(#4606)
BREAKING CHANGE:TeamAddTeamMembershipOptions,TeamAddTeamRepoOptionsandTeamProjectOptionsare renamed toAddTeamMembershipRequest,AddTeamRepoRequestandAddTeamProjectRequest;TeamsService.AddTeamMembershipByID,AddTeamMembershipBySlug,AddTeamRepoByID,AddTeamRepoBySlug,AddTeamProjectByIDandAddTeamProjectBySlugnow take them by value instead of by pointer;AddTeamMembershipRequest.RoleandAddTeamRepoRequest.Permissionare now*string. - refactor!: Pass the secret scanning body types by value and rename them to
...Request(#4548)
BREAKING CHANGE:SecretScanningAlertUpdateOptionsandSecretScanningPatternConfigsUpdateOptionsare renamed toUpdateSecretScanningAlertRequestandUpdateSecretScanningPatternConfigsRequest;SecretScanningService.UpdateAlert,UpdatePatternConfigsForEnterpriseandUpdatePatternConfigsForOrgnow take them by value;UpdateSecretScanningAlertRequest.Stateis now*string. - fix!: Match request body fields to the OpenAPI schemas (#4581)
BREAKING CHANGE: Many required request body fields are now passed by value. - fix!: Send credentials only to configured origins (#4564)
BREAKING CHANGE: 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.BasicAuthTransportandUnauthenticatedRateLimitedTransportgainedAllowedOrigins, which GitHub Enterprise users must set. - refactor!: Pass org invitation requests by value (#4551)
BREAKING CHANGE:OrganizationsService.CreateOrgInvitationnow takesCreateOrgInvitationRequest(by value);CreateOrgInvitationRequest.TeamIDis nowTeamIDs.
...and the following additional changes:
- chore: Bump version of go-github to v93.0.0 (#4634)
- chore: Consolidate Dependabot PRs (#4633)
- feat: Add support for stargazer count and history (#4611)
- build: Bump github.com/ProtonMail/go-crypto from 1.5.1 to 1.5.2 in /example (#4608)
- fix: Allow removing runner group networks (#4541)
- feat: Add actions policies endpoints (#4604)
- feat: Add Actions cache limits for an organization (#4597)
- feat: Add
dismissal_restrictiontoPullRequestRuleParameters(#4599) - feat: Add code coverage ruleset support (#4603)
- tools: Leave response struct fields out of the schemafields check (#4592)
- feat: Add org private registries permission scope (#4591)
- chore: Use local gcl to create custom gcl if on path (#4600)
- feat: Add required field on combined status responses (#4586)
- build: Bump github.com/ProtonMail/go-crypto from 1.4.1 to 1.5.1 in /example (#4602)
- feat: Add Agents variables API (#4587)
- feat: Add
ListPublicEmails(#4595) - build: Bump codecov/codecov-action from 7.0.0 to 7.1.1 (#4593)
- chore: Report stale entries in openapi_operations.yaml (#4589)
- chore: Update openapi_operations.yaml (#4588)
- chore: Update maintenance tooling (#4580)
- docs: Add Trung Huynh Chi to AUTHORS (#4582)
- feat: Check request body fields against OpenAPI (#4576)
- docs: Add Sushant Poudel to AUTHORS (#4579)
- docs: Fix go-githubauth GitHub App example (#4578)
- chore: Consolidate Dependabot PRs (#4575)
- feat: Support explicit custom property values (#4561)
- feat: Support Changes and Enterprise fields on ReleaseEvent (#4558)
- fix: Reject an upload URL whose host differs from the configured upload host (#4556)
- chore: Update dependencies (#4557)
- feat: Add asynchronous SBOM support (#4543)
- chore: Bump go-github from v91 to v92 in /scrape (#4555)