Skip to content

fix(deps): update module github.com/cloudflare/cloudflare-go/v6 to v7.7.0#48

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-cloudflare-cloudflare-go-v6-7.x
Open

fix(deps): update module github.com/cloudflare/cloudflare-go/v6 to v7.7.0#48
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-cloudflare-cloudflare-go-v6-7.x

Conversation

@renovate

@renovate renovate Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/cloudflare/cloudflare-go/v6 v6.10.0v7.7.0 age confidence

Release Notes

cloudflare/cloudflare-go (github.com/cloudflare/cloudflare-go/v6)

v7.7.0

Compare Source

Full Changelog: v7.6.0...v7.7.0

Breaking Changes

See the v7.7.0 Migration Guide for before/after code examples and actions needed for each change.

  • ssl: Recommendations.Get method and RecommendationGetResponse / RecommendationGetParams types removed.

  • ai_gateway, workflows, zero_trust/dlpemailaccountmapping: merged-union parent fields with same-name-different-type collisions changed from a variant-struct type to interface{}. Affected fields:

    • ai_gateway.AIGateway{New,Update,List,Delete,Get}ResponseSpendLimitsRulesMetadata.Mode (5 structs)
    • workflows.VersionGraphResponseGraphWorkflowPayload.Type
    • zero_trust.DLPEmailAccountMapping{New,Get}ResponseAuthRequirements.Type (2 structs)

    These fields were unreadable in the previous type (marshaling panicked with reflect: call of reflect.Value.SetString on struct Value). The new interface{} type matches the codegen pattern used by sibling merged fields on the same structs (e.g. Values, Fields, AllowedMicrosoftOrganizations); callers should switch on the parent union via AsUnion() for a strongly-typed variant.

  • zero_trust: Devices.DEXTests.{New,Update,List,Get} response type renamed from DeviceDEXTest{New,Update,List,Get}Response to the shared SchemaHTTP; field structure unchanged. Nested types renamed accordingly (e.g. DeviceDEXTestNewResponseDataSchemaData, DeviceDEXTestNewResponseTargetPolicySchemaHTTPTargetPolicy). Callers using := inference and field access continue to compile; callers referencing the removed type names must update to SchemaHTTP.

  • zero_trust: Devices.IPProfiles.List pagination changed from pagination.SinglePage[IPProfile] to pagination.V4PagePaginationArray[IPProfile]. .Result field access and ListAutoPaging() iteration continue to work; callers referencing the pagination type by name must update.

Features
  • NEW SERVICE: email_auth — DMARC reports edit/get and SPF inspect
    • client.EmailAuth.DMARCReports.Edit
    • client.EmailAuth.DMARCReports.Get
    • client.EmailAuth.SPF.Inspect.Get
  • NEW SERVICE: moq — Media over QUIC relay management
    • client.MoQ.Relays.{New,Update,List,Delete,Get}
    • client.MoQ.Relays.Tokens.Rotate
  • zero_trust: publish CASB APIs (client.ZeroTrust.Casb.*)
    • Applications.{List,Get} + Applications.SetupFlows.List
    • Integrations.{New,Update,List,Delete,Get,Pause,Resume}
  • logs: add LogExplorer sub-resource
    • LogExplorer.Query.Sql
    • LogExplorer.Datasets.{New,Update,List,Get}
    • LogExplorer.Datasets.Available.List
  • browser_rendering: add AccessibilityTree.New method
  • email_routing: add EmailRouting.Unlock and EmailRouting.Addresses.Edit methods
  • email_routing: add AccountRules.List method (GET /accounts/{account_id}/email/routing/rules) returning AccountRule with new Zone field; Rules.List gains optional AccountID param (mutually exclusive with ZoneID) so callers can list rules by account or zone
  • email_security: add bulk investigation APIs
    • Investigate.Bulk.{New,List,Delete,Get}
    • Investigate.Bulk.Cancel.New
    • Investigate.Bulk.Messages.List
  • accounts: add Logs.Audit.History and Logs.Audit.ProductCategories methods
  • organizations: add Logs.Audit.History method
Bug Fixes
  • ai_gateway, workflows, zero_trust/dlpemailaccountmapping: fix panics on union-merged parent field decoding by switching same-name-different-type merged fields from a variant-struct type to interface{} (3de4191)
  • browser_rendering: AccessibilityTreeNewParamsBodyObject now uses URL (matching the generated test fixture) instead of HTML (0f44441)
  • dns: restore Shadow* query params on RecordListParams and IncludeShadowMetadata on Record{New,Update,List,Batch,Edit,Get}Params after a codegen regression dropped them (f9b3f27)
Chores
  • api: update composite API spec (20+ codegen sync commits)
  • ci: bump CI job timeouts to 30 minutes (6cad6cb)
  • ci: unblock test job by installing nodejs/npm for prism mock server (3de4191)
  • apply accumulated custom code (CI jobs, GitLab config) (eb2bf2b)

