To log prompt content for AI Security for Apps, configure payload logging and use a WAF custom rule that references a field with the cf.llm.prompt prefix.
When a custom rule matches, payload logging stores the extracted prompt. If no prompt is extracted and analysis falls back to the full request body, payload logging stores the full request body.
This workflow replaces the previous AI Security Log Mode Ruleset procedure. For more information, refer to Log prompts for matching rules.
Send bug reports, feature requests, and feedback about where you got stuck
directly to Cloudflare.
Sign in with cf auth login or set CLOUDFLARE_API_TOKEN, then use
cf feedback with a short note.
cf feedback "The deploy output did not identify the selected environment"
Coding agents connected to the Cloudflare API Model Context Protocol (MCP)
server can use the submit_feedback tool. The tool requires a message,
type, and impact. It accepts optional details such as the task and the
expected and actual results. Both options return a submission ID you can share.
For examples and the diagnostic details included in CLI reports, refer to
Agent feedback.
Starting today, the DNS settings endpoints no longer return or accept the deprecated foundation_dns boolean for zone settings or account defaults. The rollout is expected to take seven days. Use nameservers.type: "cloudflare.advanced" to configure Advanced Nameservers.
Update clients that still read or write foundation_dns. Remove handling for the boolean and use the nameserver type instead. The zone settings JSON for /zones/{zone_id}/dns_settings is:
PATCH requests that include foundation_dns will be rejected.
This API update does not change your Foundation DNS subscription or whether Advanced Nameservers are enabled on your zones. It does not require a zone migration.
In Images, the metadata parameter now supports Extensible Metadata Platform (XMP) metadata preservation and expands Exchangeable Image File Format (EXIF) metadata preservation to additional image formats. It can also preserve selected legacy Information Interchange Model (IPTC-IIM) metadata from JPEG sources, mapping it to XMP when converting to compatible formats.
This release does not change existing Content Credentials support, which can provide tamper-evident provenance and disclose how AI contributed to an image.
What changed
Previously, Images preserved EXIF metadata only for JPEG-to-JPEG optimizations, and did not preserve XMP or IPTC-IIM metadata. You can now keep EXIF and XMP metadata when both the source and output formats support the corresponding metadata type. For JPEG sources, you can also retain selected legacy IPTC-IIM attribution and rights metadata.
EXIF, XMP, and IPTC-IIM carry complementary information about an image. For example, publishers can retain copyright and attribution, and photographers can display capture settings alongside images on portfolio sites. E-commerce and digital asset management workflows can carry product details, captions, and internal asset information into optimized images without reattaching that information.
EXIF, XMP, and IPTC-IIM support varies by source and output format:
Format
Read from source
Write to output
JPEG
EXIF, XMP, and IPTC-IIM
EXIF, XMP, and IPTC-IIM
PNG
EXIF and XMP
EXIF and XMP
WebP
EXIF and XMP
EXIF and XMP
AVIF
EXIF and XMP
EXIF
HEIC
EXIF and XMP
Not an output format
GIF
Not supported
XMP
TIFF
Not supported
Not an output format
For example, you can convert a high-resolution JPEG to WebP while keeping both EXIF and XMP metadata.
With metadata=keep, JPEG outputs retain the original IPTC-IIM metadata. For PNG, WebP, and GIF outputs, Images maps supported IPTC-IIM fields to XMP. If the source already contains XMP, Images preserves that XMP without merging the IPTC-IIM fields.
How it works
Use metadata to control how Images handles supported metadata in re-encoded outputs. The default remains copyright, so existing requests may now preserve an EXIF copyright tag in PNG, WebP, or AVIF outputs when the source contains one.
The following URL transformation converts a JPEG source to WebP and requests metadata preservation:
You can now monitor your K2 streams in the Cloudflare dashboard: how fast records are produced and consumed, how much each stream stores, and how far behind each subscription is.
In the Cloudflare dashboard, go to the K2 Streams page and select a stream.
Overview — Produce and consume rates over the last 5 minutes, stored bytes, and each subscription's records behind, oldest unread record, lag over the last hour, and bytes consumed.
Metrics — Charts of bytes produced by input, bytes stored, and bytes delivered to each subscription, over a time range you choose.
Subscription page — Select a subscription to see its records and bytes behind, its oldest unread record, its consume rate, and charts of its lag and throughput.
k2ProduceAdaptiveGroups — Bytes produced to a stream, by input (http or binding).
k2ConsumeAdaptiveGroups — Bytes delivered to each subscription.
k2StorageAdaptiveGroups — Bytes a stream stores, measured about every ten minutes.
k2SubscriptionLagAdaptiveGroups — Records a subscription has not committed, and the age of the oldest one in milliseconds.
This query reads a stream's bytes produced by input in 5-minute buckets, and a subscription's current lag. To get a subscription's full lag, set the lag query's time range to cover the stream's whole retention period (7 days in this example). A shorter range leaves out older records the subscription has not committed. Replace <ACCOUNT_ID>, <STREAM_ID>, and <SUBSCRIPTION_ID> with your own values.
Bytes produced by input, and a subscription's laggraphql
You can now profile Worker Previews, following the launch of on-demand CPU and memory profiling ↗︎ for Workers and Durable Objects. This lets you see what a pull request costs in CPU and memory before you merge it.
Send traffic to a Preview, capture a CPU or heap profile from one of its deployments, and see which functions in your branch use the most CPU time or memory. Push a fix, profile the next deployment, and compare. Production stays untouched the whole time.
In this Preview, formatPrice takes almost a third of the CPU time because it creates a new Intl.NumberFormat for every product. A slowdown like this is easy to miss in code review, but it stands out in a flamegraph.
Let your agent optimize performance
Previews give coding agents a safe place to iterate on performance. An agent can deploy a Preview, send it load, capture a profile, rewrite the hottest function, and deploy again, until CPU time stops dropping. Each Preview deployment has its own ID, so every profile maps to an exact version of the code.
Open your Preview, select Observability, and switch the view to Flamegraph. Choose a profile type and a Preview deployment, then select Capture profile. Explore the result as a flamegraph or table, or download the raw pprof file.
Profile Durable Objects on a Preview
Every Preview gets its own Durable Object namespaces. To see what one object is doing on your branch, profile it by ID, just like in production.
Agents SDK v0.34.0 upgrades PiHarness to Pi 1.6 ↗︎. A Pi tool can now wait for a person, a deadline, or another session without keeping the Durable Object awake, and a session can start from a history that your application already has.
Tools that wait
Park until a signal or a deadline. A tool can return a park instead of a result, and Pi runs it again when a signal arrives or the deadline passes. While it waits, the call holds no invocation, so the Durable Object can hibernate. Deliver signals with the new harness.signal(). Refer to Tools that wait.
Wait for a subagent.submit() and continue() take notify, so a parked tool wakes when another session's input settles. Refer to Wait for a subagent.
Approval gates. A beforeTool hook can park a tool call before it runs, for example until a person approves it.
Session updates
Start a session from an existing history.harness.root(), sessions.create(), and sessions.fork() take Pi's init, which writes messages into the transcript in the commit that creates the session. The root session is now created on its first use, so harness.root() can seed it. Refer to Seed a session with an existing history.
Keep queued input across an abort. With submit(input, { onAbort: "keep" }), stopping an answer does not drop the message that the user or another agent sent next.
Steadier runs. Pi retries more dropped provider connections. When Anthropic can no longer continue a message thread, agents/models/pi-ai sends the whole conversation again instead of failing the turn. PiHarness.dispose() frees Pi AI's per-session state.
Wait for a person's answer
This tool asks the user a question, then parks until your agent delivers the answer:
import { defineSignal } from "@earendil-works/pi-durable";import { obj, str } from "@earendil-works/pi-schema";const Answer = defineSignal({ name: "app.answer", version: 1, schema: obj({ text: str() }),});const AskParameters = obj({ question: str() });const askUser = { name: "ask_user", description: "Ask the user a question and wait for the answer.", parameters: AskParameters, async execute({ question }, api, context) { const answer = await api.readSignal(Answer, "answer", context); if (answer !== undefined && "value" in answer) { return { output: [{ type: "text", text: answer.value.text }] }; } await showQuestion(api.taskId, question); return { sleep: { signals: [Answer.key("answer")] } }; },};// Later, in your agent, when the user answers:await this.harness.signal(taskId, Answer, "answer", { text: "Yes" });
import { defineSignal, type ToolRegistration,} from "@earendil-works/pi-durable";import { obj, str } from "@earendil-works/pi-schema";const Answer = defineSignal({ name: "app.answer", version: 1, schema: obj({ text: str() }),});const AskParameters = obj({ question: str() });const askUser: ToolRegistration<typeof AskParameters> = { name: "ask_user", description: "Ask the user a question and wait for the answer.", parameters: AskParameters, async execute({ question }, api, context) { const answer = await api.readSignal(Answer, "answer", context); if (answer !== undefined && "value" in answer) { return { output: [{ type: "text", text: answer.value.text }] }; } await showQuestion(api.taskId, question); return { sleep: { signals: [Answer.key("answer")] } }; },};// Later, in your agent, when the user answers:await this.harness.signal(taskId, Answer, "answer", { text: "Yes" });
While the question is open, the session's run is still going, and the object can hibernate or be evicted. harness.signal() wakes the object, and Pi runs the tool again with the answer.
Other changes
MCP re-authorization. A request that needs the user to sign in again throws MCPAuthorizationRequiredError with a link. A failed server stays failed until you call the new reconnectMcpServer(id). Refer to Failures and reconnecting.
Failed requests no longer send error details. A failed request gets a generic 500 response, and a failed WebSocket upgrade closes with code 1011. Use onFetchError() to choose the response. Refer to Failed requests.
Chat fixes. Stop, clear, regenerate, and resume now work across tabs and during recovery.
Scheduling fixes. A schedule, queue item, or Task run that is cancelled or replaced no longer runs again.
Models.ai.image() and Pi AI's ai.images() run the FLUX.2 image models. claudeCode() defaults to claude-sonnet-5-5. Examples move off the Workers AI models retired on November 20, 2026.
Upgrade
Once a conversation runs on Pi 1.6, Pi 1.5 cannot run its tool calls or model requests. After upgrading, roll forward to fix deployment issues rather than rolling back to Pi 1.5.
Deliver signals with harness.signal() instead of (await harness.pi()).signal(), and call harness.root() before you reach the root session through harness.pi(). If you use Pi Durable directly, RunEndTask is now HookTask, and code mode namespaces come from Extension.namespace. Refer to the Pi Durable 1.6.0 changelog ↗︎ for the full list of breaking changes.
If you use the MCP client, catch MCPAuthorizationRequiredError and send the user to error.authUrl, and give users a way to call reconnectMcpServer(id) for a failed server. If you relied on error details in failed responses, implement onFetchError().
The Agents SDK v0.34.0 changelog ↗︎ has step-by-step upgrade instructions. Point your coding agent at them and upgrade today:
Browser Run now runs custom browser automation written with Playwright, Puppeteer, or the raw Chrome DevTools Protocol (CDP) in a single API request, with the new /script endpoints. Submit a JavaScript function, and Browser Run executes it in an isolated Worker connected to a browser session, so you do not need to deploy a Worker.
POST /script acquires a browser, runs your function, and returns its result as { "success": true, "result": ... }. The session and page are returned in the cf-browser-session-id and cf-browser-target-id response headers (except Kitesurf runs).
POST /script/<sessionId> runs follow-up scripts in a session you already hold, from /script or from POST /devtools/browser. Pass targetId to attach to a specific page, or create extra pages to run scripts concurrently in one session.
Session launch options (keep_alive, recording, lab) go in the /script query string. Use browser=kitesurf to run a CDP script on Kitesurf.
From a Worker, call the same endpoints through the browser binding with env.BROWSER.script(), without an API token.
From the Cloudflare dashboard, write and run scripts against a live browser in Script Studio, without an API token.
Neither endpoint closes the session after your script runs. Close it with DELETE /devtools/browser/<sessionId> or browser.close(). Otherwise, it ends at its idle timeout.
Cloudflare Images lets you store, optimize, and deliver hosted images through a scalable image pipeline. The new Images Analytics dashboard ↗︎ provides up to 30 days of delivery data for assets stored in Images, helping you understand how and where they are requested.
In Images & Stream > Hosted images > Analytics, you can:
Investigate traffic trends and sources. Review request volume over time, then filter by country, autonomous system number (ASN), or referrer to trace spikes and unexpected traffic.
Troubleshoot delivery. Break down requests by response status code to identify errors. Filter by browser or operating system to understand which output formats different clients receive.
Understand asset and variant usage. Find the most-requested source images and compare predefined variants with inline configurations to see which configurations account for the most requests.
Use cf sql query to query delivery data from the terminal. The SQL API exposes this data in the events.imagesHostedRequests dataset:
cf sql query \ 'SELECT httpStatus, COUNT(*) AS requests FROM events.imagesHostedRequests GROUP BY httpStatus ORDER BY requests DESC LIMIT 20' \ --scope-account "<ACCOUNT_TAG>" \ --time-since "<START_TIME>"
The SQL API also exposes transformation data, such as binding requests, from the events.imagesTransformations dataset:
cf sql query \ 'SELECT isBindingRequest, scriptName, originHost, COUNT(*) AS transformations FROM events.imagesTransformations GROUP BY isBindingRequest, scriptName, originHost ORDER BY transformations DESC LIMIT 5' \ --scope-account "<ACCOUNT_TAG>" \ --time-since "<START_TIME>"
Open the Images Analytics dashboard ↗︎ or use the Cloudflare CLI to investigate recent traffic changes and identify the hosted images and variants driving requests.
Cloudflare RadarZero Wire ↗︎ now has a page for every published CVE. Each page brings together what you need to decide how urgently to act on a vulnerability: how severe it is, whether it is being exploited, what it affects, and how to fix it.
Browse CVEs
The CVE list ↗︎ includes every published CVE. Sort them by date or CVSS score, search by CVE ID or keyword, such as a product or vendor name, and filter by severity and year. Each row shows the CVE's score and highlights CVEs in the CISA Known Exploited Vulnerabilities (KEV) catalog and those with a fix available.
CVE pages
Each CVE page, such as CVE-2021-44228 (Log4Shell) ↗︎, starts with its CVSS score, description, and key dates, followed by:
Exploitation: whether the CVE is in the CISA KEV catalog, including known ransomware use, the CISA SSVC assessment, and the FIRST EPSS probability of exploitation.
Affected products: the affected vendors, products, and versions, as listed by the organization that published the CVE and by NVD.
Recommended actions: how to fix the vulnerability, or reduce the risk until you can, including CISA's guidance for known exploited CVEs.
Severity: every CVSS score for the CVE, with each metric explained.
Weaknesses and attack patterns: the related CWE weaknesses and CAPEC attack patterns.
References: advisories, patches, and other sources.
CVEs cited in Zero Wire briefings ↗︎ link to their CVE pages, and each CVE page links back to the briefings that cite it.
Search and follow
Search for a CVE ID or keyword from anywhere on Radar, using the search bar or Cmd+K (Ctrl+K on Windows and Linux), to jump straight to a CVE page.
To follow new CVEs, subscribe to the RSS ↗︎, Atom ↗︎, or JSON ↗︎ feed. Each feed can be filtered by severity, such as the feed of Critical CVEs ↗︎.
Renaming a namespace could cause API requests to read, deploy, or delete Workers to fail because dispatch Workers and outbound Workers retained the namespace name they were deployed with. This change prevents those failures by rejecting rename requests.
What changes:
PUT and PATCH requests to the dispatch namespace API return a 400 error with code 100413 if they change name:
Dispatch namespaces cannot be renamed. The name in the request must match the namespace's current name. To use a different name, create a new dispatch namespace.
wrangler dispatch-namespace rename returns the same 100413 error.
Terraform applies that attempt to change name on a cloudflare_workers_for_platforms_dispatch_namespace resource fail.
To move your Workers to a namespace with a different name:
Create a new dispatch namespace with the name you want.
Deploy your user Workers to the new namespace.
Update the dispatch namespace binding in your dispatch Worker to reference the new namespace, then redeploy the dispatch Worker.
Verify that requests are routed to the new namespace and your Workers work as expected.
Delete the user Workers in the old namespace, then delete the old namespace.
Browser Run's /snapshot endpoint can now return four more formats from a single page load: pdf, links, scrape, and json. Before, /snapshot returned HTML, screenshots, Markdown, and the accessibility tree, so a workflow that also needed a PDF or structured data had to prepare the same page again in a second request.
Use the new formats when you need to:
PDF: print the page, with the same pdfOptions as the /pdf endpoint.
Links: collect the links on the page, with the same visibleLinksOnly and excludeExternalLinks options as /links.
Scraped elements: return the elements matched by elements, the same payload as /scrape. elements is required when you request it.
Extracted JSON: extract structured data from the page HTML with Workers AI, with the same prompt, response_format, and custom_ai fields as /json. prompt or response_format is required, and the request incurs Workers AI usage.
Request them through formats, the same way as the existing formats. This example returns a PDF, the page links, and the text of each paragraph:
Formats are captured in a fixed order rather than the order of the formats array, and the PDF is printed last because print handlers can change the page. A live page can change between captures, and any format that fails fails the whole request. For JSON snapshots, one actionTimeout budget (default 60 seconds, maximum 120 seconds) covers navigation, captures, retries, and the AI request.
You still need to request at least two distinct formats. If you only need one, use the corresponding single-format endpoint.
Cloudflare has improved how Durable Object storage handles machines restarting during runtime updates.
Each write to a Durable Object's storage must be confirmed by a majority within a group of machines for durability. Machines now proactively remove themselves from the group when restarting, so that they can be replaced before the restart happens.
Previously, this could take up to a few minutes. During that time, a write could fail to reach a majority, and the object was reset with Internal error in Durable Object storage caused object to be reset, disconnecting its WebSockets.
This can make these resets less frequent for SQLite-backed Durable Objects, especially ones that write to storage only occasionally, such as those using WebSocket hibernation. Actual results depend on your workload and traffic patterns.
The change is live in all regions. No action is needed by customers to see benefits from this change. Some disconnects during runtime updates are still expected, so clients should continue to reconnect when a WebSocket closes.
The sharpen parameter now supports Gaussian sharpening, in addition to the existing box-filter sharpening. Sharpening makes fine details appear crisper by increasing the pixel-to-pixel contrast along edges, where adjacent pixels differ in brightness or color. Scalar values such as sharpen=5 continue to use the box filter.
Different images benefit from different types and levels of sharpening. Text may need strong edge definition for readability; product photography often uses a subtler effect to avoid emphasizing grain; and illustrations with bold, clean lines and large areas of solid color can benefit from emphasizing larger edges and object outlines.
Both box and Gaussian sharpening use unsharp masking, a technique that first creates a blurred version of the source image and subtracts it from the original to isolate edge details. Sharpening then adds a controlled amount of that detail back to the source along these boundaries, improving the perceived clarity of an image.
Each filter uses a different method to produce the blur used for this comparison. The existing box filter produces a uniform blur by averaging each pixel with its eight surrounding pixels, weighing all nine equally. A Gaussian filter gives more weight to pixels closer to the center and provides more control to help prevent sharpening from treating unintended parts of an image as edges.
Box sharpening offers a simple, predictable configuration for direct, crisp effects on text, screenshots, and simple graphics. Gaussian sharpening can produce smoother transitions for photography and offers more control over which details are emphasized.
To use Gaussian sharpening, set the mode setting to gaussian, then configure its behavior using the additional amount, sigma, and threshold settings:
Amount adjusts how strongly Images increases contrast around identified edges. It accepts values from 0 to 10.
Sigma controls the spread of the Gaussian blur, which determines how far the sharpening effect extends around an edge. It accepts values greater than 0 and up to 5.
Threshold (optional) excludes pixel differences below a specified value, which can reduce sharpening of low-contrast noise, grain, or smooth areas. It accepts integers from 0 to 255.
Together, these settings let you tailor the sharpening effect to your content.
In the URL interface, these settings are grouped beneath the sharpen parameter:
You can now view Class A and Class B operations as requests per second (RPS) in addition to request count on the Metrics page for an R2 bucket in the Cloudflare dashboard.
Use the Request count and Requests/second toggle on the Class A Operations and Class B Operations charts to switch between views.
Request count
Request count shows the total number of operations in each time interval. Use it to understand overall usage and how operations contribute to your bill.
Requests per second
Requests/second shows the rate of operations over time. Use it to identify traffic peaks.
Cloudflare Radar now shows the type of each autonomous system (AS): Access ISP, Hosting/Cloud/Content, or Organization. AS types are inferred automatically, so an individual AS can be misclassified. They make it easier to tell, for example, whether traffic or attacks come from residential and mobile networks or from data centers.
Access ISP (ACCESS_ISP): networks that connect end users, such as home broadband and mobile operators, plus transit providers.
Hosting/Cloud/Content (HOSTING_CLOUD_CONTENT): hosting providers, cloud platforms, and content delivery networks.
Organization (ORGANIZATION): enterprises, universities, governments, banks, and IXP route servers.
ASes without a type are shown as Unclassified. To report a wrong AS type, email radar@cloudflare.com.
Top ASes by HTTP traffic in Portugal ↗︎, with the type of each AS shown before its number.
Radar pages
AS pages, such as AS7922 ↗︎, show the AS type in the AS information card.
An icon before the AS number shows its type across Radar. Hover over the icon to see the AS type.
The Data Explorer ↗︎ can break down and filter HTTP, NetFlows, DNS, and layer 7 attack data by AS type.
The HTTP, NetFlows, DNS, and layer 7 attacks endpoints accept a new asCategory filter, and their summary and timeseries groups endpoints support a new AS_CATEGORY dimension. Both accept ACCESS_ISP, HOSTING_CLOUD_CONTENT, ORGANIZATION, and UNCLASSIFIED, where UNCLASSIFIED also covers traffic that could not be mapped to an AS. For HTTP, they are supported for date ranges starting on or after 2023-05-01.
The global search endpoint returns an entity with details of the matched AS, including its category, for AS results, and of the matched region for region (adm1 and adm2) results.
For example, to get the share of HTTP requests by AS type in the last week:
Get HTTP requests summary by dimensionbash
curl "https://api.cloudflare.com/client/v4/radar/http/summary/AS_CATEGORY?dateRange=7d" \ --request GET \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
The Spectrum pages in the Cloudflare dashboard have been redesigned. Your existing applications and their settings do not change.
The Spectrum Applications page lists each application's type, edge port, origin, and edge IP type, with the last minute of connections, ingress, and egress. You can search the list and sort it by column.
Creating or editing an application now opens a full page instead of a modal, with settings grouped into Application Configuration, Origin Configuration, and Advanced Options. To edit an application, select its hostname, or select the three dots next to it > Edit.
You can now create and edit applications that use static IPs or BYOIP addresses in the dashboard. Under Edge IP Type, select Dedicated IPs. Leave Subdomain blank to create an application on the zone apex.
New TCP and UDP applications created in the dashboard now have IP Access Rules turned off by default, which matches the API default. To enforce IP Access rules for an application, turn on IP Access Rules under Advanced Options. Existing applications keep their current setting.
Cloudflare Stream now emits a warning when B-frames are detected in Low Latency HLS live broadcasts.
The most common cause of freezing and stuttering in LL-HLS live streams is when encoders include B-frames. These frames can reference content that has not yet been transmitted, stalling preparation for delivery. Therefore, B-Frames are not supported when LL-HLS is enabled for a live input.
Stream sends the warning ERR_LIVE_INPUT_LLHLS_INCOMPATIBLE once per live session if applicable. It is reported alongside other error and status events in:
To resolve the warning, turn off B frames in your broadcast application settings. Alternatively, turn off Low-Latency HLS in your live input settings, but playback latency will be higher.
updated typo in CVE id, updating CVE:CVE-2026-13282 to CVE:CVE-2026-132825
This release introduces updates to an existing PHP Remote Code Execution rule to improve detection accuracy, as well as a few new generic, PHP and Ruby CVE specific rules. The new PHP rules are being deployed in log mode by default (in lieu of False Positive risk) and can be overridden after evaluating requests matching the rules. Supplementary information around the CVEs are available through Zero Wire phpAfterShell and six other PHP critical flaws ↗︎ and ruby2shell: heap overflow in Ruby string case conversion ↗︎.
Inbound TCP connections to Workers and bidirectional gRPC in Containers are now in public beta.
Worker-origin Spectrum applications are available on Pro and Business zones, and on Enterprise zones with Spectrum Enterprise enabled. Without Spectrum Enterprise, Pro and Business zones support one Worker-origin application per zone, on one TCP port.
flowchart LR
Client[TCP client] <--> Spectrum
Spectrum <--> Worker["Worker connect()<br/>Handle or forward bytes"]
Worker <--> DO["Durable Object<br/>connect()"]
DO <--> Container["Container<br/>gRPC or other TCP server"]
Forward a Worker socket to a Durable Object
Spectrum sends public TCP connections to your Worker's connect() handler. The Worker opens a socket to the GrpcContainer Durable Object and pipes bytes in both directions:
Forward the Durable Object socket to its Container
The Durable Object receives the connection in its own connect() handler. Once its Container is running, getTcpPort(50051).connect() opens a socket to the gRPC server inside it:
allowHalfOpen: true preserves TCP half-closes. The Worker and Durable Object forward encrypted bytes; the Container terminates TLS and handles HTTP/2 and gRPC.
Run bidirectional gRPC in the Container
Run an existing gRPC server in any language, including services for real-time voice applications. This Node.js snippet shows the streaming handler and service registration. It sends a greeting, echoes incoming messages, and sends a final response when the client finishes:
Follow the complete gRPC example for the protobuf definition, bindings, Spectrum routing, Secrets Store TLS credentials, and Container startup and readiness checks.
Cloudflare now keeps versions of your Workers and deployments of your Pages projects for 30 days. After 30 days, they are deleted, except your 100 most recent and what is currently deployed.
What is not affected:
Running applications: Deployed Worker versions and your current Pages production deployment are always kept
Rollbacks: You can still roll back to any of your 100 most recent Worker versions, and to any Pages production deployment that has not been deleted
Worker Previews:Worker Preview URLs always serve the latest deployment of that Preview. Use Worker Previews for branches and pull requests instead of Version URLs, which run with your production bindings
What you will notice:
Deleted versions and deployments no longer appear in the dashboard or API
The URL associated with each deleted Worker version, known as its Version URL (including any --preview-alias), stops working, as does the preview URL of each deleted Pages deployment
Cloudflare Access can retrieve signing certificates from a SAML identity provider's metadata endpoint. Your IdP can publish replacement certificates without requiring you to upload each one to Access.
In your generic SAML identity provider configuration, set Signing certificate source to Fetch certificates from IdP metadata and enter the IdP metadata URL. The endpoint must return SAML metadata XML over public HTTPS, without authentication or redirects. It must not return a JSON Web Key Set (JWKS).
For API configurations, use metadata_url instead of manual certificate fields:
Access caches the certificates and does not poll the endpoint.
Removing a compromised certificate from metadata does not immediately revoke the cached certificate or existing Access sessions. For setup, planned rotation, and emergency replacement guidance, refer to Discover IdP signing certificates.
You can now attach files to a message in Agent Lee. Share a screenshot of an error, a PDF, or a log, HAR, or configuration file, and Agent Lee reads it as part of your question.
Previously, you had to describe what you were seeing or paste file contents into the chat by hand. A screenshot of a dashboard error or a long log was hard to get across that way.
How it works
Select the paperclip next to the message box, paste an image, or drag files onto the chat panel.
Each file appears as a chip above the message box. Remove any you did not mean to add, then send your message.
Agent Lee reads images directly, converts PDFs to text and reads them from the start, and reads text files in full or, for long files, from the start and the end.
Example requests:
"Here is a screenshot of the error I get when I open my site. What is wrong?"
"This HAR file is from a slow page load. Which requests are taking the longest?"
"Here is the error log from my Worker. What is causing these failures?"
Good to know
Supported files. PNG, JPEG, and WebP images up to 3.5 MiB, PDFs up to 5 MiB, and text files (.txt, .log, .json, .har, .csv, .yaml, .yml, .toml, .md, .xml) up to 100 MiB. You can attach up to four files per message, up to 14 MiB in total after trimming.
Text files are trimmed in your browser. A text file over 1 MiB (2 MiB for JSON, HAR, YAML, TOML, and XML) keeps its first and last lines. HAR files are always compacted before sending: request and response bodies and cookies are removed, and credential headers such as Authorization and Cookie are replaced with [redacted].
Scanned PDFs are not read. Agent Lee reads the text in a PDF. A PDF that is only scanned images, with no text layer, cannot be read.
Older attachments age out. Agent Lee keeps attachments from your most recent messages in view. Attach a file again to bring an older one back into the conversation.
Attachments are stored with the conversation. When an attachment ages out, it is removed from the stored conversation. Do not attach files that contain passwords, API tokens, or other secrets. For how Agent Lee uses your data, refer to Data usage.
Agent Lee remains in beta. Features and behaviors may change as the product evolves.
Customers in the Cloudflare Startup Program ↗︎ can now create PlanetScale Postgres and MySQL databases from Cloudflare, with usage billed through their Cloudflare account.
Startup credits applied to PlanetScale usage is limited for each tier. PlanetScale usage beyond a tier's limit is billed to your account.
Tier
PlanetScale credit limit
Tier 3
$2,500
Tier 2
$10,000
Tier 1
$50,000
Check your program tier to confirm the limit that applies to your account.
To start using it, open the Hyperdrive section of the dashboard. The Create PlanetScale button appears there for eligible accounts.