Update all dependencies #1

Merged
vtsk merged 1 commit from renovate/all into master 2026-09-22 21:52:44 +03:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence Type Update
github.com/caarlos0/env/v11 v11.3.1 → v11.4.1 age confidence require minor
github.com/google/go-github/v72 v72.0.0 → v92.0.0 age confidence require major
github.com/sirupsen/logrus v1.9.3 → v1.10.2 age confidence require minor
golang (source) 1.24 → 1.27 age confidence final minor
golang.org/x/oauth2 v0.30.0 → v0.37.0 age confidence require minor

Release Notes

caarlos0/env (github.com/caarlos0/env/v11)

v11.4.1

Compare Source

Changelog

Bug fixes
Documentation updates
Other work

Released with GoReleaser Pro!

v11.4.0

Compare Source

Changelog

New Features
Bug fixes
Documentation updates
Other work

Released with GoReleaser Pro!

google/go-github (github.com/google/go-github/v72)

v92.0.0

Compare Source

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, UpdateCodespaceOptions and PublishCodespaceOptions are renamed to CreateCodespaceRequest, CreateCodespaceForUserRequest, UpdateCodespaceRequest and PublishCodespaceRequest; CodespacesService.CreateInRepo, CreateFromPullRequest, Create, Update and Publish now take them by value instead of by pointer; CreateCodespaceForUserRequest.RepositoryID is now *int64.
  • refactor!: Rename DependencyGraphSnapshot to CreateDependencyGraphSnapshotRequest and pass by value (#​4519)
    BREAKING CHANGE: DependencyGraphSnapshot is now CreateDependencyGraphSnapshotRequest with field pointer/value changes.
  • feat!: Add pagination to Enterprise.ListBudgets and add GetUserStatesForBudget (#​4501)
    BREAKING CHANGE: EnterpriseService.ListBudgets now takes EnterpriseListBudgetsOptions.
  • 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.

...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

Compare Source

This release contains the following breaking API changes:

  • 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.
  • 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.
  • refactor!: Pass PendingDeploymentsRequest and ReviewCustomDeploymentProtectionRuleRequest by value (#​4475)
    BREAKING CHANGE: ActionsService.PendingDeployments and ActionsService.ReviewCustomDeploymentProtectionRule now take PendingDeploymentsRequest and ReviewCustomDeploymentProtectionRuleRequest by value.
  • 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.
  • refactor!: Rename ImpersonateUserOptions to CreateUserImpersonationRequest and pass by value (#​4462)
    BREAKING CHANGE: AdminService.CreateUserImpersonation now takes CreateUserImpersonationRequest by value instead of *ImpersonateUserOptions.
  • refactor!: Update teams create & update patterns (#​4446)
    BREAKING CHANGE: CreateTeam and UpdateTeamBy* now take new body params by value.
  • 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.
  • 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.
  • 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.
  • 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.

...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 MergeAsync and GetMergeAsyncResult support (#​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.Do response 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 paramcheck allowlist entries (#​4476)
  • feat: Add tools/list-return-structs (#​4478)
  • feat: Add agent tasks API support (#​4225)
  • chore: Consolidate Dependabot PRs (#​4474)
  • fix: Keep the public toggle 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 Fprintf in fmtpercentv linter check (#​4443)
  • chore: Consolidate Dependabot PRs (#​4442)
  • chore: Remove stale User entry 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

Compare Source

This release contains the following breaking API changes:

  • refactor!: Pass UpdateConnectedExternalGroup request body by value via new UpdateConnectedExternalGroupRequest (#​4425)
    BREAKING CHANGE: TeamsService.UpdateConnectedExternalGroup now takes UpdateConnectedExternalGroupRequest (with non-pointer GroupID) by value.
  • 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.
  • 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.
  • 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.
  • 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.
  • refactor!: Split IssueRequest into CreateIssueRequest & UpdateIssueRequest and pass by value (#​4396)
    BREAKING CHANGE: IssueService.Edit is renamed to IssueService.Update.
  • 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.
  • refactor!: Pass SarifAnalysis by value (#​4394)
    BREAKING CHANGE: CodeScanningService.UploadSarif now takes body by value and its required fields are no longer pointers.
  • 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.
  • 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.
  • 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.
  • feat!: Refactor dependabot secrets to pass request by value (#​4348)
    BREAKING CHANGE: DependabotService methods 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 DeleteCodeQLDatabase for code scanning (#​4421)
  • feat: Add Stack field to PullRequest for stacked pull requests (#​4423)
  • build: Bump GitHub workflow action versions (#​4424)
  • feat: Add search_type support 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

Compare Source

This release contains the following breaking API changes:

  • refactor!: Pass DeploymentRequest and DeploymentStatusRequest by value (#​4361)
    BREAKING CHANGE: CreateDeployment and CreateDeploymentStatus now take DeploymentRequest and DeploymentStatusRequest by value; DeploymentRequest.Ref and DeploymentStatusRequest.State are now string, and DeploymentRequest.RequiredContexts is now []string.
  • refactor!: Pass HookConfig by value and rename EditHookConfiguration to UpdateHookConfiguration (#​4360)
    BREAKING CHANGE: EditHookConfiguration is renamed to UpdateHookConfiguration on RepositoriesService and OrganizationsService; these methods and AppsService.UpdateHookConfig now take HookConfig by value.
  • refactor!: Pass OIDCSubjectClaimCustomTemplate by value in the OIDC subject-claim Set methods (#​4340)
    BREAKING CHANGE: SetOrgOIDCSubjectClaimCustomTemplate and SetRepoOIDCSubjectClaimCustomTemplate now take their body params by value.
  • feat!: Refactor actions variables to pass request by value (#​4346)
    BREAKING CHANGE: ActionsService methods involving variables have new params and return values.
  • feat!: Replace actions env secret endpoints (#​4335)
    BREAKING CHANGE: ActionsService methods involving secrets have new params and return values.
  • refactor!: Pass CreateJITConfigRequest by value and rename Generate*JITConfig to Create*JITConfig (#​4337)
    BREAKING CHANGE: the JIT config methods are renamed from Generate*JITConfig to Create*JITConfig, and they now take CreateJITConfigRequest (renamed from GenerateJITConfigRequest) by value instead of by pointer.
  • refactor!: Pass release-notes and asset params by value and rename EditReleaseAsset to UpdateReleaseAsset (#​4336)
    BREAKING CHANGE: GenerateReleaseNotes now takes GenerateNotesRequest by value (renamed from GenerateNotesOptions); EditReleaseAsset is renamed to UpdateReleaseAsset and takes UpdateReleaseAssetRequest by value.
  • 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.
  • refactor!: Pass GistsService required params by value (#​4320)
    BREAKING CHANGE: GistsService methods now pass required params by-value instead of by-ref.
  • fix!: Send request body in SCIM update methods (#​4315)
    BREAKING CHANGE: UpdateProvisionedOrgMembership and UpdateAttributeForSCIMUser params and return values changed.
  • fix!: Fix LicenseStatus response and Supportkey type (#​4297)
    BREAKING CHANGE: LicenseStatus.SupportKey type changed from *string to *bool and License return type is no longer a slice.
  • fix!: Enterprise App installation repos options structs (#​4298)
    BREAKING CHANGE: SelectedRepositoryIDs []int64 is now Repositories []string in *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 AccessSource to Team (#​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 org and org_id can 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.Date with referenceTime (#​4325)
  • test: Refactor tests for ProjectV2Item.UnmarshalJSON (#​4323)
  • chore: Remove obsolete test/fields utility (#​4322)
  • feat: Add Issue Dependencies API support (#​4130)
  • fix: Set GetBody on 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 &x variables with inline Ptr(value) calls (#​4289)
  • feat: Inject OpenAPI deprecations safely (#​4286)
  • chore: Remove 'munlicode' from REVIEWERS (#​4287)
  • feat: Add GetOrgAICreditUsage and GetUserAICreditUsage endpoints (#​4282)
  • test: Fix test names and error messages (#​4284)
  • test: Use testJSONBody helper 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 RequiredReviewer unmarshal (#​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 extraneousnew linter 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

Compare Source

This release contains the following breaking API changes:

  • refactor!: Change app installation Find* methods to Get* (#​4243)
    BREAKING CHANGE: App installation methods are renamed from Find* to Get*.

...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 GetParentIssue for sub-issues (#​4232)
  • chore: Bump go-github from v86 to v87 in /scrape (#​4234)

v87.0.0

Compare Source

This release contains the following breaking API changes:

  • refactor!: Change GetConsumedLicenses to ListConsumedLicenses (#​4226)
    BREAKING CHANGE: EnterpriseService.GetConsumedLicenses is now EnterpriseService.ListConsumedLicenses.
  • refactor!: Change GetAllRepositoryRulesets to ListAllRepositoryRulesets (#​4227)
    BREAKING CHANGE: OrganizationsService.GetAllRepositoryRulesets is now OrganizationsService.ListAllRepositoryRulesets.
  • refactor!: Change GetRulesForBranch to ListRulesForBranch (#​4229)
    BREAKING CHANGE: RepositoriesService.GetRulesForBranch is now RepositoriesService.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 IssueFieldValues with schema (#​4207)
    BREAKING CHANGE: IssueRequest.IssueFieldValues type 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 httptest server 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-github from v85 to v86 in /scrape (#​4199)

v86.0.0

Compare Source

This release contains the following breaking API changes:

  • feat!: Refactor request context (#​4151)
    BREAKING CHANGE: All internal calls now provide Context via the Request itself.
  • feat!: Add OIDC authentication support to PrivateRegistries (#​4159)
    BREAKING CHANGE: PrivateRegistriesService is updated to API version 2026-03-10 with struct and response changes.

...and the following additional changes:

  • chore: Bump version of go-github to v86.0.0 (#​4198)
  • test: Fix invalid JSON payloads in actions workflow runs tests (#​4197)
  • feat: Add repo download contents sentinel errors (#​4192)
  • chore: Fix otel module name (#​4187)
  • feat: Add typed Copilot metrics download helpers (#​4177)
  • feat: Add deploy_keys_enabled_for_repositories and secret scanning custom link fields to Organization struct (#​4188)
  • refactor: Use testJSONBody helper 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 RetryAfter in AbuseRateLimitError.Error output (#​4181)
  • fix: Handle string-typed reviewer ID in Ruleset API responses (#​4178)
  • feat: Add ArchivedAt field to Organization struct (#​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

Compare Source

This release contains the following breaking API changes:

  • fix!: Resolve inconsistent options for create and update on custom org role (#​4075)
    BREAKING CHANGE: GetOrgRole, CreateCustomOrgRole, and UpdateCustomOrgRole have new params and return values.
  • fix!: Change id from int64 to string in ActivityService.MarkThreadDone (#​4056)
    BREAKING CHANGE: ActivityService.MarkThreadDone accepts string id instead of int64.

...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 CodeSecurity to SecurityAndAnalysis (#​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 DownloadCopilotMetrics helper method (#​4149)
  • docs: Add apiVersion to GitHub API link (#​4147)
  • chore: Simplify redundantptr custom linter (#​4148)
  • docs: Deprecate old Copilot metrics endpoints closed on April 2, 2026 (#​4137)
  • refactor: Remove redundant github.Ptr calls (#​4145)
  • fix: Add missing User fields (#​4146)
  • fix: Preserve Marketplace.Stubbed during 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 sanitizeURL secrets 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 []*T fields in gen-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 requestCount in rate limit tests (#​4124)
  • chore: Simplify generate.sh by removing git worktree and using generator-based check (#​4120)
  • docs: Improve comments in /examples (#​4122)
  • chore: Use golangci-lint-action; remove newreposecretwithlibsodium (#​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.Settings in check-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 new and &SomeStruct{} and add new extraneousnew custom linter (#​4106)
  • feat: Add NetworkConfigurationID and HostedRunnersURL to enterprise runner group types (#​4099)
  • feat: Generate accessors for all fields (#​4105)
  • feat: Add ListRunnerGroupHostedRunners for org runner groups (#​4100)
  • chore: Enable default: none linters; remove duplicated (#​4097)
  • fix: Use Cursor pagination 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.sh output 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_id field to App (#​4060)
  • test: Simplify CopilotService tests (#​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 SAS as a common initialism to structfield (#​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

Compare Source

This release contains the following breaking API changes:

  • feat!: Support workflow dispatch run details in response (#​4028)
    BREAKING CHANGE: CreateWorkflowDispatchEventByID and CreateWorkflowDispatchEventByFileName now return *WorkflowDispatchRunDetails.
  • fix!: Fix opts for methods listing issues and sub-issues (#​4016)
    BREAKING CHANGE: Split IssuesService.List into IssuesService.ListAllIssues and IssuesService.ListUserIssues. IssuesService.ListByOrg now accepts IssueListByOrgOptions. SubIssueService.ListByIssue now accepts ListOptions.

...and the following additional changes:

  • chore: Bump version of go-github to v84.0.0 (#​4049)
  • chore: Spell white space instead of whitespace (#​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 type field (#​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, Copilot and ActionsInbound to APIMeta (#​3975)
  • chore: Use go:fix inline for deprecated ptr funcs (#​4034)
  • feat: Add ListFineGrainedPersonalAccessTokenRequests for org (#​4022)
  • feat: Ensure compatibility with encoding/json/v2 experiment (#​4029)
  • chore: Update golangci-lint and enable some revive rules (#​4025)
  • refactor: Use sorting functions from slices instead of sort (#​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)

v83.0.0

Compare Source

I don't recall ever having this many breaking API changes in a single release, and the last release was only 3 weeks ago!

A special heart-felt thanks goes to @​merchantmoh-debug, @​Not-Dhananjay-Mishra, and @​alexandear for the addition of a long-requested feature to this repo:

  • native auto-generated iterators for all List* methods that support pagination (change your call from List* to List*Iter and make sure to use a rate-limiting transport or you will quickly exhaust your quotas!)

A second set of heart-felt thanks go to @​stevehipwell for setting up our REVIEWERS file and to our amazing volunteer reviewers:

who have reduced our code-review wait times from days (sometimes weeks) down to literally hours and thereby enable rapid responses to bug fixes and attempts to stay up-to-date with the ever-evolving GitHub v3 API.

This release contains the following breaking API changes:

  • fix!: Divide PackageGetAllVersions into two separate methods ListPackageVersions and ListUserPackageVersions (#​4014)
    BREAKING CHANGE: PackageGetAllVersions is now divided into ListPackageVersions and ListUserPackageVersions.
  • fix!: Remove unsupported pagination from ListAutolinks (#​4012)
    BREAKING CHANGE: opts *ListOptions is removed from RepositoriesService.ListAutoLinks.
  • fix!: Remove ListOptions from PullRequestsService.ListReviewers (#​4009)
    BREAKING CHANGE: PullRequestsService.ListReviewers no longer has opts *ListOptions.
  • fix!: Change PremiumRequestUsageItem quantities to float64 (#​4002)
    BREAKING CHANGE: PremiumRequestUsageItem numeric fields are now float64.
  • fix!: Add ListOptions to ListDeploymentBranchPolicies and ListCustomDeploymentRuleIntegrations (#​3988)
    BREAKING CHANGE: RepositoriesService.ListDeploymentBranchPolicies and RepositoriesService.ListCustomDeploymentRuleIntegrations now accept ListOptions.
  • fix!: Pass url struct tags by value instead of by reference (#​3991)
    BREAKING CHANGE: Many *Options structs now pass omitempty URL struct fields by value instead of by reference.
  • fix!: Fix pagination support for IssuesService list methods (#​3984)
    BREAKING CHANGE: ListCursorOptions is removed from IssueListOptions.
  • fix!: Add field PerPage to OrganizationsListOptions (#​3986)
    BREAKING CHANGE: OrganizationsListOptions now contains only PerPage instead of ListOptions.
  • fix!: Add ListLicensesOptions to LicensesService.List (#​3981)
    BREAKING CHANGE: LicensesService.List now accepts ListLicensesOptions for pagination.
  • fix!: Change SCIMEnterpriseAttributeOperation.Value from *string to any (#​3971)
    BREAKING CHANGE: SCIMEnterpriseAttributeOperation.Value is changed from *string to any.
  • feat!: Add ListOptions to RepositoriesService.ListAllTopics (#​3978)
    BREAKING CHANGE: RepositoriesService.ListAllTopics now accepts ListOptions for pagination.
  • fix!: Replace UserListOptions.ListOptions with UserListOptions.PerPage (#​3977)
    BREAKING CHANGE: Replaces UserListOptions.ListOptions with UserListOptions.PerPage which also removes UsersService.ListAllIter.
  • fix!: CreateHostedRunnerRequest, UpdateHostedRunnerRequest instead of HostedRunnerRequest (#​3973)
    BREAKING CHANGE: ActionsService.CreateHostedRunner and EnterpriseService.CreateHostedRunner now accept CreateHostedRunnerRequest; ActionsService.UpdateHostedRunner and EnterpriseService.UpdateHostedRunner now accept UpdateHostedRunnerRequest.
  • refactor!: Use RepositoryPermissions struct for User.Permissions (#​3963)
    BREAKING CHANGE: User.Permissions is now *RepositoryPermissions instead of map[string]bool.

...and the following additional changes:

  • Bump version of go-github to v83.0.0 (#​4015)
  • feat: Support pagination for methods that return structs (#​4011)
  • chore: Bump golangci-lint to v2.9.0 (#​4013)
  • docs: Update usage instructions (#​4008)
  • feat: Add iterators for methods with After (#​4007)
  • chore: Improve addOptions implementation (#​3998)
  • chore: Do not print any output when check-structfield-settings is OK (#​4001)
  • build(deps): Bump golang.org/x/net from 0.49.0 to 0.50.0 in /scrape (#​4003)
  • chore: Remove unnecessary fmt.Print in tests (#​3999)
  • build(deps): Bump github.com/alecthomas/kong from 1.13.0 to 1.14.0 in /tools (#​4004)
  • build(deps): Bump golang.org/x/crypto from 0.47.0 to 0.48.0 in /example (#​4006)
  • fix: Change cursor pagination to use After (#​3994)
  • fix: Add support for GitHub Enterprise cloud upload URLs (#​3993)
  • chore: Turn off commit with gpgsign in script/generate.sh (#​3982)
  • feat: Support []string return type in gen-iterators.go (#​3980)
  • fix: Address modernize.omitzero issues (#​3972)
  • feat: Add organization artifact metadata APIs (#​3944)
  • chore: Address otel review feedback (#​3969)
  • feat(otel): Add native OpenTelemetry Transport module (#​3938)
  • feat: Add native Go 1.23 iterator support for cursor-based pagination (#​3965)
  • chore: Address gen-iterators review feedback (#​3962)
  • feat: Add native Go 1.23 Iterator support (#​3916)
  • docs: Fix typo in README.md (#​3961)
  • chore: Move all "DO NOT EDIT" messages to line 1 (#​3960)
  • chore: Enable unparam linter and cover unused *Response results (#​3955)
  • fix(tools): Change gen-release-notes to use git instead of scraping web (#​3958)
  • chore: Use example.com instead of random URLs in tests (#​3948)
  • feat: Add organization_copilot_metrics installation permission (#​3957)
  • chore(deps): Switch from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 in /tools (#​3907)
  • docs: Address PR titles in CONTRIBUTING.md (#​3952)
  • chore: Format code with golangci-lint fmt (#​3949)
  • fix: Handle HTTP 429 status code for rate limiting (#​3951)
  • chore: Adapt lint.sh to Windows Git Bash (#​3950)
  • Bump go-github from v81 to v82 in /scrape (#​3946)

v82.0.0

Compare Source

This release contains the following breaking API changes:

  • feat!: Improve support for custom property defaults (#​3906)
    BREAKING CHANGE: CustomProperty.DefaultValue is now type any and .ValueType is now type PropertyValueType.
  • fix!: Simplify Git.ListMatchingRefs by removing ReferenceListOptions (#​3924)
    BREAKING CHANGE: Git.ListMatchingRefs accepts ref instead of the ReferenceListOptions.
  • 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.

...and the following additional changes:

  • Bump go-github from v80 to v81 in /scrape (#​3900)
  • build(deps): Bump github.com/google/go-querystring from 1.1.0 to 1.2.0 (#​3901)
  • docs: Correct variable name in rate limit error logging example (#​3902)
  • feat: Add ConfigurationFilePath field to GenerateNotesOptions (#​3904)
  • fix: Ignore unset AllowedMergeMethods field (#​3905)
  • docs: Clarify nil http.Client usage has no timeout (#​3910)
  • build(deps): Bump golang.org/x/net from 0.48.0 to 0.49.0 in /scrape (#​3911)
  • build(deps): Bump golang.org/x/term from 0.38.0 to 0.39.0 in /example (#​3912)
  • build(deps): Bump golang.org/x/crypto from 0.46.0 to 0.47.0 in /example (#​3913)
  • feat: Add dependency_sbom rate limit support (#​3908)
  • feat: Add support for delegated bypass in code security org config (#​3920)
  • fix: DeleteSocialAccounts and AddSocialAccounts of UsersService (#​3922)
  • chore: Add Not-Dhananjay-Mishra to REVIEWERS (#​3923)
  • build(deps): Bump the actions group with 2 updates (#​3927)
  • chore: Refactor test workflow (#​3929)
  • fix: Use correct type for custom property default value (#​3928)
  • feat: Support creating repo with custom properties (#​3933)
  • chore: Enable govet linter with all checks (#​3935)
  • perf: Optimize Stringify allocations (~3x faster) (#​3914)
  • docs: Update CONTRIBUTING.md to prevent AI slop PRs (#​3940)
  • chore: Update openapi_operations.yaml (#​3942)
  • build(deps): Bump actions/checkout from 6.0.1 to 6.0.2 in the actions group (#​3943)
  • Bump version of go-github to v82.0.0 (#​3945)

v81.0.0

Compare Source

This release contains the following breaking API changes:

  • fix!: Change Org usage report Quantity to float64 (#​3862)
    BREAKING CHANGE: UsageItem.Quantity is now type float64.
  • chore!: Remove PullRequestRuleParameters.AutomaticCopilotCodeReviewEnabled field (#​3866)
    BREAKING CHANGE: PullRequestRuleParameters.AutomaticCopilotCodeReviewEnabled is now removed.
  • feat!: Implement Enterprise SCIM - Provision Groups & Users (#​3852)
    BREAKING CHANGE: SCIMEnterpriseDisplayReference.Ref is now of type *string.
  • fix!: Change copilot_code_review field names to match GitHub API (#​3874)
    BREAKING CHANGE: CopilotCodeReviewRuleParameters.ReviewNewPushes is now ReviewOnPush.
  • fix!: Add support for missing attributes in ProjectsV2 API (#​3888)
    BREAKING CHANGE: AddProjectItemOptions fields have changed types.
  • feat!: Use omitzero for BypassActors to support handling empty arrays (#​3891)
    BREAKING CHANGE: UpdateRepositoryRulesetClearBypassActor, UpdateRepositoryRulesetClearBypassActor, UpdateRulesetClearBypassActor, and UpdateRulesetNoBypassActor have been removed as they are no longer needed.

...and the following additional changes:

  • Bump go-github from v79 to v80 in /scrape (#​3855)
  • feat: Add support for Enterprise Team APIs (#​3861)
  • feat: Implement Enterprise SCIM - Set Groups or Users (#​3858)
  • build(deps): Bump golang.org/x/term from 0.37.0 to 0.38.0 in /example (#​3865)
  • build(deps): Bump golang.org/x/sync from 0.18.0 to 0.19.0 in /tools (#​3864)
  • build(deps): Bump actions/checkout from 6.0.0 to 6.0.1 in the actions group (#​3863)
  • feat: Add advanced_search parameter to SearchOptions (#​3868)
  • feat: Implement Enterprise SCIM - Delete Groups or Users (#​3856)
  • feat: Add support for copilot_code_review rule type (#​3857)
  • feat: Add support for Enterprise Team Members APIs (#​3873)
  • chore: Simplify JSON marshaling for RepositoryRulesetRules (#​3875)
  • feat: Add support for Enterprise Team Organizations APIs (#​3876)
  • docs: Clarify CreateTree semantics and TreeEntry usage (#​3877)
  • docs: Reformulate deprecation notice for Commits field in PushEvent (#​3880)
  • build(deps): Bump actions/cache from 4.3.0 to 5.0.1 in the actions group (#​3883)
  • build(deps): Bump golang.org/x/net from 0.47.0 to 0.48.0 in /scrape (#​3882)
  • build(deps): Bump codecov/codecov-action from 5.5.1 to 5.5.2 (#​3884)
  • build(deps): Bump golang.org/x/crypto from 0.45.0 to 0.46.0 in /example (#​3885)
  • chore: Rename 'opt' to 'opts' in multiple methods (#​3887)
  • feat: Add support for remaining Codespaces APIs (#​3886)
  • feat: Handle omitzero in structfield linter (#​3881)
  • feat: Implement Enterprise SCIM - Get a Group or User (#​3889)
  • feat: Add support for Codespace Machines APIs (#​3890)
  • feat: Add support for URL custom property value type (#​3879)
  • feat: Add UploadReleaseAssetFromRelease convenience helper (#​3851)
  • Update openapi_operations.yaml (#​3895)
  • feat: Add support for Codespaces organizations APIs (#​3892)
  • feat: Add support for Copilot usage metrics reports API (#​3893)
  • feat: GetSignaturesProtectedBranch returns ErrBranchNotProtected when branch is not protected (#​3896)
  • Bump version of go-github to v81.0.0 (#​3899)

v80.0.0

Compare Source

This release contains the following breaking API changes:

  • feat!: Implement Enterprise SCIM - EnterpriseService.ListProvisionedSCIMUsers (#​3839)
    BREAKING CHANGE: ListProvisionedSCIMGroupsEnterpriseOptions optional fields are now pointers.

...and the following additional changes:

  • Bump go-github from v78 to v79 in /scrape (#​3828)
  • build(deps): Bump github.com/PuerkitoBio/goquery from 1.10.3 to 1.11.0 in /scrape (#​3833)
  • build(deps): Bump actions/checkout from 5.0.0 to 5.0.1 in the actions group (#​3834)
  • build(deps): Bump golang.org/x/crypto from 0.43.0 to 0.44.0 in /example (#​3835)
  • build(deps): Bump github.com/alecthomas/kong from 1.12.1 to 1.13.0 in /tools (#​3837)
  • feat: Add support for Enterprise GitHub App Installation APIs (#​3830)
  • Add ParentIssueURL field to Issue struct (#​3841)
  • build(deps): Bump golang.org/x/crypto from 0.44.0 to 0.45.0 in /example (#​3842)
  • build(deps): Bump the actions group with 2 updates (#​3844)
  • Add custom structfield linter to check struct field names and tags (#​3843)
  • feat: Add Credentials Revoke API (#​3847)
  • docs: Improve displaying GitHub API links on pkg.go.dev (#​3845)
  • feat: Add GitHub Enterprise App installation repository management APIs (#​3831)
  • feat: Implement Enterprise SCIM - Update Group & User attributes (#​3848)
  • chore: Update golangci-lint to v2.7.0 (#​3853)
  • feat: Add repository target to ruleset (#​3850)
  • Bump version of go-github to v80.0.0 (#​3854)

v79.0.0

Compare Source

This release contains the following breaking API changes:

  • fix!: Fix field selection and bugs in ProjectsV2 GET endpoints (#​3809)
    BREAKING CHANGE: UpdateProjectItemOptions.Field is now []*ProjectV2FieldUpdate.
  • feat!: Add enterprise security configurations, update API fields (#​3812)
    BREAKING CHANGES: Several OrganizationsService methods have been renamed for better consistency.
  • feat!: Implement Enterprise SCIM - EnterpriseService.ListProvisionedSCIMGroups (#​3814)
    BREAKING CHANGE: SCIMService.ListSCIMProvisionedGroupsForEnterprise is now EnterpriseService.ListProvisionedSCIMEnterpriseGroups.

...and the following additional changes:

  • Bump go-github from v77 to v78 in /scrape (#​3816)
  • chore: Enable 'modernize'; bump golangci-lint to v2.6.1 (#​3817)
  • feat: Add required_reviewers support to PullRequestRuleParameters (#​3806)
  • Add support for new custom properties for orgs APIs (#​3804)
  • build(deps): Bump golang.org/x/sync from 0.17.0 to 0.18.0 in /tools (#​3819)
  • chore: Enable nolintlint linter (#​3821)
  • fix: Remove custom Accept headers from search endpoints (#​3820)
  • Return back preview headers for search; remove TODOs for custom headers (#​3824)
  • feat: Add hosted runners URL and network configuration ID to runner group models (#​3825)
  • Update jsonfieldname linter to support $ in json tag names (#​3826)
  • Bump version of go-github to v79.0.0 (#​3827)

v78.0.0

Compare Source

This release contains the following breaking API changes:

  • feat!: Address post-merge enterprise billing cost center review (#​3805)
    BREAKING CHANGES: Various EnterpriseService structs have been renamed for consistency.

...and the following additional changes:

  • Bump go-github from v76 to v77 in /scrape (#​3801)
  • chore: Update openapi_operations.yaml (#​3802)
  • feat: Add support for enterprise billing cost centers API (#​3803)
  • feat: Add sha_pinning_required to ActionsPermissions structs (#​3807)
  • Bump version of go-github to v78.0.0 (#​3815)

v77.0.0

Compare Source

This release contains the following breaking API changes:

  • refactor!: Remove pointer from required field of CreateStatus API (#​3794)
    BREAKING CHANGE: RepositoriesService.CreateStatus now takes value for status, not pointer.
  • feat!: Add support for project items CRUD and project fields read operations (#​3793)
    BREAKING CHANGES:
    • ProjectV2Field.Options changed from []any to []*ProjectV2FieldOption.
    • ProjectV2Field.URL is now ProjectV2Field.ProjectURL
    • Optional fields in various ProjectV2 structs are now passed as pointers
    • Aligns ProjectsService functions with #​3761
    • Almost all methods have been renamed

...and the following additional changes:

  • Bump go-github from v75 to v76 in /scrape (#​3783)
  • Add custom jsonfieldname linter to ensure Go field name matches JSON tag name (#​3757)
  • chore: Fix typo in comment (#​3786)
  • feat: Add support for private registries endpoints (#​3785)
  • Only set Authorization when token is available (#​3789)
  • test: Ensure Authorization is not set with empty token (#​3790)
  • Fix spelling issues (#​3792)
  • Add test cases for JSON resource marshaling - SCIM (#​3798)
  • fix: Org/Enterprise UpdateRepositoryRulesetClearBypassActor sends empty array (#​3796)
  • Bump version of go-github to v77.0.0 (#​3800)

v76.0.0

Compare Source

This release contains the following breaking API changes:

  • chore!: Remove ActionsBilling endpoints for User and Organization (#​3701)
    BREAKING CHANGE: ActionsBilling endpoints are removed.
  • fix!: Return RepositoryAttachment from GetRepositoriesForCodeSecurityConfiguration (#​3707)
    BREAKING CHANGE: GetRepositoriesForCodeSecurityConfiguration now returns RepositoryAttachment instead of Repository.
  • refactor!: Replace Edit with Update in permissions method names (#​3731)
    BREAKING CHANGE: Permissions-related methods are renamed from Edit* to Update*.
  • fix!: Change return type of GetDefaultCodeSecurityConfigurations (#​3747)
    BREAKING CHANGE: GetDefaultCodeSecurityConfigurations now returns CodeSecurityConfigurationWithDefaultForNewRepos instead of CodeSecurityConfiguration.
  • refactor!: Adjust function names and field types for billing API (#​3770)
    BREAKING CHANGE: Billing-related methods are renamed to pattern, and required fields are changed to value types.

...and the following additional changes:

  • Bump go-github from v74 to v75 in /scrape (#​3724)
  • feat: Add ClientID to Installation (#​3712)
  • feat: Add some GitHub Classroom API endpoints (#​3690)
  • chore: Replace http.Method* constants with string literals (#​3696)
  • fix: Repositories.UpdateRulesetClearBypassActor sets BypassActors to empty slice (#​3727)
  • test: Ensure bypass_actors serializes as an empty array when clearing ruleset bypass actors (#​3734)
  • Add reason field to PullRequestEvent (#​3730)
  • chore: Update openapi_operations.yaml (#​3735)
  • Update CONTRIBUTING.md (#​3736)
  • feat: Support roles field in SCIM (#​3728)
  • chore: Ignore hidden .claude settings folder (#​3738)
  • feat: Add ListAcceptedAssignments and GetAssignmentGrades methods to Classroom API (#​3732)
  • feat: Add immutable releases support (#​3725)
  • build(deps): Bump actions/cache from 4.2.4 to 4.3.0 in the actions group (#​3742)
  • refactor: Use errors package to compare and assert error types (#​3739)
  • ci: Add errorlint configuration to golangci-lint settings (#​3743)
  • docs: Update code snippets to use errors package for type assertions (#​3746)
  • Update openapi_operations.yaml (#​3749)
  • test: Use t.Context() instead of context.Background() (#​3750)
  • chore: Add zyfy29 to REVIEWERS (#​3753)
  • Prefer %v over %d,%s and add fmtpercentv custom linter (#​3756)
  • test: Simplify the function that skips integration tests (#​3752)
  • test: Fix issues in TestSecretScanningService tests (#​3760)
  • refactor: Simplify for range loops (#​3762)
  • chore(ci): Add example dir to dependabot config (#​3764)
  • fix: Correct body in EnterpriseService.InitialConfig (#​3763)
  • feat: Add premium request usage report endpoints for organizations and users (#​3751)
  • feat: Add two new Secret Scanning API endpoints (#​3687)
  • build(deps): Bump github.com/ProtonMail/go-crypto from 0.0.0-20230828082145-3c4c8a2d2371 to 1.3.0 in /example (#​3765)
  • build(deps): Bump golang.org/x/crypto from 0.36.0 to 0.42.0 in /example (#​3766)
  • build(deps): Bump github.com/gofri/go-github-pagination from 1.0.0 to 1.0.1 in /example (#​3767)
  • Update openapi_operations.yaml (#​3772)
  • feat: Add fork PR workflows permission API support (#​3737)
  • Add support for organization Immutable Releases API (#​3774)
  • feat: Add enterprise license endpoints (#​3755)
  • build(deps): Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.4 to 2.17.0 in /example (#​3776)
  • build(deps): Bump golang.org/x/net from 0.44.0 to 0.46.0 in /scrape (#​3777)
  • build(deps): Bump golang.org/x/crypto from 0.42.0 to 0.43.0 in /example (#​3778)
  • Add ProjectsService (#​3718)
  • Fix breakages caused by merge (#​3781)
  • Bump version of go-github to v76.0.0 (#​3782)

v75.0.0

Compare Source

This release contains the following breaking API changes:

  • refactor!: Change GitService methods to pass required params by-value instead of by-ref (#​3654)
    BREAKING CHANGE: GitService methods now pass required params by-value instead of by-ref.

...and the following additional changes:

  • Bump go-github from v73 to v74 in /scrape (#​3639)
  • Add the metadata field to create DependencyGraphSnapshot (#​3640)
  • Bump golangci-lint to 2.3.0 (#​3641)
  • Add additional settings fields to org API (#​3642)
  • docs: Extend the description of ref parameters (#​3643)
  • fix: Add validation for nil inputs in various services (#​3636)
  • Add location info to SecretScanningAlert (#​3645)
  • docs: Update links to use the latest version of GitHub documentation (#​3648)
  • Add FieldValue field to ProjectV2ItemChange event. (#​3650)
  • Add Metadata field to DependencyGraph* structs (#​3653)
  • refactor: Fix gocritic.paramTypeCombine lint issues (#​3655)
  • chore: Show correct path when example has lint errors (#​3656)
  • Add Social Accounts API (#​3647)
  • feat: Implement List Repository Activities endpoint (#​3651)
  • docs: Use secure URLs in string literals (#​3657)
  • feat: Update openapi (#​3662)
  • feat: Add artifact and log retention period API support (#​3664)
  • Document upcoming changes to events payload (#​3667)
  • build(deps): Bump the actions group with 2 updates (#​3670)
  • build(deps): Bump golang.org/x/net from 0.42.0 to 0.43.0 in /scrape (#​3669)
  • fix: Replace 'organizations' with 'orgs' in API endpoints (#​3673)
  • Update AUTHORS (#​3674)
  • feat: Add secret scanning push protection pattern configurations API (#​3672)
  • feat: Add self-hosted runner permission API support (#​3675)
  • chore: Do not force Go 1.22.0 as toolchain version (#​3678)
  • feat: Add GitHub Classroom GetAssignment API endpoint (#​3685)
  • chore: Add new lint rule to make sure exported names documented (#​3682)
  • chore: Enable gocritic.deprecatedComment check (#​3688)
  • chore: Format code with gofumpt (#​3689)
  • feat: Add private repo workflows permission API support (#​3679)
  • chore: Replace reflect.DeepEqual with cmp.Equal in tests (#​3691)
  • docs: Update CONTRIBUTING.md to clarify documentation requirements for exported types (#​3693)
  • build(deps): Bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0 in /tools (#​3698)
  • build(deps): Bump actions/setup-go from 5.5.0 to 6.0.0 in the actions group (#​3709)
  • build(deps): Bump codecov/codecov-action from 5.4.3 to 5.5.1 (#​3711)
  • build(deps): Bump golang.org/x/net from 0.43.0 to 0.44.0 in /scrape (#​3716)
  • Add exempt as bypass mode to ruleset bypass actors (#​3719)
  • Bump Go toolchain to 1.24 (#​3721)
  • Bump golang.org/x/sync from 0.16.0 to 0.17.0 in /tools (#​3722)
  • Bump version of go-github to v75.0.0 (#​3723)

v74.0.0

Compare Source

This release contains the following breaking API changes:

  • fix!: Add ListSCIMProvisionedGroupsForEnterpriseOptions (#​3601)
    BREAKING CHANGE: ListSCIMProvisionedGroupsForEnterprise now takes ListSCIMProvisionedGroupsForEnterpriseOptions instead of *ListSCIMProvisionedIdentitiesOptions.
  • fix!: Change ListCheckSuiteOptions.AppID from int to int64 (#​3633)
    BREAKING CHANGE: Change ListCheckSuiteOptions.AppID from int to int64

...and the following additional changes:

  • Bump go-github from v72 to v73 in /scrape (#​3600)
  • refactor: Simplify error handling in JSON decoding in tests (#​3602)
  • refactor: fix revive.unused-parameter lint issues (#​3603)
  • chore: Correct typos in comments and tests error messages (#​3604)
  • feat: Add organization migration options (#​3606)
  • feat: Add new enhanced billing endpoints (#​3605)
  • docs: Update HTTP cache references to RFC 9111 compliant implementation (#​3608)
  • fix: Remove custom Accept in Apps.ListRepos and Apps.ListUserRepos (#​3609)
  • fix: Change UsageItem.Quantity from int to float64 (#​3610)
  • fix: Fix broken URL for SubIssueService.Remove endpoint (#​3613)
  • feat: Add DisableRateLimitCheck option to client (#​3607)
  • build(deps): bump github.com/alecthomas/kong from 1.11.0 to 1.12.0 in /tools (#​3614)
  • chore: Fix some minor issues in the comments (#​3615)
  • fix: Handle null assignee in Copilot Seat Billing API response (#​3619)
  • fix: Add ProtectionURL field to Repositories.ListBranches response (#​3618)
  • feat: Add digest field to Artifact (#​3621)
  • fix: Add missing require_last_push_approval field to branch protection rule event structs (#​3623)
  • build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 in /tools (#​3624)
  • build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 in /scrape (#​3625)
  • feat: Add the Digest field to ReleaseAsset (#​3628)
  • refactor: Fix revive.unnecessary-format lint issues (#​3629)
  • build(deps): bump github.com/alecthomas/kong from 1.12.0 to 1.12.1 in /tools (#​3632)
  • docs: Extend RepositoryContentGetOptions description (#​3637)
  • Bump version of go-github to v74.0.0 (#​3638)

v73.0.0

Compare Source

This release contains the following breaking API changes:

  • feat!: Add repository query option to ListCustomPropertyValues (#​3598)
    BREAKING CHANGE: ListCustomPropertyValues now takes ListCustomPropertyValuesOptions instead of ListOptions.

...and the following additional changes:

  • Bump go-github from v71 to v72 in /scrape (#​3572)
  • Update OpenAPI (#​3574)
  • Improve DownloadContents and DownloadContentsWithMeta methods (#​3573)
  • build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 in the actions group (#​3575)
  • build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 in /scrape (#​3576)
  • build(deps): bump github.com/alecthomas/kong from 1.10.0 to 1.11.0 in /tools (#​3578)
  • build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.3 (#​3579)
  • feat: Add support for sub-issue (#​3580)
  • fix: Add missing relationship and pkg external info for SBOMs (#​3582)
  • chore: Use any instead of interface{} (#​3584)
  • chore: Migrate golangci-lint to v2 (#​3587)
  • chore: Add alexandear to REVIEWERS (#​3588)
  • docs: Update minimum Go version in README to 1.23 (#​3589)
  • fix: Use stable media type in Starring API (#​3590)
  • docs: Use pkgsite links (#​3591)
  • build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 in /scrape (#​3593)
  • build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 in /tools (#​3594)
  • build(deps): bump github.com/cloudflare/circl from 1.3.7 to 1.6.1 in /example (#​3595)
  • Bump version of go-github to v73.0.0 (#​3599)
sirupsen/logrus (github.com/sirupsen/logrus)

v1.10.2

Compare Source

Logrus v1.10.2

This is a small maintenance release that updates github.com/stretchr/testify to v1.12.1, removing the legacy gopkg.in/yaml.v3 dependency from Logrus' dependency graph. There are no functional changes in this release.

Dependency Changes

  • update github.com/stretchr/testify to v1.12.1

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.10.1...v1.10.2

v1.10.1

Compare Source

Logrus v1.10.1

This patch release fixes two issues in field formatting and handling:

  • Fix a regression introduced in v1.10.0 where TextFormatter could panic
    when formatting nil or panicking error and fmt.Stringer values.
  • Allow function-backed values implementing error to be used with
    WithError, WithField, and WithFields.

Dependency Changes

  • update github.com/stretchr/testify to v1.12.0

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.10.0...v1.10.1

v1.10.0

Compare Source

Logrus v1.10.0

This release focuses on substantial performance improvements, concurrency correctness, and better interoperability with modern Go logging APIs.

🚀 Performance

Major improvements across TextFormatter, entry handling, and common logger paths:

  • ~17% lower geomean runtime across the benchmark suite
  • ~27% higher geomean formatter throughput
  • Common enabled logging paths are ~30–44% faster
  • WithError is ~40% faster
  • Chained fields are ~46% faster
  • TextFormatter paths are up to ~40% faster
  • Allocation counts are reduced by ~25–74% across measured TextFormatter cases, with the largest reductions in colored output

The improvements also show up in complete logger paths:

  • Logger + TextFormatter is ~31% faster, with ~24% fewer allocations
  • Logger + JSONFormatter is ~21% faster, with ~10% fewer allocations

JSONFormatter itself remains largely unchanged in runtime performance, with small allocation reductions.

🔄 log/slog interoperability

v1.10 adds bidirectional interoperability between Logrus and Go's log/slog:

  • A Logrus slog hook can forward existing Logrus entries to an slog logger.
  • hooks/slog.NewHandler implements slog.Handler, allowing log/slog records to use an existing Logrus logger and its hooks, formatter, and output.
  • The handler preserves levels, fields, groups, context, record timestamps, and optionally caller information.
  • Caller reporting is configured per handler, without requiring Logrus's logger-wide ReportCaller option.
  • Custom slog levels can be mapped to Logrus levels.
  • The hook and handler can be combined, providing a practical path for incrementally migrating from Logrus to log/slog without requiring an all-at-once transition.

This allows applications to migrate their logging API and logging backend independently: existing Logrus call sites can start using an slog backend, while new slog code can continue using an established Logrus setup.

🔒 Concurrency & Correctness

  • Fix reentrant logging deadlocks, including logging from within MarshalJSON or formatter code.
  • Fix generic Log, Logf, Logln, and LogFn methods unexpectedly panicking when called with PanicLevel, contrary to their documented behavior.
  • Eliminate race conditions in entry and formatter paths.
  • Improve locking boundaries around formatters and hooks.

➕ Added

  • TextFormatter now automatically enables colors on Windows terminals with ANSI support, matching behavior on other platforms.
  • Entry.Caller can now be set explicitly and is preserved across derived entries. When caller reporting is enabled, Logrus only detects and populates caller information when none was provided, allowing custom caller detection and wrapper-aware logging without adding additional caller configuration APIs.
  • Add minimal, composable logging interfaces for each log level, allowing consumers to depend on narrower interfaces and making logging implementations easier to substitute or adapt.
  • Expand CI verification to include TinyGo and every cross-compile target reported by go tool dist list, improving coverage across alternative toolchains and platforms.

⚠️ Behavioral Changes

  • Minimum supported Go version is now 1.23.
  • TextFormatter now renders []byte as raw/quoted strings instead of numeric slices.
    If you relied on the previous slice-of-ints output, convert explicitly before logging.
  • TextFormatter now uses dim cyan for debug output and dim white for trace output in colorized TTY output.
  • Entry.HasCaller is now deprecated in favor of checking Entry.Caller directly. A //go:fix inline directive was added so existing uses can be updated automatically.
  • MutexWrap, which was unintentionally exposed as public API, is deprecated. It remains available as an alias for compatibility but should not be used directly.

v1.10 is primarily a performance, correctness, and interoperability release with no intentional breaking public API changes.

Benchmarks (sampled at 457e372460c7a80ca7c800b51ebeee5362aaa180)
goos: darwin
goarch: arm64
pkg: github.com/sirupsen/logrus/benches
cpu: Apple M3 Pro
                                     │  v1.9.4.txt   │             v1.10.0.txt              │
                                     │    sec/op     │    sec/op     vs base                │
Entry_WithError                         228.8n ±  4%   137.4n ±  5%  -39.95% (p=0.000 n=10)
Entry_WithField_Chain                  1346.5n ±  2%   733.5n ±  3%  -45.53% (p=0.000 n=10)
Entry_WithFields/valid_fields_only      236.2n ±  6%   255.4n ±  1%   +8.11% (p=0.001 n=10)
Entry_WithFields/contains_func          293.1n ±  3%   285.1n ±  3%   -2.76% (p=0.043 n=10)
Entry_WithFields/contains_func_ptr      296.5n ±  3%   300.1n ±  5%        ~ (p=0.529 n=10)
Entry_WithFields/mixed_valid_invalid    339.7n ±  4%   336.7n ±  2%        ~ (p=0.315 n=10)
Entry_WithFields/larger_map             635.9n ±  4%   693.8n ±  2%   +9.11% (p=0.000 n=10)
Entry_ReportCaller_NoCaller             933.4n ±  3%   924.0n ±  2%        ~ (p=0.105 n=10)
Entry_ReportCaller_WithCaller           2.693µ ±  2%   3.050µ ±  3%  +13.28% (p=0.000 n=10)
Entry_ReportCaller_NoCaller_Depth4      914.3n ±  2%   905.5n ±  3%        ~ (p=0.481 n=10)
Entry_ReportCaller_WithCaller_Depth4    2.736µ ±  8%   3.048µ ±  5%  +11.36% (p=0.000 n=10)
ZeroTextFormatter                       457.6n ±  1%   369.3n ±  2%  -19.31% (p=0.000 n=10)
OneStringTextFormatter                  637.0n ±  1%   549.4n ±  2%  -13.75% (p=0.000 n=10)
OneNumericTextFormatter                 682.7n ±  1%   550.2n ±  1%  -19.42% (p=0.000 n=10)
OneBoolTextFormatter                    669.7n ±  1%   550.0n ±  1%  -17.87% (p=0.000 n=10)
NumericTextFormatter                    1.685µ ±  3%   1.261µ ±  2%  -25.17% (p=0.000 n=10)
BoolTextFormatter                       1.450µ ±  1%   1.082µ ±  3%  -25.39% (p=0.000 n=10)
StringerTextFormatter                   2.066µ ±  1%   1.323µ ±  1%  -35.95% (p=0.000 n=10)
ErrorTextFormatter                      924.7n ±  5%   686.7n ±  1%  -25.74% (p=0.000 n=10)
SmallTextFormatter                      944.4n ±  1%   862.6n ±  1%   -8.66% (p=0.000 n=10)
LargeTextFormatter                      5.527µ ±  5%   4.750µ ±  2%  -14.07% (p=0.000 n=10)
SmallColoredTextFormatter              1337.0n ±  3%   838.6n ±  1%  -37.28% (p=0.000 n=10)
LargeColoredTextFormatter               7.955µ ±  5%   4.749µ ±  3%  -40.30% (p=0.000 n=10)
SmallJSONFormatter                      1.627µ ±  1%   1.637µ ±  6%        ~ (p=0.670 n=10)
LargeJSONFormatter                      8.335µ ±  3%   8.172µ ±  1%   -1.96% (p=0.000 n=10)
DummyLogger                             1.843µ ±  3%   1.551µ ±  2%  -15.82% (p=0.000 n=10)
DummyLoggerNoLock                       1.840µ ±  3%   1.558µ ±  3%  -15.30% (p=0.000 n=10)
LoggerLog/disabled_level                1.248n ± 11%   1.192n ± 11%   -4.49% (p=0.011 n=10)
LoggerLog/enabled_log                   223.9n ±  3%   157.7n ±  5%  -29.57% (p=0.000 n=10)
LoggerLog/enabled_logln                 284.2n ±  1%   158.9n ±  2%  -44.09% (p=0.000 n=10)
LoggerJSONFormatter                     2.177µ ±  1%   1.712µ ±  1%  -21.34% (p=0.000 n=10)
LoggerTextFormatter                     1.860µ ±  5%   1.282µ ±  3%  -31.05% (p=0.000 n=10)
geomean                                 843.9n         698.9n        -17.18%

                                     │   v1.9.4.txt   │              v1.10.0.txt               │
                                     │      B/op      │     B/op      vs base                  │
Entry_WithError                          448.0 ± 0%       448.0 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithField_Chain                  2.188Ki ± 0%     2.188Ki ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/valid_fields_only       448.0 ± 0%       448.0 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/contains_func           488.0 ± 0%       488.0 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/contains_func_ptr       488.0 ± 0%       488.0 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/mixed_valid_invalid     488.0 ± 0%       488.0 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/larger_map            1.320Ki ± 0%     1.320Ki ± 0%        ~ (p=1.000 n=10) ¹
Entry_ReportCaller_NoCaller              821.0 ± 0%       800.0 ± 0%   -2.56% (p=0.000 n=10)
Entry_ReportCaller_WithCaller          1.614Ki ± 0%     1.581Ki ± 0%   -2.06% (p=0.000 n=10)
Entry_ReportCaller_NoCaller_Depth4       821.0 ± 0%       800.0 ± 0%   -2.56% (p=0.000 n=10)
Entry_ReportCaller_WithCaller_Depth4   1.614Ki ± 0%     1.581Ki ± 0%   -2.06% (p=0.000 n=10)
ZeroTextFormatter                        272.0 ± 0%       232.0 ± 0%  -14.71% (p=0.000 n=10)
OneStringTextFormatter                   304.0 ± 0%       264.0 ± 0%  -13.16% (p=0.000 n=10)
OneNumericTextFormatter                  308.0 ± 0%       264.0 ± 0%  -14.29% (p=0.000 n=10)
OneBoolTextFormatter                     308.0 ± 0%       264.0 ± 0%  -14.29% (p=0.000 n=10)
NumericTextFormatter                     920.0 ± 0%       808.0 ± 0%  -12.17% (p=0.000 n=10)
BoolTextFormatter                        626.0 ± 0%       552.0 ± 0%  -11.82% (p=0.000 n=10)
StringerTextFormatter                    968.0 ± 0%       808.0 ± 0%  -16.53% (p=0.000 n=10)
ErrorTextFormatter                       472.0 ± 0%       424.0 ± 0%  -10.17% (p=0.000 n=10)
SmallTextFormatter                       528.0 ± 0%       488.0 ± 0%   -7.58% (p=0.000 n=10)
LargeTextFormatter                     3.773Ki ± 0%     3.156Ki ± 0%  -16.36% (p=0.000 n=10)
SmallColoredTextFormatter                600.0 ± 0%       392.0 ± 0%  -34.67% (p=0.000 n=10)
LargeColoredTextFormatter              4.406Ki ± 0%     2.859Ki ± 0%  -35.11% (p=0.000 n=10)
SmallJSONFormatter                     1.078Ki ± 0%     1.070Ki ± 0%   -0.72% (p=0.000 n=10)
LargeJSONFormatter                     5.086Ki ± 0%     5.078Ki ± 0%   -0.15% (p=0.000 n=10)
DummyLogger                              748.0 ± 0%       704.0 ± 0%   -5.88% (p=0.000 n=10)
DummyLoggerNoLock                        748.0 ± 0%       704.0 ± 0%   -5.88% (p=0.000 n=10)
LoggerLog/disabled_level                 0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=10) ¹
LoggerLog/enabled_log                    212.0 ± 0%       208.0 ± 0%   -1.89% (p=0.000 n=10)
LoggerLog/enabled_logln                  240.0 ± 0%       208.0 ± 0%  -13.33% (p=0.000 n=10)
LoggerJSONFormatter                    2.156Ki ± 0%     2.125Ki ± 0%   -1.45% (p=0.000 n=10)
LoggerTextFormatter                    1.625Ki ± 0%     1.547Ki ± 0%   -4.81% (p=0.000 n=10)
geomean                                             ²                  -8.14%                ²
¹ all samples are equal
² summaries must be >0 to compute geomean

                                     │  v1.9.4.txt   │             v1.10.0.txt              │
                                     │   allocs/op   │ allocs/op   vs base                  │
Entry_WithError                         3.000 ± 0%     3.000 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithField_Chain                   15.00 ± 0%     15.00 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/valid_fields_only      3.000 ± 0%     3.000 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/contains_func          5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/contains_func_ptr      5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/mixed_valid_invalid    5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=10) ¹
Entry_WithFields/larger_map             5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=10) ¹
Entry_ReportCaller_NoCaller             18.00 ± 0%     15.00 ± 0%  -16.67% (p=0.000 n=10)
Entry_ReportCaller_WithCaller           29.00 ± 0%     26.00 ± 0%  -10.34% (p=0.000 n=10)
Entry_ReportCaller_NoCaller_Depth4      18.00 ± 0%     15.00 ± 0%  -16.67% (p=0.000 n=10)
Entry_ReportCaller_WithCaller_Depth4    29.00 ± 0%     26.00 ± 0%  -10.34% (p=0.000 n=10)
ZeroTextFormatter                      10.000 ± 0%     7.000 ± 0%  -30.00% (p=0.000 n=10)
OneStringTextFormatter                 11.000 ± 0%     8.000 ± 0%  -27.27% (p=0.000 n=10)
OneNumericTextFormatter                12.000 ± 0%     8.000 ± 0%  -33.33% (p=0.000 n=10)
OneBoolTextFormatter                   12.000 ± 0%     8.000 ± 0%  -33.33% (p=0.000 n=10)
NumericTextFormatter                    19.00 ± 0%     10.00 ± 0%  -47.37% (p=0.000 n=10)
BoolTextFormatter                      18.000 ± 0%     9.000 ± 0%  -50.00% (p=0.000 n=10)
StringerTextFormatter                   22.00 ± 0%     10.00 ± 0%  -54.55% (p=0.000 n=10)
ErrorTextFormatter                     14.000 ± 0%     9.000 ± 0%  -35.71% (p=0.000 n=10)
SmallTextFormatter                     12.000 ± 0%     9.000 ± 0%  -25.00% (p=0.000 n=10)
LargeTextFormatter                      19.00 ± 0%     14.00 ± 0%  -26.32% (p=0.000 n=10)
SmallColoredTextFormatter              15.000 ± 0%     7.000 ± 0%  -53.33% (p=0.000 n=10)
LargeColoredTextFormatter               46.00 ± 0%     12.00 ± 0%  -73.91% (p=0.000 n=10)
SmallJSONFormatter                      25.00 ± 0%     23.00 ± 0%   -8.00% (p=0.000 n=10)
LargeJSONFormatter                      75.00 ± 0%     73.00 ± 0%   -2.67% (p=0.000 n=10)
DummyLogger                            13.000 ± 0%     9.000 ± 0%  -30.77% (p=0.000 n=10)
DummyLoggerNoLock                      13.000 ± 0%     9.000 ± 0%  -30.77% (p=0.000 n=10)
LoggerLog/disabled_level                0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=10) ¹
LoggerLog/enabled_log                   4.000 ± 0%     3.000 ± 0%  -25.00% (p=0.000 n=10)
LoggerLog/enabled_logln                 6.000 ± 0%     3.000 ± 0%  -50.00% (p=0.000 n=10)
LoggerJSONFormatter                     30.00 ± 0%     27.00 ± 0%  -10.00% (p=0.000 n=10)
LoggerTextFormatter                     21.00 ± 0%     16.00 ± 0%  -23.81% (p=0.000 n=10)
geomean                                            ²               -25.77%                ²
¹ all samples are equal
² summaries must be >0 to compute geomean

                          │  v1.9.4.txt  │              v1.10.0.txt              │
                          │     B/s      │      B/s       vs base                │
ZeroTextFormatter           106.3Mi ± 1%    131.7Mi ± 2%  +23.90% (p=0.000 n=10)
OneStringTextFormatter      88.34Mi ± 1%   102.42Mi ± 2%  +15.95% (p=0.000 n=10)
OneNumericTextFormatter     78.23Mi ± 1%    97.08Mi ± 1%  +24.09% (p=0.000 n=10)
OneBoolTextFormatter        82.59Mi ± 1%   100.57Mi ± 1%  +21.77% (p=0.000 n=10)
NumericTextFormatter        74.74Mi ± 3%    99.85Mi ± 2%  +33.60% (p=0.000 n=10)
BoolTextFormatter           65.15Mi ± 1%    87.32Mi ± 3%  +34.04% (p=0.000 n=10)
StringerTextFormatter       64.64Mi ± 1%   100.90Mi ± 1%  +56.10% (p=0.000 n=10)
ErrorTextFormatter          69.10Mi ± 5%    93.05Mi ± 1%  +34.66% (p=0.000 n=10)
SmallTextFormatter          86.85Mi ± 1%    95.08Mi ± 1%   +9.48% (p=0.000 n=10)
LargeTextFormatter          49.35Mi ± 5%    57.43Mi ± 2%  +16.38% (p=0.000 n=10)
SmallColoredTextFormatter   102.7Mi ± 3%    163.8Mi ± 1%  +59.42% (p=0.000 n=10)
LargeColoredTextFormatter   67.14Mi ± 5%   112.45Mi ± 3%  +67.48% (p=0.000 n=10)
SmallJSONFormatter          66.84Mi ± 1%    66.44Mi ± 6%        ~ (p=0.684 n=10)
LargeJSONFormatter          46.91Mi ± 3%    47.85Mi ± 1%   +2.00% (p=0.000 n=10)
geomean                     73.01Mi         92.67Mi       +26.93%

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.4...v1.10.0

v1.9.4

Compare Source

Notable changes

  • go.mod: update minimum supported go version to v1.17 #​1460
  • go.mod: bump up dependencies #​1460
  • Touch-up godoc and add "doc" links.
  • README: fix links, grammar, and update examples.
  • Add GNU/Hurd support #​1364
  • Add WASI wasip1 support #​1388
  • Remove uses of deprecated ioutil package #​1472
  • CI: update actions and golangci-lint #​1459
  • CI: remove appveyor, add macOS #​1460

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.3...v1.9.4


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [github.com/caarlos0/env/v11](https://github.com/caarlos0/env) | `v11.3.1` → `v11.4.1` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcaarlos0%2fenv%2fv11/v11.4.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcaarlos0%2fenv%2fv11/v11.3.1/v11.4.1?slim=true) | require | minor | | [github.com/google/go-github/v72](https://github.com/google/go-github) | `v72.0.0` → `v92.0.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv72/v92.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-github%2fv72/v72.0.0/v92.0.0?slim=true) | require | major | | [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `v1.9.3` → `v1.10.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsirupsen%2flogrus/v1.10.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsirupsen%2flogrus/v1.9.3/v1.10.2?slim=true) | require | minor | | [golang](https://hub.docker.com/_/golang) ([source](https://github.com/docker-library/golang)) | `1.24` → `1.27` | ![age](https://developer.mend.io/api/mc/badges/age/docker/golang/1.27?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/golang/1.24/1.27?slim=true) | final | minor | | [golang.org/x/oauth2](https://pkg.go.dev/golang.org/x/oauth2) | [`v0.30.0` → `v0.37.0`](https://cs.opensource.google/go/x/oauth2/+/refs/tags/v0.30.0...refs/tags/v0.37.0) | ![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2foauth2/v0.37.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2foauth2/v0.30.0/v0.37.0?slim=true) | require | minor | --- ### Release Notes <details> <summary>caarlos0/env (github.com/caarlos0/env/v11)</summary> ### [`v11.4.1`](https://github.com/caarlos0/env/releases/tag/v11.4.1) [Compare Source](https://github.com/caarlos0/env/compare/v11.4.0...v11.4.1) #### Changelog ##### Bug fixes - [`6daeb06`](https://github.com/caarlos0/env/commit/6daeb06ac7e3c9532a7eaa5768d45917393b7480): fix: use Key instead of OwnKey in rawEnvVars to properly reference existing defaults in complex structs ([#&#8203;412](https://github.com/caarlos0/env/issues/412)) ([@&#8203;AndrewChubatiuk](https://github.com/AndrewChubatiuk)) ##### Documentation updates - [`1ff55e6`](https://github.com/caarlos0/env/commit/1ff55e6c9733833ce75d62b345916a407dbe4158): docs: adaptive starchart ([#&#8203;416](https://github.com/caarlos0/env/issues/416)) ([@&#8203;alexandear](https://github.com/alexandear)) ##### Other work - [`cf4a968`](https://github.com/caarlos0/env/commit/cf4a9682420b025e44b4773fd7ee0be48bb68b2f): ci(deps): bump the actions group with 3 updates ([#&#8203;411](https://github.com/caarlos0/env/issues/411)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`33faf6f`](https://github.com/caarlos0/env/commit/33faf6f333c2c3dacef2991825f8e03960a2c0cb): ci(deps): bump the actions group with 3 updates ([#&#8203;417](https://github.com/caarlos0/env/issues/417)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`0cb635b`](https://github.com/caarlos0/env/commit/0cb635b62488f4d310809a82a8832cedc9aa94eb): ci(deps): bump the actions group with 6 updates ([#&#8203;415](https://github.com/caarlos0/env/issues/415)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`a72d89a`](https://github.com/caarlos0/env/commit/a72d89a8930fc800372a6a338a1acf33e5cc3a56): ci: update release config ([@&#8203;caarlos0](https://github.com/caarlos0)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v11.4.0`](https://github.com/caarlos0/env/releases/tag/v11.4.0) [Compare Source](https://github.com/caarlos0/env/compare/v11.3.1...v11.4.0) #### Changelog ##### New Features - [`2be9960`](https://github.com/caarlos0/env/commit/2be9960e75cc5f053dcb89c64e43de19765fd154): feat: option to set defaults for zero values only ([#&#8203;325](https://github.com/caarlos0/env/issues/325)) ([@&#8203;dnovikoff](https://github.com/dnovikoff)) ##### Bug fixes - [`d3505f1`](https://github.com/caarlos0/env/commit/d3505f14213c309f8ca3b0b1e468284749456dde): fix: all new lint issues, update golangci-lint ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`aaa4511`](https://github.com/caarlos0/env/commit/aaa45113e5eb50e2a243959041452bbab40ae3cc): fix: lint issues ([@&#8203;caarlos0](https://github.com/caarlos0)) ##### Documentation updates - [`8917d78`](https://github.com/caarlos0/env/commit/8917d78b4247be8a3f555ccee03305c7763471e4): docs: clarify example a bit ([@&#8203;caarlos0](https://github.com/caarlos0)) ##### Other work - [`7b10cf5`](https://github.com/caarlos0/env/commit/7b10cf56e20fe41042b7a7148555990b64b85f95): ci(deps): bump github/codeql-action in the actions group ([#&#8203;400](https://github.com/caarlos0/env/issues/400)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`c98ad84`](https://github.com/caarlos0/env/commit/c98ad844e1e479526ef6b4069e0b0f1ced5c953d): ci(deps): bump github/codeql-action in the actions group ([#&#8203;410](https://github.com/caarlos0/env/issues/410)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`2ca9b08`](https://github.com/caarlos0/env/commit/2ca9b08cafe0bc271636c15fa34d156733631123): ci(deps): bump the actions group with 2 updates ([#&#8203;393](https://github.com/caarlos0/env/issues/393)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`cd5c220`](https://github.com/caarlos0/env/commit/cd5c220dbceb1d1353263a5d6fe3f6816aa1217f): ci(deps): bump the actions group with 2 updates ([#&#8203;396](https://github.com/caarlos0/env/issues/396)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`4d25a46`](https://github.com/caarlos0/env/commit/4d25a4659f428119ce5eaf3ea579176b9161c6e0): ci(deps): bump the actions group with 2 updates ([#&#8203;402](https://github.com/caarlos0/env/issues/402)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`c660cc9`](https://github.com/caarlos0/env/commit/c660cc91db76b02de72e8ab7e9ad348edef3f891): ci(deps): bump the actions group with 2 updates ([#&#8203;403](https://github.com/caarlos0/env/issues/403)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`3a3ea05`](https://github.com/caarlos0/env/commit/3a3ea05453bd16685c807ba089b20a82033a02f1): ci(deps): bump the actions group with 2 updates ([#&#8203;405](https://github.com/caarlos0/env/issues/405)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`d28373e`](https://github.com/caarlos0/env/commit/d28373e3a047e93ad21676ea9878e5dd1ca157f7): ci(deps): bump the actions group with 2 updates ([#&#8203;408](https://github.com/caarlos0/env/issues/408)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`7b50056`](https://github.com/caarlos0/env/commit/7b5005693b54a0014e4d3a2ee6192c7bce336af7): ci(deps): bump the actions group with 3 updates ([#&#8203;397](https://github.com/caarlos0/env/issues/397)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`6b2db30`](https://github.com/caarlos0/env/commit/6b2db30d1977183eb8a9732c01ff4e6788565a6e): ci(deps): bump the actions group with 3 updates ([#&#8203;399](https://github.com/caarlos0/env/issues/399)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`f33230e`](https://github.com/caarlos0/env/commit/f33230e8e7e0377c9cdb65d43940db1666061766): ci(deps): bump the actions group with 3 updates ([#&#8203;404](https://github.com/caarlos0/env/issues/404)) ([@&#8203;dependabot](https://github.com/dependabot)\[bot]) - [`2dc7aec`](https://github.com/caarlos0/env/commit/2dc7aec137983c972c29779e951011ddb496fc8b): ci(sec): add codeql, govulncheck, grype ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`82412ce`](https://github.com/caarlos0/env/commit/82412ce6900082095e9e4b66f5024c0e67ff3fb8): ci: build perms ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`02495c4`](https://github.com/caarlos0/env/commit/02495c42107d77c9365aef6a031b7089f734af3b): ci: build perms ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`e5b3c2c`](https://github.com/caarlos0/env/commit/e5b3c2c879e43e458e060e2a61fb525e161b7715): ci: lint workflow perms ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`6690dfb`](https://github.com/caarlos0/env/commit/6690dfb3d314535320f3a30365c52f6fb40c8992): ci: pin github actions versions ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`548a7a6`](https://github.com/caarlos0/env/commit/548a7a66c9d5504d8f9c0488ee47a05ae453c7e2): ci: update dependabot ([@&#8203;caarlos0](https://github.com/caarlos0)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* </details> <details> <summary>google/go-github (github.com/google/go-github/v72)</summary> ### [`v92.0.0`](https://github.com/google/go-github/releases/tag/v92.0.0) [Compare Source](https://github.com/google/go-github/compare/v91.0.0...v92.0.0) This release contains the following breaking API changes: - refactor!: Pass the Codespaces body types by value and rename them to `...Request` ([#&#8203;4540](https://github.com/google/go-github/issues/4540)) BREAKING CHANGE: `CreateCodespaceOptions`, `CodespaceCreateForUserOptions`, `UpdateCodespaceOptions` and `PublishCodespaceOptions` are renamed to `CreateCodespaceRequest`, `CreateCodespaceForUserRequest`, `UpdateCodespaceRequest` and `PublishCodespaceRequest`; `CodespacesService.CreateInRepo`, `CreateFromPullRequest`, `Create`, `Update` and `Publish` now take them by value instead of by pointer; `CreateCodespaceForUserRequest.RepositoryID` is now `*int64`. - refactor!: Rename `DependencyGraphSnapshot` to `CreateDependencyGraphSnapshotRequest` and pass by value ([#&#8203;4519](https://github.com/google/go-github/issues/4519)) BREAKING CHANGE: `DependencyGraphSnapshot` is now `CreateDependencyGraphSnapshotRequest` with field pointer/value changes. - feat!: Add pagination to Enterprise.ListBudgets and add GetUserStatesForBudget ([#&#8203;4501](https://github.com/google/go-github/issues/4501)) BREAKING CHANGE: `EnterpriseService.ListBudgets` now takes `EnterpriseListBudgetsOptions`. - refactor!: Split `RepositoryComment` request bodies and pass by value ([#&#8203;4496](https://github.com/google/go-github/issues/4496)) BREAKING CHANGE: `RepositoriesService.CreateComment` now takes `CreateCommitCommentRequest` and `RepositoriesService.UpdateComment` takes `UpdateCommitCommentRequest`, both passed by value instead of `*RepositoryComment`. ...and the following additional changes: - chore: Bump version of go-github to v92.0.0 ([#&#8203;4554](https://github.com/google/go-github/issues/4554)) - fix: Re-add ldapdb for ghes team creation ([#&#8203;4553](https://github.com/google/go-github/issues/4553)) - feat: Add ImageGen to HostedRunner and UpdateHostedRunnerRequest ([#&#8203;4549](https://github.com/google/go-github/issues/4549)) - feat: Support the edited and dismissed actions on PullRequestReviewEvent ([#&#8203;4552](https://github.com/google/go-github/issues/4552)) - fix: Escape package names in UsersService methods ([#&#8203;4546](https://github.com/google/go-github/issues/4546)) - feat: Add simple CRUD endpoints for GitHub Copilot Spaces ([#&#8203;4379](https://github.com/google/go-github/issues/4379)) - feat: Add Agents secrets API ([#&#8203;4533](https://github.com/google/go-github/issues/4533)) - fix: Escape environment names in URL paths across 5 files ([#&#8203;4536](https://github.com/google/go-github/issues/4536)) - feat: Add Copilot user-teams daily metrics report endpoints ([#&#8203;4500](https://github.com/google/go-github/issues/4500)) - chore: Consolidate Dependabot PRs ([#&#8203;4542](https://github.com/google/go-github/issues/4542)) - chore: Remove alexandear from REVIEWERS ([#&#8203;4535](https://github.com/google/go-github/issues/4535)) - feat: Add stacked pull request endpoints ([#&#8203;4436](https://github.com/google/go-github/issues/4436)) - feat: Add GetOrganizationUsageSummary and GetUserUsageSummary to BillingService ([#&#8203;4521](https://github.com/google/go-github/issues/4521)) - fix: Escape branch names when listing rules ([#&#8203;4534](https://github.com/google/go-github/issues/4534)) - fix: Accept 202 when deleting app installation ([#&#8203;4529](https://github.com/google/go-github/issues/4529)) - docs: Deprecate singular assignee fields ([#&#8203;4528](https://github.com/google/go-github/issues/4528)) - chore: Update AUTHORS ([#&#8203;4522](https://github.com/google/go-github/issues/4522)) - feat: Add ThrottledAt field to HookDelivery ([#&#8203;4518](https://github.com/google/go-github/issues/4518)) - chore: Consolidate Dependabot PRs ([#&#8203;4515](https://github.com/google/go-github/issues/4515)) - feat: Add IsEnabled field to IssueType ([#&#8203;4504](https://github.com/google/go-github/issues/4504)) - feat: Add Copilot repository daily metrics report endpoints ([#&#8203;4498](https://github.com/google/go-github/issues/4498)) - chore: Bump go-github from v90 to v91 in /scrape ([#&#8203;4506](https://github.com/google/go-github/issues/4506)) ### [`v91.0.0`](https://github.com/google/go-github/releases/tag/v91.0.0) [Compare Source](https://github.com/google/go-github/compare/v90.0.0...v91.0.0) This release contains the following breaking API changes: - refactor!: Rename `EditComment` to `UpdateComment` on `PullRequestsService`, split review comment request bodies, and pass by value ([#&#8203;4493](https://github.com/google/go-github/issues/4493)) BREAKING CHANGE: `PullRequestsService.CreateComment` now takes `CreatePullRequestCommentRequest` by value; `PullRequestsService.EditComment` is now `UpdateComment` and takes `UpdatePullRequestCommentRequest` by value. - refactor!: Split `Key` request bodies into `CreateDeployKeyRequest`, `CreateUserKeyRequest` and `CreateSSHSigningKeyRequest` and pass by value ([#&#8203;4477](https://github.com/google/go-github/issues/4477)) BREAKING CHANGE: `RepositoriesService.CreateKey`, `UsersService.CreateKey` and `UsersService.CreateSSHSigningKey` now take `CreateDeployKeyRequest`, `CreateUserKeyRequest` and `CreateSSHSigningKeyRequest` by value. - refactor!: Pass `PendingDeploymentsRequest` and `ReviewCustomDeploymentProtectionRuleRequest` by value ([#&#8203;4475](https://github.com/google/go-github/issues/4475)) BREAKING CHANGE: `ActionsService.PendingDeployments` and `ActionsService.ReviewCustomDeploymentProtectionRule` now take `PendingDeploymentsRequest` and `ReviewCustomDeploymentProtectionRuleRequest` by value. - refactor!: Rename `EditComment` to `UpdateComment` on `IssuesService`, pass a new `IssueCommentRequest` by value, and add missing `IssueComment` fields ([#&#8203;4444](https://github.com/google/go-github/issues/4444)) BREAKING CHANGE: `IssuesService.CreateComment` now takes `IssueCommentRequest` by value; `IssuesService.EditComment` is now `UpdateComment` and takes `IssueCommentRequest` by value. - refactor!: Rename `ImpersonateUserOptions` to `CreateUserImpersonationRequest` and pass by value ([#&#8203;4462](https://github.com/google/go-github/issues/4462)) BREAKING CHANGE: `AdminService.CreateUserImpersonation` now takes `CreateUserImpersonationRequest` by value instead of `*ImpersonateUserOptions`. - refactor!: Update teams create & update patterns ([#&#8203;4446](https://github.com/google/go-github/issues/4446)) BREAKING CHANGE: `CreateTeam` and `UpdateTeamBy*` now take new body params by value. - refactor!: Rename `EditMilestone` to `UpdateMilestone`, split `Milestone` request bodies into `CreateMilestoneRequest` and `UpdateMilestoneRequest`, and pass by value ([#&#8203;4438](https://github.com/google/go-github/issues/4438)) BREAKING CHANGE: `IssuesService.CreateMilestone` now takes a new `CreateMilestoneRequest` by value; `IssuesService.EditMilestone` is now `UpdateMilestone` and takes a new `UpdateMilestoneRequest` by value. - refactor!: Pass `UpdatePreReceiveHook` request body by value via new `UpdatePreReceiveHookRequest` ([#&#8203;4434](https://github.com/google/go-github/issues/4434)) BREAKING CHANGE: `RepositoriesService.UpdatePreReceiveHook` now takes a new `UpdatePreReceiveHookRequest` by value instead of `*PreReceiveHook`. - refactor!: Rename `UsersService.Edit` to `Update`, introduce `UserUpdateRequest`, and pass request by value ([#&#8203;4433](https://github.com/google/go-github/issues/4433)) BREAKING CHANGE: `UsersService.Edit` is now `Update` and uses a new `UserUpdateRequest` body value. - refactor!: Pass LDAP mapping request bodies by value via new `UpdateUserLDAPMappingRequest` and `UpdateTeamLDAPMappingRequest` ([#&#8203;4432](https://github.com/google/go-github/issues/4432)) BREAKING CHANGE: `AdminService.UpdateUserLDAPMapping` and `UpdateTeamLDAPMapping` now take `UpdateUserLDAPMappingRequest` and `UpdateTeamLDAPMappingRequest` (with non-pointer `LDAPDN`) by value. ...and the following additional changes: - chore: Bump version of go-github to v91.0.0 ([#&#8203;4505](https://github.com/google/go-github/issues/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 ([#&#8203;4502](https://github.com/google/go-github/issues/4502)) - feat: Add Copilot code review active user counts to metrics structs ([#&#8203;4490](https://github.com/google/go-github/issues/4490)) - feat: Add `MergeAsync` and `GetMergeAsyncResult` support ([#&#8203;4491](https://github.com/google/go-github/issues/4491)) - feat: Add Copilot app metrics to usage metrics structs ([#&#8203;4488](https://github.com/google/go-github/issues/4488)) - fix: Close the original response body on non-2xx responses ([#&#8203;4486](https://github.com/google/go-github/issues/4486)) - perf: Reduce allocations in `Client.Do` response decoding with a buffer pool ([#&#8203;4494](https://github.com/google/go-github/issues/4494)) - feat: Require Go 1.26 and use new(expr) for pointer literals ([#&#8203;4481](https://github.com/google/go-github/issues/4481)) - build: Bump github.com/getkin/kin-openapi from 0.146.0 to 0.147.0 in /tools ([#&#8203;4495](https://github.com/google/go-github/issues/4495)) - feat: Add enterprise Visual Studio subscription licensing APIs ([#&#8203;4483](https://github.com/google/go-github/issues/4483)) - feat: Add Copilot AI credits and adoption phase metrics ([#&#8203;4480](https://github.com/google/go-github/issues/4480)) - feat: Add Copilot 3rd-party agent metrics ([#&#8203;4460](https://github.com/google/go-github/issues/4460)) - chore: Remove stale `paramcheck` allowlist entries ([#&#8203;4476](https://github.com/google/go-github/issues/4476)) - feat: Add tools/list-return-structs ([#&#8203;4478](https://github.com/google/go-github/issues/4478)) - feat: Add agent tasks API support ([#&#8203;4225](https://github.com/google/go-github/issues/4225)) - chore: Consolidate Dependabot PRs ([#&#8203;4474](https://github.com/google/go-github/issues/4474)) - fix: Keep the `public` toggle on repository visibility rules ([#&#8203;4455](https://github.com/google/go-github/issues/4455)) - chore: Bump golang-ci-lint version to v2.13.1 ([#&#8203;4463](https://github.com/google/go-github/issues/4463)) - chore: Consolidate Dependabot PRs ([#&#8203;4454](https://github.com/google/go-github/issues/4454)) - fix: Adjust argument index for `Fprintf` in `fmtpercentv` linter check ([#&#8203;4443](https://github.com/google/go-github/issues/4443)) - chore: Consolidate Dependabot PRs ([#&#8203;4442](https://github.com/google/go-github/issues/4442)) - chore: Remove stale `User` entry from the paramcheck allowlist ([#&#8203;4437](https://github.com/google/go-github/issues/4437)) - feat: Add enterprise level secret scanning custom patterns support ([#&#8203;4431](https://github.com/google/go-github/issues/4431)) - chore: Update `openapi_operations.yaml` ([#&#8203;4430](https://github.com/google/go-github/issues/4430)) - chore: Bump go-github from v89 to v90 in /scrape ([#&#8203;4429](https://github.com/google/go-github/issues/4429)) ### [`v90.0.0`](https://github.com/google/go-github/releases/tag/v90.0.0) [Compare Source](https://github.com/google/go-github/compare/v89.0.0...v90.0.0) This release contains the following breaking API changes: - refactor!: Pass `UpdateConnectedExternalGroup` request body by value via new `UpdateConnectedExternalGroupRequest` ([#&#8203;4425](https://github.com/google/go-github/issues/4425)) BREAKING CHANGE: `TeamsService.UpdateConnectedExternalGroup` now takes `UpdateConnectedExternalGroupRequest` (with non-pointer `GroupID`) by value. - refactor!: Rename `PullRequestReviewDismissalRequest` to `PullRequestDismissReviewRequest`, add `PullRequestSubmitReviewRequest`, and pass review request bodies by value ([#&#8203;4406](https://github.com/google/go-github/issues/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`. - refactor!: Split `CreateOrUpdateCustomRepoRoleOptions` into `CreateCustomRepoRoleRequest` and `UpdateCustomRepoRoleRequest` and pass by value ([#&#8203;4401](https://github.com/google/go-github/issues/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. - refactor!: Rename `EditLabel` to `UpdateLabel`, Split `Label` into `CreateLabelRequest` & `UpdateLabelRequest` and pass by value ([#&#8203;4400](https://github.com/google/go-github/issues/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. - refactor!: Rename `AutolinkOptions` to `CreateAutolinkRequest`, `AddAutolink` to `CreateAutolink`, and pass the body by value ([#&#8203;4399](https://github.com/google/go-github/issues/4399)) BREAKING CHANGE: `AutolinkOptions` is now `CreateAutolinkRequest` with non-pointer `KeyPrefix` and `URLTemplate`; `RepositoriesService.AddAutolink` is now `CreateAutolink` and passes `body` by value. - refactor!: Split `IssueRequest` into `CreateIssueRequest` & `UpdateIssueRequest` and pass by value ([#&#8203;4396](https://github.com/google/go-github/issues/4396)) BREAKING CHANGE: `IssueService.Edit` is renamed to `IssueService.Update`. - refactor!: Rename `NewPullRequest` to `CreatePullRequest` and pass it by value ([#&#8203;4395](https://github.com/google/go-github/issues/4395)) BREAKING CHANGE: `NewPullRequest` is renamed to `CreatePullRequest`, `PullRequests.Create` now takes it by value, and `CreatePullRequest.Head` and `CreatePullRequest.Base` are now `string`. - refactor!: Pass `SarifAnalysis` by value ([#&#8203;4394](https://github.com/google/go-github/issues/4394)) BREAKING CHANGE: `CodeScanningService.UploadSarif` now takes `body` by value and its required fields are no longer pointers. - refactor!: Pass `CreateDeploymentBranchPolicyRequest` and `UpdateDeploymentBranchPolicyRequest` by value ([#&#8203;4382](https://github.com/google/go-github/issues/4382)) BREAKING CHANGE: `RepositoriesService.CreateDeploymentBranchPolicy` and `UpdateDeploymentBranchPolicy` now take `body` by value and the required `Name` field is of type `string`. - refactor!: Pass `TemplateRepoRequest` by value in `Repositories.CreateFromTemplate` ([#&#8203;4378](https://github.com/google/go-github/issues/4378)) BREAKING CHANGE: `RepositoriesService.CreateFromTemplate` now passes `body` by value and `Name` is now required and passed by value. - refactor!: Pass `RepositoryMergeRequest` and `RepoMergeUpstreamRequest` by value ([#&#8203;4372](https://github.com/google/go-github/issues/4372)) BREAKING CHANGE: `RepositoriesService.Merge` and `RepositoriesService.MergeUpstream` now pass `body` by value and required struct fields are now values. - feat!: Refactor dependabot secrets to pass request by value ([#&#8203;4348](https://github.com/google/go-github/issues/4348)) BREAKING CHANGE: `DependabotService` methods involving secrets have new params and return values. ...and the following additional changes: - chore: Bump version of go-github to v90.0.0 ([#&#8203;4428](https://github.com/google/go-github/issues/4428)) - docs: Clarify assisted contribution expectations ([#&#8203;4427](https://github.com/google/go-github/issues/4427)) - feat: Add org level secret scanning custom patterns support ([#&#8203;4426](https://github.com/google/go-github/issues/4426)) - feat: Add `MetaService.ListAPIVersions` ([#&#8203;4422](https://github.com/google/go-github/issues/4422)) - feat: Add `DeleteCodeQLDatabase` for code scanning ([#&#8203;4421](https://github.com/google/go-github/issues/4421)) - feat: Add `Stack` field to `PullRequest` for stacked pull requests ([#&#8203;4423](https://github.com/google/go-github/issues/4423)) - build: Bump GitHub workflow action versions ([#&#8203;4424](https://github.com/google/go-github/issues/4424)) - feat: Add `search_type` support to issue search ([#&#8203;4414](https://github.com/google/go-github/issues/4414)) - chore: Update SecurityAdvisory structs with new fields ([#&#8203;4413](https://github.com/google/go-github/issues/4413)) - chore: Consolidate Dependabot PRs ([#&#8203;4418](https://github.com/google/go-github/issues/4418)) - feat: Support OIDC custom property claims for Actions ([#&#8203;4411](https://github.com/google/go-github/issues/4411)) - feat: Add repo-level secret scanning custom patterns support ([#&#8203;4397](https://github.com/google/go-github/issues/4397)) - chore: Update openapi\_operations.yaml ([#&#8203;4412](https://github.com/google/go-github/issues/4412)) - chore: Fix comment typo ([#&#8203;4410](https://github.com/google/go-github/issues/4410)) - chore: Update dependabot changes ([#&#8203;4405](https://github.com/google/go-github/issues/4405)) - chore: Update openapi\_operations.yaml ([#&#8203;4398](https://github.com/google/go-github/issues/4398)) - feat: Add remaining Projects v2 endpoints ([#&#8203;4319](https://github.com/google/go-github/issues/4319)) - chore: Update Dependabot-driven dependencies ([#&#8203;4393](https://github.com/google/go-github/issues/4393)) - chore: Bump /example dependencies ([#&#8203;4380](https://github.com/google/go-github/issues/4380)) - chore: Fix flaky tests with deterministic runs ([#&#8203;4377](https://github.com/google/go-github/issues/4377)) - build(deps): Bump golang.org/x/sync from 0.21.0 to 0.22.0 in /tools ([#&#8203;4376](https://github.com/google/go-github/issues/4376)) - chore: Fix flaky unit test ([#&#8203;4374](https://github.com/google/go-github/issues/4374)) - fix: Enable submitting empty allowlist for actions permissions patterns ([#&#8203;4371](https://github.com/google/go-github/issues/4371)) - feat: Add GitHub App Enterprise perm scope ([#&#8203;4343](https://github.com/google/go-github/issues/4343)) - chore: Bump go-github from v88 to v89 in /scrape ([#&#8203;4370](https://github.com/google/go-github/issues/4370)) ### [`v89.0.0`](https://github.com/google/go-github/releases/tag/v89.0.0) [Compare Source](https://github.com/google/go-github/compare/v88.0.0...v89.0.0) This release contains the following breaking API changes: - refactor!: Pass `DeploymentRequest` and `DeploymentStatusRequest` by value ([#&#8203;4361](https://github.com/google/go-github/issues/4361)) BREAKING CHANGE: `CreateDeployment` and `CreateDeploymentStatus` now take `DeploymentRequest` and `DeploymentStatusRequest` by value; `DeploymentRequest.Ref` and `DeploymentStatusRequest.State` are now `string`, and `DeploymentRequest.RequiredContexts` is now `[]string`. - refactor!: Pass `HookConfig` by value and rename `EditHookConfiguration` to `UpdateHookConfiguration` ([#&#8203;4360](https://github.com/google/go-github/issues/4360)) BREAKING CHANGE: `EditHookConfiguration` is renamed to `UpdateHookConfiguration` on `RepositoriesService` and `OrganizationsService`; these methods and `AppsService.UpdateHookConfig` now take `HookConfig` by value. - refactor!: Pass `OIDCSubjectClaimCustomTemplate` by value in the OIDC subject-claim Set methods ([#&#8203;4340](https://github.com/google/go-github/issues/4340)) BREAKING CHANGE: `SetOrgOIDCSubjectClaimCustomTemplate` and `SetRepoOIDCSubjectClaimCustomTemplate` now take their `body` params by value. - feat!: Refactor actions variables to pass request by value ([#&#8203;4346](https://github.com/google/go-github/issues/4346)) BREAKING CHANGE: `ActionsService` methods involving variables have new params and return values. - feat!: Replace actions env secret endpoints ([#&#8203;4335](https://github.com/google/go-github/issues/4335)) BREAKING CHANGE: `ActionsService` methods involving secrets have new params and return values. - refactor!: Pass `CreateJITConfigRequest` by value and rename `Generate*JITConfig` to `Create*JITConfig` ([#&#8203;4337](https://github.com/google/go-github/issues/4337)) BREAKING CHANGE: the JIT config methods are renamed from `Generate*JITConfig` to `Create*JITConfig`, and they now take `CreateJITConfigRequest` (renamed from `GenerateJITConfigRequest`) by value instead of by pointer. - refactor!: Pass release-notes and asset params by value and rename `EditReleaseAsset` to `UpdateReleaseAsset` ([#&#8203;4336](https://github.com/google/go-github/issues/4336)) BREAKING CHANGE: `GenerateReleaseNotes` now takes `GenerateNotesRequest` by value (renamed from `GenerateNotesOptions`); `EditReleaseAsset` is renamed to `UpdateReleaseAsset` and takes `UpdateReleaseAssetRequest` by value. - refactor!: Pass release params by value and rename `EditRelease` to `UpdateRelease` ([#&#8203;4329](https://github.com/google/go-github/issues/4329)) BREAKING CHANGE: `CreateRelease` & `UpdateRelease` now take `RepositoryRelease` by value; `EditRelease` is renamed to `UpdateRelease`. - refactor!: Pass `GistsService` required params by value ([#&#8203;4320](https://github.com/google/go-github/issues/4320)) BREAKING CHANGE: `GistsService` methods now pass required params by-value instead of by-ref. - fix!: Send request body in SCIM update methods ([#&#8203;4315](https://github.com/google/go-github/issues/4315)) BREAKING CHANGE: `UpdateProvisionedOrgMembership` and `UpdateAttributeForSCIMUser` params and return values changed. - fix!: Fix `LicenseStatus` response and `Supportkey` type ([#&#8203;4297](https://github.com/google/go-github/issues/4297)) BREAKING CHANGE: `LicenseStatus.SupportKey` type changed from `*string` to `*bool` and `License` return type is no longer a slice. - fix!: Enterprise App installation repos options structs ([#&#8203;4298](https://github.com/google/go-github/issues/4298)) BREAKING CHANGE: `SelectedRepositoryIDs []int64` is now `Repositories []string` in `*AppInstallationRepositoriesOptions`. ...and the following additional changes: - chore: Bump version of go-github to v89.0.0 ([#&#8203;4369](https://github.com/google/go-github/issues/4369)) - feat: Add user team membership fields ([#&#8203;4347](https://github.com/google/go-github/issues/4347)) - chore: Add deprecated flag for unused metadata ([#&#8203;4367](https://github.com/google/go-github/issues/4367)) - docs: Add AGENTS.md and review-feedback tip ([#&#8203;4368](https://github.com/google/go-github/issues/4368)) - chore: Mark removed billing endpoints as deprecated ([#&#8203;4362](https://github.com/google/go-github/issues/4362)) - chore: Validate metadata ([#&#8203;4358](https://github.com/google/go-github/issues/4358)) - chore: Bump golang.org/x/tools to v0.47.0 ([#&#8203;4357](https://github.com/google/go-github/issues/4357)) - build(deps): Bump actions/setup-go from 6.4.0 to 6.5.0 in the actions group ([#&#8203;4349](https://github.com/google/go-github/issues/4349)) - build(deps): Bump the go\_modules group in /example ([#&#8203;4345](https://github.com/google/go-github/issues/4345)) - feat: Add `AccessSource` to `Team` ([#&#8203;4344](https://github.com/google/go-github/issues/4344)) - docs: Update `CONTRIBUTING.md` ([#&#8203;4341](https://github.com/google/go-github/issues/4341)) - build(deps): Bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 ([#&#8203;4342](https://github.com/google/go-github/issues/4342)) - docs: Extend CONTRIBUTING.md with code guidelines ([#&#8203;4339](https://github.com/google/go-github/issues/4339)) - fix: AuditEntry fields `org` and `org_id` can be an array ([#&#8203;4333](https://github.com/google/go-github/issues/4333)) - build(deps): Bump actions/checkout from 6.0.3 to 7.0.0 in the actions group ([#&#8203;4332](https://github.com/google/go-github/issues/4332)) - feat: Add code quality findings support ([#&#8203;4330](https://github.com/google/go-github/issues/4330)) - chore: Update `openapi_operations.yaml` ([#&#8203;4331](https://github.com/google/go-github/issues/4331)) - chore: Replace `time.Date` with `referenceTime` ([#&#8203;4325](https://github.com/google/go-github/issues/4325)) - test: Refactor tests for `ProjectV2Item.UnmarshalJSON` ([#&#8203;4323](https://github.com/google/go-github/issues/4323)) - chore: Remove obsolete test/fields utility ([#&#8203;4322](https://github.com/google/go-github/issues/4322)) - feat: Add Issue Dependencies API support ([#&#8203;4130](https://github.com/google/go-github/issues/4130)) - fix: Set `GetBody` on uploads for HTTP/2 retry ([#&#8203;4318](https://github.com/google/go-github/issues/4318)) - chore: Remove deleted account from REVIEWERS ([#&#8203;4317](https://github.com/google/go-github/issues/4317)) - build(deps): Bump golang.org/x/crypto from 0.52.0 to 0.53.0 in /example ([#&#8203;4305](https://github.com/google/go-github/issues/4305)) - build(deps): Bump codecov/codecov-action from 6.0.1 to 7.0.0 ([#&#8203;4303](https://github.com/google/go-github/issues/4303)) - build(deps): Bump golang.org/x/net from 0.55.0 to 0.56.0 in /scrape ([#&#8203;4302](https://github.com/google/go-github/issues/4302)) - build(deps): Bump golang.org/x/term from 0.43.0 to 0.44.0 in /example ([#&#8203;4304](https://github.com/google/go-github/issues/4304)) - build(deps): Bump golang.org/x/tools from 0.45.0 to 0.46.0 in /tools ([#&#8203;4314](https://github.com/google/go-github/issues/4314)) - build(deps): Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.18.0 to 2.19.0 in /example ([#&#8203;4306](https://github.com/google/go-github/issues/4306)) - refactor: Fix parameters in method endpoints ([#&#8203;4300](https://github.com/google/go-github/issues/4300)) - feat: Add enterprise billing usage endpoints and response types ([#&#8203;4288](https://github.com/google/go-github/issues/4288)) - build(deps): Bump golang.org/x/sync from 0.20.0 to 0.21.0 in /tools ([#&#8203;4294](https://github.com/google/go-github/issues/4294)) - build(deps): Bump github.com/getkin/kin-openapi from 0.139.0 to 0.140.0 in /tools ([#&#8203;4295](https://github.com/google/go-github/issues/4295)) - build(deps): Bump actions/checkout from 6.0.2 to 6.0.3 in the actions group ([#&#8203;4293](https://github.com/google/go-github/issues/4293)) - fix: Reject URL path segments containing percent-encoded dots ([#&#8203;4291](https://github.com/google/go-github/issues/4291)) - fix: Comparison of durations in `AbuseRateLimitError.Is` ([#&#8203;4292](https://github.com/google/go-github/issues/4292)) - test: Replace `&x` variables with inline `Ptr(value)` calls ([#&#8203;4289](https://github.com/google/go-github/issues/4289)) - feat: Inject OpenAPI deprecations safely ([#&#8203;4286](https://github.com/google/go-github/issues/4286)) - chore: Remove 'munlicode' from REVIEWERS ([#&#8203;4287](https://github.com/google/go-github/issues/4287)) - feat: Add `GetOrgAICreditUsage` and `GetUserAICreditUsage` endpoints ([#&#8203;4282](https://github.com/google/go-github/issues/4282)) - test: Fix test names and error messages ([#&#8203;4284](https://github.com/google/go-github/issues/4284)) - test: Use `testJSONBody` helper for request body assertions ([#&#8203;4283](https://github.com/google/go-github/issues/4283)) - feat: Add pull request fields to `Repository` ([#&#8203;4268](https://github.com/google/go-github/issues/4268)) - build(deps): Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 ([#&#8203;4272](https://github.com/google/go-github/issues/4272)) - build(deps): Bump go.opentelemetry.io/otel to v1.44.0 ([#&#8203;4280](https://github.com/google/go-github/issues/4280)) - build(deps): Bump golang.org/x/net from 0.54.0 to 0.55.0 in /scrape ([#&#8203;4271](https://github.com/google/go-github/issues/4271)) - build(deps): Bump golang.org/x/crypto from 0.51.0 to 0.52.0 in /example ([#&#8203;4273](https://github.com/google/go-github/issues/4273)) - fix: Handle missing reviewer type in `RequiredReviewer` unmarshal ([#&#8203;4270](https://github.com/google/go-github/issues/4270)) - test: Remove redundant Marshal tests ([#&#8203;4266](https://github.com/google/go-github/issues/4266)) - chore: Update `openapi_operations.yaml` ([#&#8203;4265](https://github.com/google/go-github/issues/4265)) - feat: Add support for GitHub Code Quality API ([#&#8203;4260](https://github.com/google/go-github/issues/4260)) - build(deps): Bump github.com/getkin/kin-openapi from 0.138.0 to 0.139.0 in /tools ([#&#8203;4261](https://github.com/google/go-github/issues/4261)) - chore: Fix zizmor security issues in GHA workflows ([#&#8203;4259](https://github.com/google/go-github/issues/4259)) - feat: Add support for getting Copilot cloud agent configuration ([#&#8203;4241](https://github.com/google/go-github/issues/4241)) - feat: Add client API version support ([#&#8203;4246](https://github.com/google/go-github/issues/4246)) - test: Add secret scanning marshal tests ([#&#8203;4252](https://github.com/google/go-github/issues/4252)) - lint: Improve `extraneousnew` linter to catch unnecessary use of value var ([#&#8203;4249](https://github.com/google/go-github/issues/4249)) - build(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1 ([#&#8203;4248](https://github.com/google/go-github/issues/4248)) - chore: Bump go-github from v87 to v88 in /scrape ([#&#8203;4247](https://github.com/google/go-github/issues/4247)) ### [`v88.0.0`](https://github.com/google/go-github/releases/tag/v88.0.0) [Compare Source](https://github.com/google/go-github/compare/v87.0.0...v88.0.0) This release contains the following breaking API changes: - refactor!: Change app installation `Find*` methods to `Get*` ([#&#8203;4243](https://github.com/google/go-github/issues/4243)) BREAKING CHANGE: App installation methods are renamed from `Find*` to `Get*`. ...and the following additional changes: - chore: Bump version of go-github to v88.0.0 ([#&#8203;4245](https://github.com/google/go-github/issues/4245)) - chore: Update `openapi_operations.yaml` ([#&#8203;4242](https://github.com/google/go-github/issues/4242)) - feat: Add support for setting client URLs ([#&#8203;4240](https://github.com/google/go-github/issues/4240)) - refactor: Add constants for API versions ([#&#8203;4236](https://github.com/google/go-github/issues/4236)) - docs: Formatting and punctuation changes ([#&#8203;4235](https://github.com/google/go-github/issues/4235)) - feat: Add `GetParentIssue` for sub-issues ([#&#8203;4232](https://github.com/google/go-github/issues/4232)) - chore: Bump go-github from v86 to v87 in /scrape ([#&#8203;4234](https://github.com/google/go-github/issues/4234)) ### [`v87.0.0`](https://github.com/google/go-github/releases/tag/v87.0.0) [Compare Source](https://github.com/google/go-github/compare/v86.0.0...v87.0.0) This release contains the following breaking API changes: - refactor!: Change `GetConsumedLicenses` to `ListConsumedLicenses` ([#&#8203;4226](https://github.com/google/go-github/issues/4226)) BREAKING CHANGE: `EnterpriseService.GetConsumedLicenses` is now `EnterpriseService.ListConsumedLicenses`. - refactor!: Change `GetAllRepositoryRulesets` to `ListAllRepositoryRulesets` ([#&#8203;4227](https://github.com/google/go-github/issues/4227)) BREAKING CHANGE: `OrganizationsService.GetAllRepositoryRulesets` is now `OrganizationsService.ListAllRepositoryRulesets`. - refactor!: Change `GetRulesForBranch` to `ListRulesForBranch` ([#&#8203;4229](https://github.com/google/go-github/issues/4229)) BREAKING CHANGE: `RepositoriesService.GetRulesForBranch` is now `RepositoriesService.ListRulesForBranch`. - feat!: Refactor client constructor to use options pattern ([#&#8203;4201](https://github.com/google/go-github/issues/4201)) BREAKING CHANGE: Clients are now constructed with a nicer builder pattern. See docs for details. - fix!: Align `IssueFieldValues` with schema ([#&#8203;4207](https://github.com/google/go-github/issues/4207)) BREAKING CHANGE: `IssueRequest.IssueFieldValues` type is changed. ...and the following additional changes: - chore: Bump version of go-github to v87.0.0 ([#&#8203;4233](https://github.com/google/go-github/issues/4233)) - feat: Add enterprise app installation lookup ([#&#8203;4230](https://github.com/google/go-github/issues/4230)) - chore: Update openapi\_operations.yaml ([#&#8203;4228](https://github.com/google/go-github/issues/4228)) - fix: Use value receiver for `MarshalJSON` ([#&#8203;4211](https://github.com/google/go-github/issues/4211)) - chore: Update dependencies ([#&#8203;4224](https://github.com/google/go-github/issues/4224)) - fix: Close `httptest` server to prevent test flakiness ([#&#8203;4210](https://github.com/google/go-github/issues/4210)) - feat: Add two new fields to org `CodeSecurityConfiguration` ([#&#8203;4205](https://github.com/google/go-github/issues/4205)) - chore: Bump golangci-lint to v2.12.2 ([#&#8203;4206](https://github.com/google/go-github/issues/4206)) - build(deps): Bump github.com/in-toto/in-toto-golang from 0.9.0 to 0.11.0 in /example ([#&#8203;4203](https://github.com/google/go-github/issues/4203)) - fix: Limit HTTP error response body reads to prevent OOM ([#&#8203;4191](https://github.com/google/go-github/issues/4191)) - feat: Add issue field values support for write and read ([#&#8203;4200](https://github.com/google/go-github/issues/4200)) - chore: Bump `go-github` from `v85` to `v86` in /scrape ([#&#8203;4199](https://github.com/google/go-github/issues/4199)) ### [`v86.0.0`](https://github.com/google/go-github/releases/tag/v86.0.0) [Compare Source](https://github.com/google/go-github/compare/v85.0.0...v86.0.0) This release contains the following breaking API changes: - feat!: Refactor request context ([#&#8203;4151](https://github.com/google/go-github/issues/4151)) BREAKING CHANGE: All internal calls now provide `Context` via the `Request` itself. - feat!: Add OIDC authentication support to `PrivateRegistries` ([#&#8203;4159](https://github.com/google/go-github/issues/4159)) BREAKING CHANGE: `PrivateRegistriesService` is updated to API version `2026-03-10` with struct and response changes. ...and the following additional changes: - chore: Bump version of `go-github` to `v86.0.0` ([#&#8203;4198](https://github.com/google/go-github/issues/4198)) - test: Fix invalid JSON payloads in actions workflow runs tests ([#&#8203;4197](https://github.com/google/go-github/issues/4197)) - feat: Add repo download contents sentinel errors ([#&#8203;4192](https://github.com/google/go-github/issues/4192)) - chore: Fix `otel` module name ([#&#8203;4187](https://github.com/google/go-github/issues/4187)) - feat: Add typed Copilot metrics download helpers ([#&#8203;4177](https://github.com/google/go-github/issues/4177)) - feat: Add `deploy_keys_enabled_for_repositories` and secret scanning custom link fields to `Organization` struct ([#&#8203;4188](https://github.com/google/go-github/issues/4188)) - refactor: Use `testJSONBody` helper for request body assertions in tests ([#&#8203;4183](https://github.com/google/go-github/issues/4183)) - build(deps): Bump github.com/getkin/kin-openapi from 0.135.0 to 0.137.0 in /tools ([#&#8203;4184](https://github.com/google/go-github/issues/4184)) - fix: Include `RetryAfter` in `AbuseRateLimitError.Error` output ([#&#8203;4181](https://github.com/google/go-github/issues/4181)) - fix: Handle string-typed reviewer `ID` in Ruleset API responses ([#&#8203;4178](https://github.com/google/go-github/issues/4178)) - feat: Add `ArchivedAt` field to `Organization` struct ([#&#8203;4179](https://github.com/google/go-github/issues/4179)) - feat: Add Copilot coding agent and content exclusion org endpoints ([#&#8203;4176](https://github.com/google/go-github/issues/4176)) - chore: Bump go-github from v84 to v85 in /scrape ([#&#8203;4174](https://github.com/google/go-github/issues/4174)) ### [`v85.0.0`](https://github.com/google/go-github/releases/tag/v85.0.0) [Compare Source](https://github.com/google/go-github/compare/v84.0.0...v85.0.0) This release contains the following breaking API changes: - fix!: Resolve inconsistent options for `create` and `update` on custom org role ([#&#8203;4075](https://github.com/google/go-github/issues/4075)) BREAKING CHANGE: `GetOrgRole`, `CreateCustomOrgRole`, and `UpdateCustomOrgRole` have new params and return values. - fix!: Change `id` from `int64` to `string` in `ActivityService.MarkThreadDone` ([#&#8203;4056](https://github.com/google/go-github/issues/4056)) BREAKING CHANGE: `ActivityService.MarkThreadDone` accepts `string` `id` instead of `int64`. ...and the following additional changes: - chore: Bump version of go-github to v85.0.0 ([#&#8203;4173](https://github.com/google/go-github/issues/4173)) - chore: Update `openapi_operations.yaml` ([#&#8203;4172](https://github.com/google/go-github/issues/4172)) - security: Reject cross-host redirects to prevent Authorization leak ([#&#8203;4171](https://github.com/google/go-github/issues/4171)) - chore: Improve GitHub Actions workflows lint and testing ([#&#8203;4169](https://github.com/google/go-github/issues/4169)) - chore: Switch legacy redirect handling to new pattern ([#&#8203;4161](https://github.com/google/go-github/issues/4161)) - feat: Add `CodeSecurity` to `SecurityAndAnalysis` ([#&#8203;4155](https://github.com/google/go-github/issues/4155)) - fix: Reject URL path segments containing ".." in all request methods ([#&#8203;4150](https://github.com/google/go-github/issues/4150)) - feat: Refactor repositories download contents ([#&#8203;4153](https://github.com/google/go-github/issues/4153)) - chore: Bump google.org/x/tools to v0.44.0 in /tools ([#&#8203;4168](https://github.com/google/go-github/issues/4168)) - docs: Fix broken blog post link ([#&#8203;4160](https://github.com/google/go-github/issues/4160)) - build(deps): Bump github.com/sigstore/timestamp-authority/v2 from 2.0.3 to 2.0.6 in /example ([#&#8203;4156](https://github.com/google/go-github/issues/4156)) - chore: Update openapi\_operations.yaml ([#&#8203;4157](https://github.com/google/go-github/issues/4157)) - feat: Remove Google App Engine standard support ([#&#8203;4152](https://github.com/google/go-github/issues/4152)) - feat: Add `DownloadCopilotMetrics` helper method ([#&#8203;4149](https://github.com/google/go-github/issues/4149)) - docs: Add `apiVersion` to GitHub API link ([#&#8203;4147](https://github.com/google/go-github/issues/4147)) - chore: Simplify `redundantptr` custom linter ([#&#8203;4148](https://github.com/google/go-github/issues/4148)) - docs: Deprecate old Copilot metrics endpoints closed on April 2, 2026 ([#&#8203;4137](https://github.com/google/go-github/issues/4137)) - refactor: Remove redundant `github.Ptr` calls ([#&#8203;4145](https://github.com/google/go-github/issues/4145)) - fix: Add missing `User` fields ([#&#8203;4146](https://github.com/google/go-github/issues/4146)) - fix: Preserve `Marketplace.Stubbed` during client copy ([#&#8203;4144](https://github.com/google/go-github/issues/4144)) - refactor: Simplify array copying ([#&#8203;4143](https://github.com/google/go-github/issues/4143)) - build(deps): Bump golang.org/x/crypto from 0.49.0 to 0.50.0 in /example ([#&#8203;4141](https://github.com/google/go-github/issues/4141)) - build(deps): Bump github.com/getkin/kin-openapi from 0.134.0 to 0.135.0 in /tools ([#&#8203;4142](https://github.com/google/go-github/issues/4142)) - build(deps): Bump golang.org/x/term from 0.41.0 to 0.42.0 in /example ([#&#8203;4140](https://github.com/google/go-github/issues/4140)) - build(deps): Bump golang.org/x/net from 0.52.0 to 0.53.0 in /scrape ([#&#8203;4139](https://github.com/google/go-github/issues/4139)) - build(deps): Bump go.opentelemetry.io/otel to v1.43.0 ([#&#8203;4135](https://github.com/google/go-github/issues/4135)) - fix: Expand `sanitizeURL` secrets redactions ([#&#8203;4126](https://github.com/google/go-github/issues/4126)) - build(deps): Bump github.com/alecthomas/kong from 1.14.0 to 1.15.0 in /tools ([#&#8203;4132](https://github.com/google/go-github/issues/4132)) - build(deps): Bump actions/setup-go from 6.3.0 to 6.4.0 in the actions group ([#&#8203;4131](https://github.com/google/go-github/issues/4131)) - feat: Add support for custom names and methods that return structs with multiple `[]*T` fields in `gen-iterators.go` ([#&#8203;4128](https://github.com/google/go-github/issues/4128)) - fix: Limit webhook payload size in `ValidatePayloadFromBody` ([#&#8203;4125](https://github.com/google/go-github/issues/4125)) - build(deps): Bump codecov/codecov-action from 5.5.3 to 6.0.0 ([#&#8203;4123](https://github.com/google/go-github/issues/4123)) - fix: Synchronize `requestCount` in rate limit tests ([#&#8203;4124](https://github.com/google/go-github/issues/4124)) - chore: Simplify `generate.sh` by removing `git worktree` and using generator-based check ([#&#8203;4120](https://github.com/google/go-github/issues/4120)) - docs: Improve comments in /examples ([#&#8203;4122](https://github.com/google/go-github/issues/4122)) - chore: Use `golangci-lint-action`; remove `newreposecretwithlibsodium` ([#&#8203;4119](https://github.com/google/go-github/issues/4119)) - feat: Add custom image endpoints for GitHub-hosted runners ([#&#8203;4101](https://github.com/google/go-github/issues/4101)) - chore: Cache custom golangci-lint binaries in GHA workflow ([#&#8203;4116](https://github.com/google/go-github/issues/4116)) - build(deps): Bump github.com/ProtonMail/go-crypto from 1.4.0 to 1.4.1 in /example ([#&#8203;4115](https://github.com/google/go-github/issues/4115)) - build(deps): Bump golang.org/x/tools from 0.29.0 to 0.43.0 in /tools/extraneous-new ([#&#8203;4114](https://github.com/google/go-github/issues/4114)) - build(deps): Bump codecov/codecov-action from 5.5.2 to 5.5.3 ([#&#8203;4112](https://github.com/google/go-github/issues/4112)) - build(deps): Bump github.com/golangci/plugin-module-register from 0.1.1 to 0.1.2 in /tools/extraneous-new ([#&#8203;4113](https://github.com/google/go-github/issues/4113)) - build(deps): Bump github.com/getkin/kin-openapi from 0.133.0 to 0.134.0 in /tools ([#&#8203;4111](https://github.com/google/go-github/issues/4111)) - build(deps): Bump github.com/PuerkitoBio/goquery from 1.11.0 to 1.12.0 in /scrape ([#&#8203;4110](https://github.com/google/go-github/issues/4110)) - chore: Upgrade deps for linters using dependabot ([#&#8203;4107](https://github.com/google/go-github/issues/4107)) - chore: Use `structfield.Settings` in `check-structfield-settings` ([#&#8203;4108](https://github.com/google/go-github/issues/4108)) - build(deps): Bump google.golang.org/grpc from 1.78.0 to 1.79.3 in /example ([#&#8203;4109](https://github.com/google/go-github/issues/4109)) - chore: Remove unnecessary use of `new` and `&SomeStruct{}` and add new `extraneousnew` custom linter ([#&#8203;4106](https://github.com/google/go-github/issues/4106)) - feat: Add `NetworkConfigurationID` and `HostedRunnersURL` to enterprise runner group types ([#&#8203;4099](https://github.com/google/go-github/issues/4099)) - feat: Generate accessors for all fields ([#&#8203;4105](https://github.com/google/go-github/issues/4105)) - feat: Add `ListRunnerGroupHostedRunners` for org runner groups ([#&#8203;4100](https://github.com/google/go-github/issues/4100)) - chore: Enable `default: none` linters; remove duplicated ([#&#8203;4097](https://github.com/google/go-github/issues/4097)) - fix: Use `Cursor` pagination for `*.ListHookDeliveriesIter` ([#&#8203;4096](https://github.com/google/go-github/issues/4096)) - chore: Remove duplicated formatters ([#&#8203;4094](https://github.com/google/go-github/issues/4094)) - chore: Fix typos in comments and tests ([#&#8203;4093](https://github.com/google/go-github/issues/4093)) - chore: Fix typo in CONTRIBUTING.md ([#&#8203;4092](https://github.com/google/go-github/issues/4092)) - chore: Update openapi\_operations.yaml ([#&#8203;4091](https://github.com/google/go-github/issues/4091)) - build(deps): Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.17.0 to 2.18.0 in /example ([#&#8203;4084](https://github.com/google/go-github/issues/4084)) - chore: Bump go.opentelemetry.io/otel to v1.42.0 ([#&#8203;4090](https://github.com/google/go-github/issues/4090)) - build(deps): Bump golang.org/x/crypto from 0.48.0 to 0.49.0 in /example ([#&#8203;4081](https://github.com/google/go-github/issues/4081)) - build(deps): Bump golang.org/x/sync from 0.19.0 to 0.20.0 in /tools ([#&#8203;4078](https://github.com/google/go-github/issues/4078)) - build(deps): Bump golang.org/x/net from 0.51.0 to 0.52.0 in /scrape ([#&#8203;4079](https://github.com/google/go-github/issues/4079)) - test: Add fuzz test for `ParseWebHook` ([#&#8203;4076](https://github.com/google/go-github/issues/4076)) - feat: Add enterprise budgets API ([#&#8203;4069](https://github.com/google/go-github/issues/4069)) - feat: Add list organization fine-grained permissions ([#&#8203;4072](https://github.com/google/go-github/issues/4072)) - feat: Make `script/lint.sh` output simpler to read ([#&#8203;4073](https://github.com/google/go-github/issues/4073)) - chore: Speed up linting ([#&#8203;4071](https://github.com/google/go-github/issues/4071)) - build(deps): Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.41.0 in /otel ([#&#8203;4065](https://github.com/google/go-github/issues/4065)) - build(deps): Bump go.opentelemetry.io/otel from 1.40.0 to 1.41.0 in /otel ([#&#8203;4068](https://github.com/google/go-github/issues/4068)) - build(deps): Bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace from 1.40.0 to 1.41.0 in /example ([#&#8203;4062](https://github.com/google/go-github/issues/4062)) - build(deps): Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.41.0 in /example ([#&#8203;4064](https://github.com/google/go-github/issues/4064)) - build(deps): Bump github.com/ProtonMail/go-crypto from 1.3.0 to 1.4.0 in /example ([#&#8203;4063](https://github.com/google/go-github/issues/4063)) - feat: Add `client_id` field to `App` ([#&#8203;4060](https://github.com/google/go-github/issues/4060)) - test: Simplify `CopilotService` tests ([#&#8203;4058](https://github.com/google/go-github/issues/4058)) - test: Fix flaky `TestDo_rateLimit_abuseRateLimitError_xRateLimitReset` ([#&#8203;4057](https://github.com/google/go-github/issues/4057)) - feat: Add support for enterprise audit log streaming API ([#&#8203;4035](https://github.com/google/go-github/issues/4035)) - feat: Add repository-level immutable releases settings ([#&#8203;4039](https://github.com/google/go-github/issues/4039)) - chore: Add `SAS` as a common initialism to `structfield` ([#&#8203;4054](https://github.com/google/go-github/issues/4054)) - fix: Fix data race on Windows ([#&#8203;4051](https://github.com/google/go-github/issues/4051)) - docs: Fix grammar in `README.md` ([#&#8203;4053](https://github.com/google/go-github/issues/4053)) - chore: Simplify form value assertions in tests ([#&#8203;4048](https://github.com/google/go-github/issues/4048)) - chore: Bump go-github from v83 to v84 in /scrape ([#&#8203;4050](https://github.com/google/go-github/issues/4050)) ### [`v84.0.0`](https://github.com/google/go-github/releases/tag/v84.0.0) [Compare Source](https://github.com/google/go-github/compare/v83.0.0...v84.0.0) This release contains the following breaking API changes: - feat!: Support workflow dispatch run details in response ([#&#8203;4028](https://github.com/google/go-github/issues/4028)) BREAKING CHANGE: `CreateWorkflowDispatchEventByID` and `CreateWorkflowDispatchEventByFileName` now return `*WorkflowDispatchRunDetails`. - fix!: Fix `opts` for methods listing issues and sub-issues ([#&#8203;4016](https://github.com/google/go-github/issues/4016)) BREAKING CHANGE: Split `IssuesService.List` into `IssuesService.ListAllIssues` and `IssuesService.ListUserIssues`. `IssuesService.ListByOrg` now accepts `IssueListByOrgOptions`. `SubIssueService.ListByIssue` now accepts `ListOptions`. ...and the following additional changes: - chore: Bump version of go-github to v84.0.0 ([#&#8203;4049](https://github.com/google/go-github/issues/4049)) - chore: Spell `white space` instead of `whitespace` ([#&#8203;4047](https://github.com/google/go-github/issues/4047)) - build(deps): Bump the go\_modules group in /example ([#&#8203;4040](https://github.com/google/go-github/issues/4040)) - chore: Improve `testJSONMarshal` ([#&#8203;4042](https://github.com/google/go-github/issues/4042)) - Add 'munlicode' to REVIEWERS list ([#&#8203;4046](https://github.com/google/go-github/issues/4046)) - build(deps): Bump golang.org/x/net from 0.50.0 to 0.51.0 in /scrape ([#&#8203;4045](https://github.com/google/go-github/issues/4045)) - build(deps): Bump actions/setup-go from 6.2.0 to 6.3.0 in the actions group ([#&#8203;4044](https://github.com/google/go-github/issues/4044)) - chore: Fix `TestNewFormRequest` ([#&#8203;4043](https://github.com/google/go-github/issues/4043)) - feat: Add support for team `type` field ([#&#8203;4037](https://github.com/google/go-github/issues/4037)) - chore: Update openapi\_operations.yaml ([#&#8203;4041](https://github.com/google/go-github/issues/4041)) - feat: Add support for repository fine-grained permissions ([#&#8203;4032](https://github.com/google/go-github/issues/4032)) - docs: Fix documentation links ([#&#8203;4036](https://github.com/google/go-github/issues/4036)) - feat: Add fields `Codespaces`, `Copilot` and `ActionsInbound` to `APIMeta` ([#&#8203;3975](https://github.com/google/go-github/issues/3975)) - chore: Use `go:fix inline` for deprecated ptr funcs ([#&#8203;4034](https://github.com/google/go-github/issues/4034)) - feat: Add `ListFineGrainedPersonalAccessTokenRequests` for org ([#&#8203;4022](https://github.com/google/go-github/issues/4022)) - feat: Ensure compatibility with encoding/json/v2 experiment ([#&#8203;4029](https://github.com/google/go-github/issues/4029)) - chore: Update `golangci-lint` and enable some revive rules ([#&#8203;4025](https://github.com/google/go-github/issues/4025)) - refactor: Use sorting functions from `slices` instead of `sort` ([#&#8203;4020](https://github.com/google/go-github/issues/4020)) - build(deps): Bump github.com/theupdateframework/go-tuf/v2 to v2.4.1 ([#&#8203;4018](https://github.com/google/go-github/issues/4018)) - chore: Update workflow and tools to use Go 1.26 and 1.25 ([#&#8203;3995](https://github.com/google/go-github/issues/3995)) - chore: Bump go-github from v82 to v83 in /scrape ([#&#8203;4017](https://github.com/google/go-github/issues/4017)) ### [`v83.0.0`](https://github.com/google/go-github/releases/tag/v83.0.0) [Compare Source](https://github.com/google/go-github/compare/v82.0.0...v83.0.0) I don't recall ever having this many breaking API changes in a single release, and the last release was only 3 weeks ago! A special heart-felt thanks goes to [@&#8203;merchantmoh-debug](https://github.com/merchantmoh-debug), [@&#8203;Not-Dhananjay-Mishra](https://github.com/Not-Dhananjay-Mishra), and [@&#8203;alexandear](https://github.com/alexandear) for the addition of a long-requested feature to this repo: - native auto-generated iterators for all `List*` methods that support pagination (change your call from `List*` to `List*Iter` and make sure to use a rate-limiting transport or you will quickly exhaust your quotas!) A second set of heart-felt thanks go to [@&#8203;stevehipwell](https://github.com/stevehipwell) for setting up our REVIEWERS file and to our amazing volunteer reviewers: - [@&#8203;stevehipwell](https://github.com/stevehipwell) - [@&#8203;alexandear](https://github.com/alexandear) - [@&#8203;zyfy29](https://github.com/zyfy29) - [@&#8203;Not-Dhananjay-Mishra](https://github.com/Not-Dhananjay-Mishra) who have reduced our code-review wait times from days (*sometimes weeks*) down to literally ***hours*** and thereby enable rapid responses to bug fixes and attempts to stay up-to-date with the ever-evolving GitHub v3 API. This release contains the following breaking API changes: - fix!: Divide `PackageGetAllVersions` into two separate methods `ListPackageVersions` and `ListUserPackageVersions` ([#&#8203;4014](https://github.com/google/go-github/issues/4014)) BREAKING CHANGE: `PackageGetAllVersions` is now divided into `ListPackageVersions` and `ListUserPackageVersions`. - fix!: Remove unsupported pagination from `ListAutolinks` ([#&#8203;4012](https://github.com/google/go-github/issues/4012)) BREAKING CHANGE: `opts *ListOptions` is removed from `RepositoriesService.ListAutoLinks`. - fix!: Remove `ListOptions` from `PullRequestsService.ListReviewers` ([#&#8203;4009](https://github.com/google/go-github/issues/4009)) BREAKING CHANGE: `PullRequestsService.ListReviewers` no longer has `opts *ListOptions`. - fix!: Change `PremiumRequestUsageItem` quantities to `float64` ([#&#8203;4002](https://github.com/google/go-github/issues/4002)) BREAKING CHANGE: `PremiumRequestUsageItem` numeric fields are now `float64`. - fix!: Add `ListOptions` to `ListDeploymentBranchPolicies` and `ListCustomDeploymentRuleIntegrations` ([#&#8203;3988](https://github.com/google/go-github/issues/3988)) BREAKING CHANGE: `RepositoriesService.ListDeploymentBranchPolicies` and `RepositoriesService.ListCustomDeploymentRuleIntegrations` now accept `ListOptions`. - fix!: Pass `url` struct tags by value instead of by reference ([#&#8203;3991](https://github.com/google/go-github/issues/3991)) BREAKING CHANGE: Many `*Options` structs now pass `omitempty` URL struct fields by value instead of by reference. - fix!: Fix pagination support for `IssuesService` list methods ([#&#8203;3984](https://github.com/google/go-github/issues/3984)) BREAKING CHANGE: `ListCursorOptions` is removed from `IssueListOptions`. - fix!: Add field `PerPage` to `OrganizationsListOptions` ([#&#8203;3986](https://github.com/google/go-github/issues/3986)) BREAKING CHANGE: `OrganizationsListOptions` now contains only `PerPage` instead of `ListOptions`. - fix!: Add `ListLicensesOptions` to `LicensesService.List` ([#&#8203;3981](https://github.com/google/go-github/issues/3981)) BREAKING CHANGE: `LicensesService.List` now accepts `ListLicensesOptions` for pagination. - fix!: Change `SCIMEnterpriseAttributeOperation.Value` from `*string` to `any` ([#&#8203;3971](https://github.com/google/go-github/issues/3971)) BREAKING CHANGE: `SCIMEnterpriseAttributeOperation.Value` is changed from `*string` to `any`. - feat!: Add `ListOptions` to `RepositoriesService.ListAllTopics` ([#&#8203;3978](https://github.com/google/go-github/issues/3978)) BREAKING CHANGE: `RepositoriesService.ListAllTopics` now accepts `ListOptions` for pagination. - fix!: Replace `UserListOptions.ListOptions` with `UserListOptions.PerPage` ([#&#8203;3977](https://github.com/google/go-github/issues/3977)) BREAKING CHANGE: Replaces `UserListOptions.ListOptions` with `UserListOptions.PerPage` which also removes `UsersService.ListAllIter`. - fix!: `CreateHostedRunnerRequest`, `UpdateHostedRunnerRequest` instead of `HostedRunnerRequest` ([#&#8203;3973](https://github.com/google/go-github/issues/3973)) BREAKING CHANGE: `ActionsService.CreateHostedRunner` and `EnterpriseService.CreateHostedRunner` now accept `CreateHostedRunnerRequest`; `ActionsService.UpdateHostedRunner` and `EnterpriseService.UpdateHostedRunner` now accept `UpdateHostedRunnerRequest`. - refactor!: Use `RepositoryPermissions` struct for `User.Permissions` ([#&#8203;3963](https://github.com/google/go-github/issues/3963)) BREAKING CHANGE: `User.Permissions` is now `*RepositoryPermissions` instead of `map[string]bool`. ...and the following additional changes: - Bump version of go-github to v83.0.0 ([#&#8203;4015](https://github.com/google/go-github/issues/4015)) - feat: Support pagination for methods that return structs ([#&#8203;4011](https://github.com/google/go-github/issues/4011)) - chore: Bump golangci-lint to v2.9.0 ([#&#8203;4013](https://github.com/google/go-github/issues/4013)) - docs: Update usage instructions ([#&#8203;4008](https://github.com/google/go-github/issues/4008)) - feat: Add iterators for methods with `After` ([#&#8203;4007](https://github.com/google/go-github/issues/4007)) - chore: Improve `addOptions` implementation ([#&#8203;3998](https://github.com/google/go-github/issues/3998)) - chore: Do not print any output when `check-structfield-settings` is OK ([#&#8203;4001](https://github.com/google/go-github/issues/4001)) - build(deps): Bump golang.org/x/net from 0.49.0 to 0.50.0 in /scrape ([#&#8203;4003](https://github.com/google/go-github/issues/4003)) - chore: Remove unnecessary `fmt.Print` in tests ([#&#8203;3999](https://github.com/google/go-github/issues/3999)) - build(deps): Bump github.com/alecthomas/kong from 1.13.0 to 1.14.0 in /tools ([#&#8203;4004](https://github.com/google/go-github/issues/4004)) - build(deps): Bump golang.org/x/crypto from 0.47.0 to 0.48.0 in /example ([#&#8203;4006](https://github.com/google/go-github/issues/4006)) - fix: Change cursor pagination to use `After` ([#&#8203;3994](https://github.com/google/go-github/issues/3994)) - fix: Add support for GitHub Enterprise cloud upload URLs ([#&#8203;3993](https://github.com/google/go-github/issues/3993)) - chore: Turn off commit with `gpgsign` in script/generate.sh ([#&#8203;3982](https://github.com/google/go-github/issues/3982)) - feat: Support `[]string` return type in `gen-iterators.go` ([#&#8203;3980](https://github.com/google/go-github/issues/3980)) - fix: Address `modernize.omitzero` issues ([#&#8203;3972](https://github.com/google/go-github/issues/3972)) - feat: Add organization artifact metadata APIs ([#&#8203;3944](https://github.com/google/go-github/issues/3944)) - chore: Address `otel` review feedback ([#&#8203;3969](https://github.com/google/go-github/issues/3969)) - feat(otel): Add native OpenTelemetry Transport module ([#&#8203;3938](https://github.com/google/go-github/issues/3938)) - feat: Add native Go 1.23 iterator support for cursor-based pagination ([#&#8203;3965](https://github.com/google/go-github/issues/3965)) - chore: Address `gen-iterators` review feedback ([#&#8203;3962](https://github.com/google/go-github/issues/3962)) - feat: Add native Go 1.23 Iterator support ([#&#8203;3916](https://github.com/google/go-github/issues/3916)) - docs: Fix typo in README.md ([#&#8203;3961](https://github.com/google/go-github/issues/3961)) - chore: Move all "DO NOT EDIT" messages to line 1 ([#&#8203;3960](https://github.com/google/go-github/issues/3960)) - chore: Enable `unparam` linter and cover unused `*Response` results ([#&#8203;3955](https://github.com/google/go-github/issues/3955)) - fix(tools): Change `gen-release-notes` to use `git` instead of scraping web ([#&#8203;3958](https://github.com/google/go-github/issues/3958)) - chore: Use `example.com` instead of random URLs in tests ([#&#8203;3948](https://github.com/google/go-github/issues/3948)) - feat: Add `organization_copilot_metrics` installation permission ([#&#8203;3957](https://github.com/google/go-github/issues/3957)) - chore(deps): Switch from `gopkg.in/yaml.v3` to `go.yaml.in/yaml/v3` in /tools ([#&#8203;3907](https://github.com/google/go-github/issues/3907)) - docs: Address PR titles in CONTRIBUTING.md ([#&#8203;3952](https://github.com/google/go-github/issues/3952)) - chore: Format code with `golangci-lint fmt` ([#&#8203;3949](https://github.com/google/go-github/issues/3949)) - fix: Handle HTTP 429 status code for rate limiting ([#&#8203;3951](https://github.com/google/go-github/issues/3951)) - chore: Adapt `lint.sh` to Windows Git Bash ([#&#8203;3950](https://github.com/google/go-github/issues/3950)) - Bump go-github from v81 to v82 in /scrape ([#&#8203;3946](https://github.com/google/go-github/issues/3946)) ### [`v82.0.0`](https://github.com/google/go-github/releases/tag/v82.0.0) [Compare Source](https://github.com/google/go-github/compare/v81.0.0...v82.0.0) This release contains the following breaking API changes: - feat!: Improve support for custom property defaults ([#&#8203;3906](https://github.com/google/go-github/issues/3906)) BREAKING CHANGE: `CustomProperty.DefaultValue` is now type `any` and `.ValueType` is now type `PropertyValueType`. - fix!: Simplify `Git.ListMatchingRefs` by removing `ReferenceListOptions` ([#&#8203;3924](https://github.com/google/go-github/issues/3924)) BREAKING CHANGE: `Git.ListMatchingRefs` accepts `ref` instead of the `ReferenceListOptions`. - refactor!: Use a struct for `Repository.Permissions` instead of `map[string]bool` ([#&#8203;3936](https://github.com/google/go-github/issues/3936)) BREAKING CHANGE: `Repository.Permissions` is now a struct instead of `map[string]bool`. ...and the following additional changes: - Bump go-github from v80 to v81 in /scrape ([#&#8203;3900](https://github.com/google/go-github/issues/3900)) - build(deps): Bump github.com/google/go-querystring from 1.1.0 to 1.2.0 ([#&#8203;3901](https://github.com/google/go-github/issues/3901)) - docs: Correct variable name in rate limit error logging example ([#&#8203;3902](https://github.com/google/go-github/issues/3902)) - feat: Add `ConfigurationFilePath` field to `GenerateNotesOptions` ([#&#8203;3904](https://github.com/google/go-github/issues/3904)) - fix: Ignore unset `AllowedMergeMethods` field ([#&#8203;3905](https://github.com/google/go-github/issues/3905)) - docs: Clarify `nil` `http.Client` usage has no timeout ([#&#8203;3910](https://github.com/google/go-github/issues/3910)) - build(deps): Bump golang.org/x/net from 0.48.0 to 0.49.0 in /scrape ([#&#8203;3911](https://github.com/google/go-github/issues/3911)) - build(deps): Bump golang.org/x/term from 0.38.0 to 0.39.0 in /example ([#&#8203;3912](https://github.com/google/go-github/issues/3912)) - build(deps): Bump golang.org/x/crypto from 0.46.0 to 0.47.0 in /example ([#&#8203;3913](https://github.com/google/go-github/issues/3913)) - feat: Add `dependency_sbom` rate limit support ([#&#8203;3908](https://github.com/google/go-github/issues/3908)) - feat: Add support for delegated bypass in code security org config ([#&#8203;3920](https://github.com/google/go-github/issues/3920)) - fix: `DeleteSocialAccounts` and `AddSocialAccounts` of `UsersService` ([#&#8203;3922](https://github.com/google/go-github/issues/3922)) - chore: Add Not-Dhananjay-Mishra to REVIEWERS ([#&#8203;3923](https://github.com/google/go-github/issues/3923)) - build(deps): Bump the actions group with 2 updates ([#&#8203;3927](https://github.com/google/go-github/issues/3927)) - chore: Refactor test workflow ([#&#8203;3929](https://github.com/google/go-github/issues/3929)) - fix: Use correct type for custom property default value ([#&#8203;3928](https://github.com/google/go-github/issues/3928)) - feat: Support creating repo with custom properties ([#&#8203;3933](https://github.com/google/go-github/issues/3933)) - chore: Enable `govet` linter with all checks ([#&#8203;3935](https://github.com/google/go-github/issues/3935)) - perf: Optimize `Stringify` allocations (\~3x faster) ([#&#8203;3914](https://github.com/google/go-github/issues/3914)) - docs: Update CONTRIBUTING.md to prevent AI slop PRs ([#&#8203;3940](https://github.com/google/go-github/issues/3940)) - chore: Update openapi\_operations.yaml ([#&#8203;3942](https://github.com/google/go-github/issues/3942)) - build(deps): Bump actions/checkout from 6.0.1 to 6.0.2 in the actions group ([#&#8203;3943](https://github.com/google/go-github/issues/3943)) - Bump version of go-github to v82.0.0 ([#&#8203;3945](https://github.com/google/go-github/issues/3945)) ### [`v81.0.0`](https://github.com/google/go-github/releases/tag/v81.0.0) [Compare Source](https://github.com/google/go-github/compare/v80.0.0...v81.0.0) This release contains the following breaking API changes: - fix!: Change Org usage report Quantity to float64 ([#&#8203;3862](https://github.com/google/go-github/issues/3862)) BREAKING CHANGE: `UsageItem.Quantity` is now type `float64`. - chore!: Remove `PullRequestRuleParameters.AutomaticCopilotCodeReviewEnabled` field ([#&#8203;3866](https://github.com/google/go-github/issues/3866)) BREAKING CHANGE: `PullRequestRuleParameters.AutomaticCopilotCodeReviewEnabled` is now removed. - feat!: Implement Enterprise SCIM - Provision Groups & Users ([#&#8203;3852](https://github.com/google/go-github/issues/3852)) BREAKING CHANGE: `SCIMEnterpriseDisplayReference.Ref` is now of type `*string`. - fix!: Change copilot\_code\_review field names to match GitHub API ([#&#8203;3874](https://github.com/google/go-github/issues/3874)) BREAKING CHANGE: `CopilotCodeReviewRuleParameters.ReviewNewPushes` is now `ReviewOnPush`. - fix!: Add support for missing attributes in ProjectsV2 API ([#&#8203;3888](https://github.com/google/go-github/issues/3888)) BREAKING CHANGE: `AddProjectItemOptions` fields have changed types. - feat!: Use omitzero for BypassActors to support handling empty arrays ([#&#8203;3891](https://github.com/google/go-github/issues/3891)) BREAKING CHANGE: `UpdateRepositoryRulesetClearBypassActor`, `UpdateRepositoryRulesetClearBypassActor`, `UpdateRulesetClearBypassActor`, and `UpdateRulesetNoBypassActor` have been removed as they are no longer needed. ...and the following additional changes: - Bump go-github from v79 to v80 in /scrape ([#&#8203;3855](https://github.com/google/go-github/issues/3855)) - feat: Add support for Enterprise Team APIs ([#&#8203;3861](https://github.com/google/go-github/issues/3861)) - feat: Implement Enterprise SCIM - Set Groups or Users ([#&#8203;3858](https://github.com/google/go-github/issues/3858)) - build(deps): Bump golang.org/x/term from 0.37.0 to 0.38.0 in /example ([#&#8203;3865](https://github.com/google/go-github/issues/3865)) - build(deps): Bump golang.org/x/sync from 0.18.0 to 0.19.0 in /tools ([#&#8203;3864](https://github.com/google/go-github/issues/3864)) - build(deps): Bump actions/checkout from 6.0.0 to 6.0.1 in the actions group ([#&#8203;3863](https://github.com/google/go-github/issues/3863)) - feat: Add advanced\_search parameter to SearchOptions ([#&#8203;3868](https://github.com/google/go-github/issues/3868)) - feat: Implement Enterprise SCIM - Delete Groups or Users ([#&#8203;3856](https://github.com/google/go-github/issues/3856)) - feat: Add support for copilot\_code\_review rule type ([#&#8203;3857](https://github.com/google/go-github/issues/3857)) - feat: Add support for Enterprise Team Members APIs ([#&#8203;3873](https://github.com/google/go-github/issues/3873)) - chore: Simplify JSON marshaling for RepositoryRulesetRules ([#&#8203;3875](https://github.com/google/go-github/issues/3875)) - feat: Add support for Enterprise Team Organizations APIs ([#&#8203;3876](https://github.com/google/go-github/issues/3876)) - docs: Clarify CreateTree semantics and TreeEntry usage ([#&#8203;3877](https://github.com/google/go-github/issues/3877)) - docs: Reformulate deprecation notice for Commits field in `PushEvent` ([#&#8203;3880](https://github.com/google/go-github/issues/3880)) - build(deps): Bump actions/cache from 4.3.0 to 5.0.1 in the actions group ([#&#8203;3883](https://github.com/google/go-github/issues/3883)) - build(deps): Bump golang.org/x/net from 0.47.0 to 0.48.0 in /scrape ([#&#8203;3882](https://github.com/google/go-github/issues/3882)) - build(deps): Bump codecov/codecov-action from 5.5.1 to 5.5.2 ([#&#8203;3884](https://github.com/google/go-github/issues/3884)) - build(deps): Bump golang.org/x/crypto from 0.45.0 to 0.46.0 in /example ([#&#8203;3885](https://github.com/google/go-github/issues/3885)) - chore: Rename 'opt' to 'opts' in multiple methods ([#&#8203;3887](https://github.com/google/go-github/issues/3887)) - feat: Add support for remaining Codespaces APIs ([#&#8203;3886](https://github.com/google/go-github/issues/3886)) - feat: Handle omitzero in structfield linter ([#&#8203;3881](https://github.com/google/go-github/issues/3881)) - feat: Implement Enterprise SCIM - Get a Group or User ([#&#8203;3889](https://github.com/google/go-github/issues/3889)) - feat: Add support for Codespace Machines APIs ([#&#8203;3890](https://github.com/google/go-github/issues/3890)) - feat: Add support for URL custom property value type ([#&#8203;3879](https://github.com/google/go-github/issues/3879)) - feat: Add UploadReleaseAssetFromRelease convenience helper ([#&#8203;3851](https://github.com/google/go-github/issues/3851)) - Update openapi\_operations.yaml ([#&#8203;3895](https://github.com/google/go-github/issues/3895)) - feat: Add support for Codespaces organizations APIs ([#&#8203;3892](https://github.com/google/go-github/issues/3892)) - feat: Add support for Copilot usage metrics reports API ([#&#8203;3893](https://github.com/google/go-github/issues/3893)) - feat: GetSignaturesProtectedBranch returns ErrBranchNotProtected when branch is not protected ([#&#8203;3896](https://github.com/google/go-github/issues/3896)) - Bump version of go-github to v81.0.0 ([#&#8203;3899](https://github.com/google/go-github/issues/3899)) ### [`v80.0.0`](https://github.com/google/go-github/releases/tag/v80.0.0) [Compare Source](https://github.com/google/go-github/compare/v79.0.0...v80.0.0) This release contains the following breaking API changes: - feat!: Implement Enterprise SCIM - EnterpriseService.ListProvisionedSCIMUsers ([#&#8203;3839](https://github.com/google/go-github/issues/3839)) BREAKING CHANGE: `ListProvisionedSCIMGroupsEnterpriseOptions` optional fields are now pointers. ...and the following additional changes: - Bump go-github from v78 to v79 in /scrape ([#&#8203;3828](https://github.com/google/go-github/issues/3828)) - build(deps): Bump github.com/PuerkitoBio/goquery from 1.10.3 to 1.11.0 in /scrape ([#&#8203;3833](https://github.com/google/go-github/issues/3833)) - build(deps): Bump actions/checkout from 5.0.0 to 5.0.1 in the actions group ([#&#8203;3834](https://github.com/google/go-github/issues/3834)) - build(deps): Bump golang.org/x/crypto from 0.43.0 to 0.44.0 in /example ([#&#8203;3835](https://github.com/google/go-github/issues/3835)) - build(deps): Bump github.com/alecthomas/kong from 1.12.1 to 1.13.0 in /tools ([#&#8203;3837](https://github.com/google/go-github/issues/3837)) - feat: Add support for Enterprise GitHub App Installation APIs ([#&#8203;3830](https://github.com/google/go-github/issues/3830)) - Add ParentIssueURL field to Issue struct ([#&#8203;3841](https://github.com/google/go-github/issues/3841)) - build(deps): Bump golang.org/x/crypto from 0.44.0 to 0.45.0 in /example ([#&#8203;3842](https://github.com/google/go-github/issues/3842)) - build(deps): Bump the actions group with 2 updates ([#&#8203;3844](https://github.com/google/go-github/issues/3844)) - Add custom `structfield` linter to check struct field names and tags ([#&#8203;3843](https://github.com/google/go-github/issues/3843)) - feat: Add Credentials Revoke API ([#&#8203;3847](https://github.com/google/go-github/issues/3847)) - docs: Improve displaying GitHub API links on pkg.go.dev ([#&#8203;3845](https://github.com/google/go-github/issues/3845)) - feat: Add GitHub Enterprise App installation repository management APIs ([#&#8203;3831](https://github.com/google/go-github/issues/3831)) - feat: Implement Enterprise SCIM - Update Group & User attributes ([#&#8203;3848](https://github.com/google/go-github/issues/3848)) - chore: Update golangci-lint to v2.7.0 ([#&#8203;3853](https://github.com/google/go-github/issues/3853)) - feat: Add repository target to ruleset ([#&#8203;3850](https://github.com/google/go-github/issues/3850)) - Bump version of go-github to v80.0.0 ([#&#8203;3854](https://github.com/google/go-github/issues/3854)) ### [`v79.0.0`](https://github.com/google/go-github/releases/tag/v79.0.0) [Compare Source](https://github.com/google/go-github/compare/v78.0.0...v79.0.0) This release contains the following breaking API changes: - fix!: Fix field selection and bugs in ProjectsV2 GET endpoints ([#&#8203;3809](https://github.com/google/go-github/issues/3809)) BREAKING CHANGE: `UpdateProjectItemOptions.Field` is now `[]*ProjectV2FieldUpdate`. - feat!: Add enterprise security configurations, update API fields ([#&#8203;3812](https://github.com/google/go-github/issues/3812)) BREAKING CHANGES: Several `OrganizationsService` methods have been renamed for better consistency. - feat!: Implement Enterprise SCIM - EnterpriseService.ListProvisionedSCIMGroups ([#&#8203;3814](https://github.com/google/go-github/issues/3814)) BREAKING CHANGE: `SCIMService.ListSCIMProvisionedGroupsForEnterprise` is now `EnterpriseService.ListProvisionedSCIMEnterpriseGroups`. ...and the following additional changes: - Bump go-github from v77 to v78 in /scrape ([#&#8203;3816](https://github.com/google/go-github/issues/3816)) - chore: Enable 'modernize'; bump golangci-lint to v2.6.1 ([#&#8203;3817](https://github.com/google/go-github/issues/3817)) - feat: Add `required_reviewers` support to `PullRequestRuleParameters` ([#&#8203;3806](https://github.com/google/go-github/issues/3806)) - Add support for new custom properties for orgs APIs ([#&#8203;3804](https://github.com/google/go-github/issues/3804)) - build(deps): Bump golang.org/x/sync from 0.17.0 to 0.18.0 in /tools ([#&#8203;3819](https://github.com/google/go-github/issues/3819)) - chore: Enable nolintlint linter ([#&#8203;3821](https://github.com/google/go-github/issues/3821)) - fix: Remove custom Accept headers from search endpoints ([#&#8203;3820](https://github.com/google/go-github/issues/3820)) - Return back preview headers for search; remove TODOs for custom headers ([#&#8203;3824](https://github.com/google/go-github/issues/3824)) - feat: Add hosted runners URL and network configuration ID to runner group models ([#&#8203;3825](https://github.com/google/go-github/issues/3825)) - Update `jsonfieldname` linter to support `$` in `json` tag names ([#&#8203;3826](https://github.com/google/go-github/issues/3826)) - Bump version of go-github to v79.0.0 ([#&#8203;3827](https://github.com/google/go-github/issues/3827)) ### [`v78.0.0`](https://github.com/google/go-github/releases/tag/v78.0.0) [Compare Source](https://github.com/google/go-github/compare/v77.0.0...v78.0.0) This release contains the following breaking API changes: - feat!: Address post-merge enterprise billing cost center review ([#&#8203;3805](https://github.com/google/go-github/issues/3805)) BREAKING CHANGES: Various `EnterpriseService` structs have been renamed for consistency. ...and the following additional changes: - Bump go-github from v76 to v77 in /scrape ([#&#8203;3801](https://github.com/google/go-github/issues/3801)) - chore: Update openapi\_operations.yaml ([#&#8203;3802](https://github.com/google/go-github/issues/3802)) - feat: Add support for enterprise billing cost centers API ([#&#8203;3803](https://github.com/google/go-github/issues/3803)) - feat: Add `sha_pinning_required` to `ActionsPermissions` structs ([#&#8203;3807](https://github.com/google/go-github/issues/3807)) - Bump version of go-github to v78.0.0 ([#&#8203;3815](https://github.com/google/go-github/issues/3815)) ### [`v77.0.0`](https://github.com/google/go-github/releases/tag/v77.0.0) [Compare Source](https://github.com/google/go-github/compare/v76.0.0...v77.0.0) This release contains the following breaking API changes: - refactor!: Remove pointer from required field of CreateStatus API ([#&#8203;3794](https://github.com/google/go-github/issues/3794)) BREAKING CHANGE: `RepositoriesService.CreateStatus` now takes value for `status`, not pointer. - feat!: Add support for project items CRUD and project fields read operations ([#&#8203;3793](https://github.com/google/go-github/issues/3793)) BREAKING CHANGES: - `ProjectV2Field.Options` changed from `[]any` to `[]*ProjectV2FieldOption`. - `ProjectV2Field.URL` is now `ProjectV2Field.ProjectURL` - Optional fields in various `ProjectV2` structs are now passed as pointers - Aligns `ProjectsService` functions with [#&#8203;3761](https://github.com/google/go-github/issues/3761) - Almost all methods have been renamed ...and the following additional changes: - Bump go-github from v75 to v76 in /scrape ([#&#8203;3783](https://github.com/google/go-github/issues/3783)) - Add custom jsonfieldname linter to ensure Go field name matches JSON tag name ([#&#8203;3757](https://github.com/google/go-github/issues/3757)) - chore: Fix typo in comment ([#&#8203;3786](https://github.com/google/go-github/issues/3786)) - feat: Add support for private registries endpoints ([#&#8203;3785](https://github.com/google/go-github/issues/3785)) - Only set `Authorization` when `token` is available ([#&#8203;3789](https://github.com/google/go-github/issues/3789)) - test: Ensure Authorization is not set with empty token ([#&#8203;3790](https://github.com/google/go-github/issues/3790)) - Fix spelling issues ([#&#8203;3792](https://github.com/google/go-github/issues/3792)) - Add test cases for JSON resource marshaling - SCIM ([#&#8203;3798](https://github.com/google/go-github/issues/3798)) - fix: Org/Enterprise UpdateRepositoryRulesetClearBypassActor sends empty array ([#&#8203;3796](https://github.com/google/go-github/issues/3796)) - Bump version of go-github to v77.0.0 ([#&#8203;3800](https://github.com/google/go-github/issues/3800)) ### [`v76.0.0`](https://github.com/google/go-github/releases/tag/v76.0.0) [Compare Source](https://github.com/google/go-github/compare/v75.0.0...v76.0.0) This release contains the following breaking API changes: - chore!: Remove ActionsBilling endpoints for User and Organization ([#&#8203;3701](https://github.com/google/go-github/issues/3701)) BREAKING CHANGE: ActionsBilling endpoints are removed. - fix!: Return RepositoryAttachment from `GetRepositoriesForCodeSecurityConfiguration` ([#&#8203;3707](https://github.com/google/go-github/issues/3707)) BREAKING CHANGE: GetRepositoriesForCodeSecurityConfiguration now returns RepositoryAttachment instead of Repository. - refactor!: Replace Edit with Update in permissions method names ([#&#8203;3731](https://github.com/google/go-github/issues/3731)) BREAKING CHANGE: Permissions-related methods are renamed from `Edit*` to `Update*`. - fix!: Change return type of GetDefaultCodeSecurityConfigurations ([#&#8203;3747](https://github.com/google/go-github/issues/3747)) BREAKING CHANGE: `GetDefaultCodeSecurityConfigurations` now returns `CodeSecurityConfigurationWithDefaultForNewRepos` instead of `CodeSecurityConfiguration`. - refactor!: Adjust function names and field types for billing API ([#&#8203;3770](https://github.com/google/go-github/issues/3770)) BREAKING CHANGE: Billing-related methods are renamed to <verb><scope><subject> pattern, and required fields are changed to value types. ...and the following additional changes: - Bump go-github from v74 to v75 in /scrape ([#&#8203;3724](https://github.com/google/go-github/issues/3724)) - feat: Add ClientID to Installation ([#&#8203;3712](https://github.com/google/go-github/issues/3712)) - feat: Add some GitHub Classroom API endpoints ([#&#8203;3690](https://github.com/google/go-github/issues/3690)) - chore: Replace http.Method\* constants with string literals ([#&#8203;3696](https://github.com/google/go-github/issues/3696)) - fix: Repositories.UpdateRulesetClearBypassActor sets BypassActors to empty slice ([#&#8203;3727](https://github.com/google/go-github/issues/3727)) - test: Ensure bypass\_actors serializes as an empty array when clearing ruleset bypass actors ([#&#8203;3734](https://github.com/google/go-github/issues/3734)) - Add reason field to PullRequestEvent ([#&#8203;3730](https://github.com/google/go-github/issues/3730)) - chore: Update openapi\_operations.yaml ([#&#8203;3735](https://github.com/google/go-github/issues/3735)) - Update CONTRIBUTING.md ([#&#8203;3736](https://github.com/google/go-github/issues/3736)) - feat: Support roles field in SCIM ([#&#8203;3728](https://github.com/google/go-github/issues/3728)) - chore: Ignore hidden .claude settings folder ([#&#8203;3738](https://github.com/google/go-github/issues/3738)) - feat: Add ListAcceptedAssignments and GetAssignmentGrades methods to Classroom API ([#&#8203;3732](https://github.com/google/go-github/issues/3732)) - feat: Add immutable releases support ([#&#8203;3725](https://github.com/google/go-github/issues/3725)) - build(deps): Bump actions/cache from 4.2.4 to 4.3.0 in the actions group ([#&#8203;3742](https://github.com/google/go-github/issues/3742)) - refactor: Use errors package to compare and assert error types ([#&#8203;3739](https://github.com/google/go-github/issues/3739)) - ci: Add errorlint configuration to golangci-lint settings ([#&#8203;3743](https://github.com/google/go-github/issues/3743)) - docs: Update code snippets to use errors package for type assertions ([#&#8203;3746](https://github.com/google/go-github/issues/3746)) - Update openapi\_operations.yaml ([#&#8203;3749](https://github.com/google/go-github/issues/3749)) - test: Use t.Context() instead of context.Background() ([#&#8203;3750](https://github.com/google/go-github/issues/3750)) - chore: Add zyfy29 to REVIEWERS ([#&#8203;3753](https://github.com/google/go-github/issues/3753)) - Prefer %v over %d,%s and add fmtpercentv custom linter ([#&#8203;3756](https://github.com/google/go-github/issues/3756)) - test: Simplify the function that skips integration tests ([#&#8203;3752](https://github.com/google/go-github/issues/3752)) - test: Fix issues in TestSecretScanningService tests ([#&#8203;3760](https://github.com/google/go-github/issues/3760)) - refactor: Simplify for range loops ([#&#8203;3762](https://github.com/google/go-github/issues/3762)) - chore(ci): Add example dir to dependabot config ([#&#8203;3764](https://github.com/google/go-github/issues/3764)) - fix: Correct body in EnterpriseService.InitialConfig ([#&#8203;3763](https://github.com/google/go-github/issues/3763)) - feat: Add premium request usage report endpoints for organizations and users ([#&#8203;3751](https://github.com/google/go-github/issues/3751)) - feat: Add two new Secret Scanning API endpoints ([#&#8203;3687](https://github.com/google/go-github/issues/3687)) - build(deps): Bump github.com/ProtonMail/go-crypto from 0.0.0-20230828082145-3c4c8a2d2371 to 1.3.0 in /example ([#&#8203;3765](https://github.com/google/go-github/issues/3765)) - build(deps): Bump golang.org/x/crypto from 0.36.0 to 0.42.0 in /example ([#&#8203;3766](https://github.com/google/go-github/issues/3766)) - build(deps): Bump github.com/gofri/go-github-pagination from 1.0.0 to 1.0.1 in /example ([#&#8203;3767](https://github.com/google/go-github/issues/3767)) - Update openapi\_operations.yaml ([#&#8203;3772](https://github.com/google/go-github/issues/3772)) - feat: Add fork PR workflows permission API support ([#&#8203;3737](https://github.com/google/go-github/issues/3737)) - Add support for organization Immutable Releases API ([#&#8203;3774](https://github.com/google/go-github/issues/3774)) - feat: Add enterprise license endpoints ([#&#8203;3755](https://github.com/google/go-github/issues/3755)) - build(deps): Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.4 to 2.17.0 in /example ([#&#8203;3776](https://github.com/google/go-github/issues/3776)) - build(deps): Bump golang.org/x/net from 0.44.0 to 0.46.0 in /scrape ([#&#8203;3777](https://github.com/google/go-github/issues/3777)) - build(deps): Bump golang.org/x/crypto from 0.42.0 to 0.43.0 in /example ([#&#8203;3778](https://github.com/google/go-github/issues/3778)) - Add ProjectsService ([#&#8203;3718](https://github.com/google/go-github/issues/3718)) - Fix breakages caused by merge ([#&#8203;3781](https://github.com/google/go-github/issues/3781)) - Bump version of go-github to v76.0.0 ([#&#8203;3782](https://github.com/google/go-github/issues/3782)) ### [`v75.0.0`](https://github.com/google/go-github/releases/tag/v75.0.0) [Compare Source](https://github.com/google/go-github/compare/v74.0.0...v75.0.0) This release contains the following breaking API changes: - refactor!: Change GitService methods to pass required params by-value instead of by-ref ([#&#8203;3654](https://github.com/google/go-github/issues/3654)) BREAKING CHANGE: `GitService` methods now pass required params by-value instead of by-ref. ...and the following additional changes: - Bump go-github from v73 to v74 in /scrape ([#&#8203;3639](https://github.com/google/go-github/issues/3639)) - Add the metadata field to create DependencyGraphSnapshot ([#&#8203;3640](https://github.com/google/go-github/issues/3640)) - Bump golangci-lint to 2.3.0 ([#&#8203;3641](https://github.com/google/go-github/issues/3641)) - Add additional settings fields to org API ([#&#8203;3642](https://github.com/google/go-github/issues/3642)) - docs: Extend the description of ref parameters ([#&#8203;3643](https://github.com/google/go-github/issues/3643)) - fix: Add validation for nil inputs in various services ([#&#8203;3636](https://github.com/google/go-github/issues/3636)) - Add location info to SecretScanningAlert ([#&#8203;3645](https://github.com/google/go-github/issues/3645)) - docs: Update links to use the latest version of GitHub documentation ([#&#8203;3648](https://github.com/google/go-github/issues/3648)) - Add FieldValue field to ProjectV2ItemChange event. ([#&#8203;3650](https://github.com/google/go-github/issues/3650)) - Add Metadata field to DependencyGraph\* structs ([#&#8203;3653](https://github.com/google/go-github/issues/3653)) - refactor: Fix gocritic.paramTypeCombine lint issues ([#&#8203;3655](https://github.com/google/go-github/issues/3655)) - chore: Show correct path when example has lint errors ([#&#8203;3656](https://github.com/google/go-github/issues/3656)) - Add Social Accounts API ([#&#8203;3647](https://github.com/google/go-github/issues/3647)) - feat: Implement List Repository Activities endpoint ([#&#8203;3651](https://github.com/google/go-github/issues/3651)) - docs: Use secure URLs in string literals ([#&#8203;3657](https://github.com/google/go-github/issues/3657)) - feat: Update openapi ([#&#8203;3662](https://github.com/google/go-github/issues/3662)) - feat: Add artifact and log retention period API support ([#&#8203;3664](https://github.com/google/go-github/issues/3664)) - Document upcoming changes to events payload ([#&#8203;3667](https://github.com/google/go-github/issues/3667)) - build(deps): Bump the actions group with 2 updates ([#&#8203;3670](https://github.com/google/go-github/issues/3670)) - build(deps): Bump golang.org/x/net from 0.42.0 to 0.43.0 in /scrape ([#&#8203;3669](https://github.com/google/go-github/issues/3669)) - fix: Replace 'organizations' with 'orgs' in API endpoints ([#&#8203;3673](https://github.com/google/go-github/issues/3673)) - Update AUTHORS ([#&#8203;3674](https://github.com/google/go-github/issues/3674)) - feat: Add secret scanning push protection pattern configurations API ([#&#8203;3672](https://github.com/google/go-github/issues/3672)) - feat: Add self-hosted runner permission API support ([#&#8203;3675](https://github.com/google/go-github/issues/3675)) - chore: Do not force Go 1.22.0 as toolchain version ([#&#8203;3678](https://github.com/google/go-github/issues/3678)) - feat: Add GitHub Classroom GetAssignment API endpoint ([#&#8203;3685](https://github.com/google/go-github/issues/3685)) - chore: Add new lint rule to make sure exported names documented ([#&#8203;3682](https://github.com/google/go-github/issues/3682)) - chore: Enable gocritic.deprecatedComment check ([#&#8203;3688](https://github.com/google/go-github/issues/3688)) - chore: Format code with gofumpt ([#&#8203;3689](https://github.com/google/go-github/issues/3689)) - feat: Add private repo workflows permission API support ([#&#8203;3679](https://github.com/google/go-github/issues/3679)) - chore: Replace reflect.DeepEqual with cmp.Equal in tests ([#&#8203;3691](https://github.com/google/go-github/issues/3691)) - docs: Update CONTRIBUTING.md to clarify documentation requirements for exported types ([#&#8203;3693](https://github.com/google/go-github/issues/3693)) - build(deps): Bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0 in /tools ([#&#8203;3698](https://github.com/google/go-github/issues/3698)) - build(deps): Bump actions/setup-go from 5.5.0 to 6.0.0 in the actions group ([#&#8203;3709](https://github.com/google/go-github/issues/3709)) - build(deps): Bump codecov/codecov-action from 5.4.3 to 5.5.1 ([#&#8203;3711](https://github.com/google/go-github/issues/3711)) - build(deps): Bump golang.org/x/net from 0.43.0 to 0.44.0 in /scrape ([#&#8203;3716](https://github.com/google/go-github/issues/3716)) - Add exempt as bypass mode to ruleset bypass actors ([#&#8203;3719](https://github.com/google/go-github/issues/3719)) - Bump Go toolchain to 1.24 ([#&#8203;3721](https://github.com/google/go-github/issues/3721)) - Bump golang.org/x/sync from 0.16.0 to 0.17.0 in /tools ([#&#8203;3722](https://github.com/google/go-github/issues/3722)) - Bump version of go-github to v75.0.0 ([#&#8203;3723](https://github.com/google/go-github/issues/3723)) ### [`v74.0.0`](https://github.com/google/go-github/releases/tag/v74.0.0) [Compare Source](https://github.com/google/go-github/compare/v73.0.0...v74.0.0) This release contains the following breaking API changes: - fix!: Add ListSCIMProvisionedGroupsForEnterpriseOptions ([#&#8203;3601](https://github.com/google/go-github/issues/3601)) BREAKING CHANGE: `ListSCIMProvisionedGroupsForEnterprise` now takes `ListSCIMProvisionedGroupsForEnterpriseOptions` instead of `*ListSCIMProvisionedIdentitiesOptions`. - fix!: Change ListCheckSuiteOptions.AppID from int to int64 ([#&#8203;3633](https://github.com/google/go-github/issues/3633)) BREAKING CHANGE: Change `ListCheckSuiteOptions.AppID` from `int` to `int64` ...and the following additional changes: - Bump go-github from v72 to v73 in /scrape ([#&#8203;3600](https://github.com/google/go-github/issues/3600)) - refactor: Simplify error handling in JSON decoding in tests ([#&#8203;3602](https://github.com/google/go-github/issues/3602)) - refactor: fix revive.unused-parameter lint issues ([#&#8203;3603](https://github.com/google/go-github/issues/3603)) - chore: Correct typos in comments and tests error messages ([#&#8203;3604](https://github.com/google/go-github/issues/3604)) - feat: Add organization migration options ([#&#8203;3606](https://github.com/google/go-github/issues/3606)) - feat: Add new enhanced billing endpoints ([#&#8203;3605](https://github.com/google/go-github/issues/3605)) - docs: Update HTTP cache references to RFC 9111 compliant implementation ([#&#8203;3608](https://github.com/google/go-github/issues/3608)) - fix: Remove custom Accept in Apps.ListRepos and Apps.ListUserRepos ([#&#8203;3609](https://github.com/google/go-github/issues/3609)) - fix: Change UsageItem.Quantity from int to float64 ([#&#8203;3610](https://github.com/google/go-github/issues/3610)) - fix: Fix broken URL for SubIssueService.Remove endpoint ([#&#8203;3613](https://github.com/google/go-github/issues/3613)) - feat: Add DisableRateLimitCheck option to client ([#&#8203;3607](https://github.com/google/go-github/issues/3607)) - build(deps): bump github.com/alecthomas/kong from 1.11.0 to 1.12.0 in /tools ([#&#8203;3614](https://github.com/google/go-github/issues/3614)) - chore: Fix some minor issues in the comments ([#&#8203;3615](https://github.com/google/go-github/issues/3615)) - fix: Handle null assignee in Copilot Seat Billing API response ([#&#8203;3619](https://github.com/google/go-github/issues/3619)) - fix: Add ProtectionURL field to Repositories.ListBranches response ([#&#8203;3618](https://github.com/google/go-github/issues/3618)) - feat: Add digest field to Artifact ([#&#8203;3621](https://github.com/google/go-github/issues/3621)) - fix: Add missing require\_last\_push\_approval field to branch protection rule event structs ([#&#8203;3623](https://github.com/google/go-github/issues/3623)) - build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 in /tools ([#&#8203;3624](https://github.com/google/go-github/issues/3624)) - build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 in /scrape ([#&#8203;3625](https://github.com/google/go-github/issues/3625)) - feat: Add the Digest field to ReleaseAsset ([#&#8203;3628](https://github.com/google/go-github/issues/3628)) - refactor: Fix revive.unnecessary-format lint issues ([#&#8203;3629](https://github.com/google/go-github/issues/3629)) - build(deps): bump github.com/alecthomas/kong from 1.12.0 to 1.12.1 in /tools ([#&#8203;3632](https://github.com/google/go-github/issues/3632)) - docs: Extend RepositoryContentGetOptions description ([#&#8203;3637](https://github.com/google/go-github/issues/3637)) - Bump version of go-github to v74.0.0 ([#&#8203;3638](https://github.com/google/go-github/issues/3638)) ### [`v73.0.0`](https://github.com/google/go-github/releases/tag/v73.0.0) [Compare Source](https://github.com/google/go-github/compare/v72.0.0...v73.0.0) This release contains the following breaking API changes: - feat!: Add repository query option to ListCustomPropertyValues ([#&#8203;3598](https://github.com/google/go-github/issues/3598)) BREAKING CHANGE: `ListCustomPropertyValues` now takes `ListCustomPropertyValuesOptions` instead of `ListOptions`. ...and the following additional changes: - Bump go-github from v71 to v72 in /scrape ([#&#8203;3572](https://github.com/google/go-github/issues/3572)) - Update OpenAPI ([#&#8203;3574](https://github.com/google/go-github/issues/3574)) - Improve DownloadContents and DownloadContentsWithMeta methods ([#&#8203;3573](https://github.com/google/go-github/issues/3573)) - build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 in the actions group ([#&#8203;3575](https://github.com/google/go-github/issues/3575)) - build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 in /scrape ([#&#8203;3576](https://github.com/google/go-github/issues/3576)) - build(deps): bump github.com/alecthomas/kong from 1.10.0 to 1.11.0 in /tools ([#&#8203;3578](https://github.com/google/go-github/issues/3578)) - build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.3 ([#&#8203;3579](https://github.com/google/go-github/issues/3579)) - feat: Add support for sub-issue ([#&#8203;3580](https://github.com/google/go-github/issues/3580)) - fix: Add missing relationship and pkg external info for SBOMs ([#&#8203;3582](https://github.com/google/go-github/issues/3582)) - chore: Use any instead of interface{} ([#&#8203;3584](https://github.com/google/go-github/issues/3584)) - chore: Migrate golangci-lint to v2 ([#&#8203;3587](https://github.com/google/go-github/issues/3587)) - chore: Add alexandear to REVIEWERS ([#&#8203;3588](https://github.com/google/go-github/issues/3588)) - docs: Update minimum Go version in README to 1.23 ([#&#8203;3589](https://github.com/google/go-github/issues/3589)) - fix: Use stable media type in Starring API ([#&#8203;3590](https://github.com/google/go-github/issues/3590)) - docs: Use pkgsite links ([#&#8203;3591](https://github.com/google/go-github/issues/3591)) - build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 in /scrape ([#&#8203;3593](https://github.com/google/go-github/issues/3593)) - build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 in /tools ([#&#8203;3594](https://github.com/google/go-github/issues/3594)) - build(deps): bump github.com/cloudflare/circl from 1.3.7 to 1.6.1 in /example ([#&#8203;3595](https://github.com/google/go-github/issues/3595)) - Bump version of go-github to v73.0.0 ([#&#8203;3599](https://github.com/google/go-github/issues/3599)) </details> <details> <summary>sirupsen/logrus (github.com/sirupsen/logrus)</summary> ### [`v1.10.2`](https://github.com/sirupsen/logrus/releases/tag/v1.10.2) [Compare Source](https://github.com/sirupsen/logrus/compare/v1.10.1...v1.10.2) ### Logrus v1.10.2 This is a small maintenance release that updates `github.com/stretchr/testify` to v1.12.1, removing the legacy `gopkg.in/yaml.v3` dependency from Logrus' dependency graph. There are no functional changes in this release. Dependency Changes - update github.com/stretchr/testify to v1.12.1 **Full Changelog**: <https://github.com/sirupsen/logrus/compare/v1.10.1...v1.10.2> ### [`v1.10.1`](https://github.com/sirupsen/logrus/releases/tag/v1.10.1) [Compare Source](https://github.com/sirupsen/logrus/compare/v1.10.0...v1.10.1) ### Logrus v1.10.1 This patch release fixes two issues in field formatting and handling: - Fix a regression introduced in v1.10.0 where `TextFormatter` could panic when formatting nil or panicking `error` and `fmt.Stringer` values. - Allow function-backed values implementing `error` to be used with `WithError`, `WithField`, and `WithFields`. Dependency Changes - update github.com/stretchr/testify to v1.12.0 **Full Changelog**: <https://github.com/sirupsen/logrus/compare/v1.10.0...v1.10.1> ### [`v1.10.0`](https://github.com/sirupsen/logrus/releases/tag/v1.10.0) [Compare Source](https://github.com/sirupsen/logrus/compare/v1.9.4...v1.10.0) ### Logrus v1.10.0 This release focuses on substantial performance improvements, concurrency correctness, and better interoperability with modern Go logging APIs. #### 🚀 Performance Major improvements across `TextFormatter`, entry handling, and common logger paths: - \~17% lower geomean runtime across the benchmark suite - \~27% higher geomean formatter throughput - Common enabled logging paths are \~30–44% faster - `WithError` is \~40% faster - Chained fields are \~46% faster - `TextFormatter` paths are up to \~40% faster - Allocation counts are reduced by \~25–74% across measured `TextFormatter` cases, with the largest reductions in colored output The improvements also show up in complete logger paths: - Logger + `TextFormatter` is \~31% faster, with \~24% fewer allocations - Logger + `JSONFormatter` is \~21% faster, with \~10% fewer allocations `JSONFormatter` itself remains largely unchanged in runtime performance, with small allocation reductions. #### 🔄 `log/slog` interoperability v1.10 adds bidirectional interoperability between Logrus and Go's `log/slog`: - A Logrus `slog` hook can forward existing Logrus entries to an `slog` logger. - `hooks/slog.NewHandler` implements `slog.Handler`, allowing `log/slog` records to use an existing Logrus logger and its hooks, formatter, and output. - The handler preserves levels, fields, groups, context, record timestamps, and optionally caller information. - Caller reporting is configured per handler, without requiring Logrus's logger-wide `ReportCaller` option. - Custom `slog` levels can be mapped to Logrus levels. - The hook and handler can be combined, providing a practical path for incrementally migrating from Logrus to `log/slog` without requiring an all-at-once transition. This allows applications to migrate their logging API and logging backend independently: existing Logrus call sites can start using an `slog` backend, while new `slog` code can continue using an established Logrus setup. #### 🔒 Concurrency & Correctness - Fix reentrant logging deadlocks, including logging from within `MarshalJSON` or formatter code. - Fix generic `Log`, `Logf`, `Logln`, and `LogFn` methods unexpectedly panicking when called with `PanicLevel`, contrary to their documented behavior. - Eliminate race conditions in entry and formatter paths. - Improve locking boundaries around formatters and hooks. #### ➕ Added - `TextFormatter` now automatically enables colors on Windows terminals with ANSI support, matching behavior on other platforms. - `Entry.Caller` can now be set explicitly and is preserved across derived entries. When caller reporting is enabled, Logrus only detects and populates caller information when none was provided, allowing custom caller detection and wrapper-aware logging without adding additional caller configuration APIs. - Add minimal, composable logging interfaces for each log level, allowing consumers to depend on narrower interfaces and making logging implementations easier to substitute or adapt. - Expand CI verification to include TinyGo and every cross-compile target reported by go tool dist list, improving coverage across alternative toolchains and platforms. #### ⚠️ Behavioral Changes - Minimum supported Go version is now **1.23**. - `TextFormatter` now renders `[]byte` as raw/quoted strings instead of numeric slices. If you relied on the previous slice-of-ints output, convert explicitly before logging. - `TextFormatter` now uses dim cyan for debug output and dim white for trace output in colorized TTY output. - `Entry.HasCaller` is now deprecated in favor of checking `Entry.Caller` directly. A `//go:fix inline` directive was added so existing uses can be updated automatically. - `MutexWrap`, which was unintentionally exposed as public API, is deprecated. It remains available as an alias for compatibility but should not be used directly. *** v1.10 is primarily a performance, correctness, and interoperability release with no intentional breaking public API changes. <details> <summary>Benchmarks (sampled at 457e372460c7a80ca7c800b51ebeee5362aaa180)</summary> ```console goos: darwin goarch: arm64 pkg: github.com/sirupsen/logrus/benches cpu: Apple M3 Pro │ v1.9.4.txt │ v1.10.0.txt │ │ sec/op │ sec/op vs base │ Entry_WithError 228.8n ± 4% 137.4n ± 5% -39.95% (p=0.000 n=10) Entry_WithField_Chain 1346.5n ± 2% 733.5n ± 3% -45.53% (p=0.000 n=10) Entry_WithFields/valid_fields_only 236.2n ± 6% 255.4n ± 1% +8.11% (p=0.001 n=10) Entry_WithFields/contains_func 293.1n ± 3% 285.1n ± 3% -2.76% (p=0.043 n=10) Entry_WithFields/contains_func_ptr 296.5n ± 3% 300.1n ± 5% ~ (p=0.529 n=10) Entry_WithFields/mixed_valid_invalid 339.7n ± 4% 336.7n ± 2% ~ (p=0.315 n=10) Entry_WithFields/larger_map 635.9n ± 4% 693.8n ± 2% +9.11% (p=0.000 n=10) Entry_ReportCaller_NoCaller 933.4n ± 3% 924.0n ± 2% ~ (p=0.105 n=10) Entry_ReportCaller_WithCaller 2.693µ ± 2% 3.050µ ± 3% +13.28% (p=0.000 n=10) Entry_ReportCaller_NoCaller_Depth4 914.3n ± 2% 905.5n ± 3% ~ (p=0.481 n=10) Entry_ReportCaller_WithCaller_Depth4 2.736µ ± 8% 3.048µ ± 5% +11.36% (p=0.000 n=10) ZeroTextFormatter 457.6n ± 1% 369.3n ± 2% -19.31% (p=0.000 n=10) OneStringTextFormatter 637.0n ± 1% 549.4n ± 2% -13.75% (p=0.000 n=10) OneNumericTextFormatter 682.7n ± 1% 550.2n ± 1% -19.42% (p=0.000 n=10) OneBoolTextFormatter 669.7n ± 1% 550.0n ± 1% -17.87% (p=0.000 n=10) NumericTextFormatter 1.685µ ± 3% 1.261µ ± 2% -25.17% (p=0.000 n=10) BoolTextFormatter 1.450µ ± 1% 1.082µ ± 3% -25.39% (p=0.000 n=10) StringerTextFormatter 2.066µ ± 1% 1.323µ ± 1% -35.95% (p=0.000 n=10) ErrorTextFormatter 924.7n ± 5% 686.7n ± 1% -25.74% (p=0.000 n=10) SmallTextFormatter 944.4n ± 1% 862.6n ± 1% -8.66% (p=0.000 n=10) LargeTextFormatter 5.527µ ± 5% 4.750µ ± 2% -14.07% (p=0.000 n=10) SmallColoredTextFormatter 1337.0n ± 3% 838.6n ± 1% -37.28% (p=0.000 n=10) LargeColoredTextFormatter 7.955µ ± 5% 4.749µ ± 3% -40.30% (p=0.000 n=10) SmallJSONFormatter 1.627µ ± 1% 1.637µ ± 6% ~ (p=0.670 n=10) LargeJSONFormatter 8.335µ ± 3% 8.172µ ± 1% -1.96% (p=0.000 n=10) DummyLogger 1.843µ ± 3% 1.551µ ± 2% -15.82% (p=0.000 n=10) DummyLoggerNoLock 1.840µ ± 3% 1.558µ ± 3% -15.30% (p=0.000 n=10) LoggerLog/disabled_level 1.248n ± 11% 1.192n ± 11% -4.49% (p=0.011 n=10) LoggerLog/enabled_log 223.9n ± 3% 157.7n ± 5% -29.57% (p=0.000 n=10) LoggerLog/enabled_logln 284.2n ± 1% 158.9n ± 2% -44.09% (p=0.000 n=10) LoggerJSONFormatter 2.177µ ± 1% 1.712µ ± 1% -21.34% (p=0.000 n=10) LoggerTextFormatter 1.860µ ± 5% 1.282µ ± 3% -31.05% (p=0.000 n=10) geomean 843.9n 698.9n -17.18% │ v1.9.4.txt │ v1.10.0.txt │ │ B/op │ B/op vs base │ Entry_WithError 448.0 ± 0% 448.0 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithField_Chain 2.188Ki ± 0% 2.188Ki ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/valid_fields_only 448.0 ± 0% 448.0 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/contains_func 488.0 ± 0% 488.0 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/contains_func_ptr 488.0 ± 0% 488.0 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/mixed_valid_invalid 488.0 ± 0% 488.0 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/larger_map 1.320Ki ± 0% 1.320Ki ± 0% ~ (p=1.000 n=10) ¹ Entry_ReportCaller_NoCaller 821.0 ± 0% 800.0 ± 0% -2.56% (p=0.000 n=10) Entry_ReportCaller_WithCaller 1.614Ki ± 0% 1.581Ki ± 0% -2.06% (p=0.000 n=10) Entry_ReportCaller_NoCaller_Depth4 821.0 ± 0% 800.0 ± 0% -2.56% (p=0.000 n=10) Entry_ReportCaller_WithCaller_Depth4 1.614Ki ± 0% 1.581Ki ± 0% -2.06% (p=0.000 n=10) ZeroTextFormatter 272.0 ± 0% 232.0 ± 0% -14.71% (p=0.000 n=10) OneStringTextFormatter 304.0 ± 0% 264.0 ± 0% -13.16% (p=0.000 n=10) OneNumericTextFormatter 308.0 ± 0% 264.0 ± 0% -14.29% (p=0.000 n=10) OneBoolTextFormatter 308.0 ± 0% 264.0 ± 0% -14.29% (p=0.000 n=10) NumericTextFormatter 920.0 ± 0% 808.0 ± 0% -12.17% (p=0.000 n=10) BoolTextFormatter 626.0 ± 0% 552.0 ± 0% -11.82% (p=0.000 n=10) StringerTextFormatter 968.0 ± 0% 808.0 ± 0% -16.53% (p=0.000 n=10) ErrorTextFormatter 472.0 ± 0% 424.0 ± 0% -10.17% (p=0.000 n=10) SmallTextFormatter 528.0 ± 0% 488.0 ± 0% -7.58% (p=0.000 n=10) LargeTextFormatter 3.773Ki ± 0% 3.156Ki ± 0% -16.36% (p=0.000 n=10) SmallColoredTextFormatter 600.0 ± 0% 392.0 ± 0% -34.67% (p=0.000 n=10) LargeColoredTextFormatter 4.406Ki ± 0% 2.859Ki ± 0% -35.11% (p=0.000 n=10) SmallJSONFormatter 1.078Ki ± 0% 1.070Ki ± 0% -0.72% (p=0.000 n=10) LargeJSONFormatter 5.086Ki ± 0% 5.078Ki ± 0% -0.15% (p=0.000 n=10) DummyLogger 748.0 ± 0% 704.0 ± 0% -5.88% (p=0.000 n=10) DummyLoggerNoLock 748.0 ± 0% 704.0 ± 0% -5.88% (p=0.000 n=10) LoggerLog/disabled_level 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ LoggerLog/enabled_log 212.0 ± 0% 208.0 ± 0% -1.89% (p=0.000 n=10) LoggerLog/enabled_logln 240.0 ± 0% 208.0 ± 0% -13.33% (p=0.000 n=10) LoggerJSONFormatter 2.156Ki ± 0% 2.125Ki ± 0% -1.45% (p=0.000 n=10) LoggerTextFormatter 1.625Ki ± 0% 1.547Ki ± 0% -4.81% (p=0.000 n=10) geomean ² -8.14% ² ¹ all samples are equal ² summaries must be >0 to compute geomean │ v1.9.4.txt │ v1.10.0.txt │ │ allocs/op │ allocs/op vs base │ Entry_WithError 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithField_Chain 15.00 ± 0% 15.00 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/valid_fields_only 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/contains_func 5.000 ± 0% 5.000 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/contains_func_ptr 5.000 ± 0% 5.000 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/mixed_valid_invalid 5.000 ± 0% 5.000 ± 0% ~ (p=1.000 n=10) ¹ Entry_WithFields/larger_map 5.000 ± 0% 5.000 ± 0% ~ (p=1.000 n=10) ¹ Entry_ReportCaller_NoCaller 18.00 ± 0% 15.00 ± 0% -16.67% (p=0.000 n=10) Entry_ReportCaller_WithCaller 29.00 ± 0% 26.00 ± 0% -10.34% (p=0.000 n=10) Entry_ReportCaller_NoCaller_Depth4 18.00 ± 0% 15.00 ± 0% -16.67% (p=0.000 n=10) Entry_ReportCaller_WithCaller_Depth4 29.00 ± 0% 26.00 ± 0% -10.34% (p=0.000 n=10) ZeroTextFormatter 10.000 ± 0% 7.000 ± 0% -30.00% (p=0.000 n=10) OneStringTextFormatter 11.000 ± 0% 8.000 ± 0% -27.27% (p=0.000 n=10) OneNumericTextFormatter 12.000 ± 0% 8.000 ± 0% -33.33% (p=0.000 n=10) OneBoolTextFormatter 12.000 ± 0% 8.000 ± 0% -33.33% (p=0.000 n=10) NumericTextFormatter 19.00 ± 0% 10.00 ± 0% -47.37% (p=0.000 n=10) BoolTextFormatter 18.000 ± 0% 9.000 ± 0% -50.00% (p=0.000 n=10) StringerTextFormatter 22.00 ± 0% 10.00 ± 0% -54.55% (p=0.000 n=10) ErrorTextFormatter 14.000 ± 0% 9.000 ± 0% -35.71% (p=0.000 n=10) SmallTextFormatter 12.000 ± 0% 9.000 ± 0% -25.00% (p=0.000 n=10) LargeTextFormatter 19.00 ± 0% 14.00 ± 0% -26.32% (p=0.000 n=10) SmallColoredTextFormatter 15.000 ± 0% 7.000 ± 0% -53.33% (p=0.000 n=10) LargeColoredTextFormatter 46.00 ± 0% 12.00 ± 0% -73.91% (p=0.000 n=10) SmallJSONFormatter 25.00 ± 0% 23.00 ± 0% -8.00% (p=0.000 n=10) LargeJSONFormatter 75.00 ± 0% 73.00 ± 0% -2.67% (p=0.000 n=10) DummyLogger 13.000 ± 0% 9.000 ± 0% -30.77% (p=0.000 n=10) DummyLoggerNoLock 13.000 ± 0% 9.000 ± 0% -30.77% (p=0.000 n=10) LoggerLog/disabled_level 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ LoggerLog/enabled_log 4.000 ± 0% 3.000 ± 0% -25.00% (p=0.000 n=10) LoggerLog/enabled_logln 6.000 ± 0% 3.000 ± 0% -50.00% (p=0.000 n=10) LoggerJSONFormatter 30.00 ± 0% 27.00 ± 0% -10.00% (p=0.000 n=10) LoggerTextFormatter 21.00 ± 0% 16.00 ± 0% -23.81% (p=0.000 n=10) geomean ² -25.77% ² ¹ all samples are equal ² summaries must be >0 to compute geomean │ v1.9.4.txt │ v1.10.0.txt │ │ B/s │ B/s vs base │ ZeroTextFormatter 106.3Mi ± 1% 131.7Mi ± 2% +23.90% (p=0.000 n=10) OneStringTextFormatter 88.34Mi ± 1% 102.42Mi ± 2% +15.95% (p=0.000 n=10) OneNumericTextFormatter 78.23Mi ± 1% 97.08Mi ± 1% +24.09% (p=0.000 n=10) OneBoolTextFormatter 82.59Mi ± 1% 100.57Mi ± 1% +21.77% (p=0.000 n=10) NumericTextFormatter 74.74Mi ± 3% 99.85Mi ± 2% +33.60% (p=0.000 n=10) BoolTextFormatter 65.15Mi ± 1% 87.32Mi ± 3% +34.04% (p=0.000 n=10) StringerTextFormatter 64.64Mi ± 1% 100.90Mi ± 1% +56.10% (p=0.000 n=10) ErrorTextFormatter 69.10Mi ± 5% 93.05Mi ± 1% +34.66% (p=0.000 n=10) SmallTextFormatter 86.85Mi ± 1% 95.08Mi ± 1% +9.48% (p=0.000 n=10) LargeTextFormatter 49.35Mi ± 5% 57.43Mi ± 2% +16.38% (p=0.000 n=10) SmallColoredTextFormatter 102.7Mi ± 3% 163.8Mi ± 1% +59.42% (p=0.000 n=10) LargeColoredTextFormatter 67.14Mi ± 5% 112.45Mi ± 3% +67.48% (p=0.000 n=10) SmallJSONFormatter 66.84Mi ± 1% 66.44Mi ± 6% ~ (p=0.684 n=10) LargeJSONFormatter 46.91Mi ± 3% 47.85Mi ± 1% +2.00% (p=0.000 n=10) geomean 73.01Mi 92.67Mi +26.93% ``` </details> **Full Changelog**: <https://github.com/sirupsen/logrus/compare/v1.9.4...v1.10.0> ### [`v1.9.4`](https://github.com/sirupsen/logrus/releases/tag/v1.9.4) [Compare Source](https://github.com/sirupsen/logrus/compare/v1.9.3...v1.9.4) #### Notable changes - go.mod: update minimum supported go version to v1.17 [#&#8203;1460](https://github.com/sirupsen/logrus/pull/1460) - go.mod: bump up dependencies [#&#8203;1460](https://github.com/sirupsen/logrus/pull/1460) - Touch-up godoc and add "doc" links. - README: fix links, grammar, and update examples. - Add GNU/Hurd support [#&#8203;1364](https://github.com/sirupsen/logrus/pull/1364) - Add WASI wasip1 support [#&#8203;1388](https://github.com/sirupsen/logrus/pull/1388) - Remove uses of deprecated `ioutil` package [#&#8203;1472](https://github.com/sirupsen/logrus/pull/1472) - CI: update actions and golangci-lint [#&#8203;1459](https://github.com/sirupsen/logrus/pull/1459) - CI: remove appveyor, add macOS [#&#8203;1460](https://github.com/sirupsen/logrus/pull/1460) **Full Changelog**: <https://github.com/sirupsen/logrus/compare/v1.9.3...v1.9.4> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC43OS42IiwidXBkYXRlZEluVmVyIjoiNDQuNzkuNiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Author
Collaborator

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.4 -> 1.26.0
github.com/google/go-querystring v1.1.0 -> v1.2.0
github.com/stretchr/testify v1.10.0 -> v1.12.1
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 -> v0.13.0
### ℹ️ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 3 additional dependencies were updated - The `go` directive was updated for compatibility reasons Details: | **Package** | **Change** | | :--------------------------------- | :------------------------------------------------ | | `go` | `1.24.4` -> `1.26.0` | | `github.com/google/go-querystring` | `v1.1.0` -> `v1.2.0` | | `github.com/stretchr/testify` | `v1.10.0` -> `v1.12.1` | | `golang.org/x/sys` | `v0.0.0-20220715151400-c0bba94af5f8` -> `v0.13.0` |
vtsk merged commit 5aa7ad854f into master 2026-09-22 21:52:44 +03:00
vtsk referenced this pull request from a commit 2026-09-22 21:52:45 +03:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
vtsk/github-release!1
No description provided.