---
description: Major release with 11 new API resources, SDK infrastructure improvements, 179 return type changes, and breaking changes across the generated API surface.
title: Cloudflare TypeScript SDK v6.0.0 Released
image: https://developers.cloudflare.com/changelog/post/2026-04-30-cloudflare-typescript-v6.0.0/og.png?v=d95aeca44760ded3
---

[Skip to content](#main-content)

[View RSS feeds](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/) [ Subscribe to RSS](https://developers.cloudflare.com/changelog/rss/index.xml)

[Back to all posts](https://developers.cloudflare.com/changelog)

April 30, 2026

## Cloudflare TypeScript SDK v6.0.0 Released

[SDK](https://developers.cloudflare.com/fundamentals/api/reference/sdks/)

Copy as Markdown| [View as Markdown](https://developers.cloudflare.com/changelog/post/2026-04-30-cloudflare-typescript-v6.0.0/index.md)| [Agent setup](https://developers.cloudflare.com/agent-setup/)

Full Changelog: [v6.0.0-beta.2...v6.0.0 ↗︎](https://github.com/cloudflare/cloudflare-typescript/compare/v6.0.0-beta.2...v6.0.0)

This is a major version release of the Cloudflare TypeScript SDK. It includes 11 entirely new top-level API resources, new sub-resources and methods across 50+ existing resources, SDK infrastructure improvements, and breaking changes to the generated API surface from the v5.x line.

**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

#### SDK Infrastructure

- **Retry-After handling changed**: The SDK now respects any server-specified `Retry-After` value for rate-limited requests. Previously, values over 60 seconds were ignored and a default backoff was used instead.
- **Empty response handling**: Responses with `content-length: 0` now return `undefined` instead of attempting to parse the body.
- **Environment variable reading**: Empty string env vars (for example, `CLOUDFLARE_API_TOKEN=""`) are now treated as unset.
- **Path query parameter merging**: URL search params embedded in endpoint paths are now extracted and merged into the query object.

#### Removed Endpoints (17)

17 HTTP endpoints were removed from the SDK, affecting `abuse-reports`, `cloudforce-one`, `dlp/profiles/predefined`, `email-security/investigate`, `email-security/settings`, and `intel/ip-list`.

#### Method Signature Changes

- `client.ai.toMarkdown.transform(file, \{ ...params \})` -> `client.ai.toMarkdown.transform(\{ ...params \})` -- `file` moved from positional arg into params body
- `client.radar.ai.toMarkdown.create(body, \{ ...params \})` -> `client.radar.ai.toMarkdown.create(\{ ...params \})` -- `body` moved from positional arg into params
- `client.abuseReports.create(reportType, \{ ...params \})` -> `client.abuseReports.create(reportParam, \{ ...params \})` -- positional arg renamed
- `client.iam.userGroups.members.create(userGroupId, [ ...body ])` -> `client.iam.userGroups.members.create(userGroupId, [ ...members ])` -- body array param renamed

#### Renamed Client Paths

- `client.originTLSClientAuth.hostnames.certificates` -> `client.originTLSClientAuth.zoneCertificates`
- `client.radar.netflows` -> `client.radar.netFlows` (casing change)

#### Return Type Changes (179)

- **133 methods now return `null`** instead of a typed response object. This primarily affects delete operations across `accounts`, `cache`, `d1`, `filters`, `firewall`, `hyperdrive`, `iam`, `kv`, `logpush`, `logs`, `r2`, `stream`, `workers`, `zero-trust`, `zones`, and others.
- **17 methods changed pagination type** (for example, `KeysCursorPaginationAfter` -> `KeysCursorLimitPagination`).
- **29 methods changed to a different named type** (for example, `CloudflaredCreateResponse` -> `CloudflareTunnel`).

#### Removed Types (43)

24 shared types removed from root namespace (`ASN`, `AuditLog`, `Member`, `Permission`, `Role`, `Subscription`, `Token`, etc.). 19 response types consolidated or renamed.

#### Resource Restructuring

19 resources were restructured from single files to directories. Public API client paths are unchanged, but deep imports may break.

#### New Top-Level Resources

11 entirely new resources added to the client:

| Resource | Client Path | Methods | Description |
| --- | --- | --- | --- |
| AI Search | `client.aiSearch` | 46 | Instances, namespaces, tokens, and items |
| Connectivity | `client.connectivity` | 5 | Directory service APIs |
| Email Sending | `client.emailSending` | 7 | Send and send\_raw endpoints |
| Fraud | `client.fraud` | 2 | Fraud detection API |
| Google Tag Gateway | `client.googleTagGateway` | 2 | Google Tag Gateway management |
| Organizations | `client.organizations` | 8 | Organization profiles and audit logs |
| R2 Data Catalog | `client.r2DataCatalog` | 11 | R2 Data Catalog routes |
| Realtime Kit | `client.realtimeKit` | 54 | Realtime Kit APIs |
| Resource Tagging | `client.resourceTagging` | 9 | Resource tagging routes |
| Token Validation | `client.tokenValidation` | 13 | Token validation rules |
| Vulnerability Scanner | `client.vulnerabilityScanner` | 21 | Vulnerability scanning |

#### New Sub-Resources on Existing Resources

- **browser-rendering**: `crawl`, `devtools` - Crawl endpoints and DevTools methods
- **cache**: `origin-cloud-regions` - Origin cloud regions resource
- **dns**: `usage` - DNS records usage endpoints
- **d1**: `time-travel` - Time travel get\_bookmark and restore
- **email-security**: `phishguard` - Phishguard reports endpoint
- **pipelines**: `sinks`, `streams` - Pipelines restructure
- **radar**: `agent-readiness`, `geolocations`, `post-quantum` - New analytics endpoints
- **workers**: `observability` - Observability destinations
- **zones**: `environments` - Zone environments endpoints
- **api-gateway**: `labels` - Labels endpoints
- **brand-protection**: `v2` - V2 endpoints
- **alerting**: `silences` - Alert silencing API
- **billing**: `usage` - Billable usage PayGo endpoint
- **iam**: `sso` - SSO Connectors resource
- **queues**: `getMetrics` method - Queues metrics endpoint
- **registrar**: `registration-status`, `update-status` - Registrar API convergence
- **zero-trust**: DLP settings, DEX rules, Access Users, WARP Connector, WARP Subnets, Gateway PAC files, Gateway tenants

#### Bug Fixes

- Resolved type errors from codegen overwriting manual fixes
- Fixed `post()` usage for to-markdown endpoints to resolve async type error
- Added least-privilege permissions to all workflow jobs
- Reverted erroneous removal of rulesets resource methods and types
- Resolved prettier formatting errors in codegen output

#### Deprecations

The following resources now include `@deprecated` annotations on some methods:

`accounts`, `addressing`, `ai-gateway`, `aisearch`, `api-gateway`, `billing`, `cloudforce-one`, `custom-nameservers`, `dns`, `email-routing`, `email-security`, `filters`, `firewall`, `images`, `intel`, `keyless-certificates`, `kv`, `logpush`, `origin-tls-client-auth`, `page-shield`, `pages`, `pipelines`, `radar`, `rate-limits`, `registrar`, `rulesets`, `ssl`, `user`, `workers`, `workers-for-platforms`, `zero-trust`, `zones`

#### Get started

- [Download TypeScript SDK v6.0.0 ↗︎](https://github.com/cloudflare/cloudflare-typescript/releases/tag/v6.0.0)
- [TypeScript SDK documentation ↗︎](https://developers.cloudflare.com/api/sdks/typescript/)
- [Full Changelog ↗︎](https://github.com/cloudflare/cloudflare-typescript/blob/main/CHANGELOG.md)

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/post/2026-04-30-cloudflare-typescript-v6.0.0/#page","headline":"Cloudflare TypeScript SDK v6.0.0 Released","description":"Major release with 11 new API resources, SDK infrastructure improvements, 179 return type changes, and breaking changes across the generated API surface.","url":"https://developers.cloudflare.com/changelog/post/2026-04-30-cloudflare-typescript-v6.0.0/","inLanguage":"en","image":"https://developers.cloudflare.com/changelog/post/2026-04-30-cloudflare-typescript-v6.0.0/og.png?v=d95aeca44760ded3","dateModified":"2026-04-30","datePublished":"2026-04-30","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
