7.14.0 (2026-11-05)
Full Changelog: v7.13.1...v7.14.0
Please ensure you read through the list of changes below. This release removes the MagicCloudNetworking
service in its entirety and restructures several response and parameter types. Review the breaking changes
and the migration guide before upgrading.
Breaking Changes
See the v7.14.0 Migration Guide for before/after code examples
and actions needed for each change.
- magic_cloud_networking: the entire
MagicCloudNetworkingservice is removed.client.MagicCloudNetworking
no longer exists, and thegithub.com/cloudflare/cloudflare-go/v7/magic_cloud_networkingpackage is deleted
along withMagicCloudNetworkingService,CatalogSync,CloudIntegration,Onramp, and all associated
response and parameter types. - accounts:
Accounts.PayBadDebt.New()and thePayBadDebtsub-resource are removed, along with
PayBadDebtService, its constructor,PayBadDebtNewParams,PayBadDebtNewResponse, and the
PayBadDebtNewResponseEnvelopetypes. - accounts:
Accounts.Subscriptions.Bulk.New()return type changed from*[]SubscriptionBulkNewResponse
to*SubscriptionBulkNewResponse. TheSubscriptionBulkNewResponseEnvelopeResultInfotype is removed. - accounts: the parameter helper types
AccountParam,AccountProfileParam,AccountManagedByParam, and
AccountSettingsParamare removed. - diagnostics:
Diagnostics.EndpointHealthchecks.List()return type changed from
*EndpointHealthcheckListResponseto*pagination.SinglePage[EndpointHealthcheckListResponse]. The
EndpointHealthcheckListResponseEnvelopetypes are removed. - magic_transit: the
WANStaticAddressingParamtype is removed from themagic_transitpackage. - organizations:
Organizations.OrganizationAccounts.Get()return type changed from*[]tenants.TenantAccount
to*[]organizations.OrganizationAccountGetResponse, and now takes anOrganizationAccountGetParamsstruct. - organizations:
Organizations.Members.Delete()signature changed from returning onlyerrorto returning
(*organizations.MemberDeleteResponse, error). - organizations: the parameter helper types
OrganizationParam,OrganizationMetaParam,
OrganizationMetaTenantFlagsParam,OrganizationParentParam, and theMemberNewParamsMemberStatusenum are removed. - precursor: the
EnforcementRule,EnforcementRuleParam, andEnforcementRuleModetypes are removed, along
with thePrecursorConfigDefaultModeenum. - rulesets: the ruleset response models are consolidated into union types.
Rulesets.New(),Update(), and
List();Rulesets.Rules.New(),Delete(), andEdit();Rulesets.Phases.Update();
Rulesets.Phases.Versions.List(); andRulesets.Versions.List()now return*...ResponseUniontypes instead
of the previous*...ResponseEnvelopeResultand paginated types.Rulesets.List()is no longer paginated (was
*pagination.CursorPagination[RulesetListResponse]). TheRulesetListResponse,PhaseVersionListResponse,
VersionListResponse, and theVersionGetResponse*/PhaseVersionGetResponse*rule type trees are removed. - tenants:
Tenants.Get()is removed along with theTenanttype and its nested types. - tenants:
Tenants.AccountTypes.List()is removed. - tenants:
Tenants.Entitlements.Get()is removed along with theTenantEntitlementstype and its nested types. - tenants:
Tenants.Memberships.List()is removed along with theTenantMembershiptype. - tenants:
Tenants.Accounts.List()signature changed: it now takes aquery tenants.AccountListParamsargument
and its return type changed from*pagination.SinglePage[tenants.TenantAccount]to
*pagination.V4PagePaginationArray[tenants.AccountListResponse]. - tenant_custom_nameservers:
TenantCustomNameservers.New(),Delete(), andGet()are removed. The service is
still wired on the client but now exposes no methods.TenantCustomNameserverNewParams,
TenantCustomNameserverNewResponse,TenantCustomNameserverGetResponse, and their nested and envelope types are removed. - user:
User.Tenants.List()return type changed from*pagination.SinglePage[organizations.Organization]to
*pagination.SinglePage[user.TenantListResponse]. - vectorize:
Vectorize.Indexes.GetByIDs()return type changed from*IndexGetByIDsResponse(an
interface{}alias) to*pagination.SinglePage[IndexGetByIDsResponse]. - zero_trust:
ZeroTrust.ResourceLibrary.Applications.List()andZeroTrust.ResourceLibrary.Categories.List()
return types changed from*pagination.SinglePage[...]to*pagination.CursorPaginationAfter[...]. - zero_trust: the DLP entry update body variants
DLPEntryUpdateParamsBodyCustom,
DLPEntryUpdateParamsBodyIntegration,DLPEntryUpdateParamsBodyPredefined, and their*Typeenums are removed. - zero_trust: the Gateway
RuleSettingAuditSSHandRuleSettingAuditSSHParamtypes are removed. - zones: the zone setting value types are restructured. The concrete per-setting
Valueenum types (e.g.
HTTP2Value,HTTP3Value,BrotliValue,MinTLSVersionValue,IPV6Value,TLS1_3Value,WebsocketValue,
and roughly 80 others, including theSettingEditResponseZones*ValueandSettingGetResponseZones*Valuefamilies)
are removed and replaced by*ValueUnioninterfaces and*ValueArraytypes. TheAutomaticPlatformOptimization
response struct is also removed (theAutomaticPlatformOptimizationParamtype is retained).
Features
- NEW SERVICE:
zero_trust.CWS-- Cloud Web Security management (/accounts/{account_id}/cws)ZeroTrust.CWS.BasicAuthCredentials.New(),List(),Delete(),Get()ZeroTrust.CWS.BasicAuthCredentials.Secrets.New(),List(),Delete(),Get()ZeroTrust.CWS.Deployments.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.DomainACLs.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.Policies.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.PolicySets.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.RegoMetadata.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.RegoModules.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.TenantStructures.New(),Update(),List(),Delete(),Get()ZeroTrust.CWS.TenantStructures.Nodes.New(),Update(),List(),Delete(),Batch(),Get()ZeroTrust.CWS.Workloads.New(),Update(),List(),Delete(),Get()
- billing: add
Billing.SpendPoliciessub-resource withNew(),Update(),List(),Delete(), andGet()methods
(/accounts/{account_id}/billing/spend-policies)Billing.SpendPolicies.Audit.List()Billing.SpendPolicies.Activity.List()
- ai_search: add
AISearch.Namespaces.Instances.Move()method
(PATCH /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}) and the
NamespaceInstanceMoveResponsetype - d1: add
D1.Database.Undelete()method (POST /accounts/{account_id}/d1/database/{database_id}/undelete) - r2: add
R2.Buckets.Jobssub-resource withNew(),List(), andGet()methods
(/accounts/{account_id}/r2/buckets/{bucket_name}/jobs) - zero_trust: add
Access.IdentityProviders.SCIM.Groups.Delete()andGet()methods - zero_trust: add
Access.IdentityProviders.SCIM.Users.Delete()andGet()methods - zero_trust: add
Access.Logs.JitRequestssub-resource withList()andGet()methods - zero_trust: add
Access.Users.MfaAuthenticators.Delete()method - zero_trust: add
Access.Users.Passkeys.Delete()method - zero_trust: add
Access.UserPopulationssub-resource withNew(),Update(),List(),Delete(), andGet()
methods, plusAccess.UserPopulations.UserswithNew(),Update(),List(),Delete(),Get(), andReplace() - zero_trust: add
Access.Mfa.AuthenticatorCatalog.List()method - zero_trust: add
Access.CustomPages.Validate()method - zero_trust: add
Casb.Posture.FindingTypes.New(),Update(),Delete(), andValidate()methods - zero_trust: add
Casb.Posture.AssetSchemassub-resource withList()andGet()methods - zero_trust: add
DLP.Validatorssub-resource withList()andGet()methods, plus
DLP.Validators.ProximityWordswithNew(),Update(),List(),Delete(), andGet() - zero_trust: add
Gateway.DNSDestinationIPssub-resource withList()method