Zum Inhalt springen

Developer Platform Updates & Release Notes

Einträge
714
Quellen
1
Zuletzt aktualisiert

Folge Developer Platform, um die Release Notes in deinen Feed zu holen.

Developer Platform von Cloudflare

Workers: Wrangler-Login ohne lokalen Callback-Server

wrangler login --device ermöglicht die Anmeldung per OAuth 2.0 Device Authorization Grant ohne lokalen Callback-Server auf localhost:8976, was etwa in Containern, SSH-Sitzungen und GitHub Codespaces hilft.

wrangler login now supports the OAuth 2.0 Device Authorization Grant ↗︎. Pass --device to authenticate without starting a temporary callback server on localhost:8976:

npx wrangler login --device

Wrangler prints a verification URL and a short user code, opens the URL in your default browser with the code already filled in, and polls Cloudflare for an access token while you approve the request:

 ⛅️ wrangler 4.119.0
────────────────────
Attempting to login via OAuth Device Authorization Grant...
To authorize Wrangler, please visit:

  https://dash.cloudflare.com/oauth2/device

and enter the code:

  jPqK6Qvs

You have 5 minutes to approve this request.

Opening a link in your default browser: https://dash.cloudflare.com/oauth2/device?user_code=jPqK6Qvs
Successfully logged in.

The default login flow needs your browser to reach localhost:8976, which is not always possible from containers, remote SSH sessions, or GitHub Codespaces. Previously these environments required forwarding ports or fetching the callback URL with curl from a second terminal session. Because --device has no callback server, those workarounds are no longer necessary.

Since the plain verification URL and user code are both printed to the terminal, you can also approve the request from a phone or another machine. Pass --browser=false to stop Wrangler from opening a browser at all. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Agents, Workers - Cloudflare Agents: trace every model call, tool run, and decision

Cloudflare Agents ↗︎ now has a dedicated home in the Cloudflare dashboard that lists your traced agents and subagents.

Select an agent to inspect its traces in two ways:

Replay a session assembles the full conversation for a turn: system instructions, user messages, model reasoning, tool calls with arguments and results, and the final response.

Session replay showing messages, reasoning, and subagent tool calls

View a trace shows the execution timeline, connecting agent operations to Workers infrastructure so you can see where time was spent.

Trace waterfall showing nested agent, model, tool, and D1 spans

Enable tracing in your Wrangler configuration:

{
	"observability": {
		"enabled": true,
		"traces": {
			"enabled": true
		}
	}
}
[observability]
enabled = true

  [observability.traces]
  enabled = true

Framework support

…

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Vorschau: Agent-Runtime @cloudflare/computer

Als frühe Vorschau erscheint @cloudflare/computer, eine Open-Source-Agent-Runtime, die jedem Agenten einen eigenen Computer mit SQLite-gestütztem virtuellem Dateisystem sowie Isolate- und Linux-Container-Ausführung bereitstellt.

We're releasing an early preview of @cloudflare/computer ↗︎, an open-source agent runtime that gives every agent its own computer. The runtime dynamically orchestrates between fast, efficient isolates and full Linux containers, so the agent always runs on the right compute primitive for the task at hand.

@cloudflare/computer provides a virtual filesystem backed by SQLite, which you can populate from cloud storage, source control, or any files you choose. Agents can read, write, and edit files, run shell commands, and interact with Git repositories. All operations are gated, audited, and observed.

Install the package via npm:

npm install @cloudflare/computer

Instantiate a Workspace inside any Durable Object to give your agent a filesystem and execution runtime:

import { Workspace } from "@cloudflare/computer";

export class Agent {
	workspace = new Workspace({
		storage: this.ctx.storage,
	});
}

Several execution backends are included or you can write your own:

  • Isolate runtime — fast, horizontally scalable execution via just-bash and Dynamic Workers, ideal for file manipulation and data processing.
  • Container runtime — full Linux environment via Cloudflare Containers, mounted through FUSE, for tasks that need native binaries, package managers, or a complete userland. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Abrechnung für R2 Data Catalog ist jetzt aktiv