v7.6.0

Compare Source

7.6.0 (2026-06-16)

Full Changelog: v7.5.0...v7.6.0

This release includes breaking changes in Realtime Kit and Email Security alongside a large number of new services and features. Please ensure you read through the list of changes below before upgrading.

See the v7.6.0 Migration Guide for before/after code examples and actions needed for each breaking change.


Breaking Changes

Realtime Kit - GenerateSummaryOfTranscripts Return Type Changed

SessionService.GenerateSummaryOfTranscripts() previously returned only error. It now returns (*SessionGenerateSummaryOfTranscriptsResponse, error). Code that discards the first return value will no longer compile.

Realtime Kit - StartTrackRecording Return Type Changed

RecordingService.StartTrackRecording() previously returned only error. It now returns (*RecordingStartTrackRecordingResponse, error). Code that discards the first return value will no longer compile.

Realtime Kit - Session Participant Response Types Restructured

SessionGetParticipantDataFromPeerIDResponseData gained a new .Participant nested struct. Sub-types were renamed from ...DataPeerReport to ...DataParticipantPeerReport (and similar). Code referencing the old type names will no longer compile.

Email Security - ActionLog Parameter Removed

The ActionLog field has been removed from InvestigateListParams. The upstream API no longer accepts this query parameter. Remove the field from your list calls.


Features

Tenants (client.Tenants)
  • NEW SERVICE: Multi-tenant account management
    • client.Tenants.New() - Create a tenant
    • client.Tenants.Update() - Update a tenant
    • client.Tenants.List() - List tenants
    • client.Tenants.Delete() - Delete a tenant
    • client.Tenants.Get() - Get a tenant
    • client.Tenants.Accounts.New() - Create a tenant account
    • client.Tenants.Accounts.List() - List tenant accounts
    • client.Tenants.Accounts.Delete() - Delete a tenant account
    • client.Tenants.Accounts.Get() - Get a tenant account
    • client.Tenants.AccountTypes.List() - List tenant account types
    • client.Tenants.Entitlements.List() - List tenant entitlements
    • client.Tenants.Memberships.New() - Create a tenant membership
    • client.Tenants.Memberships.List() - List tenant memberships
    • client.Tenants.Memberships.Delete() - Delete a tenant membership
    • client.Tenants.Memberships.Get() - Get a tenant membership
Flagship (client.Flagship)
  • NEW SERVICE: Feature flag management
    • client.Flagship.Apps.New() - Create a Flagship app
    • client.Flagship.Apps.Update() - Update a Flagship app
    • client.Flagship.Apps.List() - List Flagship apps
    • client.Flagship.Apps.Delete() - Delete a Flagship app
    • client.Flagship.Apps.Get() - Get a Flagship app
    • client.Flagship.Apps.Flags.New() - Create a feature flag
    • client.Flagship.Apps.Flags.Update() - Update a feature flag
    • client.Flagship.Apps.Flags.List() - List feature flags
    • client.Flagship.Apps.Flags.Delete() - Delete a feature flag
    • client.Flagship.Apps.Flags.Get() - Get a feature flag
    • client.Flagship.Apps.Flags.Changelog.List() - List flag changelog
    • client.Flagship.Apps.Evaluate.Get() - Evaluate flags for an app
OriginTLSComplianceModes (client.OriginTLSComplianceModes)
  • NEW SERVICE: Origin TLS compliance mode settings
    • client.OriginTLSComplianceModes.Edit() - Edit compliance mode
    • client.OriginTLSComplianceModes.Get() - Get compliance mode
CsamScanner (client.CsamScanner)
  • NEW SERVICE: CSAM scanner third-party settings
    • client.CsamScanner.Edit() - Edit CSAM scanner settings
    • client.CsamScanner.Get() - Get CSAM scanner settings
TenantCustomNameservers (client.TenantCustomNameservers)
  • NEW SERVICE: Tenant-scoped custom nameservers
    • client.TenantCustomNameservers.New() - Create a tenant custom nameserver
    • client.TenantCustomNameservers.Delete() - Delete a tenant custom nameserver
    • client.TenantCustomNameservers.Get() - Get tenant custom nameservers
AI Gateway (client.AIGateway)
  • client.AIGateway.CustomProviders.New() - Create a custom AI provider
  • client.AIGateway.CustomProviders.List() - List custom AI providers
  • client.AIGateway.CustomProviders.Delete() - Delete a custom AI provider
  • client.AIGateway.CustomProviders.Get() - Get a custom AI provider
