Repository navigation
Releases: google/go-github
Release list
v93.0.0
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)
v92.0.0
This release contains the following breaking API changes:
- refactor!: Pass the Codespaces body types by value and rename them to
...Request(#4540)
BREAKING CHANGE:CreateCodespaceOptions,CodespaceCreateForUserOptions,UpdateCodespaceOptionsandPublishCodespaceOptionsare renamed toCreateCodespaceRequest,CreateCodespaceForUserRequest,UpdateCodespaceRequestandPublishCodespaceRequest;CodespacesService.CreateInRepo,CreateFromPullRequest,Create,UpdateandPublishnow take them by value instead of by pointer;CreateCodespaceForUserRequest.RepositoryIDis now*int64. - refactor!: Rename
DependencyGraphSnapshottoCreateDependencyGraphSnapshotRequestand pass by value (#4519)
BREAKING CHANGE:DependencyGraphSnapshotis nowCreateDependencyGraphSnapshotRequestwith field pointer/value changes. - feat!: Add pagination to Enterprise.ListBudgets and add GetUserStatesForBudget (#4501)
BREAKING CHANGE:EnterpriseService.ListBudgetsnow takesEnterpriseListBudgetsOptions. - refactor!: Split
RepositoryCommentrequest bodies and pass by value (#4496)
BREAKING CHANGE:RepositoriesService.CreateCommentnow takesCreateCommitCommentRequestandRepositoriesService.UpdateCommenttakesUpdateCommitCommentRequest, both passed by value instead of*RepositoryComment.
...and the following additional changes:
- chore: Bump version of go-github to v92.0.0 (#4554)
- fix: Re-add ldapdb for ghes team creation (#4553)
- feat: Add ImageGen to HostedRunner and UpdateHostedRunnerRequest (#4549)
- feat: Support the edited and dismissed actions on PullRequestReviewEvent (#4552)
- fix: Escape package names in UsersService methods (#4546)
- feat: Add simple CRUD endpoints for GitHub Copilot Spaces (#4379)
- feat: Add Agents secrets API (#4533)
- fix: Escape environment names in URL paths across 5 files (#4536)
- feat: Add Copilot user-teams daily metrics report endpoints (#4500)
- chore: Consolidate Dependabot PRs (#4542)
- chore: Remove alexandear from REVIEWERS (#4535)
- feat: Add stacked pull request endpoints (#4436)
- feat: Add GetOrganizationUsageSummary and GetUserUsageSummary to BillingService (#4521)
- fix: Escape branch names when listing rules (#4534)
- fix: Accept 202 when deleting app installation (#4529)
- docs: Deprecate singular assignee fields (#4528)
- chore: Update AUTHORS (#4522)
- feat: Add ThrottledAt field to HookDelivery (#4518)
- chore: Consolidate Dependabot PRs (#4515)
- feat: Add IsEnabled field to IssueType (#4504)
- feat: Add Copilot repository daily metrics report endpoints (#4498)
- chore: Bump go-github from v90 to v91 in /scrape (#4506)
v91.0.0
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)
v90.0.0
This release contains the following breaking API changes:
- refactor!: Pass
UpdateConnectedExternalGrouprequest body by value via newUpdateConnectedExternalGroupRequest(#4425)
BREAKING CHANGE:TeamsService.UpdateConnectedExternalGroupnow takesUpdateConnectedExternalGroupRequest(with non-pointerGroupID) by value. - refactor!: Rename
PullRequestReviewDismissalRequesttoPullRequestDismissReviewRequest, addPullRequestSubmitReviewRequest, and pass review request bodies by value (#4406)
BREAKING CHANGE:PullRequestReviewDismissalRequestis nowPullRequestDismissReviewRequestwith non-pointerMessageandPullRequestsService.DismissReviewtakes it by value;PullRequestsService.SubmitReviewnow takes a newPullRequestSubmitReviewRequest. - refactor!: Split
CreateOrUpdateCustomRepoRoleOptionsintoCreateCustomRepoRoleRequestandUpdateCustomRepoRoleRequestand pass by value (#4401)
BREAKING CHANGE:CreateOrUpdateCustomRepoRoleOptionsis split intoCreateCustomRepoRoleRequest(with non-pointerNameandBaseRole) andUpdateCustomRepoRoleRequest;OrganizationsService.CreateCustomRepoRoleandUpdateCustomRepoRolenow take these request types by value. - refactor!: Rename
EditLabeltoUpdateLabel, SplitLabelintoCreateLabelRequest&UpdateLabelRequestand pass by value (#4400)
BREAKING CHANGE:IssuesService.CreateLabelnow takesCreateLabelRequestby value (with required non-pointerName);IssuesService.EditLabelrenamed toUpdateLabel, taking anUpdateLabelRequestby value. - refactor!: Rename
AutolinkOptionstoCreateAutolinkRequest,AddAutolinktoCreateAutolink, and pass the body by value (#4399)
BREAKING CHANGE:AutolinkOptionsis nowCreateAutolinkRequestwith non-pointerKeyPrefixandURLTemplate;RepositoriesService.AddAutolinkis nowCreateAutolinkand passesbodyby value. - refactor!: Split
IssueRequestintoCreateIssueRequest&UpdateIssueRequestand pass by value (#4396)
BREAKING CHANGE:IssueService.Editis renamed toIssueService.Update. - refactor!: Rename
NewPullRequesttoCreatePullRequestand pass it by value (#4395)
BREAKING CHANGE:NewPullRequestis renamed toCreatePullRequest,PullRequests.Createnow takes it by value, andCreatePullRequest.HeadandCreatePullRequest.Baseare nowstring. - refactor!: Pass
SarifAnalysisby value (#4394)
BREAKING CHANGE:CodeScanningService.UploadSarifnow takesbodyby value and its required fields are no longer pointers. - refactor!: Pass
CreateDeploymentBranchPolicyRequestandUpdateDeploymentBranchPolicyRequestby value (#4382)
BREAKING CHANGE:RepositoriesService.CreateDeploymentBranchPolicyandUpdateDeploymentBranchPolicynow takebodyby value and the requiredNamefield is of typestring. - refactor!: Pass
TemplateRepoRequestby value inRepositories.CreateFromTemplate(#4378)
BREAKING CHANGE:RepositoriesService.CreateFromTemplatenow passesbodyby value andNameis now required and passed by value. - refactor!: Pass
RepositoryMergeRequestandRepoMergeUpstreamRequestby value (#4372)
BREAKING CHANGE:RepositoriesService.MergeandRepositoriesService.MergeUpstreamnow passbodyby value and required struct fields are now values. - feat!: Refactor dependabot secrets to pass request by value (#4348)
BREAKING CHANGE:DependabotServicemethods involving secrets have new params and return values.
...and the following additional changes:
- chore: Bump version of go-github to v90.0.0 (#4428)
- docs: Clarify assisted contribution expectations (#4427)
- feat: Add org level secret scanning custom patterns support (#4426)
- feat: Add
MetaService.ListAPIVersions(#4422) - feat: Add
DeleteCodeQLDatabasefor code scanning (#4421) - feat: Add
Stackfield toPullRequestfor stacked pull requests (#4423) - build: Bump GitHub workflow action versions (#4424)
- feat: Add
search_typesupport to issue search (#4414) - chore: Update SecurityAdvisory structs with new fields (#4413)
- chore: Consolidate Dependabot PRs (#4418)
- feat: Support OIDC custom property claims for Actions (#4411)
- feat: Add repo-level secret scanning custom patterns support (#4397)
- chore: Update openapi_operations.yaml (#4412)
- chore: Fix comment typo (#4410)
- chore: Update dependabot changes (#4405)
- chore: Update openapi_operations.yaml (#4398)
- feat: Add remaining Projects v2 endpoints (#4319)
- chore: Update Dependabot-driven dependencies (#4393)
- chore: Bump /example dependencies (#4380)
- chore: Fix flaky tests with deterministic runs (#4377)
- build(deps): Bump golang.org/x/sync from 0.21.0 to 0.22.0 in /tools (#4376)
- chore: Fix flaky unit test (#4374)
- fix: Enable submitting empty allowlist for actions permissions patterns (#4371)
- feat: Add GitHub App Enterprise perm scope (#4343)
- chore: Bump go-github from v88 to v89 in /scrape (#4370)
v89.0.0
This release contains the following breaking API changes:
- refactor!: Pass
DeploymentRequestandDeploymentStatusRequestby value (#4361)
BREAKING CHANGE:CreateDeploymentandCreateDeploymentStatusnow takeDeploymentRequestandDeploymentStatusRequestby value;DeploymentRequest.RefandDeploymentStatusRequest.Stateare nowstring, andDeploymentRequest.RequiredContextsis now[]string. - refactor!: Pass
HookConfigby value and renameEditHookConfigurationtoUpdateHookConfiguration(#4360)
BREAKING CHANGE:EditHookConfigurationis renamed toUpdateHookConfigurationonRepositoriesServiceandOrganizationsService; these methods andAppsService.UpdateHookConfignow takeHookConfigby value. - refactor!: Pass
OIDCSubjectClaimCustomTemplateby value in the OIDC subject-claim Set methods (#4340)
BREAKING CHANGE:SetOrgOIDCSubjectClaimCustomTemplateandSetRepoOIDCSubjectClaimCustomTemplatenow take theirbodyparams by value. - feat!: Refactor actions variables to pass request by value (#4346)
BREAKING CHANGE:ActionsServicemethods involving variables have new params and return values. - feat!: Replace actions env secret endpoints (#4335)
BREAKING CHANGE:ActionsServicemethods involving secrets have new params and return values. - refactor!: Pass
CreateJITConfigRequestby value and renameGenerate*JITConfigtoCreate*JITConfig(#4337)
BREAKING CHANGE: the JIT config methods are renamed fromGenerate*JITConfigtoCreate*JITConfig, and they now takeCreateJITConfigRequest(renamed fromGenerateJITConfigRequest) by value instead of by pointer. - refactor!: Pass release-notes and asset params by value and rename
EditReleaseAssettoUpdateReleaseAsset(#4336)
BREAKING CHANGE:GenerateReleaseNotesnow takesGenerateNotesRequestby value (renamed fromGenerateNotesOptions);EditReleaseAssetis renamed toUpdateReleaseAssetand takesUpdateReleaseAssetRequestby value. - refactor!: Pass release params by value and rename
EditReleasetoUpdateRelease(#4329)
BREAKING CHANGE:CreateRelease&UpdateReleasenow takeRepositoryReleaseby value;EditReleaseis renamed toUpdateRelease. - refactor!: Pass
GistsServicerequired params by value (#4320)
BREAKING CHANGE:GistsServicemethods now pass required params by-value instead of by-ref. - fix!: Send request body in SCIM update methods (#4315)
BREAKING CHANGE:UpdateProvisionedOrgMembershipandUpdateAttributeForSCIMUserparams and return values changed. - fix!: Fix
LicenseStatusresponse andSupportkeytype (#4297)
BREAKING CHANGE:LicenseStatus.SupportKeytype changed from*stringto*boolandLicensereturn type is no longer a slice. - fix!: Enterprise App installation repos options structs (#4298)
BREAKING CHANGE:SelectedRepositoryIDs []int64is nowRepositories []stringin*AppInstallationRepositoriesOptions.
...and the following additional changes:
- chore: Bump version of go-github to v89.0.0 (#4369)
- feat: Add user team membership fields (#4347)
- chore: Add deprecated flag for unused metadata (#4367)
- docs: Add AGENTS.md and review-feedback tip (#4368)
- chore: Mark removed billing endpoints as deprecated (#4362)
- chore: Validate metadata (#4358)
- chore: Bump golang.org/x/tools to v0.47.0 (#4357)
- build(deps): Bump actions/setup-go from 6.4.0 to 6.5.0 in the actions group (#4349)
- build(deps): Bump the go_modules group in /example (#4345)
- feat: Add
AccessSourcetoTeam(#4344) - docs: Update
CONTRIBUTING.md(#4341) - build(deps): Bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 (#4342)
- docs: Extend CONTRIBUTING.md with code guidelines (#4339)
- fix: AuditEntry fields
organdorg_idcan be an array (#4333) - build(deps): Bump actions/checkout from 6.0.3 to 7.0.0 in the actions group (#4332)
- feat: Add code quality findings support (#4330)
- chore: Update
openapi_operations.yaml(#4331) - chore: Replace
time.DatewithreferenceTime(#4325) - test: Refactor tests for
ProjectV2Item.UnmarshalJSON(#4323) - chore: Remove obsolete test/fields utility (#4322)
- feat: Add Issue Dependencies API support (#4130)
- fix: Set
GetBodyon uploads for HTTP/2 retry (#4318) - chore: Remove deleted account from REVIEWERS (#4317)
- build(deps): Bump golang.org/x/crypto from 0.52.0 to 0.53.0 in /example (#4305)
- build(deps): Bump codecov/codecov-action from 6.0.1 to 7.0.0 (#4303)
- build(deps): Bump golang.org/x/net from 0.55.0 to 0.56.0 in /scrape (#4302)
- build(deps): Bump golang.org/x/term from 0.43.0 to 0.44.0 in /example (#4304)
- build(deps): Bump golang.org/x/tools from 0.45.0 to 0.46.0 in /tools (#4314)
- build(deps): Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.18.0 to 2.19.0 in /example (#4306)
- refactor: Fix parameters in method endpoints (#4300)
- feat: Add enterprise billing usage endpoints and response types (#4288)
- build(deps): Bump golang.org/x/sync from 0.20.0 to 0.21.0 in /tools (#4294)
- build(deps): Bump github.com/getkin/kin-openapi from 0.139.0 to 0.140.0 in /tools (#4295)
- build(deps): Bump actions/checkout from 6.0.2 to 6.0.3 in the actions group (#4293)
- fix: Reject URL path segments containing percent-encoded dots (#4291)
- fix: Comparison of durations in
AbuseRateLimitError.Is(#4292) - test: Replace
&xvariables with inlinePtr(value)calls (#4289) - feat: Inject OpenAPI deprecations safely (#4286)
- chore: Remove 'munlicode' from REVIEWERS (#4287)
- feat: Add
GetOrgAICreditUsageandGetUserAICreditUsageendpoints (#4282) - test: Fix test names and error messages (#4284)
- test: Use
testJSONBodyhelper for request body assertions (#4283) - feat: Add pull request fields to
Repository(#4268) - build(deps): Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 (#4272)
- build(deps): Bump go.opentelemetry.io/otel to v1.44.0 (#4280)
- build(deps): Bump golang.org/x/net from 0.54.0 to 0.55.0 in /scrape (#4271)
- build(deps): Bump golang.org/x/crypto from 0.51.0 to 0.52.0 in /example (#4273)
- fix: Handle missing reviewer type in
RequiredReviewerunmarshal (#4270) - test: Remove redundant Marshal tests (#4266)
- chore: Update
openapi_operations.yaml(#4265) - feat: Add support for GitHub Code Quality API (#4260)
- build(deps): Bump github.com/getkin/kin-openapi from 0.138.0 to 0.139.0 in /tools (#4261)
- chore: Fix zizmor security issues in GHA workflows (#4259)
- feat: Add support for getting Copilot cloud agent configuration (#4241)
- feat: Add client API version support (#4246)
- test: Add secret scanning marshal tests (#4252)
- lint: Improve
extraneousnewlinter to catch unnecessary use of value var (#4249) - build(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1 (#4248)
- chore: Bump go-github from v87 to v88 in /scrape (#4247)
v88.0.0
This release contains the following breaking API changes:
- refactor!: Change app installation
Find*methods toGet*(#4243)
BREAKING CHANGE: App installation methods are renamed fromFind*toGet*.
...and the following additional changes:
- chore: Bump version of go-github to v88.0.0 (#4245)
- chore: Update
openapi_operations.yaml(#4242) - feat: Add support for setting client URLs (#4240)
- refactor: Add constants for API versions (#4236)
- docs: Formatting and punctuation changes (#4235)
- feat: Add
GetParentIssuefor sub-issues (#4232) - chore: Bump go-github from v86 to v87 in /scrape (#4234)
v87.0.0
This release contains the following breaking API changes:
- refactor!: Change
GetConsumedLicensestoListConsumedLicenses(#4226)
BREAKING CHANGE:EnterpriseService.GetConsumedLicensesis nowEnterpriseService.ListConsumedLicenses. - refactor!: Change
GetAllRepositoryRulesetstoListAllRepositoryRulesets(#4227)
BREAKING CHANGE:OrganizationsService.GetAllRepositoryRulesetsis nowOrganizationsService.ListAllRepositoryRulesets. - refactor!: Change
GetRulesForBranchtoListRulesForBranch(#4229)
BREAKING CHANGE:RepositoriesService.GetRulesForBranchis nowRepositoriesService.ListRulesForBranch. - feat!: Refactor client constructor to use options pattern (#4201)
BREAKING CHANGE: Clients are now constructed with a nicer builder pattern. See docs for details. - fix!: Align
IssueFieldValueswith schema (#4207)
BREAKING CHANGE:IssueRequest.IssueFieldValuestype is changed.
...and the following additional changes:
- chore: Bump version of go-github to v87.0.0 (#4233)
- feat: Add enterprise app installation lookup (#4230)
- chore: Update openapi_operations.yaml (#4228)
- fix: Use value receiver for
MarshalJSON(#4211) - chore: Update dependencies (#4224)
- fix: Close
httptestserver to prevent test flakiness (#4210) - feat: Add two new fields to org
CodeSecurityConfiguration(#4205) - chore: Bump golangci-lint to v2.12.2 (#4206)
- build(deps): Bump github.com/in-toto/in-toto-golang from 0.9.0 to 0.11.0 in /example (#4203)
- fix: Limit HTTP error response body reads to prevent OOM (#4191)
- feat: Add issue field values support for write and read (#4200)
- chore: Bump
go-githubfromv85tov86in /scrape (#4199)
v86.0.0
This release contains the following breaking API changes:
- feat!: Refactor request context (#4151)
BREAKING CHANGE: All internal calls now provideContextvia theRequestitself. - feat!: Add OIDC authentication support to
PrivateRegistries(#4159)
BREAKING CHANGE:PrivateRegistriesServiceis updated to API version2026-03-10with struct and response changes.
...and the following additional changes:
- chore: Bump version of
go-githubtov86.0.0(#4198) - test: Fix invalid JSON payloads in actions workflow runs tests (#4197)
- feat: Add repo download contents sentinel errors (#4192)
- chore: Fix
otelmodule name (#4187) - feat: Add typed Copilot metrics download helpers (#4177)
- feat: Add
deploy_keys_enabled_for_repositoriesand secret scanning custom link fields toOrganizationstruct (#4188) - refactor: Use
testJSONBodyhelper for request body assertions in tests (#4183) - build(deps): Bump github.com/getkin/kin-openapi from 0.135.0 to 0.137.0 in /tools (#4184)
- fix: Include
RetryAfterinAbuseRateLimitError.Erroroutput (#4181) - fix: Handle string-typed reviewer
IDin Ruleset API responses (#4178) - feat: Add
ArchivedAtfield toOrganizationstruct (#4179) - feat: Add Copilot coding agent and content exclusion org endpoints (#4176)
- chore: Bump go-github from v84 to v85 in /scrape (#4174)
v85.0.0
This release contains the following breaking API changes:
- fix!: Resolve inconsistent options for
createandupdateon custom org role (#4075)
BREAKING CHANGE:GetOrgRole,CreateCustomOrgRole, andUpdateCustomOrgRolehave new params and return values. - fix!: Change
idfromint64tostringinActivityService.MarkThreadDone(#4056)
BREAKING CHANGE:ActivityService.MarkThreadDoneacceptsstringidinstead ofint64.
...and the following additional changes:
- chore: Bump version of go-github to v85.0.0 (#4173)
- chore: Update
openapi_operations.yaml(#4172) - security: Reject cross-host redirects to prevent Authorization leak (#4171)
- chore: Improve GitHub Actions workflows lint and testing (#4169)
- chore: Switch legacy redirect handling to new pattern (#4161)
- feat: Add
CodeSecuritytoSecurityAndAnalysis(#4155) - fix: Reject URL path segments containing ".." in all request methods (#4150)
- feat: Refactor repositories download contents (#4153)
- chore: Bump google.org/x/tools to v0.44.0 in /tools (#4168)
- docs: Fix broken blog post link (#4160)
- build(deps): Bump github.com/sigstore/timestamp-authority/v2 from 2.0.3 to 2.0.6 in /example (#4156)
- chore: Update openapi_operations.yaml (#4157)
- feat: Remove Google App Engine standard support (#4152)
- feat: Add
DownloadCopilotMetricshelper method (#4149) - docs: Add
apiVersionto GitHub API link (#4147) - chore: Simplify
redundantptrcustom linter (#4148) - docs: Deprecate old Copilot metrics endpoints closed on April 2, 2026 (#4137)
- refactor: Remove redundant
github.Ptrcalls (#4145) - fix: Add missing
Userfields (#4146) - fix: Preserve
Marketplace.Stubbedduring client copy (#4144) - refactor: Simplify array copying (#4143)
- build(deps): Bump golang.org/x/crypto from 0.49.0 to 0.50.0 in /example (#4141)
- build(deps): Bump github.com/getkin/kin-openapi from 0.134.0 to 0.135.0 in /tools (#4142)
- build(deps): Bump golang.org/x/term from 0.41.0 to 0.42.0 in /example (#4140)
- build(deps): Bump golang.org/x/net from 0.52.0 to 0.53.0 in /scrape (#4139)
- build(deps): Bump go.opentelemetry.io/otel to v1.43.0 (#4135)
- fix: Expand
sanitizeURLsecrets redactions (#4126) - build(deps): Bump github.com/alecthomas/kong from 1.14.0 to 1.15.0 in /tools (#4132)
- build(deps): Bump actions/setup-go from 6.3.0 to 6.4.0 in the actions group (#4131)
- feat: Add support for custom names and methods that return structs with multiple
[]*Tfields ingen-iterators.go(#4128) - fix: Limit webhook payload size in
ValidatePayloadFromBody(#4125) - build(deps): Bump codecov/codecov-action from 5.5.3 to 6.0.0 (#4123)
- fix: Synchronize
requestCountin rate limit tests (#4124) - chore: Simplify
generate.shby removinggit worktreeand using generator-based check (#4120) - docs: Improve comments in /examples (#4122)
- chore: Use
golangci-lint-action; removenewreposecretwithlibsodium(#4119) - feat: Add custom image endpoints for GitHub-hosted runners (#4101)
- chore: Cache custom golangci-lint binaries in GHA workflow (#4116)
- build(deps): Bump github.com/ProtonMail/go-crypto from 1.4.0 to 1.4.1 in /example (#4115)
- build(deps): Bump golang.org/x/tools from 0.29.0 to 0.43.0 in /tools/extraneous-new (#4114)
- build(deps): Bump codecov/codecov-action from 5.5.2 to 5.5.3 (#4112)
- build(deps): Bump github.com/golangci/plugin-module-register from 0.1.1 to 0.1.2 in /tools/extraneous-new (#4113)
- build(deps): Bump github.com/getkin/kin-openapi from 0.133.0 to 0.134.0 in /tools (#4111)
- build(deps): Bump github.com/PuerkitoBio/goquery from 1.11.0 to 1.12.0 in /scrape (#4110)
- chore: Upgrade deps for linters using dependabot (#4107)
- chore: Use
structfield.Settingsincheck-structfield-settings(#4108) - build(deps): Bump google.golang.org/grpc from 1.78.0 to 1.79.3 in /example (#4109)
- chore: Remove unnecessary use of
newand&SomeStruct{}and add newextraneousnewcustom linter (#4106) - feat: Add
NetworkConfigurationIDandHostedRunnersURLto enterprise runner group types (#4099) - feat: Generate accessors for all fields (#4105)
- feat: Add
ListRunnerGroupHostedRunnersfor org runner groups (#4100) - chore: Enable
default: nonelinters; remove duplicated (#4097) - fix: Use
Cursorpagination for*.ListHookDeliveriesIter(#4096) - chore: Remove duplicated formatters (#4094)
- chore: Fix typos in comments and tests (#4093)
- chore: Fix typo in CONTRIBUTING.md (#4092)
- chore: Update openapi_operations.yaml (#4091)
- build(deps): Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.17.0 to 2.18.0 in /example (#4084)
- chore: Bump go.opentelemetry.io/otel to v1.42.0 (#4090)
- build(deps): Bump golang.org/x/crypto from 0.48.0 to 0.49.0 in /example (#4081)
- build(deps): Bump golang.org/x/sync from 0.19.0 to 0.20.0 in /tools (#4078)
- build(deps): Bump golang.org/x/net from 0.51.0 to 0.52.0 in /scrape (#4079)
- test: Add fuzz test for
ParseWebHook(#4076) - feat: Add enterprise budgets API (#4069)
- feat: Add list organization fine-grained permissions (#4072)
- feat: Make
script/lint.shoutput simpler to read (#4073) - chore: Speed up linting (#4071)
- build(deps): Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.41.0 in /otel (#4065)
- build(deps): Bump go.opentelemetry.io/otel from 1.40.0 to 1.41.0 in /otel (#4068)
- build(deps): Bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace from 1.40.0 to 1.41.0 in /example (#4062)
- build(deps): Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.41.0 in /example (#4064)
- build(deps): Bump github.com/ProtonMail/go-crypto from 1.3.0 to 1.4.0 in /example (#4063)
- feat: Add
client_idfield toApp(#4060) - test: Simplify
CopilotServicetests (#4058) - test: Fix flaky
TestDo_rateLimit_abuseRateLimitError_xRateLimitReset(#4057) - feat: Add support for enterprise audit log streaming API (#4035)
- feat: Add repository-level immutable releases settings (#4039)
- chore: Add
SASas a common initialism tostructfield(#4054) - fix: Fix data race on Windows (#4051)
- docs: Fix grammar in
README.md(#4053) - chore: Simplify form value assertions in tests (#4048)
- chore: Bump go-github from v83 to v84 in /scrape (#4050)
v84.0.0
This release contains the following breaking API changes:
- feat!: Support workflow dispatch run details in response (#4028)
BREAKING CHANGE:CreateWorkflowDispatchEventByIDandCreateWorkflowDispatchEventByFileNamenow return*WorkflowDispatchRunDetails. - fix!: Fix
optsfor methods listing issues and sub-issues (#4016)
BREAKING CHANGE: SplitIssuesService.ListintoIssuesService.ListAllIssuesandIssuesService.ListUserIssues.IssuesService.ListByOrgnow acceptsIssueListByOrgOptions.SubIssueService.ListByIssuenow acceptsListOptions.
...and the following additional changes:
- chore: Bump version of go-github to v84.0.0 (#4049)
- chore: Spell
white spaceinstead ofwhitespace(#4047) - build(deps): Bump the go_modules group in /example (#4040)
- chore: Improve
testJSONMarshal(#4042) - Add 'munlicode' to REVIEWERS list (#4046)
- build(deps): Bump golang.org/x/net from 0.50.0 to 0.51.0 in /scrape (#4045)
- build(deps): Bump actions/setup-go from 6.2.0 to 6.3.0 in the actions group (#4044)
- chore: Fix
TestNewFormRequest(#4043) - feat: Add support for team
typefield (#4037) - chore: Update openapi_operations.yaml (#4041)
- feat: Add support for repository fine-grained permissions (#4032)
- docs: Fix documentation links (#4036)
- feat: Add fields
Codespaces,CopilotandActionsInboundtoAPIMeta(#3975) - chore: Use
go:fix inlinefor deprecated ptr funcs (#4034) - feat: Add
ListFineGrainedPersonalAccessTokenRequestsfor org (#4022) - feat: Ensure compatibility with encoding/json/v2 experiment (#4029)
- chore: Update
golangci-lintand enable some revive rules (#4025) - refactor: Use sorting functions from
slicesinstead ofsort(#4020) - build(deps): Bump github.com/theupdateframework/go-tuf/v2 to v2.4.1 (#4018)
- chore: Update workflow and tools to use Go 1.26 and 1.25 (#3995)
- chore: Bump go-github from v82 to v83 in /scrape (#4017)