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)