IAM (client.IAM)
  • client.IAM.OAuthClients.New() - Create an OAuth client
  • client.IAM.OAuthClients.Update() - Update an OAuth client
  • client.IAM.OAuthClients.List() - List OAuth clients
  • client.IAM.OAuthClients.Delete() - Delete an OAuth client
  • client.IAM.OAuthClients.DeleteRotatedSecret() - Delete a rotated client secret
  • client.IAM.OAuthClients.Get() - Get an OAuth client
  • client.IAM.OAuthClients.RotateSecret() - Rotate an OAuth client secret
  • client.IAM.OAuthScopes.List() - List available OAuth scopes
Magic Transit (client.MagicTransit)
  • client.MagicTransit.IPSECTunnels.PSKSet() - Set a pre-shared key for IPSEC tunnels
  • client.MagicTransit.Cf1Sites.New() - Create a CF1 site
  • client.MagicTransit.Cf1Sites.Update() - Update a CF1 site
  • client.MagicTransit.Cf1Sites.List() - List CF1 sites
  • client.MagicTransit.Cf1Sites.Delete() - Delete a CF1 site
  • client.MagicTransit.Cf1Sites.Get() - Get a CF1 site
  • client.MagicTransit.Cf1Sites.Ramps.New() - Create a CF1 site ramp
  • client.MagicTransit.Cf1Sites.Ramps.Update() - Update a CF1 site ramp
  • client.MagicTransit.Cf1Sites.Ramps.List() - List CF1 site ramps
  • client.MagicTransit.Cf1Sites.Ramps.Delete() - Delete a CF1 site ramp
  • client.MagicTransit.Cf1Sites.Ramps.Get() - Get a CF1 site ramp
SSL (client.SSL)
  • client.SSL.AutoOriginTLSKex.Edit() - Edit auto origin TLS key exchange settings
  • client.SSL.AutoOriginTLSKex.Get() - Get auto origin TLS key exchange settings
DNS (client.DNS)
  • client.DNS.Usage.Zone.Get() - Get zone-level DNS usage
  • client.DNS.Usage.Account.Get() - Get account-level DNS usage
Zero Trust (client.ZeroTrust)
  • client.ZeroTrust.Access.IdentityProviders.FederationGrants.New() - Create an IDP federation grant
  • client.ZeroTrust.Access.IdentityProviders.FederationGrants.Update() - Update an IDP federation grant
  • client.ZeroTrust.Access.IdentityProviders.FederationGrants.List() - List IDP federation grants
  • client.ZeroTrust.Access.IdentityProviders.FederationGrants.Delete() - Delete an IDP federation grant
  • client.ZeroTrust.Access.IdentityProviders.FederationGrants.Get() - Get an IDP federation grant
  • client.ZeroTrust.Access.AIControl.McpServers.New() - Create an MCP server
  • client.ZeroTrust.Access.AIControl.McpServers.Update() - Update an MCP server
  • client.ZeroTrust.Access.AIControl.McpServers.List() - List MCP servers
  • client.ZeroTrust.Access.AIControl.McpServers.Delete() - Delete an MCP server
  • client.ZeroTrust.Access.AIControl.McpServers.Get() - Get an MCP server
  • client.ZeroTrust.Access.AIControl.McpServers.Sync() - Sync MCP servers
  • client.ZeroTrust.Access.AIControl.McpPortals.New() - Create an MCP portal
  • client.ZeroTrust.Access.AIControl.McpPortals.Update() - Update an MCP portal
  • client.ZeroTrust.Access.AIControl.McpPortals.List() - List MCP portals
  • client.ZeroTrust.Access.AIControl.McpPortals.Delete() - Delete an MCP portal
  • client.ZeroTrust.Access.AIControl.McpPortals.Get() - Get an MCP portal
  • client.ZeroTrust.DEX.Devices.ISPs.List() - List device ISPs
  • client.ZeroTrust.DEX.FleetStatus.Devices.List() - List fleet status devices
  • client.ZeroTrust.DEX.Rules.New() - Create a DEX rule
  • client.ZeroTrust.DEX.Rules.Update() - Update a DEX rule
  • client.ZeroTrust.DEX.Rules.List() - List DEX rules
  • client.ZeroTrust.DEX.Rules.Delete() - Delete a DEX rule
  • client.ZeroTrust.DEX.Rules.Get() - Get a DEX rule
  • client.ZeroTrust.DEX.Commands.New() - Create a DEX command
  • client.ZeroTrust.DEX.Commands.List() - List DEX commands
  • client.ZeroTrust.DEX.Commands.Devices.List() - List DEX command devices
  • client.ZeroTrust.DEX.Commands.Downloads.Get() - Download DEX command results
  • client.ZeroTrust.DEX.Commands.Quota.Get() - Get DEX command quota
  • client.ZeroTrust.DEX.WARPChangeEvents.List() - List WARP change events
  • client.ZeroTrust.DLP.CustomPromptTopics.New() - Create a DLP custom prompt topic
  • client.ZeroTrust.DLP.CustomPromptTopics.Update() - Update a DLP custom prompt topic
  • client.ZeroTrust.DLP.CustomPromptTopics.List() - List DLP custom prompt topics
  • client.ZeroTrust.DLP.CustomPromptTopics.Delete() - Delete a DLP custom prompt topic
  • client.ZeroTrust.DLP.CustomPromptTopics.Get() - Get a DLP custom prompt topic
  • client.ZeroTrust.DLP.SensitivityGroups.New() - Create a DLP sensitivity group
  • client.ZeroTrust.DLP.SensitivityGroups.Update() - Update a DLP sensitivity group
  • client.ZeroTrust.DLP.SensitivityGroups.List() - List DLP sensitivity groups
  • client.ZeroTrust.DLP.SensitivityGroups.Delete() - Delete a DLP sensitivity group
  • client.ZeroTrust.DLP.SensitivityGroups.Get() - Get a DLP sensitivity group
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.New() - Create a sensitivity level
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.Update() - Update a sensitivity level
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.List() - List sensitivity levels
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.Delete() - Delete a sensitivity level
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.Get() - Get a sensitivity level
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Update() - Update sensitivity level order
  • client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Get() - Get sensitivity level order
  • client.ZeroTrust.DLP.DataTagCategories.New() - Create a DLP data tag category
  • client.ZeroTrust.DLP.DataTagCategories.Update() - Update a DLP data tag category
  • client.ZeroTrust.DLP.DataTagCategories.List() - List DLP data tag categories
  • client.ZeroTrust.DLP.DataTagCategories.Delete() - Delete a DLP data tag category
  • client.ZeroTrust.DLP.DataTagCategories.Get() - Get a DLP data tag category
  • client.ZeroTrust.DLP.DataTagCategories.DataTags.New() - Create a data tag
  • client.ZeroTrust.DLP.DataTagCategories.DataTags.Update() - Update a data tag
  • client.ZeroTrust.DLP.DataTagCategories.DataTags.List() - List data tags
  • client.ZeroTrust.DLP.DataTagCategories.DataTags.Delete() - Delete a data tag
  • client.ZeroTrust.DLP.DataTagCategories.DataTags.Get() - Get a data tag
  • client.ZeroTrust.DLP.DataClasses.New() - Create a DLP data class
  • client.ZeroTrust.DLP.DataClasses.Update() - Update a DLP data class
  • client.ZeroTrust.DLP.DataClasses.List() - List DLP data classes
  • client.ZeroTrust.DLP.DataClasses.Delete() - Delete a DLP data class
  • client.ZeroTrust.DLP.DataClasses.Get() - Get a DLP data class
  • client.ZeroTrust.Tunnels.WARPConnector.Configurations.Update() - Update WARP connector configuration
  • client.ZeroTrust.Tunnels.WARPConnector.Configurations.Get() - Get WARP connector configuration
