ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published Apr 23, 2026seen Jun 26

cloudflare/cloudflare-go v6.10.0

cloudflare/cloudflare-go

Open original ↗

Captured source

source ↗
published Apr 23, 2026seen Jun 26captured 4whttp 200method plain

v6.10.0

Repository: cloudflare/cloudflare-go

Tag: v6.10.0

Published: 2026-04-23T17:10:40Z

Prerelease: no

Release notes:

6.10.0 (2026-04-23)

Full Changelog: v6.9.0...v6.10.0

In this release, you'll see a number of breaking changes. This is primarily due to changes in OpenAPI definitions, which our libraries are based off of, and codegen updates that we rely on to read those OpenAPI definitions and produce our SDK libraries.

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 [v6.10.0 Migration Guide](./docs/migration-guides/v6.10.0-migration-guide.md) for before/after code examples and actions needed for each change.

Abuse Reports - Registrar WHOIS Report Field Removals

Several fields have been removed from AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReportRegWhoRequest:

  • RegWhoGoodFaithAffirmation
  • RegWhoLawfulProcessingAgreement
  • RegWhoLegalBasis
  • RegWhoRequestType
  • RegWhoRequestedDataElements

AI Search - Instance Params Restructured

The InstanceNewParams and InstanceUpdateParams types have been significantly restructured. Many fields have been moved or removed:

  • InstanceNewParams.TokenID, Type, CreatedFromAISearchWizard, WorkerDomain removed
  • InstanceUpdateParams — most configuration fields removed (including IndexMethod, IndexingOptions, MaxNumResults, Metadata, Paused, PublicEndpointParams, Reranking, RerankingModel, RetrievalOptions, RewriteModel, RewriteQuery, ScoreThreshold, SourceParams, Summarization, SummarizationModel, SystemPromptAISearch, SystemPromptIndexSummarization, SystemPromptRewriteQuery, TokenID, CreatedFromAISearchWizard, WorkerDomain)
  • InstanceSearchParams.Messages field removed along with InstanceSearchParamsMessage and InstanceSearchParamsMessagesRole types

AI Search - InstanceItem Service Removed

The InstanceItemService type has been removed. The items sub-resource at client.AISearch.Instances.Items no longer exists in the non-namespace path. Use client.AISearch.Namespaces.Instances.Items instead.

AI Search - Token Types Removed

The following types have been removed from the ai_search package:

  • TokenDeleteResponse
  • TokenListParams (and associated TokenListParamsOrderBy, TokenListParamsOrderByDirection)

Email Security - Investigate Move Return Type Change

The Investigate.Move.New() method now returns a raw slice instead of a paginated wrapper:

  • New() returns *[]InvestigateMoveNewResponse instead of *pagination.SinglePage[InvestigateMoveNewResponse]
  • NewAutoPaging() method removed

Hyperdrive - Config Params Restructured

The ConfigEditParams type lost its MTLS and Name fields. The HyperdriveMTLSParam type lost MTLS and Host fields. The Host field on origin config changed from param.Field[string] to a plain string.

IAM - UserGroupMember Params and Return Types Changed

The UserGroupMemberNewParams struct has been restructured and the New() method now returns a paginated response:

  • UserGroupMemberNewParams.Body renamed to UserGroupMemberNewParams.Members
  • UserGroupMemberNewParamsBody renamed to UserGroupMemberNewParamsMember
  • UserGroupMemberUpdateParams.Body renamed to UserGroupMemberUpdateParams.Members
  • UserGroupMemberUpdateParamsBody renamed to UserGroupMemberUpdateParamsMember
  • UserGroups.Members.New() returns *pagination.SinglePage[UserGroupMemberNewResponse] instead of *UserGroupMemberNewResponse

IAM - UserGroup List Direction Type Changed

The UserGroupListParams.Direction field changed from param.Field[string] to param.Field[UserGroupListParamsDirection] (typed enum with asc/desc values).

Pipelines - Delete Methods Now Return Typed Responses

Several delete methods across Pipelines now return typed responses instead of bare error:

  • Pipelines.DeleteV1() returns (*PipelineDeleteV1Response, error) instead of error
  • Pipelines.Sinks.Delete() returns (*SinkDeleteResponse, error) instead of error
  • Pipelines.Streams.Delete() returns (*StreamDeleteResponse, error) instead of error

Queues - Message Response Types Removed

The following response envelope types have been removed:

  • MessageBulkPushResponseSuccess
  • MessagePushResponseSuccess
  • MessageAckResponse fields RetryCount and Warnings removed

Secrets Store - Pagination Wrapper Removal and Type Changes

Methods now return direct types instead of SinglePage wrappers, and several internal types have been removed. Associated AutoPaging methods have also been removed:

  • Stores.New() returns *StoreNewResponse instead of *pagination.SinglePage[StoreNewResponse]
  • Stores.NewAutoPaging() method removed
  • Stores.Secrets.BulkDelete() returns *StoreSecretBulkDeleteResponse instead of *pagination.SinglePage[StoreSecretBulkDeleteResponse]
  • Stores.Secrets.BulkDeleteAutoPaging() method removed
  • Removed types: StoreDeleteResponse, StoreDeleteResponseEnvelopeResultInfo, StoreSecretDeleteResponse, StoreSecretDeleteResponseStatus, StoreSecretBulkDeleteResponse (old shape), StoreSecretBulkDeleteResponseStatus, StoreSecretDeleteResponseEnvelopeResultInfo
  • StoreNewParams restructured (old StoreNewParamsBody removed)
  • StoreSecretBulkDeleteParams restructured

Stream - AudioTracks Return Type Change

The AudioTracks.Get() method now returns a dedicated response type instead of a paginated list. The GetAutoPaging() method has been removed:

  • Get() returns *AudioTrackGetResponse instead of *pagination.SinglePage[Audio]
  • GetAutoPaging() method removed

Stream - Clip Type Removal and Return Type Change

The Clip.New() method now returns the shared Video type. The following types have been entirely removed:

  • Clip, ClipPlayback, ClipStatus, ClipWatermark

Stream - Copy and Clip Params Field Removals

  • ClipNewParams.MaxDurationSeconds, ThumbnailTimestampPct, Watermark removed
  • CopyNewParams.ThumbnailTimestampPct, Watermark removed

Stream - Download and Webhook Changes

  • DownloadNewResponseStatus type removed
  • WebhookUpdateResponse and WebhookGetResponse changed from interface{} type aliases to full...

Excerpt shown — open the source for the full document.