This release contains the following breaking API changes:
- refactor!: Rename
EditCommenttoUpdateCommentonPullRequestsService, split review comment request bodies, and pass by value (#4493)
BREAKING CHANGE:PullRequestsService.CreateCommentnow takesCreatePullRequestCommentRequestby value;PullRequestsService.EditCommentis nowUpdateCommentand takesUpdatePullRequestCommentRequestby value. - refactor!: Split
Keyrequest bodies intoCreateDeployKeyRequest,CreateUserKeyRequestandCreateSSHSigningKeyRequestand pass by value (#4477)
BREAKING CHANGE:RepositoriesService.CreateKey,UsersService.CreateKeyandUsersService.CreateSSHSigningKeynow takeCreateDeployKeyRequest,CreateUserKeyRequestandCreateSSHSigningKeyRequestby value. - refactor!: Pass
PendingDeploymentsRequestandReviewCustomDeploymentProtectionRuleRequestby value (#4475)
BREAKING CHANGE:ActionsService.PendingDeploymentsandActionsService.ReviewCustomDeploymentProtectionRulenow takePendingDeploymentsRequestandReviewCustomDeploymentProtectionRuleRequestby value. - refactor!: Rename
EditCommenttoUpdateCommentonIssuesService, pass a newIssueCommentRequestby value, and add missingIssueCommentfields (#4444)
BREAKING CHANGE:IssuesService.CreateCommentnow takesIssueCommentRequestby value;IssuesService.EditCommentis nowUpdateCommentand takesIssueCommentRequestby value. - refactor!: Rename
ImpersonateUserOptionstoCreateUserImpersonationRequestand pass by value (#4462)
BREAKING CHANGE:AdminService.CreateUserImpersonationnow takesCreateUserImpersonationRequestby value instead of*ImpersonateUserOptions. - refactor!: Update teams create & update patterns (#4446)
BREAKING CHANGE:CreateTeamandUpdateTeamBy*now take new body params by value. - refactor!: Rename
EditMilestonetoUpdateMilestone, splitMilestonerequest bodies intoCreateMilestoneRequestandUpdateMilestoneRequest, and pass by value (#4438)
BREAKING CHANGE:IssuesService.CreateMilestonenow takes a newCreateMilestoneRequestby value;IssuesService.EditMilestoneis nowUpdateMilestoneand takes a newUpdateMilestoneRequestby value. - refactor!: Pass
UpdatePreReceiveHookrequest body by value via newUpdatePreReceiveHookRequest(#4434)
BREAKING CHANGE:RepositoriesService.UpdatePreReceiveHooknow takes a newUpdatePreReceiveHookRequestby value instead of*PreReceiveHook. - refactor!: Rename
UsersService.EdittoUpdate, introduceUserUpdateRequest, and pass request by value (#4433)
BREAKING CHANGE:UsersService.Editis nowUpdateand uses a newUserUpdateRequestbody value. - refactor!: Pass LDAP mapping request bodies by value via new
UpdateUserLDAPMappingRequestandUpdateTeamLDAPMappingRequest(#4432)
BREAKING CHANGE:AdminService.UpdateUserLDAPMappingandUpdateTeamLDAPMappingnow takeUpdateUserLDAPMappingRequestandUpdateTeamLDAPMappingRequest(with non-pointerLDAPDN) by value.
...and the following additional changes:
- chore: Bump version of go-github to v91.0.0 (#4505)
- build: Bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /example in the go_modules group across 1 directory (#4502)
- feat: Add Copilot code review active user counts to metrics structs (#4490)
- feat: Add
MergeAsyncandGetMergeAsyncResultsupport (#4491) - feat: Add Copilot app metrics to usage metrics structs (#4488)
- fix: Close the original response body on non-2xx responses (#4486)
- perf: Reduce allocations in
Client.Doresponse decoding with a buffer pool (#4494) - feat: Require Go 1.26 and use new(expr) for pointer literals (#4481)
- build: Bump github.com/getkin/kin-openapi from 0.146.0 to 0.147.0 in /tools (#4495)
- feat: Add enterprise Visual Studio subscription licensing APIs (#4483)
- feat: Add Copilot AI credits and adoption phase metrics (#4480)
- feat: Add Copilot 3rd-party agent metrics (#4460)
- chore: Remove stale
paramcheckallowlist entries (#4476) - feat: Add tools/list-return-structs (#4478)
- feat: Add agent tasks API support (#4225)
- chore: Consolidate Dependabot PRs (#4474)
- fix: Keep the
publictoggle on repository visibility rules (#4455) - chore: Bump golang-ci-lint version to v2.13.1 (#4463)
- chore: Consolidate Dependabot PRs (#4454)
- fix: Adjust argument index for
Fprintfinfmtpercentvlinter check (#4443) - chore: Consolidate Dependabot PRs (#4442)
- chore: Remove stale
Userentry from the paramcheck allowlist (#4437) - feat: Add enterprise level secret scanning custom patterns support (#4431)
- chore: Update
openapi_operations.yaml(#4430) - chore: Bump go-github from v89 to v90 in /scrape (#4429)