Für R2 Data Catalog wird auf Nicht-Enterprise-Konten jetzt abgerechnet, mit $9,00 pro Million Catalog-Operationen und Compaction-Gebühren, jeweils oberhalb eines monatlichen Freikontingents.

Billing is now enabled for R2 Data Catalog on non-enterprise accounts. R2 Data Catalog usage beyond the included free tier will appear on your next invoice.

R2 Data Catalog charges based on two dimensions, in addition to standard R2 storage and operations:

  • Catalog operations: $9.00 / million operations for metadata requests such as creating tables, reading table metadata, and updating table properties.
  • Compaction: $0.005 / GB processed and $2.00 / million objects processed. These charges only apply when automatic compaction is turned on for a table.

Each dimension includes a monthly free tier: 1 million catalog operations, 10 GB of compaction data processed, and 1 million compaction objects processed.

For example, a single Iceberg table with 50 GB of data, 500,000 catalog operations per month, and compaction turned on that processes 20 GB across 200,000 files would be billed as follows:

Dimension

Usage

Included

Billable

Cost

Catalog operations

500,000

1,000,000

0

$0.00

Compaction (data processed)

20 GB

10 GB

10 GB

$0.05

Compaction (objects)

200,000

1,000,000

0

$0.00

Total (Data Catalog)

$0.05

Standard R2 storage charges ($0.015 / GB-month) apply separately for the 50 GB of data stored. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Abrechnung für Pipelines ist jetzt aktiv

Für Cloudflare Pipelines wird auf Nicht-Enterprise-Konten jetzt abgerechnet, nämlich für SQL-Transforms und Sinks, während Ingress kostenlos bleibt und Workers Paid je 50 GB pro Monat enthält.

Billing is now enabled for Cloudflare Pipelines on non-enterprise accounts. Pipelines usage beyond the included free tier will appear on your next invoice.

Pipelines charges based on two usage dimensions. Ingress into a Pipeline stream remains free regardless of volume:

  • SQL transforms: $0.04 / GB for stateless transforms (filter, reshape, unnest, cast, compute).
  • Sinks (egress): $0.03 / GB for JSON output, $0.06 / GB for Parquet or Iceberg output.

Workers Paid plans include 50 GB / month for both SQL transforms and sinks. Standard R2 storage and operations charges apply for data written to R2 buckets, and R2 Data Catalog charges apply when writing to Iceberg tables.

For example, a pipeline that ingests 500 GB of event data per month, uses a SQL transform to filter and reshape it, and writes 300 GB to an R2 Data Catalog Iceberg table would be billed as follows:

Dimension

Usage

Included

Billable

Cost

Streams

500 GB

Unlimited

0 GB

$0.00

SQL transforms

500 GB

50 GB

450 GB

$18.00

Sinks (Iceberg)

300 GB

50 GB

250 GB

$15.00

Total

$33.00

For full pricing details and billing examples, refer to Pipelines pricing.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Abrechnung für R2 SQL ist jetzt aktiv

Für R2 SQL wird auf Nicht-Enterprise-Konten jetzt abgerechnet, mit $0,0025 pro GB gescannter komprimierter Daten, 10 GB Freikontingent pro Monat und mindestens 10 MB pro Abfrage.

Billing is now enabled for R2 SQL on non-enterprise accounts. R2 SQL usage beyond the included free tier will appear on your next invoice.

R2 SQL charges based on a single dimension:

  • Data scanned: $0.0025 / GB ($2.50 / TB) of compressed data read from R2 to execute your query.

All plans include 10 GB of data scanned per month. Each query is billed for a minimum of 10 MB of data scanned. R2 SQL pricing is additive to standard R2 storage and operations and R2 Data Catalog charges. R2 does not charge for egress, so there is no additional data transfer cost.

For example, a user who stores 500 GB of Parquet data in R2 Data Catalog and runs queries that scan a total of 50 GB of compressed data during the month would be billed as follows:

