fix(deps): update module github.com/cloudflare/cloudflare-go to v7#533
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update module github.com/cloudflare/cloudflare-go to v7#533renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
df7150c to
12d6258
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.117.0→v7.3.0Release Notes
cloudflare/cloudflare-go (github.com/cloudflare/cloudflare-go)
v7.3.0Compare Source
Full Changelog: v7.2.0...v7.3.0
⚠ BREAKING CHANGES
Features
2605287(51bc545)Chores
v7.2.0Compare Source
Full Changelog: v7.2.0...v7.3.0
⚠ BREAKING CHANGES
Features
2605287(51bc545)Chores
v7.1.0Compare Source
7.1.0 (2026-05-04)
Full Changelog: v7.0.0...v7.1.0
Features
Security Center - New Insights Sub-Resources (client.SecurityCenter.Insights)
Three new sub-services added under
client.SecurityCenter.Insights:AuditLogs (
client.SecurityCenter.Insights.AuditLogs)List(ctx, params) -> *pagination.CursorPagination[InsightAuditLogListResponse]ListByInsight(ctx, issueID, params) -> *pagination.CursorPagination[InsightAuditLogListByInsightResponse]New response types:
InsightAuditLogListResponse,InsightAuditLogListByInsightResponseClassification (
client.SecurityCenter.Insights.Classification)Update(ctx, issueID, params) -> *InsightClassificationUpdateResponseNew response types:
InsightClassificationUpdateResponseContext (
client.SecurityCenter.Insights.Context)Get(ctx, issueID, query) -> *InsightContextGetResponseNew response types:
InsightContextGetResponseZero Trust - Device Deployment Groups (client.ZeroTrust.Devices.DeploymentGroups)
New service
client.ZeroTrust.Devices.DeploymentGroups:New(ctx, params) -> *DeploymentGroupList(ctx, params) -> *pagination.V4PagePaginationArray[DeploymentGroup]Delete(ctx, groupID, body) -> *DeviceDeploymentGroupDeleteResponseEdit(ctx, groupID, params) -> *DeploymentGroupGet(ctx, groupID, query) -> *DeploymentGroupNew response types:
DeploymentGroup,DeviceDeploymentGroupDeleteResponseQueues - Metrics Endpoint (client.Queues)
New method on
client.Queues:GetMetrics(ctx, queueID, query) -> *QueueGetMetricsResponseNew response types:
QueueGetMetricsResponseOrganizations - Audit Logs (client.Organizations.Logs.Audit)
New service
client.Organizations.Logs.Audit:List(ctx, organizationID, query) -> *pagination.CursorPaginationAfter[LogAuditListResponse]New response types:
LogAuditListResponsev7.0.0Compare Source
7.0.0 (2026-04-30)
Full Changelog: v6.10.0...v7.0.0
This is a major version release that includes breaking changes to three packages:
ai_search,email_security, andworkers. These changes reflect upstream API specification updates that improve type correctness and consistency. Non-breaking features and updates are also included across several other packages.Please ensure you read through the list of changes below before moving to this version - this will help you understand any down or upstream issues it may cause to your environments.
Breaking Changes
See the v7.0.0 Migration Guide for before/after code examples and actions needed for each change.
AI Search - SearchForAgents Metadata Removed
The
SearchForAgentsnested type has been removed from all instance metadata structs. This field is no longer part of the API specification.Removed Types:
InstanceNewResponseMetadataSearchForAgentsInstanceUpdateResponseMetadataSearchForAgentsInstanceListResponseMetadataSearchForAgentsInstanceDeleteResponseMetadataSearchForAgentsInstanceReadResponseMetadataSearchForAgentsInstanceNewParamsMetadataSearchForAgentsInstanceUpdateParamsMetadataSearchForAgentsNamespaceInstanceNewResponseMetadataSearchForAgentsNamespaceInstanceUpdateResponseMetadataSearchForAgentsNamespaceInstanceListResponseMetadataSearchForAgentsNamespaceInstanceDeleteResponseMetadataSearchForAgentsNamespaceInstanceReadResponseMetadataSearchForAgentsNamespaceInstanceNewParamsMetadataSearchForAgentsNamespaceInstanceUpdateParamsMetadataSearchForAgentsEmail Security - Path Parameter Type Changes (
int64tostring)Multiple Email Security settings sub-resources have changed their path parameter types from
int64tostring. This affectsDelete,Edit, andGetmethods across the following services:AllowPolicies(policyID int64->policyID string)BlockSenders(patternID int64->patternID string)Domains(domainID int64->domainID string)ImpersonationRegistry(displayNameID int64->impersonationRegistryID string)TrustedDomains(trustedDomainID int64->trustedDomainID string)Email Security - Investigate Parameter Rename
The
Investigate.Get,Investigate.Move.New, andInvestigate.Reclassify.Newmethods now useinvestigateIDinstead ofpostfixIDas the path parameter name.Email Security - Domains BulkDelete Method Removed
The
SettingDomainService.BulkDeletemethod and its associated types have been removed:SettingDomainBulkDeleteResponseSettingDomainBulkDeleteParamsEmail Security - TrustedDomains Return Type Change
SettingTrustedDomainService.Newnow returns*SettingTrustedDomainNewResponseinstead of*SettingTrustedDomainNewResponseUnion.Email Security - Investigate.Move Return Type Change
InvestigateMoveService.Newnow returns*pagination.SinglePage[InvestigateMoveNewResponse]instead of*[]InvestigateMoveNewResponse.Workers - Observability Telemetry Filter Restructuring
The observability telemetry filter parameter types have been restructured to support nested filter groups. New discriminated union types replace the previous flat filter arrays:
ObservabilityTelemetryKeysParams.Filtersnow acceptsFiltersObjectFilterUnion(was[]interface{})ObservabilityTelemetryQueryParams.Parameters.Filtersnow acceptsFiltersObjectFilterUnionObservabilityTelemetryValuesParams.Filtersnow acceptsFiltersObjectFilterUnionNew types include
FiltersObjectFiltersObject(for group filters withFilterCombination) andFiltersWorkersObservabilityFilterLeaf(for leaf filters with typedOperation,Type, andValuefields).Features
Organizations (
client.Organizations)client.Organizations.Logs.Audit-- query organization audit logsList()- Retrieve audit logs with cursor-based paginationBrowser Rendering (
client.BrowserRendering)client.BrowserRendering.Devtools.Browser.Targets.Close()-- close a specific browser target (tab, page) by IDQueues (
client.Queues)client.Queues.GetMetrics()-- retrieve queue metrics for a specific queueAI Search (
client.AISearch)WaitForCompletionparameter toNamespaceInstanceItemNewOrUpdateParamsandNamespaceInstanceItemSyncParamsfor synchronous indexing confirmationBug Fixes
ConnectorService.Listparameter name corrected fromquerytoparams(non-functional, affects generated documentation only)v6.10.0Compare Source
Full Changelog: v6.9.0...v6.10.0
In this release, you'll see a number of breaking changes. This is primarily due to changes in OpenAPI definitions, which our libraries are based off of, and codegen updates that we rely on to read those OpenAPI definitions and produce our SDK libraries.
v6.9.0Compare Source
6.9.0 (2026-04-01)
Full Changelog: v6.8.0...v6.9.0
In this release, you'll see a number of breaking changes. This is primarily due to changes in OpenAPI definitions, which our libraries are based off of, and codegen updates that we rely on to read those OpenAPI definitions and produce our SDK libraries.
Please ensure you read through the list of changes below before moving to this version - this will help you understand any down or upstream issues it may cause to your environments.
Breaking Changes
See the v6.9.0 Migration Guide for before/after code examples and actions needed for each change.
AI Gateway - AccountID, AccountTag, and InternalID Field Removal
The
AccountID,AccountTag, andInternalIDfields have been removed from all AI Gateway response types:AIGatewayNewResponseAIGatewayUpdateResponseAIGatewayListResponseAIGatewayDeleteResponseAIGatewayGetResponseDynamicRoutingNewResponseDynamicRoutingDeleteResponseDynamicRoutingNewDeploymentResponseDynamicRoutingNewVersionResponseDynamicRoutingGetResponseDynamicRoutingGetVersionResponseAI Search - VectorizeName Field Removal
The
VectorizeNamefield has been removed from all AI Search instance response types:InstanceNewResponse.VectorizeNameInstanceUpdateResponse.VectorizeNameInstanceListResponse.VectorizeNameInstanceDeleteResponse.VectorizeNameInstanceReadResponse.VectorizeNameAI Search - KeywordMatchMode Enum Values Changed
The
KeywordMatchModeenum values have been renamed:KeywordMatchModeExactMatch→KeywordMatchModeAndKeywordMatchModeFuzzyMatch→KeywordMatchModeOrAffects
InstanceNewParamsandInstanceUpdateParams.Billing - New PayGo Usage Endpoint
NEW: Added
billing.Usageservice with PayGo endpoint:client.Billing.Usage.Paygo()- Returns billable usage data for PayGo (self-serve) accountsNote: The PayGo endpoint parameters (
From,To) are now the primary query mechanism. The previously availableLastMonthPeriodStartandLastYearPeriodStartparameters were removed in the underlying API specification.Connectivity - TCP Service Support
The directory services now support TCP service configurations via discriminated union types:
ServiceConfigis now a discriminated union ofHttpServiceConfigandTcpServiceConfigTcpServiceConfigtype withtcp_portandapp_protocolfieldsHttpServiceConfigandTcpServiceConfigboth extendServiceCommonbase typeCustom Hostnames - Hostname Parameter Type Change
The
Hostnameparameter inCustomHostnameListParamshas changed from a simple string to a structured object:Hostname param.Field[string]Hostname param.Field[CustomHostnameListParamsHostname](object withContainfield)AI Search - InstanceItem Service Methods Removed
The
InstanceItemservice methods have been removed. The service structure still exists atclient.AISearch.Instances.Itemsbut no longer provides any methods:List()- List indexed items in an AI Search instanceListAutoPaging()- Auto-paging list methodGet()- Get a specific indexed itemInstanceItemListResponse,InstanceItemGetResponse, etc.)Workers - Filter Type Changes
The observability telemetry filters have been restructured:
QueryFilter[]toFilterNode[](discriminated union)kind: 'group'Workers - Domain Service Return Type Changes
The
workers.Domainservice methods now return specific response types instead of the genericDomaintype:Update()returns*DomainUpdateResponseinstead of*DomainList()returnspagination.SinglePage[DomainListResponse]instead ofpagination.SinglePage[Domain]Delete()now returns(*DomainDeleteResponse, error)instead of justerrorGet()returns*DomainGetResponseinstead of*DomainZero Trust - NetworkSubnet Response Type Consolidation
The
NetworkSubnetservice methods now use the sharedSubnettype instead of endpoint-specific response types:NetworkSubnetService.List()returnsSubnetinstead ofNetworkSubnetListResponseNetworkSubnetWARPService.New()returnsSubnetinstead ofNetworkSubnetWARPNewResponseNetworkSubnetWARPService.Edit()returnsSubnetinstead ofNetworkSubnetWARPEditResponseNetworkSubnetWARPService.Get()returnsSubnetinstead ofNetworkSubnetWARPGetResponseNetworkSubnetCloudflareSourceService.Update()returnsSubnetinstead ofNetworkSubnetCloudflareSourceUpdateResponseThe removed types (
NetworkSubnetListResponse,NetworkSubnetWARPNewResponse, etc.) have been consolidated into the sharedSubnettype.Zero Trust - MfaBypass Field Removal
The
MfaBypassfield has been removed from MFA configuration types across multiple services:Affected Param Types:
AccessApplicationNewParamsBodySelfHostedApplicationMfaConfig.MfaBypassAccessApplicationUpdateParamsBodySelfHostedApplicationMfaConfig.MfaBypassAccessApplicationPolicyNewParamsMfaConfig.MfaBypassAccessApplicationPolicyUpdateParamsMfaConfig.MfaBypassAccessApplicationPolicyTestNewParamsPoliciesObjectMfaConfig.MfaBypassAccessPolicyNewParamsMfaConfig.MfaBypassAccessPolicyUpdateParamsMfaConfig.MfaBypassAffected Response Types:
Zero Trust - MfaConfigurationAllowed Field Removal
The
MfaConfigurationAllowedfield has been removed from Organization types:OrganizationNewParams.MfaConfigurationAllowedOrganizationUpdateParams.MfaConfigurationAllowedOrganizationNewResponse.MfaConfigurationAllowedFeatures
AI Search - BoostBy Field Addition
The
BoostByfield has been added to retrieval options across multiple response types:InstanceNewResponseRetrievalOptions.BoostByInstanceUpdateResponseRetrievalOptions.BoostByInstanceListResponseRetrievalOptions.BoostByInstanceDeleteResponseRetrievalOptions.BoostByInstanceReadResponseRetrievalOptions.BoostByBrowser Rendering (
client.browserRendering)Create()- Start a crawl jobList()- List crawl jobsGet()- Get crawl job detailsUpdate()- Update crawl jobDelete()- Delete crawl jobScreenshot()- Take screenshots during crawlScrape()- Scrape content during crawlBrand Protection v2 (
client.brandProtection.v2)Logo- Logo managementLogoMatch- Logo matchingMatch- Brand protection matchingQuery- Query brand protection dataGoogle Tag Gateway (
client.googleTagGateway)Config.Create(),Update(),List(),Delete(),Get()Resource Tagging (
client.resourceTagging)AccountTagmanagementKeymanagement for resource taggingZero Trust Device IP Profiles (
client.zeroTrust.devices.ipProfiles)Create(),Update(),List(),Delete(),Get()Abuse Reports
Mitigationresponses now include additional metadata fieldsAccounts
managed_byfield withparent_org_id,parent_org_namesupportAI Gateway
zdrfield added to all responses and paramsAI Search
API Gateway
D1
GetBookmark(),Restore()DNS
dns_records/usageendpoints addedEmail Security
envelope_from,envelope_to,postfix_id_outbound,replytooutbound_ndrLogpush
dex_application_tests,dex_device_state_events,ipsec_logs,warp_config_changes,warp_toggle_changesMagic Transit
Organizations
R2
Rulesets
request_body_buffering,response_body_bufferingWorkers
Workflows
restartZero Trust
Deprecations
None in this release.
Bug Fixes
v6.8.0Compare Source
6.8.0 (2026-02-27)
Full Changelog: v6.7.0...v6.8.0
Breaking Changes
See the v6.8.0 Migration Guide for before/after code examples and actions needed for each change.
CloudforceOne.ThreatEvents—Delete()method removedSSL.CertificatePacks—List()pagination type changed fromSinglePagetoV4PagePaginationArrayZeroTrust.DLP.Datasets—New(),Update(),Get()return types replaced with shared DLP typesZeroTrust.DLP.Datasets.Upload—New(),Edit()return types replaced with shared DLP typesZeroTrust.DLP.Profiles—Get()return type replaced with sharedProfiletypeZeroTrust.DLP.Profiles.Custom—New(),Update(),Get()return types replaced with sharedProfiletypeZeroTrust.DLP.Profiles.Predefined—Update(),Get()return types replaced with sharedPredefinedProfiletypeFeatures
New API Resources
ACM.CustomTrustStore- Manage custom origin trust store certificates per zoneEmailSecurity.Phishguard.Reports- List phishing reports via Email Security PhishguardRadar.PostQuantum- Post-quantum encryption analytics including origin adoption (Origin.Summary,Origin.TimeseriesGroups) and TLS support (TLS.Support)ZeroTrust.Access.Users- Manage Zero Trust Access user identitiesZeroTrust.DEX.Rules- Manage DEX rules for device testingZeroTrust.Gateway.Pacfiles- Manage Gateway PAC file configurationsZeroTrust.Networks.Subnets.WARP- Manage WARP subnet exclusionsNew Endpoints (Existing Resources)
Radar.Entities.ASNsBotnetThreatFeed()- Retrieve botnet threat feed data for ASNs from Cloudflare Radarv6.7.0Compare Source
6.7.0 (2026-02-10)
Full Changelog: v6.6.0...v6.7.0
Features
Bug Fixes
Chores
v6.6.0Compare Source
6.6.0 (2025-01-15)
Full Changelog: v6.5.0...v6.6.0
Breaking Changes
browser_rendering: refactor request body parameters to use proper union types
The models were updated to be accurate to what the API expects, so there are parameter changes
across most of the sub-resources under the
browser_renderingumbrella.Features
is_defaultfield to gateway configurationswaf_challengeidentifier supportChores
auto_generatedfield to LOA document responsesitem_countfield in move responsesv6.5.0Compare Source
6.5.0 (2025-12-17)
Full Changelog: v6.4.0...v6.5.0
Features
zdrfield (f85b933)keysto super slurper response types (f85b933)Chores
v6.4.0Compare Source
Full Changelog: v6.4.0...v6.5.0
Features
zdrfield (f85b933)keysto super slurper response types (f85b933)Chores
v6.3.0Compare Source
Full Changelog: v6.3.0...v6.4.0
Features
Bug Fixes
Chores
v6.2.0Compare Source
Full Changelog: v6.2.0...v6.3.0
Features
Bug Fixes
Chores
v6.1.0Compare Source
Full Changelog: v6.1.0...v6.2.0
Features
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 was generated by Mend Renovate. View the repository job log.