Resource Sharing (client.ResourceSharing)
  • client.ResourceSharing.Resources.Update() - Update a shared resource
  • client.ResourceSharing.Resources.Delete() - Delete a shared resource
  • client.ResourceSharing.Resources.Get() - Get a shared resource
Zones (client.Zones)
  • client.Zones.CT.Alerting.Edit() - Edit CT alerting subscription
  • client.Zones.CT.Alerting.Get() - Get CT alerting subscription
Organizations (client.Organizations)
  • client.Organizations.Accounts.New() - Create an organization account
  • client.Organizations.Accounts.List() - List organization accounts
User (client.User)
  • client.User.Tenants.List() - List user tenants
Workflows (client.Workflows)
  • client.Workflows.Versions.Graph() - Get workflow version graph
  • New rollback enum value on InstanceGetResponseStepsObjectType

Chores

  • ai_gateway: update generated types and methods
  • csam_scanner: update generated types and methods
  • d1: update generated types and methods
  • dns: update generated types and methods
  • email_sending: update generated types and methods
  • flagship: update generated types and methods
  • iam: update generated types and methods
  • magic_transit: update generated types and methods
  • organizations: update generated types and methods
  • origin_tls_compliance_modes: update generated types and methods
  • radar: update generated types and methods
  • realtime_kit: update generated types and methods
  • resource_sharing: update generated types and methods
  • ssl: update generated types and methods
  • tenant_custom_nameservers: update generated types and methods
  • tenants: update generated types and methods
  • user: update generated types and methods
  • workflows: update generated types and methods
  • zero_trust: update generated types and methods
  • zones: update generated types and methods

Deprecations

None.

Bug Fixes

None.

v7.5.0

Compare Source

7.5.0 (2026-06-10)

Full Changelog: v7.4.0...v7.5.0

This release adds six new top-level services, extensive DLP classification and data tagging APIs, OAuth client management, and regional hostname support. It includes two breaking return-type changes in realtime_kit. Please ensure you read through the list of changes below before upgrading.


Breaking Changes

Realtime Kit - GenerateSummaryOfTranscripts Return Type Changed