Dimension

Usage

Included

Billable

Cost

R2 storage

500 GB-month

10 GB-month

490 GB-month

$7.35

R2 SQL (data scanned)

50 GB

10 GB

40 GB

$0.10

Total

$7.45

For full pricing details and billing examples, refer to R2 SQL pricing.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Python- und JavaScript-Workers können sich per RPC gegenseitig aufrufen

Python- und JavaScript-Workers können sich nun über Workers RPC und Service bindings gegenseitig aufrufen, ohne zusätzliche Abhängigkeiten, Schemadefinitionen oder Serialisierungscode.

You can now call methods between Python and JavaScript Workers using Workers RPC. This works through Service bindings without extra dependencies, schema definitions, or serialization code.

Cross-language RPC calls behave like ordinary function calls. Exceptions propagate to the call site. You can pass structured cloneable types ↗︎ as parameters or return values, and Pyodide Foreign Function Interface (FFI) automatically converts types between languages.

Call a TypeScript Worker from Python

Define a method in a TypeScript Worker:

index.jsjs

import { WorkerEntrypoint } from "cloudflare:workers";

export class RpcService extends WorkerEntrypoint {
	async add(a, b) {
		return a + b;
	}
}

index.tsts

import { WorkerEntrypoint } from "cloudflare:workers";

export class RpcService extends WorkerEntrypoint {
	async add(a: number, b: number): Promise<number> {
		return a + b;
	}
}

Call it from a Python Worker through a Service binding:

from workers import Response, WorkerEntrypoint

class Default(WorkerEntrypoint):
	async def fetch(self, request):
		rpc = self.env.RPC
		result = await rpc.add(42, 144)
		return Response.json({"result": result})
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Browser Run: Neuer Playground im Cloudflare-Dashboard

Browser Run enthält im Cloudflare-Dashboard einen Playground, in dem sich Quick Actions wie Screenshots, PDFs oder Inhaltsextraktion ohne Worker oder SDK direkt ausprobieren lassen.

Browser Run now includes a Playground in the Cloudflare dashboard. Use it to try Quick Actions against a live browser without creating a Worker, installing an SDK, or deploying code first.

The Playground helps you test a target URL or raw HTML input, tune viewport and page-load settings, preview the output, and copy working code for the same request.

Browser Run Playground in the Cloudflare dashboard showing a generated screenshot preview and output settings

With the Playground, you can:

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Stream: Broadcast-Schlüssel für Live-Inputs erneuern

Die Broadcast-Zugangsdaten eines Stream-Live-Inputs lassen sich nun über den Endpunkt rotate_keys erneuern, ohne die Live-Input-ID zu ändern, und Antworten enthalten das neue Feld keysRotatedAt.

You can now rotate the broadcast credentials for a Stream live input without changing the live input identifier.

Use key rotation when live input credentials may have been shared with the wrong audience, exposed in client code or a screenshare, or need to be refreshed as part of your security process. Rotating keys revokes the old credentials, disconnects broadcasts using stale credentials, and returns refreshed credentials in the API response.

To rotate keys for a live input, make a POST request to the rotate_keys endpoint:

curl --request POST \
https://api.cloudflare.com/client/v4/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/rotate_keys \
--header "Authorization: Bearer <API_TOKEN>"

Live input responses now also include keysRotatedAt, which indicates when the live input keys were last rotated. This field is omitted for live inputs whose keys have never been rotated.

For endpoint details, refer to Rotate keys for a live input. For usage guidance, refer to Manage live inputs.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Workers: Startup-Performance mit Wrangler prüfen

wrangler check startup zeigt jetzt die rohe und komprimierte Bundle-Größe sowie eine Zusammenfassung der lokalen CPU-Aktivität beim Start direkt im Terminal an.

wrangler check startup now reports your Worker's raw and compressed bundle sizes. It also summarizes local CPU activity during startup directly in your terminal.

