Skip to content

v7.16.0

Latest

Choose a tag to compare

@ssicard ssicard released this 02 Dec 23:04
08b721e

7.16.0 (2026-12-02)

Full Changelog: v7.15.0...v7.16.0

Please ensure you read through the list of changes below. This release restructures several parameter and
response types, changes the pagination type returned by a number of List() methods, and removes request
fields that the API no longer accepts. Review the breaking changes and the migration guide before upgrading.

Breaking Changes

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

  • accounts: AccountUpdateParams now wraps the request body in an Account accounts.AccountParam field. The
    flat ID, Name, ManagedBy, and Settings fields are removed, along with the AccountUpdateParamsManagedBy
    and AccountUpdateParamsSettings types. Use AccountParam, AccountManagedByParam, and AccountSettingsParam
    instead. The request body sent to the API is unchanged.
  • alerting: the URL and Secret fields are removed from DestinationWebhookUpdateParams.
    Alerting.Destinations.Webhooks.Update() now only updates the webhook Name.
  • browser_rendering: CrawlGetResponseRecord.Json changed from map[string]interface{} to
    CrawlGetResponseRecordsJsonUnion (implemented by CrawlGetResponseRecordsJsonMap,
    CrawlGetResponseRecordsJsonArray, and shared.UnionString).
  • calls: TURNNewResponse.Key is renamed to TURNNewResponse.Secret (JSON field secret).
  • cloudforce_one: the deprecated CloudforceOne.ThreatEvents.BulkNewRelationships() method is removed, along with
    ThreatEventBulkNewRelationshipsParams, ThreatEventBulkNewRelationshipsResponse, and their nested types.
  • cloudforce_one: the CustomFeedCount, CustomFeedLimit, and Reason fields and the ...MessagesReason enums
    are removed from the ThreatSignal*ResponseEnvelopeMessages types.
  • organizations: the OrganizationAccountGetResponseOrganizationsAPILegacyAccount* types are renamed to
    OrganizationAccountGetResponseOrganizationsLegacyAccount*.
  • pagination: the following List() and ListAutoPaging() methods now return
    *pagination.V4PagePaginationArray[...] / *pagination.V4PagePaginationArrayAutoPager[...] instead of
    *pagination.SinglePage[...] / *pagination.SinglePageAutoPager[...]:
    Hostnames.Settings.TLS.List(), KeylessCertificates.List(), MTLSCertificates.List(),
    OriginTLSClientAuth.List(), OriginTLSClientAuth.HostnameCertificates.List(),
    OriginTLSClientAuth.ZoneCertificates.List(), Pages.Projects.Domains.List(), Queues.List(), and
    ZeroTrust.Networks.VirtualNetworks.List().
  • realtime_kit: the CustomParticipantIDs field is removed from ActiveSessionKickParticipantsParams and
    ActiveSessionMuteParticipantsParams; ParticipantIDs is now required. The response Data.Action fields of the
    kick and mute methods changed from string to typed enums, and the CreatedAt, Email, Name, Picture, and
    UpdatedAt fields are removed from ActiveSessionKickParticipantsResponseDataParticipant and
    ActiveSessionMuteParticipantsResponseDataParticipant.
  • realtime_kit: the CfAccountTag and IsOrgOnKV fields are removed from AppUpdateAppByIDResponseData.
  • stream: WebhookUpdateParams.BodyNotificationURL1 and BodyNotificationURL2 are replaced by a single
    NotificationURL field.
  • turnstile: the list-only query fields Direction, Filter, Order, Page, and PerPage are removed from
    WidgetNewParams, along with the WidgetNewParamsDirection and WidgetNewParamsOrder enums.
  • turnstile: the Region field is removed from WidgetUpdateParams, along with the WidgetUpdateParamsRegion
    enum. The API no longer accepts region on update.
  • url_scanner: the ScanNewParamsCountry values CD, CW, GD, GU, HT, LR, MA, MM, MW, TJ, and
    UZ are removed.
  • web3: the ResultInfo field and the HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo
    type are removed from HostnameIPFSUniversalPathContentListEntryListResponseEnvelope.
  • zero_trust: ZeroTrust.Devices.DeploymentGroups.List() now returns *[]DeploymentGroup instead of
    *pagination.V4PagePaginationArray[DeploymentGroup], and ListAutoPaging() is removed. The endpoint returns all
    deployment groups in a single response.
  • zero_trust: the FallbackDomainParam type is removed. The Domains field of
    DevicePolicyDefaultFallbackDomainUpdateParams and DevicePolicyCustomFallbackDomainUpdateParams now uses
    DevicePolicyDefaultFallbackDomainUpdateParamsDomain and DevicePolicyCustomFallbackDomainUpdateParamsDomain.
  • zero_trust: the Network field is removed from NetworkSubnetWARPEditParams. The API no longer accepts network
    when editing a WARP subnet.
  • zero_trust: in the RiskScoring.Get() and RiskScoring.Summary.Get() envelope ResultInfo types, Count,
    Page, PerPage, and TotalCount changed from float64 to int64, and TotalPages is removed.
    RiskScoringGetResponseEvent.EventDetails changed from interface{} to map[string]interface{}.
  • zones: the per-method environment Position types (EnvironmentNewParamsEnvironmentsPosition,
    EnvironmentUpdateParamsEnvironmentsPosition, EnvironmentEditParamsEnvironmentsPosition, and the
    Environment*ResponseEnvironmentsPosition types) are removed. Position now uses the shared
    rules.ListCursorParam (params) and rules.ListCursor (responses) types, which are restored in this release.
  • zones: ZoneHold.IncludeSubdomains changed from string to bool.
  • params: d1.DatabaseListParams, zero_trust.GatewayConfigurationUpdateParams,
    zero_trust.GatewayConfigurationEditParams, zero_trust.GatewayConfigurationSettingsParam, and
    cloudforce_one.ThreatSignalSearchSearchParams gained slice or map fields and are no longer comparable with ==.

