github google/go-github v76.0.0

one day ago

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)

Don't miss a new go-github release

NewReleases is sending notifications on new releases.