Repository navigation
fix(deps): update module github.com/google/go-github/v88 to v93 - #5321
renovate[bot] wants to merge 1 commit into
Conversation
Closing this update rather than adapting it. Release review: the go-github v88 to v93 range is not adoptable here today. The alert publisher hands go-github types to ghinstallation/v2, and its newest release (v2.19.0) still requires go-github v88. Moving the imports to v93 fails to compile against it (installation-token options, permissions and repositories are v88 types), and this go.mod-only change also leaves the imports on v88, which is why the build and the vulnerability scan failed. Running two majors side by side would add machinery with no product gain: the publisher only creates issues and comments. #5325 tidies away the unused v93 requirement that #5314 left on main and holds go-github majors for Dependency Dashboard approval until ghinstallation adopts a newer major. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
v88.0.0→v93.0.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
google/go-github (github.com/google/go-github/v88)
v93.0.0Compare Source
This release contains the following breaking API changes:
reasoninUsersService.Unsuspend(#4614)BREAKING CHANGE:
UsersService.Unsuspendnow takes anUnsuspendUserRequestbody argument.BREAKING CHANGE:
RepositoriesService.Createnow requires aCreateRepositoryRequestvalue instead of a*Repository.LockIssueOptions,PullRequestBranchUpdateOptions, andUserSuspendOptionsto...Requestand pass them by value (#4612)BREAKING CHANGE:
LockIssueOptions,PullRequestBranchUpdateOptions, andUserSuspendOptionsare renamed toLockIssueRequest,UpdatePullRequestBranchRequest, andSuspendUserRequestand are passed by value toIssuesService.Lock,PullRequestsService.UpdateBranch, andUsersService.Suspend;LockIssueRequest.LockReasonis now*string....Request(#4609)BREAKING CHANGE:
AddProjectItemOptionsandUpdateProjectItemOptionsare renamed toAddProjectItemRequestandUpdateProjectItemRequestand passed by value;AddProjectItemRequest.Typeis no longer a pointer;UpdateProjectItemOptions.Archivedis removed.RepositoryCreateForkOptionsandRepositoryAddCollaboratorOptionsto...Requestand pass them by value (#4607)BREAKING CHANGE:
RepositoryCreateForkOptionsandRepositoryAddCollaboratorOptionsare renamed toCreateForkRequestandAddCollaboratorRequest;RepositoriesService.CreateForkandRepositoriesService.AddCollaboratornow take them by value instead of by pointer;CreateForkRequest.Organization,CreateForkRequest.Name,CreateForkRequest.DefaultBranchOnlyandAddCollaboratorRequest.Permissionare now pointers....Request(#4606)BREAKING CHANGE:
TeamAddTeamMembershipOptions,TeamAddTeamRepoOptionsandTeamProjectOptionsare renamed toAddTeamMembershipRequest,AddTeamRepoRequestandAddTeamProjectRequest;TeamsService.AddTeamMembershipByID,AddTeamMembershipBySlug,AddTeamRepoByID,AddTeamRepoBySlug,AddTeamProjectByIDandAddTeamProjectBySlugnow take them by value instead of by pointer;AddTeamMembershipRequest.RoleandAddTeamRepoRequest.Permissionare now*string....Request(#4548)BREAKING CHANGE:
SecretScanningAlertUpdateOptionsandSecretScanningPatternConfigsUpdateOptionsare renamed toUpdateSecretScanningAlertRequestandUpdateSecretScanningPatternConfigsRequest;SecretScanningService.UpdateAlert,UpdatePatternConfigsForEnterpriseandUpdatePatternConfigsForOrgnow take them by value;UpdateSecretScanningAlertRequest.Stateis now*string.BREAKING CHANGE: Many required request body fields are now passed by value.
BREAKING CHANGE: Credentials are sent only to a client's configured API and upload origins — every other destination, including a redirect hop, goes out unauthenticated. A request body aimed outside those origins is refused.
BasicAuthTransportandUnauthenticatedRateLimitedTransportgainedAllowedOrigins, which GitHub Enterprise users must set.BREAKING CHANGE:
OrganizationsService.CreateOrgInvitationnow takesCreateOrgInvitationRequest(by value);CreateOrgInvitationRequest.TeamIDis nowTeamIDs....and the following additional changes:
dismissal_restrictiontoPullRequestRuleParameters(#4599)ListPublicEmails(#4595)v92.0.0Compare Source
This release contains the following breaking API changes:
...Request(#4540)BREAKING CHANGE:
CreateCodespaceOptions,CodespaceCreateForUserOptions,UpdateCodespaceOptionsandPublishCodespaceOptionsare renamed toCreateCodespaceRequest,CreateCodespaceForUserRequest,UpdateCodespaceRequestandPublishCodespaceRequest;CodespacesService.CreateInRepo,CreateFromPullRequest,Create,UpdateandPublishnow take them by value instead of by pointer;CreateCodespaceForUserRequest.RepositoryIDis now*int64.DependencyGraphSnapshottoCreateDependencyGraphSnapshotRequestand pass by value (#4519)BREAKING CHANGE:
DependencyGraphSnapshotis nowCreateDependencyGraphSnapshotRequestwith field pointer/value changes.BREAKING CHANGE:
EnterpriseService.ListBudgetsnow takesEnterpriseListBudgetsOptions.RepositoryCommentrequest bodies and pass by value (#4496)BREAKING CHANGE:
RepositoriesService.CreateCommentnow takesCreateCommitCommentRequestandRepositoriesService.UpdateCommenttakesUpdateCommitCommentRequest, both passed by value instead of*RepositoryComment....and the following additional changes:
v91.0.0Compare Source
This release contains the following breaking API changes:
EditCommenttoUpdateCommentonPullRequestsService, split review comment request bodies, and pass by value (#4493)BREAKING CHANGE:
PullRequestsService.CreateCommentnow takesCreatePullRequestCommentRequestby value;PullRequestsService.EditCommentis nowUpdateCommentand takesUpdatePullRequestCommentRequestby value.Keyrequest bodies intoCreateDeployKeyRequest,CreateUserKeyRequestandCreateSSHSigningKeyRequestand pass by value (#4477)BREAKING CHANGE:
RepositoriesService.CreateKey,UsersService.CreateKeyandUsersService.CreateSSHSigningKeynow takeCreateDeployKeyRequest,CreateUserKeyRequestandCreateSSHSigningKeyRequestby value.PendingDeploymentsRequestandReviewCustomDeploymentProtectionRuleRequestby value (#4475)BREAKING CHANGE:
ActionsService.PendingDeploymentsandActionsService.ReviewCustomDeploymentProtectionRulenow takePendingDeploymentsRequestandReviewCustomDeploymentProtectionRuleRequestby value.EditCommenttoUpdateCommentonIssuesService, pass a newIssueCommentRequestby value, and add missingIssueCommentfields (#4444)BREAKING CHANGE:
IssuesService.CreateCommentnow takesIssueCommentRequestby value;IssuesService.EditCommentis nowUpdateCommentand takesIssueCommentRequestby value.ImpersonateUserOptionstoCreateUserImpersonationRequestand pass by value (#4462)BREAKING CHANGE:
AdminService.CreateUserImpersonationnow takesCreateUserImpersonationRequestby value instead of*ImpersonateUserOptions.BREAKING CHANGE:
CreateTeamandUpdateTeamBy*now take new body params by value.EditMilestonetoUpdateMilestone, splitMilestonerequest bodies intoCreateMilestoneRequestandUpdateMilestoneRequest, and pass by value (#4438)BREAKING CHANGE:
IssuesService.CreateMilestonenow takes a newCreateMilestoneRequestby value;IssuesService.EditMilestoneis nowUpdateMilestoneand takes a newUpdateMilestoneRequestby value.UpdatePreReceiveHookrequest body by value via newUpdatePreReceiveHookRequest(#4434)BREAKING CHANGE:
RepositoriesService.UpdatePreReceiveHooknow takes a newUpdatePreReceiveHookRequestby value instead of*PreReceiveHook.UsersService.EdittoUpdate, introduceUserUpdateRequest, and pass request by value (#4433)BREAKING CHANGE:
UsersService.Editis nowUpdateand uses a newUserUpdateRequestbody value.UpdateUserLDAPMappingRequestandUpdateTeamLDAPMappingRequest(#4432)BREAKING CHANGE:
AdminService.UpdateUserLDAPMappingandUpdateTeamLDAPMappingnow takeUpdateUserLDAPMappingRequestandUpdateTeamLDAPMappingRequest(with non-pointerLDAPDN) by value....and the following additional changes:
MergeAsyncandGetMergeAsyncResultsupport (#4491)Client.Doresponse decoding with a buffer pool (#4494)paramcheckallowlist entries (#4476)publictoggle on repository visibility rules (#4455)Fprintfinfmtpercentvlinter check (#4443)Userentry from the paramcheck allowlist (#4437)openapi_operations.yaml(#4430)v90.0.0Compare Source
This release contains the following breaking API changes:
UpdateConnectedExternalGrouprequest body by value via newUpdateConnectedExternalGroupRequest(#4425)BREAKING CHANGE:
TeamsService.UpdateConnectedExternalGroupnow takesUpdateConnectedExternalGroupRequest(with non-pointerGroupID) by value.PullRequestReviewDismissalRequesttoPullRequestDismissReviewRequest, addPullRequestSubmitReviewRequest, and pass review request bodies by value (#4406)BREAKING CHANGE:
PullRequestReviewDismissalRequestis nowPullRequestDismissReviewRequestwith non-pointerMessageandPullRequestsService.DismissReviewtakes it by value;PullRequestsService.SubmitReviewnow takes a newPullRequestSubmitReviewRequest.CreateOrUpdateCustomRepoRoleOptionsintoCreateCustomRepoRoleRequestandUpdateCustomRepoRoleRequestand pass by value (#4401)BREAKING CHANGE:
CreateOrUpdateCustomRepoRoleOptionsis split intoCreateCustomRepoRoleRequest(with non-pointerNameandBaseRole) andUpdateCustomRepoRoleRequest;OrganizationsService.CreateCustomRepoRoleandUpdateCustomRepoRolenow take these request types by value.EditLabeltoUpdateLabel, SplitLabelintoCreateLabelRequest&UpdateLabelRequestand pass by value (#4400)BREAKING CHANGE:
IssuesService.CreateLabelnow takesCreateLabelRequestby value (with required non-pointerName);IssuesService.EditLabelrenamed toUpdateLabel, taking anUpdateLabelRequestby value.AutolinkOptionstoCreateAutolinkRequest,AddAutolinktoCreateAutolink, and pass the body by value (#4399)BREAKING CHANGE:
AutolinkOptionsis nowCreateAutolinkRequestwith non-pointerKeyPrefixandURLTemplate;RepositoriesService.AddAutolinkis nowCreateAutolinkand passesbodyby value.IssueRequestintoCreateIssueRequest&UpdateIssueRequestand pass by value (#4396)BREAKING CHANGE:
IssueService.Editis renamed toIssueService.Update.NewPullRequesttoCreatePullRequestand pass it by value (#4395)BREAKING CHANGE:
NewPullRequestis renamed toCreatePullRequest,PullRequests.Createnow takes it by value, andCreatePullRequest.HeadandCreatePullRequest.Baseare nowstring.SarifAnalysisby value (#4394)BREAKING CHANGE:
CodeScanningService.UploadSarifnow takesbodyby value and its required fields are no longer pointers.CreateDeploymentBranchPolicyRequestandUpdateDeploymentBranchPolicyRequestby value (#4382)BREAKING CHANGE:
RepositoriesService.CreateDeploymentBranchPolicyandUpdateDeploymentBranchPolicynow takebodyby value and the requiredNamefield is of typestring.TemplateRepoRequestby value inRepositories.CreateFromTemplate(#4378)BREAKING CHANGE:
RepositoriesService.CreateFromTemplatenow passesbodyby value andNameis now required and passed by value.RepositoryMergeRequestandRepoMergeUpstreamRequestby value (#4372)BREAKING CHANGE:
RepositoriesService.MergeandRepositoriesService.MergeUpstreamnow passbodyby value and required struct fields are now values.BREAKING CHANGE:
DependabotServicemethods involving secrets have new params and return values....and the following additional changes:
MetaService.ListAPIVersions(#4422)DeleteCodeQLDatabasefor code scanning (#4421)Stackfield toPullRequestfor stacked pull requests (#4423)search_typesupport to issue search (#4414)v89.0.0Compare Source
This release contains the following breaking API changes:
DeploymentRequestandDeploymentStatusRequestby value (#4361)BREAKING CHANGE:
CreateDeploymentandCreateDeploymentStatusnow takeDeploymentRequestandDeploymentStatusRequestby value;DeploymentRequest.RefandDeploymentStatusRequest.Stateare nowstring, andDeploymentRequest.RequiredContextsis now[]string.HookConfigby value and renameEditHookConfigurationtoUpdateHookConfiguration(#4360)BREAKING CHANGE:
EditHookConfigurationis renamed toUpdateHookConfigurationonRepositoriesServiceandOrganizationsService; these methods andAppsService.UpdateHookConfignow takeHookConfigby value.OIDCSubjectClaimCustomTemplateby value in the OIDC subject-claim Set methods (#4340)BREAKING CHANGE:
SetOrgOIDCSubjectClaimCustomTemplateandSetRepoOIDCSubjectClaimCustomTemplatenow take theirbodyparams by value.BREAKING CHANGE:
ActionsServicemethods involving variables have new params and return values.BREAKING CHANGE:
ActionsServicemethods involving secrets have new params and return values.CreateJITConfigRequestby value and renameGenerate*JITConfigtoCreate*JITConfig(#4337)BREAKING CHANGE: the JIT config methods are renamed from
Generate*JITConfigtoCreate*JITConfig, and they now takeCreateJITConfigRequest(renamed fromGenerateJITConfigRequest) by value instead of by pointer.EditReleaseAssettoUpdateReleaseAsset(#4336)BREAKING CHANGE:
GenerateReleaseNotesnow takesGenerateNotesRequestby value (renamed fromGenerateNotesOptions);EditReleaseAssetis renamed toUpdateReleaseAssetand takesUpdateReleaseAssetRequestby value.EditReleasetoUpdateRelease(#4329)BREAKING CHANGE:
CreateRelease&UpdateReleasenow takeRepositoryReleaseby value;EditReleaseis renamed toUpdateRelease.GistsServicerequired params by value (#4320)BREAKING CHANGE:
GistsServicemethods now pass required params by-value instead of by-ref.BREAKING CHANGE:
UpdateProvisionedOrgMembershipandUpdateAttributeForSCIMUserparams and return values changed.LicenseStatusresponse andSupportkeytype (#4297)BREAKING CHANGE:
LicenseStatus.SupportKeytype changed from*stringto*boolandLicensereturn type is no longer a slice.BREAKING CHANGE:
SelectedRepositoryIDs []int64is nowRepositories []stringin*AppInstallationRepositoriesOptions....and the following additional changes:
AccessSourcetoTeam(#4344)CONTRIBUTING.md(#4341)organdorg_idcan be an array (#4333)openapi_operations.yaml(#4331)time.DatewithreferenceTime(#4325)ProjectV2Item.UnmarshalJSON(#4323)GetBodyon uploads for HTTP/2 retry (#4318)AbuseRateLimitError.Is(#4292)&xvariables with inlinePtr(value)calls (#4289)GetOrgAICreditUsageandGetUserAICreditUsageendpoints (#4282)testJSONBodyhelper for request body assertions (#4283)Repository(#4268)RequiredReviewerunmarshal (#4270)openapi_operations.yaml(#4265)extraneousnewlinter to catch unnecessary use of value var (#4249)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ 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 was generated by Mend Renovate. View the repository job log.