Large bundles and costly startup work can introduce cold-start latency, so use this command to find code and large dependencies that slow your Worker before it handles requests.

The summary includes sampled, active, garbage collection, and idle time. Wrangler continues to save a .cpuprofile file for detailed flamegraph analysis in Chrome DevTools or VS Code.

⛅️ wrangler 4.116.0
───────────────────────────────────────────────
├ Building your Worker
│ Worker Built! 🎉
│
├ Analysing
│ Startup phase analysed
│
│ Bundle: 7171.25 KiB / gzip: 2197.00 KiB
│
│ Local startup profile:
│   Profile window: 70.3 ms
│   Sampled time: 70.3 ms
│   Active: 38.5 ms (including 3.7 ms garbage collection)
│   Idle: 31.8 ms
│   Samples: 36
│
│ CPU Profile has been written to worker-startup.cpuprofile. Load it into the Chrome DevTools profiler (or directly in VSCode) to view a flamegraph.
│
│ Note that the CPU Profile was measured on your Worker running locally on your machine, which has a different CPU than when your Worker runs on Cloudflare.
│
│ As such, CPU Profile can be used to understand where time is spent at startup, but the overall startup time in the profile should not be expected to exactly match what your Worker's startup time will be when deploying to Cloudflare.
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

AI Search mit Agents SDK, AI SDK und LangChain nutzen

AI Search lässt sich nun direkt mit dem Vercel AI SDK, LangChain und dem Cloudflare Agents SDK nutzen, mit dem neuen Paket ai-search-provider und einem neuen Retriever in langchain-cloudflare.

You can now use AI Search directly from popular agent frameworks, adding grounded retrieval to an existing app instead of calling the REST API by hand. The new Agents section has guides for the Vercel AI SDK, LangChain, and the Cloudflare Agents SDK. The AI SDK integration is a new package, and the LangChain integration is a new retriever in the existing langchain-cloudflare package.

Vercel AI SDK

The ai-search-provider ↗︎ package connects AI Search to the AI SDK, and targets AI SDK v6 (ai@^6). Pass instance.chat() to generateText or streamText to generate a response grounded in your indexed content, with the retrieved chunks returned as sources. You can also expose instance.search() as a tool for agent loops.

import { createAISearchNamespace } from "ai-search-provider";
import { generateText } from "ai";

const aiSearch = createAISearchNamespace({ binding: env.AI_SEARCH });

const { text, sources } = await generateText({
	model: aiSearch.get("knowledge-base").chat(),
	messages: [{ role: "user", content: "How does caching work?" }],
});

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Workers Builds: Node.js 24 ist jetzt Standard

Workers Builds verwendet standardmäßig Node.js 24.18.0, wobei das Build-Image auch Node.js 22.23.2 enthält und die Version weiterhin überschrieben werden kann.

Workers Builds now uses Node.js 24.18.0 by default. The build image preinstalls Node.js 22.23.2 and 24.18.0.

You can continue to override the default with the NODE_VERSION environment variable, an .nvmrc file, or a .node-version file. For more information, refer to Override default versions.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Cloudflare-MCP-Server unterstützen MCP-Spezifikation 2026-07-28

Die produktspezifischen Cloudflare-MCP-Server unterstützen die MCP-Spezifikation 2026-07-28 mit zustandslosen Anfragen, /mcp ist der Endpunkt für neue Verbindungen und /sse bedient nicht mehr den veralteten HTTP+SSE-Transport.

Cloudflare's product-specific MCP servers now support the new MCP 2026-07-28 Specification. Each request runs on a fresh stateless server without an MCP protocol session or protocol-specific Durable Object.

The /mcp endpoint also accepts stateless requests from 2025 Streamable HTTP clients. Most clients can reconnect without configuration changes.

Use /mcp for new connections. Historical /sse URLs continue to work as aliases for the same Streamable HTTP handler, but they no longer serve the deprecated HTTP+SSE transport. If a client forces SSE transport, change it to Streamable HTTP or automatic transport detection.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Browser Run: Strukturierte Übergabe für Human in the Loop