SessionService.GenerateSummaryOfTranscripts() now returns (*SessionGenerateSummaryOfTranscriptsResponse, error) instead of just error. Callers must capture the new response value.

Realtime Kit - StartTrackRecording Return Type Changed

RecordingService.StartTrackRecording() now returns (*RecordingStartTrackRecordingResponse, error) instead of just error. Callers must capture the new response value.


Features

Flagship (client.Flagship)
  • NEW SERVICE: Feature flag management
    • client.Flagship.Apps.New() - Create a Flagship app
    • client.Flagship.Apps.Update() - Update a Flagship app
    • client.Flagship.Apps.List() - List Flagship apps
    • client.Flagship.Apps.Delete() - Delete a Flagship app
    • client.Flagship.Apps.Get() - Get a Flagship app
    • client.Flagship.Apps.Flags.New() - Create a feature flag
    • client.Flagship.Apps.Flags.Update() - Update a feature flag
    • client.Flagship.Apps.Flags.List() - List feature flags
    • client.Flagship.Apps.Flags.Delete() - Delete a feature flag
    • client.Flagship.Apps.Flags.Get() - Get a feature flag
    • client.Flagship.Apps.Flags.Changelog.List() - List flag changelog entries
    • client.Flagship.Apps.Evaluate.Get() - Evaluate flags for an app
TenantCustomNameservers (client.TenantCustomNameservers)
  • NEW SERVICE: Tenant-scoped custom nameserver management
    • client.TenantCustomNameservers.New() - Create a tenant custom nameserver
    • client.TenantCustomNameservers.Delete() - Delete a tenant custom nameserver
    • client.TenantCustomNameservers.Get() - List tenant custom nameservers
CsamScanner (client.CsamScanner)
  • NEW SERVICE: CSAM scanner third-party settings
    • client.CsamScanner.Edit() - Update CSAM scanner settings for a zone
    • client.CsamScanner.Get() - Get CSAM scanner settings for a zone
OriginTLSComplianceModes (client.OriginTLSComplianceModes)
  • NEW SERVICE: Origin TLS compliance mode configuration (service stub)
SSL (client.SSL)
  • New AutoOriginTLSKex sub-resource (service stub)
IAM (client.IAM)
  • OAuthClients - Full OAuth client lifecycle management
    • client.IAM.OAuthClients.New() - Create an OAuth client
    • client.IAM.OAuthClients.Update() - Update an OAuth client
    • client.IAM.OAuthClients.List() - List OAuth clients
    • client.IAM.OAuthClients.Delete() - Delete an OAuth client
    • client.IAM.OAuthClients.Get() - Get an OAuth client
    • client.IAM.OAuthClients.RotateSecret() - Rotate OAuth client secret
    • client.IAM.OAuthClients.DeleteRotatedSecret() - Delete rotated secret
  • OAuthScopes - OAuth scope discovery
    • client.IAM.OAuthScopes.List() - List available OAuth scopes
Zero Trust - DLP (client.ZeroTrust.DLP)
  • CustomPromptTopics - Custom prompt topic management (CRUD)
    • client.ZeroTrust.DLP.CustomPromptTopics.New(), Update(), List(), Delete(), Get()
  • SensitivityGroups - Sensitivity group management (CRUD)
    • client.ZeroTrust.DLP.SensitivityGroups.New(), Update(), List(), Delete(), Get()
    • Levels - Sensitivity level management within groups (CRUD)
      • client.ZeroTrust.DLP.SensitivityGroups.Levels.New(), Update(), List(), Delete(), Get()
      • Order - Level ordering
        • client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Update(), Get()
  • DataTagCategories - Data tag category management (CRUD)
    • client.ZeroTrust.DLP.DataTagCategories.New(), Update(), List(), Delete(), Get()
    • DataTags - Data tags within categories (CRUD)
      • client.ZeroTrust.DLP.DataTagCategories.DataTags.New(), Update(), List(), Delete(), Get()
  • DataClasses - Data class management (CRUD)
    • client.ZeroTrust.DLP.DataClasses.New(), Update(), List(), Delete(), Get()
Zero Trust - Access (client.ZeroTrust.Access)
  • IdPFederationGrants - Identity provider federation grant management
    • client.ZeroTrust.Access.IdPFederationGrants.New() - Create a federation grant
    • client.ZeroTrust.Access.IdPFederationGrants.Update() - Update a federation grant
    • client.ZeroTrust.Access.IdPFederationGrants.List() - List federation grants
    • client.ZeroTrust.Access.IdPFederationGrants.Delete() - Delete a federation grant
    • client.ZeroTrust.Access.IdPFederationGrants.Get() - Get a federation grant
Zero Trust - DEX (client.ZeroTrust.DEX)
  • Devices.ISPs - Device ISP lookup
    • client.ZeroTrust.DEX.Devices.ISPs.List() - List ISPs for a device
