CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Releases: google/go-github
v76.0.0
c93693f
Compare
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 fromEdit*
toUpdate*
. - fix!: Change return type of GetDefaultCodeSecurityConfigurations (#3747)
BREAKING CHANGE:GetDefaultCodeSecurityConfigurations
now returnsCodeSecurityConfigurationWithDefaultForNewRepos
instead ofCodeSecurityConfiguration
. - 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)
Assets 2
v75.0.0
f42c5ec
Compare
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)
Assets 2
v74.0.0
98d3588
Compare
This release contains the following breaking API changes:
- fix!: Add ListSCIMProvisionedGroupsForEnterpriseOptions (#3601)
BREAKING CHANGE:ListSCIMProvisionedGroupsForEnterprise
now takesListSCIMProvisionedGroupsForEnterpriseOptions
instead of*ListSCIMProvisionedIdentitiesOptions
. - fix!: Change ListCheckSuiteOptions.AppID from int to int64 (#3633)
BREAKING CHANGE: ChangeListCheckSuiteOptions.AppID
fromint
toint64
...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)
Assets 2
v73.0.0
8759b17
Compare
This release contains the following breaking API changes:
- feat!: Add repository query option to ListCustomPropertyValues (#3598)
BREAKING CHANGE:ListCustomPropertyValues
now takesListCustomPropertyValuesOptions
instead ofListOptions
.
...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)
Assets 2
v72.0.0
718c304
Compare
This release contains the following breaking API changes:
- chore!: Remove support for Required Workflows (#3538)
- fix!: Differentiate merge method of pull request and merge queue (#3559)
BREAKING CHANGE:MergeMethod*
consts have been split into:PullRequestMergeMethod*
andMergeQueueMergeMethod*
. - feat!: Add support for pagination options in rules API methods (#3562)
BREAKING CHANGE:GetRulesForBranch
,GetAllRulesets
, andGetAllRepositoryRulesets
now acceptopts
.
...and the following additional changes:
- Bump go-github from v70 to v71 in /scrape (#3541)
- build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /scrape (#3536)
- build(deps): bump github.com/alecthomas/kong from 1.9.0 to 1.10.0 in /tools (#3542)
- build(deps): bump golang.org/x/sync from 0.12.0 to 0.13.0 in /tools (#3543)
- Add support for registry_package event (#3545)
- build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#3551)
- build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 in /scrape (#3549)
- build(deps): bump github.com/PuerkitoBio/goquery from 1.10.2 to 1.10.3 in /scrape (#3550)
- feat: Add EPSS to Dependabot alerts (#3547)
- Revert "build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2" (#3552)
- feat: Add new fields and options to secret scanning structs (#3548)
- build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /example in the go_modules group across 1 directory (#3553)
- Add case-instensitive GetHeader for HookRequest & HookResponse (#3556)
- Add issue Type to IssueRequest (#3567)
- build(deps): bump golang.org/x/sync from 0.13.0 to 0.14.0 in /tools (#3568)
- build(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132.0 in /tools (#3569)
- Add ListCursorOptions to list Issues methods (#3570)
- Bump version of go-github to v72.0.0 (#3571)
Assets 2
v71.0.0
c099baf
Compare
This release contains the following breaking API changes:
- feat!: Add ListReactionOptions to all ListxxReactions functions to enable filter by content (#3532)
BREAKING CHANGE:ListCommentReactionOptions
=>ListReactionOptions
and allList*Reactions
methods now use it.
...and the following additional changes:
- Bump go-github from v69 to v70 in /scrape (#3521)
- Path escape fix in UserService.GetPackage() (#3522)
- Update openapi (#3526)
- feat: Add support for Issue Types API (#3525)
- build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in /example (#3528)
- build(deps): bump the actions group with 2 updates (#3530)
- build(deps): bump github.com/getkin/kin-openapi from 0.130.0 to 0.131.0 in /tools (#3531)
- Add ListReleaseReactions and DeleteReleaseReaction (#3533)
- feat: Add actions_macos field to APIMeta struct (#3535)
- fix: Isolate HTTP transports in parallel tests to prevent connection issues (#3529)
- chore: Remove redundant in Go 1.22 loop variables (#3537)
- fix: Add back repository field in Package struct (#3539)
- Bump version of go-github to v71.0.0 (#3540)
Assets 2
v70.0.0
134f6b4
Compare
This release contains the following breaking API changes:
- feat!: Add support for network-configurations endpoints for organization (#3511)
BREAKING CHANGE:EnterpriseNetwork*
structs have been replaced withNetwork*
structs. - refactor!: Update package types to align with webhook event (#3515)
BREAKING CHANGE:PackageVersion.Body
andPackageVersion.Metadata
are both nowjson.RawMessage
.
...and the following additional changes:
- build(deps): bump github.com/alecthomas/kong from 1.8.0 to 1.8.1 in /tools (#3485)
- build(deps): bump github.com/google/go-github/v69 from 69.0.0 to 69.2.0 in /scrape (#3483)
- build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 in /tools (#3490)
- Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#3494)
- build(deps): bump actions/cache from 4.2.0 to 4.2.1 in the actions group (#3492)
- fix: Resolve '400 Custom domains' error on GitHub Enterprise Server (#3489)
- Correct the runIDFromURLRE regex to properly match the callbackURL (#3495)
- feat: Add support for GitHub-hosted runner API endpoints (#3487)
- feat: Add support for network-configurations endpoints (#3497)
- build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 (#3500)
- build(deps): bump actions/cache from 4.2.1 to 4.2.2 in the actions group (#3499)
- Add created_at field to Reaction (#3501)
- Add reason parameter to MergeGroupEvent (#3508)
- fix(ci): ensure 'auto' toolchain applies to generate (#3436)
- Bump dependency versions from dependabot warnings (#3512)
- Bump go-jose to v4.0.5 (#3513)
- build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 in /example (#3514)
- docs: Update readme and examples for updated go-github-ratelimit and introduce go-github-pagination (#3504)
- Add validity filter to secret scanning alert list options (#3516)
- build(deps): bump github.com/alecthomas/kong from 1.8.1 to 1.9.0 in /tools (#3518)
- build(deps): bump github.com/getkin/kin-openapi from 0.129.0 to 0.130.0 in /tools (#3517)
- feat: Add automatic_copilot_code_review_enabled parameter to ruleset API (#3506)
- Bump version of go-github to v70.0.0 (#3520)
Assets 2
v69.2.0
0b11dbf
Compare
Assets 2
v69.1.0
f867d00
Compare
This minor release contains the following changes:
- Bump go-github from v68 to v69 in /scrape (#3464)
- Use a max retry after duration for secondary rate limit if specified (#3438)
- docs: Clarify ListPullRequestsWithCommit usage (#3465)
- fix: go 1.22 test breakage (#3459)
- feat: Add link to bored-engineer/github-conditional-http-transport to conditional requests documentation (#3469)
- build(deps): bump golang.org/x/sync from 0.10.0 to 0.11.0 in /tools (#3472)
- build(deps): bump golang.org/x/net from 0.34.0 to 0.35.0 in /scrape (#3470)
- build(deps): bump github.com/alecthomas/kong from 1.7.0 to 1.8.0 in /tools (#3471)
- Update workflow and tools to use Go1.24 and 1.23 (#3474)
- chore: Only use master test runs for status badge (#3475)
- feat: Add ListProvisionedScimGroupsForEnterprise inside SCIM service (#3467)
- fix: Add missing query params to AlertListOptions (#3477)
- Bump version of go-github to v69.1.0 (#3478)
Assets 2
v69.0.0
59c38a3
Compare
This release contains the following breaking API changes:
- feat!: Add support for enterprise rulesets (#3417)
BREAKING CHANGE:Create*Ruleset
andUpdate*Ruleset
now passruleset
parameter by-value instead of by-reference. - fix!: Typo in field names in the CheckSuite struct (#3444)
BREAKING CHANGE:Rerequstable
=>Rerequestable
,RunsRerequstable
=>RunsRerequestable
- fix!: Typo in field names in the PullStats struct (#3445)
BREAKING CHANGE:MergablePulls
=>MergeablePulls
,UnmergablePulls
=>UnmergeablePulls
- refactor!: Do not capitalize error strings (#3446)
BREAKING CHANGE: Some error strings are slightly modified - please do not rely on error text in general. - fix!: Refactor the repository ruleset code (#3430)
BREAKING CHANGES: The following types have been renamed:Ruleset
->RepositoryRuleset
RulesetLink
->RepositoryRulesetLink
RulesetLinks
->RepositoryRulesetLinks
RulesetRefConditionParameters
->RepositoryRulesetRefConditionParameters
RulesetRepositoryNamesConditionParameters
->RepositoryRulesetRepositoryNamesConditionParameters
RulesetRepositoryIDsConditionParameters
->RepositoryRulesetRepositoryIDsConditionParameters
RulesetRepositoryPropertyTargetParameters
->Repository
RulesetRepositoryPropertyConditionParameters
->RepositoryRulesetRepositoryPropertyConditionParameters
RulesetOrganizationNamesConditionParameters
->RepositoryRulesetOrganizationNamesConditionParameters
RulesetOrganizationIDsConditionParameters
->RepositoryRulesetOrganizationIDsConditionParameters
RulesetConditions
->RepositoryRulesetConditions
RepositoryRulesetEditedChanges
->RepositoryRulesetChanges
RepositoryRulesetEditedSource
->RepositoryRulesetChangeSource
RepositoryRulesetEditedSources
->RepositoryRulesetChangeSources
RepositoryRulesetEditedConditions
->RepositoryRulesetUpdatedConditions
RepositoryRulesetUpdatedConditionsEdited
->RepositoryRulesetUpdatedCondition
RepositoryRulesetEditedRules
->RepositoryRulesetChangedRules
RepositoryRulesetUpdatedRules
->RepositoryRulesetUpdatedRules
RepositoryRulesetEditedRuleChanges
->RepositoryRulesetChangedRule
- chore!: Add sliceofpointers custom linter (#3447)
BREAKING CHANGE:ListOAuthApps
now returns([]*OAuthApp, error)
instead of([]OAuthApp, error)
. - feat!: Change User.InheritedFrom to a slice (#3460)
BREAKING CHANGE:User.InheritedFrom
is changed from a*Team
to a[]*Team
.
...and the following additional changes:
- Bump go-github from v67 to v68 in /scrape (#3398)
- build(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 in /scrape (#3400)
- build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 (#3401)
- Bump golang.org/x/net to v0.33.0 (#3402)
- Add TokenID and TokenName to PersonalAccessToken struct (#3404)
- Bump github.com/PuerkitoBio/goquery from 1.9.2 to 1.10.1 in /scrape (#3408)
- Bump Go to 1.22.10 or 1.23.4 in go.mod files (#3410)
- Add opt-in rate limit support on endpoints returning 302s (#3411)
- Update OpenAPI (#3419)
- build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 in /scrape (#3420)
- Permit toggling rate limit check by consumers (#3386)
- build(deps): Pin and group actions/* (#3424)
- Add deprecation messages to security managers APIs (#3426)
- fix: Relax go directive in go.mod to 1.22.0 (#3423)
- Enforce toolchain requirement in generate.sh (#3428)
- feat: Add missing notification_setting to Team (#3431)
- chore: Add reviewers file (#3435)
- gen-accessors: Update dumping of getters (#3437)
- chore: Fix codecov upload (#3440)
- chore: Spell "unmarshal" consistently with one el (#3441)
- fix: Typos in func parameter, vars, error, and comments (#3442)
- feat: Add manage_ghes endpoints introduced in 3.15 (#3433)
- Fix minor typo (#3448)
- chore: Check and fix license headers (#3449)
- Add new fields for IssueType (#3451)
- ci: update golangci-lint to v1.63.4 (#3452)
- Extend Rate and Rate Limiting with X-Ratelimit-Used and
X-Ratelimit-Resource
headers (#3453) - build(deps): bump actions/setup-go from 5.2.0 to 5.3.0 in the actions group (#3454)
- build(deps): bump codecov/codecov-action from 5.1.2 to 5.3.1 (#3455)
- docs: Add clarifications for mergeable field in pull requests (#3396)
- build(deps): bump github.com/alecthomas/kong from 1.6.0 to 1.7.0 in /tools (#3458)
- Bump version of go-github to v69.0.0 (#3463)