ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published Apr 15, 2026seen 5d

cloudflare/cloudflare-typescript v6.0.0-beta.2

cloudflare/cloudflare-typescript

Open original ↗

Captured source

source ↗
published Apr 15, 2026seen 5dcaptured 9hhttp 200method plain

v6.0.0-beta.2

Repository: cloudflare/cloudflare-typescript

Tag: v6.0.0-beta.2

Published: 2026-04-15T22:52:05Z

Prerelease: yes

Release notes:

6.0.0-beta.2 (2026-04-15)

> Disclaimer: v6.0.0-beta.2 is a Beta release and we are still testing it for stability.

Full Changelog: v6.0.0-beta.1...v6.0.0-beta.2

This release adds coverage for 53 new API resources, including Vulnerability Scanner, Browser Rendering DevTools, Email Sending, Zone Environments, AI Gateway Dynamic Routing, and Resource Tagging. It also introduces new accountId and zoneId client configuration options. There are several breaking changes from OpenAPI spec and codegen updates -- primarily return type refinements, resource restructurings, and method removals.

There may be changes not captured in this changelog. Open an issue to report any inaccuracies and we will update the notes before the stable release.

Breaking Changes

Resource Restructurings (Renamed)

These resources were restructured. Update any references to the old paths.

  • originTLSClientAuth.hostnames.certificates -> originTLSClientAuth.hostnameCertificates
  • radar.netflows -> radar.netFlows
  • radar.netflows.top -> radar.netFlows.top

Removed Resources

  • securityCenter.insights -- resource removed, including .class, .severity, .type sub-resources

Removed Methods

  • acm.totalTLS -- create() removed (replaced by update() and edit())
  • waitingRooms -- list() removed
  • intel.ipLists -- get() removed
  • cloudforceOne.threatEvents -- delete() removed
  • aiSearch.instances.items -- list(), get() removed

Return Type Changes

  • workers.domains -- update(), list(), delete(), get() return types changed from shared Domain to per-method response types (DomainUpdateResponse, DomainListResponsesSinglePage, etc.)
  • pages.projects -- create(), list(), edit(), get() return types simplified from per-method response types to shared Project
  • pages.projects.deployments -- create(), list(), get(), retry(), rollback() return types simplified to shared Deployment
  • zeroTrust.dlp.datasets -- create(), update(), get() return types changed (e.g. DatasetCreateResponse -> DatasetCreation)
  • zeroTrust.dlp.datasets.upload -- create(), edit() return types changed
  • zeroTrust.dlp.profiles -- get() return type changed to Profile
  • zeroTrust.dlp.profiles.custom -- create(), update(), get() return types changed to Profile
  • zeroTrust.dlp.profiles.predefined -- update(), get() return types changed to PredefinedProfile
  • zeroTrust.networks.subnets -- list() return type changed
  • zeroTrust.networks.subnets.cloudflareSource -- update() return type changed to Subnet
  • ssl.certificatePacks -- list() pagination changed from SinglePage to V4PagePaginationArray
  • emailSecurity.investigate.move -- create() return type changed from SinglePage to MoveCreateResponse
  • kv.namespaces.keys -- list() pagination changed from CursorPaginationAfter to CursorLimitPagination
  • stream.audioTracks -- get() return type changed from AudioSinglePage to AudioTrackGetResponse
  • stream.clip -- create() return type changed from Clip to Video
  • zeroTrust.devices.dexTests -- list() pagination changed from SinglePage to V4PagePaginationArray
  • zeroTrust.dex.fleetStatus -- overTime() return type changed from void to FleetStatusOverTimeResponse
  • snippets.rules -- update(), list(), delete() return types changed from SinglePage to direct response types
  • secretsStore.stores -- create() return type changed; delete() now returns | null
  • secretsStore.stores.secrets -- delete(), bulkDelete() now return | null
  • pipelines -- deleteV1() return type changed from void to PipelineDeleteV1Response
  • pipelines.sinks -- delete() return type changed from void to SinkDeleteResponse
  • pipelines.streams -- delete() return type changed from void to StreamDeleteResponse

Endpoint Changes

  • aiSearch.tokens -- update() HTTP verb changed from delete to put; read() HTTP verb changed from delete to get

New API Resources

  • zones.environments -- Zone environment management (create, update, list, delete, edit, rollback)
  • acm.customTrustStore -- Custom origin trust store certificates
  • emailSending -- Transactional email sending (send, sendRaw)
  • emailSending.subdomains -- Email sending subdomain management
  • emailSecurity.phishguard.reports -- Phishguard report listing
  • originTLSClientAuth.zoneCertificates -- Zone-level TLS client auth certificates
  • originTLSClientAuth.hostnameCertificates -- Hostname-level TLS client auth certificates (restructured from originTLSClientAuth.hostnames.certificates)
  • workers.observability.destinations -- Workers observability log destinations
  • apiGateway.labels -- API Gateway label management (user labels, managed labels, operation labels)
  • apiGateway.operations.labels -- Operation-level label CRUD and bulk operations
  • billing.usage -- Billing usage (paygo)
  • brandProtection.v2 -- Brand Protection v2 (queries, matches, logos, logoMatches)
  • registrar.registrationStatus -- Domain registration status
  • registrar.updateStatus -- Domain update status
  • zeroTrust.devices.ipProfiles -- Zero Trust device IP profiles
  • zeroTrust.dex.rules -- DEX rules management
  • zeroTrust.tunnels.warpConnector.connections -- WARP Connector connection details
  • zeroTrust.tunnels.warpConnector.connectors -- WARP Connector connector details
  • zeroTrust.tunnels.warpConnector.failover -- WARP Connector failover config
  • zeroTrust.dlp.settings -- DLP settings management
  • zeroTrust.gateway.pacfiles -- Gateway PAC file management
  • zeroTrust.networks.subnets.warp -- WARP subnet management
  • vulnerabilityScanner -- Vulnerability Scanner (credential sets, scans, target environments)
  • radar.agentReadiness -- Radar agent readiness summary
  • radar.ai.markdownForAgents -- Radar AI markdown for agents (summary, timeseries)
  • radar.bgp.rpki.aspa -- Radar BGP RPKI ASPA data (changes, snapshot, timeseries)
  • radar.postQuantum -- Radar post-quantum analytics (origin summary, TLS support)
  • fraud -- Fraud detection configuration
  • googleTagGateway.config -- Google Tag Gateway configuration

-…

Excerpt shown — open the source for the full document.

Notability

notability 3.0/10

Routine beta release of a client library