Zero Trust - Tunnels (client.ZeroTrust.Tunnels)
  • WARPConnector.Configurations - WARP connector tunnel configuration
    • client.ZeroTrust.Tunnels.WARPConnector.Configurations.Update() - Update tunnel configuration
    • client.ZeroTrust.Tunnels.WARPConnector.Configurations.Get() - Get tunnel configuration
Addressing (client.Addressing)
  • RegionalHostnames - Regional hostname management for Data Localization
    • client.Addressing.RegionalHostnames.New() - Create a regional hostname
    • client.Addressing.RegionalHostnames.List() - List regional hostnames
    • client.Addressing.RegionalHostnames.Delete() - Delete a regional hostname
    • client.Addressing.RegionalHostnames.Edit() - Update a regional hostname's region
    • client.Addressing.RegionalHostnames.Get() - Get a regional hostname
    • client.Addressing.RegionalHostnames.Regions.List() - List available DLS regions
DNS (client.DNS)
  • Usage.Zone - Zone-level DNS record usage
    • client.DNS.Usage.Zone.Get() - Get DNS record usage for a zone
  • Usage.Account - Account-level DNS record usage
    • client.DNS.Usage.Account.Get() - Get DNS record usage for an account
Resource Sharing (client.ResourceSharing)
  • client.ResourceSharing.Resources.Update() - Update a shared resource
  • client.ResourceSharing.Resources.Delete() - Delete a shared resource
  • client.ResourceSharing.Resources.Get() - Get a shared resource
Workflows (client.Workflows)
  • client.Workflows.Instances.Step() - Get step details for a workflow instance
  • client.Workflows.Versions.Graph() - Get the version graph for a workflow
ResourceTagging (client.ResourceTagging)
  • New Summary sub-resource added (service stub)
Realtime Kit (client.RealtimeKit)
  • GenerateSummaryOfTranscripts() now returns a typed SessionGenerateSummaryOfTranscriptsResponse
  • StartTrackRecording() now returns a typed RecordingStartTrackRecordingResponse
Codegen Updates

Type and field updates across: ai_gateway, billing, browser_rendering, d1, dns_firewall, intel, magic_transit, organizations, r2, realtime_kit, zero_trust


Deprecations

None in this release.

Bug Fixes

  • Zero Trust: Fixed codegen test referencing response-only field IsSharedOAuthCallbackEnabled in MCP portal params

v7.4.0

Compare Source

Full Changelog: v7.3.0...v7.4.0

This release includes breaking changes in a few services alongside new features and SDK-level improvements. Please ensure you read through the list of changes below before upgrading.


v7.3.0

Compare Source

7.3.0 (2026-05-20)

Full Changelog: v7.2.0...v7.3.0

This release adds several new services and sub-resources across DDoS Protection, AI Security, R2
bucket objects, Workers observability queries, Zero Trust SAML certificates, and more. All changes
are additive -- there are no breaking changes in this release.


Features

DDoS Protection (client.DDoSProtection)
  • NEW SERVICE: Advanced TCP Protection management for Magic Transit accounts
    • AdvancedTCPProtection.Allowlist -- manage allowlist entries
      • New(), List(), BulkNew(), BulkDelete()
      • Items.Delete(), Items.Edit(), Items.Get()
    • AdvancedTCPProtection.Prefixes -- manage IP prefix configurations
      • New(), List(), BulkNew(), BulkDelete()
      • Items.Delete(), Items.Edit(), Items.Get()
    • AdvancedTCPProtection.SynProtection.Filters -- SYN flood protection filters
      • New(), List(), BulkDelete()
      • Items.Delete(), Items.Edit(), Items.Get()
    • AdvancedTCPProtection.SynProtection.Rules -- SYN flood protection rules
      • New(), List(), BulkDelete()
      • Items.Delete(), Items.Edit(), Items.Get()
    • AdvancedTCPProtection.TCPFlowProtection.Filters -- TCP flow protection filters
      • New(), List(), BulkDelete()
      • Items.Delete(), Items.Edit(), Items.Get()
    • AdvancedTCPProtection.TCPFlowProtection.Rules -- TCP flow protection rules
      • New(), List(), BulkDelete()
      • Items.Delete(), Items.Edit(), Items.Get()
    • AdvancedTCPProtection.Status -- TCP protection status
      • Edit(), Get()
AI Security (client.AISecurity)
  • NEW SERVICE: Zone-level AI security settings management
    • Update() -- update AI security settings for a zone
    • Get() -- get current AI security settings
    • CustomTopics.Update() -- update custom topic definitions
    • CustomTopics.Get() -- get custom topic definitions
R2 Bucket Objects (client.R2.Buckets.Objects)
  • NEW SUB-RESOURCE: Manage objects within R2 buckets via the control plane API
    • List() -- list objects in a bucket (cursor-paginated)
    • Delete() -- delete a specific object
    • Get() -- download an object (returns *http.Response)
    • Upload() -- upload an object from an io.Reader
