2209 Commits
Author SHA1 Message Date
Glenn Lewis a13dc0f0bf chore: Bump version of go-github to v91.0.0 (#4505) 2026-09-02 22:35:33 -04:00
Роман Котов 78d0f53e2f feat: Add Copilot code review active user counts to metrics structs (#4490) 2026-08-29 09:26:25 -04:00
Yahia Mohamed e21f24469b feat: Add MergeAsync and GetMergeAsyncResult support (#4491) 2026-08-29 06:49:06 -04:00
Роман Котов 0fb1d5efb1 feat: Add Copilot app metrics to usage metrics structs (#4488) 2026-08-28 19:29:30 -04:00
Jam Balaya 95224ef367 refactor!: Rename EditComment to UpdateComment on PullRequestsService, split review comment request bodies, and pass by value (#4493)
BREAKING CHANGE: `PullRequestsService.CreateComment` now takes `CreatePullRequestCommentRequest` by value; `PullRequestsService.EditComment` is now `UpdateComment` and takes `UpdatePullRequestCommentRequest` by value.
2026-08-28 19:15:58 -04:00
Yavor Lulchev c48dbf54a1 fix: Close the original response body on non-2xx responses (#4486) 2026-08-28 13:41:31 -04:00
Jam Balaya da8ff819ae perf: Reduce allocations in Client.Do response decoding with a buffer pool (#4494) 2026-08-28 13:22:34 -04:00
Ajay Kemparaj f9fec07de4 feat: Require Go 1.26 and use new(expr) for pointer literals (#4481) 2026-08-28 12:18:49 -04:00
Hariom paswan 3ca13b04b6 feat: Add enterprise Visual Studio subscription licensing APIs (#4483) 2026-08-27 15:47:32 -04:00
Jam Balaya 34cec4ffe0 refactor!: Split Key request bodies into CreateDeployKeyRequest, CreateUserKeyRequest and CreateSSHSigningKeyRequest and pass by value (#4477)
BREAKING CHANGE: `RepositoriesService.CreateKey`, `UsersService.CreateKey` and `UsersService.CreateSSHSigningKey` now take `CreateDeployKeyRequest`, `CreateUserKeyRequest` and `CreateSSHSigningKeyRequest` by value.
2026-08-26 14:40:55 -04:00
Роман Котов 27beda976d feat: Add Copilot AI credits and adoption phase metrics (#4480) 2026-08-25 11:22:46 -04:00
Роман Котов 30af001aa7 feat: Add Copilot 3rd-party agent metrics (#4460) 2026-08-21 15:25:45 -04:00
James Maguire 864cd7cb65 refactor!: Pass PendingDeploymentsRequest and ReviewCustomDeploymentProtectionRuleRequest by value (#4475)
BREAKING CHANGE: `ActionsService.PendingDeployments` and `ActionsService.ReviewCustomDeploymentProtectionRule` now take `PendingDeploymentsRequest` and `ReviewCustomDeploymentProtectionRuleRequest` by value.
2026-08-21 10:20:05 -04:00
Jam Balaya c4176b1a18 refactor!: Rename EditComment to UpdateComment on IssuesService, pass a new IssueCommentRequest by value, and add missing IssueComment fields (#4444)
BREAKING CHANGE: `IssuesService.CreateComment` now takes `IssueCommentRequest` by value; `IssuesService.EditComment` is now `UpdateComment` and takes `IssueCommentRequest` by value.
2026-08-20 20:19:39 -04:00
Danyal Ahmed ff314f4abb feat: Add agent tasks API support (#4225) 2026-08-20 17:58:09 -04:00
Yordis Prieto 27fb78d4e2 fix: Keep the public toggle on repository visibility rules (#4455) 2026-08-20 13:53:53 -04:00
James Maguire 8568184b71 refactor!: Rename ImpersonateUserOptions to CreateUserImpersonationRequest and pass by value (#4462)
BREAKING CHANGE: `AdminService.CreateUserImpersonation` now takes `CreateUserImpersonationRequest` by value instead of `*ImpersonateUserOptions`.
2026-08-20 13:50:13 -04:00
Glenn Lewis 92c4fb92fe chore: Bump golang-ci-lint version to v2.13.1 (#4463) 2026-08-20 13:43:22 -04:00
Steve Hipwell 2ec5b20005 refactor!: Update teams create & update patterns (#4446)
BREAKING CHANGE: `CreateTeam` and `UpdateTeamBy*` now take new body params by value.
2026-08-13 12:44:17 -04:00
Jam Balaya 97ca12d830 refactor!: Rename EditMilestone to UpdateMilestone, split Milestone request bodies into CreateMilestoneRequest and UpdateMilestoneRequest, and pass by value (#4438)
BREAKING CHANGE: `IssuesService.CreateMilestone` now takes a new `CreateMilestoneRequest` by value; `IssuesService.EditMilestone` is now `UpdateMilestone` and takes a new `UpdateMilestoneRequest` by value.
2026-08-07 07:51:59 -04:00
Jam Balaya 9c38882762 refactor!: Pass UpdatePreReceiveHook request body by value via new UpdatePreReceiveHookRequest (#4434)
BREAKING CHANGE: `RepositoriesService.UpdatePreReceiveHook` now takes a new `UpdatePreReceiveHookRequest` by value instead of `*PreReceiveHook`.
2026-08-06 12:03:29 -04:00
Manav Sharma 65628e2d60 refactor!: Rename UsersService.Edit to Update, introduce UserUpdateRequest, and pass request by value (#4433)
BREAKING CHANGE: `UsersService.Edit` is now `Update` and uses a new `UserUpdateRequest` body value.
2026-08-06 12:01:43 -04:00
Tanay Arun Ankulwar 4a794755a6 feat: Add enterprise level secret scanning custom patterns support (#4431) 2026-08-06 07:49:59 -04:00
Jam Balaya 30c65e0c14 refactor!: Pass LDAP mapping request bodies by value via new UpdateUserLDAPMappingRequest and UpdateTeamLDAPMappingRequest (#4432)
BREAKING CHANGE: `AdminService.UpdateUserLDAPMapping` and `UpdateTeamLDAPMapping` now take `UpdateUserLDAPMappingRequest` and `UpdateTeamLDAPMappingRequest` (with non-pointer `LDAPDN`) by value.
2026-08-05 17:08:54 -04:00
Glenn Lewis 40d29bab07 chore: Update openapi_operations.yaml (#4430) 2026-08-04 14:34:02 -04:00
Glenn Lewis 32b8631931 chore: Bump version of go-github to v90.0.0 (#4428) 2026-08-04 14:14:48 -04:00
Jam Balaya e0645a6dab refactor!: Pass UpdateConnectedExternalGroup request body by value via new UpdateConnectedExternalGroupRequest (#4425)
BREAKING CHANGE: `TeamsService.UpdateConnectedExternalGroup` now takes `UpdateConnectedExternalGroupRequest` (with non-pointer `GroupID`) by value.
2026-08-04 07:28:57 -04:00
Tanay Arun Ankulwar e496a87f38 feat: Add org level secret scanning custom patterns support (#4426) 2026-08-01 10:25:58 -04:00
Jam Balaya 4d45b7c496 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`.
2026-07-31 14:34:51 -04:00
kyungseopk1m c86fe1b547 feat: Add MetaService.ListAPIVersions (#4422) 2026-07-31 09:25:29 -04:00
kyungseopk1m dcc541097d feat: Add DeleteCodeQLDatabase for code scanning (#4421) 2026-07-31 09:23:34 -04:00
Joel Jeske 248317c624 feat: Add Stack field to PullRequest for stacked pull requests (#4423) 2026-07-31 09:21:22 -04:00
Kelsey Myers 34349a88ba feat: Add search_type support to issue search (#4414) 2026-07-28 14:58:57 -04:00
Arpad Ray bede2080bf chore: Update SecurityAdvisory structs with new fields (#4413) 2026-07-28 14:58:25 -04:00
sswane 0eab7796b4 feat: Support OIDC custom property claims for Actions (#4411) 2026-07-27 11:35:14 -04:00
Tanay Arun Ankulwar 3580458726 feat: Add repo-level secret scanning custom patterns support (#4397) 2026-07-27 11:34:15 -04:00
Glenn Lewis 68ec62e468 chore: Fix comment typo (#4410) 2026-07-25 11:38:01 -04:00
Jam Balaya d7911b3a0d 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.
2026-07-23 13:24:17 -04:00
James Maguire a3951f5143 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.
2026-07-22 14:32:59 -04:00
Jam Balaya e5f31b26e0 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.
2026-07-21 17:21:53 -04:00
James Maguire 9549a7a99a refactor!: Split IssueRequest into CreateIssueRequest & UpdateIssueRequest and pass by value (#4396)
BREAKING CHANGE: `IssueService.Edit` is renamed to `IssueService.Update`.
2026-07-21 07:21:51 -04:00
Jam Balaya f15206a0a1 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`.
2026-07-20 08:59:34 -04:00
Glenn Lewis ed1062118d chore: Update openapi_operations.yaml (#4398) 2026-07-19 07:57:25 -04:00
Jam Balaya 227adb57e0 feat: Add remaining Projects v2 endpoints (#4319) 2026-07-18 09:08:55 -04:00
Jam Balaya 8d7ad2d65a refactor!: Pass SarifAnalysis by value (#4394)
BREAKING CHANGE: `CodeScanningService.UploadSarif` now takes `body` by value and its required fields are no longer pointers.
2026-07-17 10:22:49 -04:00
Jam Balaya c8254104ac 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`.
2026-07-16 11:47:40 -04:00
Jam Balaya d0c2d216de 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.
2026-07-15 07:25:58 -04:00
Jam Balaya c0e2323547 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.
2026-07-10 11:29:37 -04:00
Glenn Lewis e77be1b571 chore: Fix flaky tests with deterministic runs (#4377) 2026-07-10 10:10:49 -04:00
Glenn Lewis 9b2c6655ce chore: Fix flaky unit test (#4374) 2026-07-09 10:06:34 -04:00