Skip to content
Success

Changes

Summary

  1. fix(deps): update module github.com/google/go-github/v82 to v83 (#4167) (commit: ed1eb98) (details)
Commit ed1eb9815c46d02cfe525e21b8864aa6583fa3a5 by noreply
fix(deps): update module github.com/google/go-github/v82 to v83 (#4167)

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/google/go-github/v82](https://redirect.github.com/google/go-github)
| `v82.0.0` → `v83.0.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv82/v83.0.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-github%2fv82/v82.0.0/v83.0.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/1780) for more information.

---

### Release Notes

<details>
<summary>google/go-github (github.com/google/go-github/v82)</summary>

###
[`v83.0.0`](https://redirect.github.com/google/go-github/releases/tag/v83.0.0)

[Compare
Source](https://redirect.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://redirect.github.com/merchantmoh-debug),
[@&#8203;Not-Dhananjay-Mishra](https://redirect.github.com/Not-Dhananjay-Mishra),
and [@&#8203;alexandear](https://redirect.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://redirect.github.com/stevehipwell) for
setting up our REVIEWERS file and to our amazing volunteer reviewers:

- [@&#8203;stevehipwell](https://redirect.github.com/stevehipwell)
- [@&#8203;alexandear](https://redirect.github.com/alexandear)
- [@&#8203;zyfy29](https://redirect.github.com/zyfy29)
-
[@&#8203;Not-Dhananjay-Mishra](https://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.github.com/google/go-github/issues/3984))
BREAKING CHANGE: `ListCursorOptions` is removed from `IssueListOptions`.
- fix!: Add field `PerPage` to `OrganizationsListOptions`
([#&#8203;3986](https://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.github.com/google/go-github/issues/4015))
- feat: Support pagination for methods that return structs
([#&#8203;4011](https://redirect.github.com/google/go-github/issues/4011))
- chore: Bump golangci-lint to v2.9.0
([#&#8203;4013](https://redirect.github.com/google/go-github/issues/4013))
- docs: Update usage instructions
([#&#8203;4008](https://redirect.github.com/google/go-github/issues/4008))
- feat: Add iterators for methods with `After`
([#&#8203;4007](https://redirect.github.com/google/go-github/issues/4007))
- chore: Improve `addOptions` implementation
([#&#8203;3998](https://redirect.github.com/google/go-github/issues/3998))
- chore: Do not print any output when `check-structfield-settings` is OK
([#&#8203;4001](https://redirect.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://redirect.github.com/google/go-github/issues/4003))
- chore: Remove unnecessary `fmt.Print` in tests
([#&#8203;3999](https://redirect.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://redirect.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://redirect.github.com/google/go-github/issues/4006))
- fix: Change cursor pagination to use `After`
([#&#8203;3994](https://redirect.github.com/google/go-github/issues/3994))
- fix: Add support for GitHub Enterprise cloud upload URLs
([#&#8203;3993](https://redirect.github.com/google/go-github/issues/3993))
- chore: Turn off commit with `gpgsign` in script/generate.sh
([#&#8203;3982](https://redirect.github.com/google/go-github/issues/3982))
- feat: Support `[]string` return type in `gen-iterators.go`
([#&#8203;3980](https://redirect.github.com/google/go-github/issues/3980))
- fix: Address `modernize.omitzero` issues
([#&#8203;3972](https://redirect.github.com/google/go-github/issues/3972))
- feat: Add organization artifact metadata APIs
([#&#8203;3944](https://redirect.github.com/google/go-github/issues/3944))
- chore: Address `otel` review feedback
([#&#8203;3969](https://redirect.github.com/google/go-github/issues/3969))
- feat(otel): Add native OpenTelemetry Transport module
([#&#8203;3938](https://redirect.github.com/google/go-github/issues/3938))
- feat: Add native Go 1.23 iterator support for cursor-based pagination
([#&#8203;3965](https://redirect.github.com/google/go-github/issues/3965))
- chore: Address `gen-iterators` review feedback
([#&#8203;3962](https://redirect.github.com/google/go-github/issues/3962))
- feat: Add native Go 1.23 Iterator support
([#&#8203;3916](https://redirect.github.com/google/go-github/issues/3916))
- docs: Fix typo in README.md
([#&#8203;3961](https://redirect.github.com/google/go-github/issues/3961))
- chore: Move all "DO NOT EDIT" messages to line 1
([#&#8203;3960](https://redirect.github.com/google/go-github/issues/3960))
- chore: Enable `unparam` linter and cover unused `*Response` results
([#&#8203;3955](https://redirect.github.com/google/go-github/issues/3955))
- fix(tools): Change `gen-release-notes` to use `git` instead of
scraping web
([#&#8203;3958](https://redirect.github.com/google/go-github/issues/3958))
- chore: Use `example.com` instead of random URLs in tests
([#&#8203;3948](https://redirect.github.com/google/go-github/issues/3948))
- feat: Add `organization_copilot_metrics` installation permission
([#&#8203;3957](https://redirect.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://redirect.github.com/google/go-github/issues/3907))
- docs: Address PR titles in CONTRIBUTING.md
([#&#8203;3952](https://redirect.github.com/google/go-github/issues/3952))
- chore: Format code with `golangci-lint fmt`
([#&#8203;3949](https://redirect.github.com/google/go-github/issues/3949))
- fix: Handle HTTP 429 status code for rate limiting
([#&#8203;3951](https://redirect.github.com/google/go-github/issues/3951))
- chore: Adapt `lint.sh` to Windows Git Bash
([#&#8203;3950](https://redirect.github.com/google/go-github/issues/3950))
- Bump go-github from v81 to v82 in /scrape
([#&#8203;3946](https://redirect.github.com/google/go-github/issues/3946))

</details>

---

### Configuration

📅 **Schedule**: 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.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/PingCAP-QE/ci).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNS4zIiwidXBkYXRlZEluVmVyIjoiNDMuMzIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(commit: ed1eb98)
The file was modifiedtools/error-log-review/go.mod (diff)
The file was modifiedtools/error-log-review/go.sum (diff)
The file was modifiedtools/error-log-review/github.go (diff)