fix(deps): update module github.com/google/go-github/v54 to v83 - autoclosed#315
Conversation
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
PR SummaryMedium Risk Overview Written by Cursor Bugbot for commit dd1a116. This will update automatically on new commits. Configure here. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
| github.com/dgrijalva/jwt-go v3.2.0+incompatible | ||
| github.com/go-git/go-git/v5 v5.16.5 | ||
| github.com/google/go-github/v54 v54.0.0 | ||
| github.com/google/go-github/v83 v83.0.0 |
There was a problem hiding this comment.
New v83 dependency is unused; source still imports v54
High Severity
github.com/google/go-github/v83 is added to go.mod but no source code imports it — the only consumer (internal/gitdb/repoprovider/github/github.go) still imports "github.com/google/go-github/v54/github". The old v54 dependency is also not removed. A go mod tidy would strip the unused v83 entry entirely, reverting the change. The import paths in source code need to be updated from v54 to v83, and the API breaking changes (e.g., Repository.Permissions type change, User.Permissions type change) need to be addressed.
Additional Locations (1)
|
Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.
Or push these changes by commenting: Preview (0db62145c8)diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -9,7 +9,6 @@
github.com/cresta/magehelper v0.2.0
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/go-git/go-git/v5 v5.16.5
- github.com/google/go-github/v54 v54.0.0
github.com/google/go-github/v83 v83.0.0
github.com/gorilla/mux v1.8.1
github.com/hashicorp/golang-lru v1.0.2
@@ -99,7 +98,6 @@
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/mod v0.29.0 // indirect
golang.org/x/net v0.47.0 // indirect
- golang.org/x/oauth2 v0.30.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/text v0.31.0 // indirect
golang.org/x/time v0.6.0 // indirect
diff --git a/go.sum b/go.sum
--- a/go.sum
+++ b/go.sum
@@ -115,17 +115,13 @@
github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
-github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
-github.com/google/go-github/v54 v54.0.0 h1:OZdXwow4EAD5jEo5qg+dGFH2DpkyZvVsAehjvJuUL/c=
-github.com/google/go-github/v54 v54.0.0/go.mod h1:Sw1LXWHhXRZtzJ9LI5fyJg9wbQzYvFhW8W5P2yaAQ7s=
+github.com/google/go-github/v83 v83.0.0 h1:Ydy4gAfqxrnFUwXAuKl/OMhhGa0KtMtnJ3EozIIuHT0=
github.com/google/go-github/v83 v83.0.0/go.mod h1:gbqarhK37mpSu8Xy7sz21ITtznvzouyHSAajSaYCHe8=
-github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
-github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/go-querystring v1.2.0 h1:yhqkPbu2/OH+V9BfpCVPZkNmUXhb2gBxJArfhIxNtP0=
github.com/google/go-querystring v1.2.0/go.mod h1:8IFJqpSRITyJ8QhQ13bmbeMBDfmeEJZD5A0egEOmkqU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -342,8 +338,6 @@
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
-golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI=
-golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
diff --git a/internal/gitdb/repoprovider/github/github.go b/internal/gitdb/repoprovider/github/github.go
--- a/internal/gitdb/repoprovider/github/github.go
+++ b/internal/gitdb/repoprovider/github/github.go
@@ -15,7 +15,7 @@
"github.com/cresta/gitdb/internal/log"
- "github.com/google/go-github/v54/github"
+ "github.com/google/go-github/v83/github"
"github.com/gorilla/mux"
"go.uber.org/zap"
) |
e3360af to
dd1a116
Compare
dd1a116 to
8431bdd
Compare