Workers Observability Queries (client.Workers.Observability.Queries)
  • NEW SUB-RESOURCE: Saved observability queries for Workers telemetry
    • New() -- create a saved query
    • List() -- list saved queries
Workers Secrets Bulk Update (client.Workers.Scripts.Secrets)
  • Added BulkUpdate() method -- bulk update secrets for a Worker script via
    PATCH /accounts/{account_id}/workers/scripts/{script_name}/secrets-bulk
Zero Trust - SAML Certificate Management
  • Identity Providers (client.ZeroTrust.IdentityProviders.SAMLCertificate)

    • New() -- create a SAML certificate for an identity provider
  • Access SAML Certificates (client.ZeroTrust.Access.SAMLCertificates)

    • List() -- list all SAML certificate sets
    • Get() -- get a specific SAML certificate set
    • GetPem() -- download certificate in PEM format (returns *http.Response)
    • Rotate() -- rotate a SAML certificate set
Zero Trust - Resource Library (client.ZeroTrust.ResourceLibrary)
  • NEW SUB-RESOURCE: Browse the Zero Trust resource library
    • Applications.List() -- list available applications
    • Applications.Get() -- get application details
    • Categories.List() -- list application categories
    • Categories.Get() -- get category details
Secrets Store (client.SecretsStore.Stores)
  • Added Get() method -- retrieve a specific secrets store by ID
AI Search Namespaces (client.AISearch.Namespaces)
  • Added namespace-level convenience methods (previously only available at the instance level):
    • Delete() -- delete a namespace
    • ChatCompletions() -- run chat completions against a namespace
    • Read() -- get namespace details
    • Search() -- search within a namespace

Other Updates

  • Updated generated types and methods across many packages including ai_gateway,
    api_gateway, cache, email_security, intel, load_balancers, logpush,
    radar, secrets_store, workers, workers_for_platforms, workflows, and
    zones

v7.2.0

Compare Source

Full Changelog: v7.2.0...v7.3.0

⚠ BREAKING CHANGES
  • module path changed from github.com/cloudflare/cloudflare-go/v6 to github.com/cloudflare/cloudflare-go/v7.
Features
  • ai_security: add ai_security resource (f15b95b)
  • bump module path from v6 to v7 (732afc8)
  • chore: skip 25 failing TypeScript SDK tests from prism (5552f6c)
  • chore: skip failing tests from CI run 2605287 (51bc545)
  • ddos_protection: add ddos_protection resource (17954ba)
  • feat: WAD-244 Onboard AI Security for Apps api (53cd2bd)
  • feat(api): add advanced_tcp_protection endpoint mappings (5174326)
  • feat(api): WC-5056: add Workers .../secrets-bulk endpoints (a85fd4b)
  • feat(config): AUTH-8373 Make SAML certificate endpoints available in public docs (4ac8fcc)
  • feat(observability): adds Workers > Observability > Queries (fb2dddb)
  • feat(r2): add R2 bucket objects resource mapping (APIX-674) (9a00856)
  • feat(secrets_store): add Terraform configuration for secrets_store resources (effe30c)
  • zero_trust: update generated types and methods (0fe3c11)
Chores
  • acm: update generated types and methods (7087016)
  • ai_gateway: update generated types and methods (9a2e1a3)
  • ai_gateway: update generated types and methods (4a0250a)
  • api_gateway: update generated types and methods (d1e6f79)
  • api: update composite API spec (5461f50)
  • api: update composite API spec (b7647ec)
  • api: update composite API spec (b90d890)
  • api: update composite API spec (fa2f591)
  • api: update composite API spec (9bcf356)
  • api: update composite API spec (c9f9943)
  • api: update composite API spec (8983e63)
  • api: update composite API spec (bf7f054)
  • api: update composite API spec (11227a3)
  • internal: codegen related update (3012e61)
  • internal: codegen related update (84d2b95)
  • internal: codegen related update (6dbbf74)
  • internal: codegen related update (65bfb2b)
  • internal: codegen related update (ea2b86b)
  • internal: codegen related update (d96a1e5)
  • internal: update bootstrapped detect-breaking-changes (e2f9076)
  • workers_for_platforms: update generated types and methods (fbaae59)
  • workers: update generated types and methods (c1e2fb2)
  • workflows: update generated types and methods (7f3a9ba)
  • zones: update generated types and methods (343acae)

v7.1.0

Compare 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, InsightAuditLogListByInsightResponse

Classification (client.SecurityCenter.Insights.Classification)

  • Update(ctx, issueID, params) -> *InsightClassificationUpdateResponse

New response types: InsightClassificationUpdateResponse

Context (client.SecurityCenter.Insights.Context)

  • Get(ctx, issueID, query) -> *InsightContextGetResponse

