chore(deps): update module github.com/google/go-github/v81 to v89 #111
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
maxpeterkaya/peanut!111
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-google-go-github-v81-89.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v81.0.0→v89.0.0Release Notes
google/go-github (github.com/google/go-github/v81)
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)v88.0.0Compare Source
This release contains the following breaking API changes:
Find*methods toGet*(#4243)BREAKING CHANGE: App installation methods are renamed from
Find*toGet*....and the following additional changes:
openapi_operations.yaml(#4242)GetParentIssuefor sub-issues (#4232)v87.0.0Compare Source
This release contains the following breaking API changes:
GetConsumedLicensestoListConsumedLicenses(#4226)BREAKING CHANGE:
EnterpriseService.GetConsumedLicensesis nowEnterpriseService.ListConsumedLicenses.GetAllRepositoryRulesetstoListAllRepositoryRulesets(#4227)BREAKING CHANGE:
OrganizationsService.GetAllRepositoryRulesetsis nowOrganizationsService.ListAllRepositoryRulesets.GetRulesForBranchtoListRulesForBranch(#4229)BREAKING CHANGE:
RepositoriesService.GetRulesForBranchis nowRepositoriesService.ListRulesForBranch.BREAKING CHANGE: Clients are now constructed with a nicer builder pattern. See docs for details.
IssueFieldValueswith schema (#4207)BREAKING CHANGE:
IssueRequest.IssueFieldValuestype is changed....and the following additional changes:
MarshalJSON(#4211)httptestserver to prevent test flakiness (#4210)CodeSecurityConfiguration(#4205)go-githubfromv85tov86in /scrape (#4199)v86.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE: All internal calls now provide
Contextvia theRequestitself.PrivateRegistries(#4159)BREAKING CHANGE:
PrivateRegistriesServiceis updated to API version2026-03-10with struct and response changes....and the following additional changes:
go-githubtov86.0.0(#4198)otelmodule name (#4187)deploy_keys_enabled_for_repositoriesand secret scanning custom link fields toOrganizationstruct (#4188)testJSONBodyhelper for request body assertions in tests (#4183)RetryAfterinAbuseRateLimitError.Erroroutput (#4181)IDin Ruleset API responses (#4178)ArchivedAtfield toOrganizationstruct (#4179)v85.0.0Compare Source
This release contains the following breaking API changes:
createandupdateon custom org role (#4075)BREAKING CHANGE:
GetOrgRole,CreateCustomOrgRole, andUpdateCustomOrgRolehave new params and return values.idfromint64tostringinActivityService.MarkThreadDone(#4056)BREAKING CHANGE:
ActivityService.MarkThreadDoneacceptsstringidinstead ofint64....and the following additional changes:
openapi_operations.yaml(#4172)CodeSecuritytoSecurityAndAnalysis(#4155)DownloadCopilotMetricshelper method (#4149)apiVersionto GitHub API link (#4147)redundantptrcustom linter (#4148)github.Ptrcalls (#4145)Userfields (#4146)Marketplace.Stubbedduring client copy (#4144)sanitizeURLsecrets redactions (#4126)[]*Tfields ingen-iterators.go(#4128)ValidatePayloadFromBody(#4125)requestCountin rate limit tests (#4124)generate.shby removinggit worktreeand using generator-based check (#4120)golangci-lint-action; removenewreposecretwithlibsodium(#4119)structfield.Settingsincheck-structfield-settings(#4108)newand&SomeStruct{}and add newextraneousnewcustom linter (#4106)NetworkConfigurationIDandHostedRunnersURLto enterprise runner group types (#4099)ListRunnerGroupHostedRunnersfor org runner groups (#4100)default: nonelinters; remove duplicated (#4097)Cursorpagination for*.ListHookDeliveriesIter(#4096)ParseWebHook(#4076)script/lint.shoutput simpler to read (#4073)client_idfield toApp(#4060)CopilotServicetests (#4058)TestDo_rateLimit_abuseRateLimitError_xRateLimitReset(#4057)SASas a common initialism tostructfield(#4054)README.md(#4053)v84.0.0Compare Source
This release contains the following breaking API changes:
BREAKING CHANGE:
CreateWorkflowDispatchEventByIDandCreateWorkflowDispatchEventByFileNamenow return*WorkflowDispatchRunDetails.optsfor methods listing issues and sub-issues (#4016)BREAKING CHANGE: Split
IssuesService.ListintoIssuesService.ListAllIssuesandIssuesService.ListUserIssues.IssuesService.ListByOrgnow acceptsIssueListByOrgOptions.SubIssueService.ListByIssuenow acceptsListOptions....and the following additional changes:
white spaceinstead ofwhitespace(#4047)testJSONMarshal(#4042)TestNewFormRequest(#4043)typefield (#4037)Codespaces,CopilotandActionsInboundtoAPIMeta(#3975)go:fix inlinefor deprecated ptr funcs (#4034)ListFineGrainedPersonalAccessTokenRequestsfor org (#4022)golangci-lintand enable some revive rules (#4025)slicesinstead ofsort(#4020)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)Configuration
📅 Schedule: (UTC)
🚦 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 Mend Renovate.
ℹ️ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/google/go-querystringv1.1.0->v1.2.08175d744d7toa2aa2ffa58View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.