Features

  • NEW SERVICE: analytics_engine -- Workers Analytics Engine SQL API (/accounts/{account_id}/analytics_engine/sql)
    • AnalyticsEngine.Sql.Query()
  • addressing: add AddressMaps.Zones.Update() and Delete() methods
    (/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{member_zone_id})
  • ai_gateway: add Billing.Topup.GetEligibility() (GET /accounts/{account_id}/ai-gateway/billing/topup/eligibility),
    plus the deprecated Billing.Topup.Eligibility() and Billing.Topup.Limits() methods
  • alerting: add Policies.Test() method (POST /accounts/{account_id}/alerting/v3/policies/{policy_id}/test)
  • alerting: add Policies.Email.Details() and Unsubscribe() methods
    (/accounts/{account_id}/alerting/v3/policies/{policy_id}/email/unsubscribe)
  • browser_rendering: add Script sub-resource with New() and Execute() methods
    (/accounts/{account_id}/browser-rendering/script)
  • containers: add Containers.Usage() method (GET /accounts/{account_id}/containers/usage)
  • custom_pages: add PreviewTokens.New() method
    (POST /{accounts_or_zones}/{account_or_zone_id}/custom_pages/preview_tokens)
  • email_security: add Submissions.New() method (POST /accounts/{account_id}/email-security/submissions)
  • firewall: add PayloadLogging sub-resource with Update(), Delete(), and Get() methods
    (/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key)
  • hyperdrive: add MTLS.Bind() method (POST /accounts/{account_id}/hyperdrive/mtls/bind)
  • network_interconnects: add Interconnects.LOADefaultName() method
    (GET /accounts/{account_id}/cni/interconnects/{icon}/loa/default)
  • security_center: add State sub-resource with Update() and Get() methods
    (/accounts/{account_id}/security-center/state)
  • spectrum: add EdgeAlpnProtocols to app configs, and OriginWorkerID / OriginWorkerName to PAYG app configs
  • workers_for_platforms: add Dispatch.Namespaces.Update() and Edit() methods
    (/accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace})
  • zero_trust: add Devices.Devices.Update() method (PATCH /accounts/{account_id}/devices/physical-devices/{device_id})
  • zero_trust: add Devices.OverrideCodes.New() method (POST /accounts/{account_id}/devices/override_codes)
  • zero_trust: add AlwaysInclude, AlwaysExclude, SpeedTestSettings, and Description to
    DevicePolicyCustomNewParams, DevicePolicyCustomEditParams, and DevicePolicyDefaultEditParams, and
    FallbackDomains to DevicePolicyCustomNewParams
  • zero_trust: add Regions sub-resource with Update(), List(), Delete(), and Get() methods
    (/accounts/{account_id}/zerotrust/region)
  • zero_trust: add Tunnels.Cloudflared.Configurations.Delete() method
    (DELETE /accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations)

Deprecations

  • ai_gateway: Billing.SpendingLimit.Get() and Delete() are deprecated; spending limits can no longer be
    created, enabled, or modified.
  • ai_gateway: Billing.Topup.Config.Get(), Billing.Topup.Eligibility(), and Billing.Topup.Limits() are
    deprecated; use Billing.Topup.GetEligibility().