github cloudflare/cloudflare-go v6.7.0

15 hours ago

6.7.0 (2026-02-10)

Full Changelog: v6.6.0...v6.7.0

Features

  • fraud: add new fraud detection API package
  • ai_gateway: add dynamic routing endpoints for AI Gateway
  • ai_gateway: add provider configuration management
  • ai_search: add chat completions endpoint
  • ai_search: add search endpoint
  • ai_search: add custom metadata field support
  • ai_search: add specific sitemaps configuration for web crawler
  • acm: add Update method for Total TLS settings (upsert pattern)
  • images: add metadata filtering support for image listings with operators (eq, in) and nested fields
  • magic_transit: add bond_id field to site LAN configuration
  • cloudforce_one: add cursor-based pagination for threat events (for deep pagination beyond 100k records)
  • cloudforce_one: add includeCreatedEvents option to bulk threat event creation
  • cloudforce_one: add datasetId field to threat event responses
  • zero_trust: add secure_web_gateway field to MCP portal configuration
  • email_security: add ids field for bulk move operations (replaces postfix_ids)

Bug Fixes

  • acm: rename New method to Edit for Total TLS settings to match API semantics
  • ai: add missing string union variants for AI run response types
  • ai: correct ToMarkdown transform method signature to use params instead of separate file parameter
  • custom_certificates: make bundle_method and other fields optional in response
  • custom_certificates: restructure edit params with proper union types
  • kv: change value field to support binary data in namespace value updates
  • d1: mark batch field as required for multiple queries
  • email_security: update bulk move documentation to specify 100 message limit
  • origin_tls_client_auth: restructure to use proper subresource pattern
  • workflows: properly type timeout and delay fields as unions (string or number)
  • workers: correct Mode types
  • browser_rendering: correct test URLs
  • cloudforce_one: remove preserveUuid parameter (replaced by includeCreatedEvents)
  • cloudforce_one: remove uuid field from threat event creation parameters
  • radar: correct CT data source constant name casing

Chores

  • intel: remove deprecated IP list endpoint and associated types
  • update version to 6.7.0
  • tests: skip problematic AI ToMarkdown transform tests
  • api: extensive API specification updates across all packages

Don't miss a new cloudflare-go release

NewReleases is sending notifications on new releases.