This PR contains the following updates:
v54.0.0→v83.0.0Release Notes
google/go-github (github.com/google/go-github/v54)
v83.0.0Compare 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:
List*methods that support pagination (change your call fromList*toList*Iterand 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:
PackageGetAllVersionsinto two separate methodsListPackageVersionsandListUserPackageVersions(#4014)BREAKING CHANGE:
PackageGetAllVersionsis now divided intoListPackageVersionsandListUserPackageVersions.ListAutolinks(#4012)BREAKING CHANGE:
opts *ListOptionsis removed fromRepositoriesService.ListAutoLinks.ListOptionsfromPullRequestsService.ListReviewers(#4009)BREAKING CHANGE:
PullRequestsService.ListReviewersno longer hasopts *ListOptions.PremiumRequestUsageItemquantities tofloat64(#4002)BREAKING CHANGE:
PremiumRequestUsageItemnumeric fields are nowfloat64.ListOptionstoListDeploymentBranchPoliciesandListCustomDeploymentRuleIntegrations(#3988)BREAKING CHANGE:
RepositoriesService.ListDeploymentBranchPoliciesandRepositoriesService.ListCustomDeploymentRuleIntegrationsnow acceptListOptions.urlstruct tags by value instead of by reference (#3991)BREAKING CHANGE: Many
*Optionsstructs now passomitemptyURL struct fields by value instead of by reference.IssuesServicelist methods (#3984)BREAKING CHANGE:
ListCursorOptionsis removed fromIssueListOptions.PerPagetoOrganizationsListOptions(#3986)BREAKING CHANGE:
OrganizationsListOptionsnow contains onlyPerPageinstead ofListOptions.ListLicensesOptionstoLicensesService.List(#3981)BREAKING CHANGE:
LicensesService.Listnow acceptsListLicensesOptionsfor pagination.SCIMEnterpriseAttributeOperation.Valuefrom*stringtoany(#3971)BREAKING CHANGE:
SCIMEnterpriseAttributeOperation.Valueis changed from*stringtoany.ListOptionstoRepositoriesService.ListAllTopics(#3978)BREAKING CHANGE:
RepositoriesService.ListAllTopicsnow acceptsListOptionsfor pagination.UserListOptions.ListOptionswithUserListOptions.PerPage(#3977)BREAKING CHANGE: Replaces
UserListOptions.ListOptionswithUserListOptions.PerPagewhich also removesUsersService.ListAllIter.CreateHostedRunnerRequest,UpdateHostedRunnerRequestinstead ofHostedRunnerRequest(#3973)BREAKING CHANGE:
ActionsService.CreateHostedRunnerandEnterpriseService.CreateHostedRunnernow acceptCreateHostedRunnerRequest;ActionsService.UpdateHostedRunnerandEnterpriseService.UpdateHostedRunnernow acceptUpdateHostedRunnerRequest.RepositoryPermissionsstruct forUser.Permissions(#3963)BREAKING CHANGE:
User.Permissionsis now*RepositoryPermissionsinstead ofmap[string]bool....and the following additional changes:
After(#4007)addOptionsimplementation (#3998)check-structfield-settingsis OK (#4001)fmt.Printin tests (#3999)After(#3994)gpgsignin script/generate.sh (#3982)[]stringreturn type ingen-iterators.go(#3980)modernize.omitzeroissues (#3972)otelreview feedback (#3969)gen-iteratorsreview feedback (#3962)unparamlinter and cover unused*Responseresults (#3955)gen-release-notesto usegitinstead of scraping web (#3958)example.cominstead of random URLs in tests (#3948)organization_copilot_metricsinstallation permission (#3957)gopkg.in/yaml.v3togo.yaml.in/yaml/v3in /tools (#3907)golangci-lint fmt(#3949)lint.shto Windows Git Bash (#3950)v82.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
CustomProperty.DefaultValueis now typeanyand.ValueTypeis now typePropertyValueType.Git.ListMatchingRefsby removingReferenceListOptions(#3924)BREAKING CHANGE:
Git.ListMatchingRefsacceptsrefinstead of theReferenceListOptions.Repository.Permissionsinstead ofmap[string]bool(#3936)BREAKING CHANGE:
Repository.Permissionsis now a struct instead ofmap[string]bool....and the following additional changes:
ConfigurationFilePathfield toGenerateNotesOptions(#3904)AllowedMergeMethodsfield (#3905)nilhttp.Clientusage has no timeout (#3910)dependency_sbomrate limit support (#3908)DeleteSocialAccountsandAddSocialAccountsofUsersService(#3922)govetlinter with all checks (#3935)Stringifyallocations (~3x faster) (#3914)v81.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
UsageItem.Quantityis now typefloat64.PullRequestRuleParameters.AutomaticCopilotCodeReviewEnabledfield (#3866)BREAKING CHANGE:
PullRequestRuleParameters.AutomaticCopilotCodeReviewEnabledis now removed.BREAKING CHANGE:
SCIMEnterpriseDisplayReference.Refis now of type*string.BREAKING CHANGE:
CopilotCodeReviewRuleParameters.ReviewNewPushesis nowReviewOnPush.BREAKING CHANGE:
AddProjectItemOptionsfields have changed types.BREAKING CHANGE:
UpdateRepositoryRulesetClearBypassActor,UpdateRepositoryRulesetClearBypassActor,UpdateRulesetClearBypassActor, andUpdateRulesetNoBypassActorhave been removed as they are no longer needed....and the following additional changes:
PushEvent(#3880)v80.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
ListProvisionedSCIMGroupsEnterpriseOptionsoptional fields are now pointers....and the following additional changes:
structfieldlinter to check struct field names and tags (#3843)v79.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
UpdateProjectItemOptions.Fieldis now[]*ProjectV2FieldUpdate.BREAKING CHANGES: Several
OrganizationsServicemethods have been renamed for better consistency.BREAKING CHANGE:
SCIMService.ListSCIMProvisionedGroupsForEnterpriseis nowEnterpriseService.ListProvisionedSCIMEnterpriseGroups....and the following additional changes:
required_reviewerssupport toPullRequestRuleParameters(#3806)jsonfieldnamelinter to support$injsontag names (#3826)v78.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGES: Various
EnterpriseServicestructs have been renamed for consistency....and the following additional changes:
sha_pinning_requiredtoActionsPermissionsstructs (#3807)v77.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
RepositoriesService.CreateStatusnow takes value forstatus, not pointer.BREAKING CHANGES:
ProjectV2Field.Optionschanged from[]anyto[]*ProjectV2FieldOption.ProjectV2Field.URLis nowProjectV2Field.ProjectURLProjectV2structs are now passed as pointersProjectsServicefunctions with #3761...and the following additional changes:
Authorizationwhentokenis available (#3789)v76.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE: ActionsBilling endpoints are removed.
GetRepositoriesForCodeSecurityConfiguration(#3707)BREAKING CHANGE: GetRepositoriesForCodeSecurityConfiguration now returns RepositoryAttachment instead of Repository.
BREAKING CHANGE: Permissions-related methods are renamed from
Edit*toUpdate*.BREAKING CHANGE:
GetDefaultCodeSecurityConfigurationsnow returnsCodeSecurityConfigurationWithDefaultForNewReposinstead ofCodeSecurityConfiguration.BREAKING CHANGE: Billing-related methods are renamed to pattern, and required fields are changed to value types.
...and the following additional changes:
v75.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
GitServicemethods now pass required params by-value instead of by-ref....and the following additional changes:
v74.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
ListSCIMProvisionedGroupsForEnterprisenow takesListSCIMProvisionedGroupsForEnterpriseOptionsinstead of*ListSCIMProvisionedIdentitiesOptions.BREAKING CHANGE: Change
ListCheckSuiteOptions.AppIDfrominttoint64...and the following additional changes:
v73.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
ListCustomPropertyValuesnow takesListCustomPropertyValuesOptionsinstead ofListOptions....and the following additional changes:
v72.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
MergeMethod*consts have been split into:PullRequestMergeMethod*andMergeQueueMergeMethod*.BREAKING CHANGE:
GetRulesForBranch,GetAllRulesets, andGetAllRepositoryRulesetsnow acceptopts....and the following additional changes:
v71.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
ListCommentReactionOptions=>ListReactionOptionsand allList*Reactionsmethods now use it....and the following additional changes:
v70.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
EnterpriseNetwork*structs have been replaced withNetwork*structs.BREAKING CHANGE:
PackageVersion.BodyandPackageVersion.Metadataare both nowjson.RawMessage....and the following additional changes:
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.
This PR has been generated by Renovate Bot.