Browser Run unterstützt strukturierte Übergaben für Human-in-the-Loop-Workflows, bei denen ein Agent per Cloudflare-CDP-Befehl um Hilfe bittet, ein Mensch über Live View eingreift und der Agent danach fortfährt.

Browser Run now supports structured handoff for Human in the Loop workflows. Using Cloudflare-specific CDP commands, your agent can signal that it needs help, a human steps in through Live View to handle the task, and the agent resumes once the work is done.

For agents running multi-step browser workflows, a single login wall or unexpected prompt can fail the entire run. Previously, scripts had to manage human intervention manually by sharing a Live View URL and polling for completion. Structured handoff replaces this with a formal pause-and-resume flow.

The following example requests human intervention for a login page and waits for the human to finish before continuing:

const cdp = await page.createCDPSession();

// Get Live View URL for the human operator
const { devtoolsFrontendUrl } = await cdp.send("Cloudflare.getLiveView", {
	mode: "tab",
});
console.log(`Human input needed: ${devtoolsFrontendUrl}`);

// Request human intervention and wait for completion
const handoffComplete = new Promise((resolve) => {
	cdp.once("Cloudflare.handoffComplete", resolve);
});

await cdp.send("Cloudflare.handoff", {
	instructions: "Please log in with your credentials",
	timeout: 600000, …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Workers AI: Ausgewählte Modelle erfordern den Workers-Paid-Plan

Die Modelle @cf/moonshotai/kimi-k2.6, @cf/moonshotai/kimi-k2.7-code und @cf/zai-org/glm-5.2 erfordern jetzt den Workers-Paid-Plan und liefern im Free-Plan einen 403-Fehler.

We are limiting Workers Free plan access to a few resource-intensive models so we can prioritize capacity for the broader Workers AI user base. This helps everyone get a more reliable inference experience, with fewer 429 and 3040 (Out of Capacity) errors.

The following models now require the Workers Paid plan:

On the Workers Free plan, requests to these models now return a 403 HTTP error (internal error 5035) prompting you to upgrade. The Workers Paid plan starts at $5 per month and still includes the 10,000 free Neurons per day allocation, with usage beyond that billed at each model's pricing.

Many models remain available on the Workers Free plan, including:

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Workers Tracing: Eigene Spans mit startActiveSpan() und span.end()

Die Workers-Runtime bietet mit tracing.startActiveSpan() und span.end() neue APIs für eigene Spans, die auch nach Rückkehr des Callbacks offen bleiben, etwa bei Stream-Pipelines.

The Workers runtime now provides built-in tracing.startActiveSpan() and span.end() APIs, allowing you to write custom spans for operations that last beyond a single callback — for example, instrumenting a stream pipeline where the span should stay open until the stream is fully consumed.

This augments the existing API for writing custom spans, tracing.enterSpan(), which automatically ends a span when its callback is returned. With startActiveSpan(), the span remains open after the callback returns, and you call span.end() when the work is complete:

src/index.jsjs

import { tracing } from "cloudflare:workers";

const encoder = new TextEncoder();

export default {
	fetch() {
		return tracing.startActiveSpan("stream-response", (span) => {
			let timer;

			const body = new ReadableStream({
				start(controller) {
					controller.enqueue(encoder.encode("Starting...\n"));

					timer = setTimeout(() => {
						controller.enqueue(encoder.encode("Complete.\n"));
						controller.close();

						span.setAttribute("stream.status", "complete");
						span.end();
					}, 1000);
				},

				cancel() {
					if (timer !== undefined) clearTimeout(timer);

					span.setAttribute("stream.status", "cancelled");
					span.end();
				},
			});

			return new Response(body, {
				headers: { "content-type": "text/plain" },
			});
		});
	},
};

src/index.tsts

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Agents SDK v0.20.0 unterstützt MCP-Spezifikation 2026-07-28

Agents SDK v0.20.0 unterstützt die MCP-Spezifikation 2026-07-28 in Client und Server, sodass Workers zustandslose MCP-Server ohne Transport-Session oder Durable Object betreiben und sich Agents auch mit älteren Servern verbinden können.

Agents SDK v0.20.0 adds client and server support for the MCP 2026-07-28 release candidate ↗︎. Workers can serve tools, prompts, resources, and elicitation without an MCP transport session or Durable Object. Agents can connect to both MCP 2026-07-28 servers and existing legacy servers.

Client support

The MCP client manager now uses @modelcontextprotocol/client. For each connection, it probes for MCP 2026-07-28 support with server/discover. If the server does not support the stateless protocol, the client continues with the legacy initialize handshake on the same connection. Existing addMcpServer calls do not need a protocol-version setting or separate clients for each protocol generation.

For stateless requests, elicitation uses input_required through multi-round-trip requests (MRTR). The legacy path uses the same form and URL handlers for pushed requests. The SDK collects input, retries the original operation, and resolves the original callTool, getPrompt, or readResource promise with its final result.

OAuth callbacks now validate issuer metadata through the v2 SDK. Discovery state and issuer-bound credentials persist across browser redirects and Durable Object hibernation.

Run stateless servers

…

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Integrationstests gegen den Production-Build mit createTestHarness()

Wrangler now provides createTestHarness(), an API for running integration tests against Workers built with Wrangler or the Cloudflare Vite plugin from any Node.js test runner.

The test harness starts a local Worker server with helpers for dispatching requests, resetting storage, and inspecting runtime logs.

This is useful for tests that need to:

For example, this test starts two Workers and mocks an upstream API:

tests/vitest.test.jsjs

import { afterAll, afterEach, beforeAll, test } from "vitest";
import { http, HttpResponse } from "msw";
import { setupServer } from "msw/node";
import { createTestHarness } from "wrangler";

const network = setupServer();
const server = createTestHarness({
	workers: [
		/** Includes `"routes": ["example.com/*"]` */ …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Sippy unterstützt Azure Blob Storage und S3-kompatible Anbieter

Sippy kann nun zusätzlich zu Amazon S3 und Google Cloud Storage auch Daten aus Azure Blob Storage und S3-kompatiblen Anbietern schrittweise nach R2 migrieren.

Sippy can now incrementally migrate data from Azure Blob Storage and any S3-compatible object storage provider to Cloudflare R2, in addition to Amazon S3 and Google Cloud Storage. Sippy copies objects to R2 as your application requests them, so you can start serving data from R2 without first moving your entire dataset or paying migration-specific egress fees.

Enable Sippy

Run the following command and follow the prompts to select and configure your source storage provider:

npx wrangler r2 bucket sippy enable "<BUCKET_NAME>"

For Azure Blob Storage, provide your storage account name, container name, and either an account key or a shared access signature (SAS) token with read and list permissions. For an S3-compatible provider, provide the S3 API endpoint URL and read-only Access Key ID and Secret Access Key.

Azure Blob Storage source configuration in the R2 dashboard

After you enable Sippy, requests for objects that are not yet in R2 are served from your source bucket and copied to R2. Subsequent requests for those objects are served from R2. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Durable-Object-Logs und -Traces nach Instanz-ID filtern

Workers Logs und OpenTelemetry-Spans für Durable-Object-Anfragen enthalten jetzt die Instanz-ID, sodass sich Logs und Traces über $workers.durableObjectId bzw. cloudflare.durable_object.id nach einzelnen Instanzen filtern lassen.

Workers Logs and OpenTelemetry spans for Durable Object requests include the Durable Object instance ID.

Use $workers.durableObjectId to filter logs for a specific instance. Root and child spans include the same ID in cloudflare.durable_object.id.

Query Builder filtering traces by Durable Object instance ID

Use these fields to isolate a specific instance and correlate its logs and traces.

For more information, refer to Durable Objects metrics and analytics and Workers tracing spans and attributes.

Originalquelle(öffnet in neuem Tab)Problem melden