github cloudflare/cloudflare-go v7.13.0

4 hours ago

7.13.0 (2026-10-09)

Breaking Changes

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

  • registrar: Registrar.Domains sub-resource removed. Domains.Update(), Domains.List(), and Domains.Get()
    are removed, along with DomainService, its constructor, and the associated response and parameter types.
    These endpoints reached end of life on September 27, 2026. Use Registrar.Registrations instead.
  • zero_trust: Access.Users.LastSeenIdentity.Get() return type changed from *Identity to
    *AccessUserLastSeenIdentityGetResponse. Identity and its nested DeviceSession, DevicePosture,
    DevicePostureCheck, Geo, IdP, and MTLSAuth types are renamed with the
    AccessUserLastSeenIdentityGetResponse prefix. The new response type also adds a Passkeys field.

Features

  • NEW SERVICE: k2 -- K2 stream management (/accounts/{account_id}/k2/streams)
    • Streams.New(), Update(), List(), Delete(), Get()
    • Streams.Subscriptions.List()
  • NEW SERVICE: monetization -- Zone monetization rule management (/zones/{zone_id}/monetization/rules)
    • Rules.Update(), Delete(), DeleteRule(), EditRule(), Get(), GetRule()
  • api_gateway: add Discovery.Operations.Edit() method
    (PATCH /zones/{zone_id}/api_gateway/discovery/operations/{discovery_id})
  • kv: add NamespaceMode and NamespaceNewParamsMode types
  • workers: add Beta.Workers.Versions.Profile() method
    (POST /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}/profile)
  • zero_trust: add DestinationOverride and DestinationOverrideParam types to Access.Applications

Don't miss a new cloudflare-go release

NewReleases is sending notifications on new releases.