Skip to content

chore(deps): update module github.com/google/go-github/v81 to v83#3424

Open
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/cli-github.com-google-go-github-v81-83.x
Open

chore(deps): update module github.com/google/go-github/v81 to v83#3424
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/cli-github.com-google-go-github-v81-83.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/google/go-github/v81 v81.0.0v83.0.0 age confidence

Release Notes

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

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)

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate Bot added the dependencies Pull requests that update a dependency file label May 15, 2026
@renovate-bot renovate-bot requested review from a team and q2w as code owners May 15, 2026 19:40
@forking-renovate
Copy link
Copy Markdown

ℹ️ Artifact update notice

File name: cli/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):

  • 1 additional dependency was updated

Details:

Package Change
github.com/google/go-querystring v1.1.0 -> v1.2.0

@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 15, 2026

/gcbrun

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the google/go-github library from version 81 to 83 and go-querystring to version 1.2.0 across the codebase. The reviewer suggests refactoring the manual pagination logic in fetchRepos to utilize the new Go 1.23 iterators available in the updated library version for improved code simplicity.

Comment thread cli/bpcatalog/gh.go
"sort"

"github.com/google/go-github/v81/github"
"github.com/google/go-github/v83/github"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

With the upgrade to v83.0.0, you can now leverage the new native Go 1.23 iterators for all List* methods that support pagination. Consider refactoring the manual pagination loop in fetchRepos (lines 96-107) to use ListByOrgIter. This simplifies the code by removing the need for the inner for loop and manual NextPage handling. Example usage: for repo, err := range g.client.Repositories.ListByOrgIter(g.ctx, org, opts) { ... }. Note: As mentioned in the release notes, ensure you are using a rate-limiting transport if you expect to process a large number of items, as iterators can quickly exhaust quotas.

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from c72cd71 to b181c18 Compare May 15, 2026 23:28
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 15, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from b181c18 to c30ebb0 Compare May 16, 2026 01:23
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 16, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from c30ebb0 to c00cb99 Compare May 16, 2026 04:16
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 16, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from c00cb99 to be59814 Compare May 16, 2026 04:47
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 16, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from be59814 to 1c986e7 Compare May 16, 2026 04:56
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 16, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 1c986e7 to 55950cc Compare May 16, 2026 05:14
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 16, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 55950cc to 60449de Compare May 18, 2026 19:30
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 18, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 60449de to 1c5131d Compare May 18, 2026 22:44
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 18, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 1c5131d to 9c75fe3 Compare May 19, 2026 17:46
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 9c75fe3 to 79ffd26 Compare May 19, 2026 18:07
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 79ffd26 to 53dba00 Compare May 19, 2026 18:12
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 53dba00 to 5f3af9f Compare May 19, 2026 21:44
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 5f3af9f to 695f514 Compare May 19, 2026 21:55
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 695f514 to cd194b0 Compare May 19, 2026 22:07
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from cd194b0 to f6c6bae Compare May 19, 2026 22:46
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from f6c6bae to da35a6c Compare May 19, 2026 22:56
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from da35a6c to 32a3dc7 Compare May 19, 2026 23:15
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 19, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-google-go-github-v81-83.x branch from 32a3dc7 to b1078bc Compare May 20, 2026 22:22
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 20, 2026

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants