139 Commits
Author SHA1 Message Date
kimjooyoon c273cd8137 refactor!: Pass repository creation by value (#4616)
BREAKING CHANGE: `RepositoriesService.Create` now requires a `CreateRepositoryRequest` value instead of a `*Repository`.
2026-10-13 19:31:48 -04:00
Jason 9a9d77c007 feat: Add required field on combined status responses (#4586) 2026-10-02 09:12:49 -04:00
Glenn Lewis 5b37d46b98 fix!: Match request body fields to the OpenAPI schemas (#4581) 2026-09-23 11:23:20 -04:00
Steve Hipwell d689e27215 fix: Re-add ldapdb for ghes team creation (#4553) 2026-09-14 11:59:59 -04:00
Aniketh Deb fcb923535a feat!: Add pagination to Enterprise.ListBudgets and add GetUserStatesForBudget (#4408) (#4501)
BREAKING CHANGE: `EnterpriseService.ListBudgets` now takes `EnterpriseListBudgetsOptions`.
2026-09-04 13:30:30 -04:00
MarcHuang168 b8acf7587d feat: Add ThrottledAt field to HookDelivery (#4518) 2026-09-04 10:14:03 -04:00
Jam Balaya 3e1284c1b1 refactor!: Split RepositoryComment request bodies and pass by value (#4496)
BREAKING CHANGE: `RepositoriesService.CreateComment` now takes `CreateCommitCommentRequest` and `RepositoriesService.UpdateComment` takes `UpdateCommitCommentRequest`, both passed by value instead of `*RepositoryComment`.
2026-09-03 12:11:16 -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
Ajay Kemparaj f9fec07de4 feat: Require Go 1.26 and use new(expr) for pointer literals (#4481) 2026-08-28 12:18:49 -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
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
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 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
Joel Jeske 248317c624 feat: Add Stack field to PullRequest for stacked pull requests (#4423) 2026-07-31 09:21:22 -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
Steve Hipwell 2bcee70c64 feat: Add user team membership fields (#4347) 2026-07-06 10:45:42 -04:00
Steve Hipwell cca9755c14 feat: Add AccessSource to Team (#4344) 2026-07-01 10:13:05 -04:00
Jam Balaya c9f5330506 refactor!: Pass release params by value and rename EditRelease to UpdateRelease (#4329)
BREAKING CHANGE: `CreateRelease` & `UpdateRelease` now take `RepositoryRelease` by value; `EditRelease` is renamed to `UpdateRelease`.
2026-06-26 09:07:48 -04:00
Tommaso Moro 728cdb1d01 feat: Add Issue Dependencies API support (#4130) 2026-06-22 12:56:06 -04:00
Anish Pallati bbd1294f16 feat: Add pull request fields to Repository (#4268) 2026-06-05 08:27:29 -04:00
Jam Balaya 3ad466541d feat: Add deploy_keys_enabled_for_repositories and secret scanning custom link fields to Organization struct (#4188) 2026-05-02 20:27:28 -04:00
Michael f12c950542 feat: Add ArchivedAt field to Organization struct (#4179) 2026-04-24 11:30:50 -04:00
omerd 97cd4d6cca feat: Add CodeSecurity to SecurityAndAnalysis (#4155) 2026-04-17 11:07:31 -04:00
Oleksandr Redko ffd18dc823 fix: Add missing User fields (#4146) 2026-04-10 16:19:49 -04:00
Shivam Kumar 3117b62160 feat: Add enterprise budgets API (#4069) 2026-03-10 14:51:36 -04:00
Nurzhan Muratkhan 5f68d5438c feat: Add support for team type field (#4037) 2026-02-26 09:59:29 -05:00
niveshdandyan 5126e84c99 refactor!: Use RepositoryPermissions struct for User.Permissions (#3963)
BREAKING CHANGE: `User.Permissions` is now `*RepositoryPermissions` instead of `map[string]bool`.
2026-02-03 10:00:07 -05:00
Glenn Lewis 0e16924df4 chore: Move all "DO NOT EDIT" messages to line 1 (#3960) 2026-02-02 09:09:40 -05:00
Dhananjay Mishra 096e4ce9f7 refactor!: Use a struct for Repository.Permissions instead of map[string]bool (#3936)
BREAKING CHANGE: `Repository.Permissions` is now a struct instead of `map[string]bool`.
2026-01-24 11:09:48 -05:00
Tom Elliott e10040dccd fix!: Add support for missing attributes in ProjectsV2 API (#3888) 2025-12-19 15:19:25 -05:00
Svyatoslav Pidgorny ae3fff0df7 Add ParentIssueURL field to Issue struct (#3841) 2025-11-19 20:19:04 -05:00
Leonard Sheng Sheng Lee 876028969d feat: Add sha_pinning_required to ActionsPermissions structs (#3807) 2025-11-06 11:13:36 -05:00
JoannaaKL 590596afd7 Add ProjectsService (#3718) 2025-10-14 08:02:55 -04:00
zyfy29 8fd1cb984a feat: Add fork PR workflows permission API support (#3737) 2025-10-08 12:50:51 -04:00
Ville Skyttä 138500ee41 feat: Add immutable releases support (#3725) 2025-09-26 07:38:52 -04:00
Jorge Ferrero 49c07488e9 feat: Add ListAcceptedAssignments and GetAssignmentGrades methods to Classroom API (#3732) 2025-09-26 07:33:53 -04:00
Josh Larsen ffc5df81dd feat: Add ClientID to Installation (#3712) 2025-09-22 19:29:05 -04:00
zyfy29 3646f33b24 feat: Add private repo workflows permission API support (#3679) 2025-09-22 14:25:41 -04:00
Jorge Ferrero dc807dda75 feat: Add GitHub Classroom GetAssignment API endpoint (#3685) 2025-08-18 09:40:08 -04:00
zyfy29 54d257b2a5 feat: Add self-hosted runner permission API support (#3675) 2025-08-14 07:14:50 -04:00
zyfy29 84a094539f feat: Add artifact and log retention period API support (#3664) 2025-08-11 09:24:14 -04:00
Dani Meyer 74b2ca0c80 Add additional settings fields to org API (#3642) 2025-07-23 22:31:47 -04:00
Shunsuke Suzuki 18877d9436 feat: Add the Digest field to ReleaseAsset (#3628) 2025-07-19 08:17:53 -04:00
Oleksandr Redko 3c5408e78f chore: Use any instead of interface{} (#3584) 2025-06-03 09:33:46 -04:00
Julien Bouyoud b6dbc4e5a4 fix: Add back repository field in Package struct (#3539) 2025-04-07 09:43:57 -04:00
Adrian Saunders 7a89ae9f30 refactor!: Update package types to align with webhook event (#3515)
BREAKING CHANGE: `PackageVersion.Body` and `PackageVersion.Metadata` are both now `json.RawMessage`.
2025-03-17 13:59:02 -04:00
Evan 56f5036c4e Add created_at field to Reaction (#3501) 2025-03-05 12:12:09 -05:00
tomfeigin a8a3177767 feat!: Change User.InheritedFrom to a slice (#3460)
BREAKING CHANGE: `User.InheritedFrom` is changed from a `*Team` to a `[]*Team`.
2025-02-05 07:49:44 -05:00
Alexis Couvreur cbe65f0149 docs: Add clarifications for mergeable field in pull requests (#3396) 2025-01-30 15:44:27 -05:00
Andy Grunwald e8d69e7d0c Extend Rate and Rate Limiting with X-Ratelimit-Used and X-Ratelimit-Resource headers (#3453) 2025-01-27 08:31:24 -05:00