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)