cloudflare/cloudflare-typescript v6.0.0-beta.2
cloudflare/cloudflare-typescript
Captured source
source ↗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.hostnameCertificatesradar.netflows->radar.netFlowsradar.netflows.top->radar.netFlows.top
Removed Resources
securityCenter.insights-- resource removed, including.class,.severity,.typesub-resources
Removed Methods
acm.totalTLS--create()removed (replaced byupdate()andedit())waitingRooms--list()removedintel.ipLists--get()removedcloudforceOne.threatEvents--delete()removedaiSearch.instances.items--list(),get()removed
Return Type Changes
workers.domains--update(),list(),delete(),get()return types changed from sharedDomainto per-method response types (DomainUpdateResponse,DomainListResponsesSinglePage, etc.)pages.projects--create(),list(),edit(),get()return types simplified from per-method response types to sharedProjectpages.projects.deployments--create(),list(),get(),retry(),rollback()return types simplified to sharedDeploymentzeroTrust.dlp.datasets--create(),update(),get()return types changed (e.g.DatasetCreateResponse->DatasetCreation)zeroTrust.dlp.datasets.upload--create(),edit()return types changedzeroTrust.dlp.profiles--get()return type changed toProfilezeroTrust.dlp.profiles.custom--create(),update(),get()return types changed toProfilezeroTrust.dlp.profiles.predefined--update(),get()return types changed toPredefinedProfilezeroTrust.networks.subnets--list()return type changedzeroTrust.networks.subnets.cloudflareSource--update()return type changed toSubnetssl.certificatePacks--list()pagination changed fromSinglePagetoV4PagePaginationArrayemailSecurity.investigate.move--create()return type changed fromSinglePagetoMoveCreateResponsekv.namespaces.keys--list()pagination changed fromCursorPaginationAftertoCursorLimitPaginationstream.audioTracks--get()return type changed fromAudioSinglePagetoAudioTrackGetResponsestream.clip--create()return type changed fromCliptoVideozeroTrust.devices.dexTests--list()pagination changed fromSinglePagetoV4PagePaginationArrayzeroTrust.dex.fleetStatus--overTime()return type changed fromvoidtoFleetStatusOverTimeResponsesnippets.rules--update(),list(),delete()return types changed fromSinglePageto direct response typessecretsStore.stores--create()return type changed;delete()now returns| nullsecretsStore.stores.secrets--delete(),bulkDelete()now return| nullpipelines--deleteV1()return type changed fromvoidtoPipelineDeleteV1Responsepipelines.sinks--delete()return type changed fromvoidtoSinkDeleteResponsepipelines.streams--delete()return type changed fromvoidtoStreamDeleteResponse
Endpoint Changes
aiSearch.tokens--update()HTTP verb changed fromdeletetoput;read()HTTP verb changed fromdeletetoget
New API Resources
zones.environments-- Zone environment management (create, update, list, delete, edit, rollback)acm.customTrustStore-- Custom origin trust store certificatesemailSending-- Transactional email sending (send, sendRaw)emailSending.subdomains-- Email sending subdomain managementemailSecurity.phishguard.reports-- Phishguard report listingoriginTLSClientAuth.zoneCertificates-- Zone-level TLS client auth certificatesoriginTLSClientAuth.hostnameCertificates-- Hostname-level TLS client auth certificates (restructured fromoriginTLSClientAuth.hostnames.certificates)workers.observability.destinations-- Workers observability log destinationsapiGateway.labels-- API Gateway label management (user labels, managed labels, operation labels)apiGateway.operations.labels-- Operation-level label CRUD and bulk operationsbilling.usage-- Billing usage (paygo)brandProtection.v2-- Brand Protection v2 (queries, matches, logos, logoMatches)registrar.registrationStatus-- Domain registration statusregistrar.updateStatus-- Domain update statuszeroTrust.devices.ipProfiles-- Zero Trust device IP profileszeroTrust.dex.rules-- DEX rules managementzeroTrust.tunnels.warpConnector.connections-- WARP Connector connection detailszeroTrust.tunnels.warpConnector.connectors-- WARP Connector connector detailszeroTrust.tunnels.warpConnector.failover-- WARP Connector failover configzeroTrust.dlp.settings-- DLP settings managementzeroTrust.gateway.pacfiles-- Gateway PAC file managementzeroTrust.networks.subnets.warp-- WARP subnet managementvulnerabilityScanner-- Vulnerability Scanner (credential sets, scans, target environments)radar.agentReadiness-- Radar agent readiness summaryradar.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 configurationgoogleTagGateway.config-- Google Tag Gateway configuration
-…
Excerpt shown — open the source for the full document.
Notability
notability 3.0/10Routine beta release of a client library