New response types: InsightContextGetResponse

Zero Trust - Device Deployment Groups (client.ZeroTrust.Devices.DeploymentGroups)

New service client.ZeroTrust.Devices.DeploymentGroups:

  • New(ctx, params) -> *DeploymentGroup
  • List(ctx, params) -> *pagination.V4PagePaginationArray[DeploymentGroup]
  • Delete(ctx, groupID, body) -> *DeviceDeploymentGroupDeleteResponse
  • Edit(ctx, groupID, params) -> *DeploymentGroup
  • Get(ctx, groupID, query) -> *DeploymentGroup

New response types: DeploymentGroup, DeviceDeploymentGroupDeleteResponse

Queues - Metrics Endpoint (client.Queues)

New method on client.Queues:

  • GetMetrics(ctx, queueID, query) -> *QueueGetMetricsResponse

New response types: QueueGetMetricsResponse

Organizations - Audit Logs (client.Organizations.Logs.Audit)

New service client.Organizations.Logs.Audit:

  • List(ctx, organizationID, query) -> *pagination.CursorPaginationAfter[LogAuditListResponse]

New response types: LogAuditListResponse

v7.0.0

Compare 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, and workers. 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 SearchForAgents nested type has been removed from all instance metadata structs. This field is no longer part of the API specification.

Removed Types:

  • InstanceNewResponseMetadataSearchForAgents
  • InstanceUpdateResponseMetadataSearchForAgents
  • InstanceListResponseMetadataSearchForAgents
  • InstanceDeleteResponseMetadataSearchForAgents
  • InstanceReadResponseMetadataSearchForAgents
  • InstanceNewParamsMetadataSearchForAgents
  • InstanceUpdateParamsMetadataSearchForAgents
  • NamespaceInstanceNewResponseMetadataSearchForAgents
  • NamespaceInstanceUpdateResponseMetadataSearchForAgents
  • NamespaceInstanceListResponseMetadataSearchForAgents
  • NamespaceInstanceDeleteResponseMetadataSearchForAgents
  • NamespaceInstanceReadResponseMetadataSearchForAgents
  • NamespaceInstanceNewParamsMetadataSearchForAgents
  • NamespaceInstanceUpdateParamsMetadataSearchForAgents
Email Security - Path Parameter Type Changes (int64 to string)

Multiple Email Security settings sub-resources have changed their path parameter types from int64 to string. This affects Delete, Edit, and Get methods 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, and Investigate.Reclassify.New methods now use investigateID instead of postfixID as the path parameter name.

Email Security - Domains BulkDelete Method Removed

The SettingDomainService.BulkDelete method and its associated types have been removed:

  • SettingDomainBulkDeleteResponse
  • SettingDomainBulkDeleteParams
Email Security - TrustedDomains Return Type Change

SettingTrustedDomainService.New now returns *SettingTrustedDomainNewResponse instead of *SettingTrustedDomainNewResponseUnion.

Email Security - Investigate.Move Return Type Change

InvestigateMoveService.New now 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.Filters now accepts FiltersObjectFilterUnion (was []interface{})
  • ObservabilityTelemetryQueryParams.Parameters.Filters now accepts FiltersObjectFilterUnion
  • ObservabilityTelemetryValuesParams.Filters now accepts FiltersObjectFilterUnion

New types include FiltersObjectFiltersObject (for group filters with FilterCombination) and FiltersWorkersObservabilityFilterLeaf (for leaf filters with typed Operation, Type, and Value fields).


Features
Organizations (client.Organizations)
  • NEW SERVICE: client.Organizations.Logs.Audit -- query organization audit logs
    • List() - Retrieve audit logs with cursor-based pagination
Browser Rendering (client.BrowserRendering)
  • client.BrowserRendering.Devtools.Browser.Targets.Close() -- close a specific browser target (tab, page) by ID
Queues (client.Queues)
  • client.Queues.GetMetrics() -- retrieve queue metrics for a specific queue
AI Search (client.AISearch)
  • Added WaitForCompletion parameter to NamespaceInstanceItemNewOrUpdateParams and NamespaceInstanceItemSyncParams for synchronous indexing confirmation

Bug Fixes
  • Magic Transit: ConnectorService.List parameter name corrected from query to params (non-functional, affects generated documentation only)

Configuration

📅 Schedule: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/github.com-cloudflare-cloudflare-go-v6-7.x branch from f95467f to 1d0d597 Compare June 29, 2026 18:34
@renovate renovate Bot force-pushed the renovate/github.com-cloudflare-cloudflare-go-v6-7.x branch from 1d0d597 to 1573042 Compare July 9, 2026 22:12
@renovate renovate Bot changed the title fix(deps): update module github.com/cloudflare/cloudflare-go/v6 to v7.6.0 fix(deps): update module github.com/cloudflare/cloudflare-go/v6 to v7.7.0 Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants