Zum Inhalt springen

Cloudflare Release Notes

Einträge
2.279
Quellen
14
Zuletzt aktualisiert

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

Workers SDK von Cloudflare

@cloudflare/deploy-helpers@0.32.0

Minor Changes

  • #17230 12e6b5a Thanks @petebacondarwin! - Require explicit approval before replacing an active Worker traffic split when deploy consumers opt in

    A declined replacement stops before queue provisioning or upload and returns a distinct result. Deploy also rechecks the split immediately before changing traffic. Wrangler's default behavior is unchanged.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Workers - Reject redirects in Workers fetch requests

Cloudflare Workers now supports redirect: "error" in fetch() and Request, completing support for all three redirect modes defined by the WHATWG Fetch Standard ↗︎: follow, manual, and error.

When the server responds with a redirect status (301, 302, 303, 307, or 308), fetch() with redirect: "error" rejects with a TypeError without contacting the redirect destination. It rejects even if the response has no Location header. Non-redirect 3xx responses, such as 304 Not Modified, resolve normally.

Use redirect: "error" to:

  • Protect credentials and secrets: Fail closed on OAuth token exchanges, signed webhooks, and API calls carrying sensitive headers (such as Cookie, X-API-Key, or Authorization) so redirects cannot forward headers to another destination.
  • Prevent server-side request forgery (SSRF) redirect hops: After you validate a user-supplied URL, block redirects to unvalidated hosts. This applies to webhook targets, link previews, and feed fetchers.
  • Enforce strict API contracts: Catch unexpected redirects (such as an upstream API redirecting to an HTML sign-in page) immediately instead of following them, consuming extra subrequests, and failing later during response parsing. …

Originalquelle(öffnet in neuem Tab)Problem melden

Core Platform von Cloudflare

Rules - Use IP and ASN lists in response-side and other CDN rule filters

Custom IP and autonomous system number (ASN) lists are supported in response-side filters, including Response Header Transform Rules and rate-limit response-counting expressions. You can reuse network groups on both the request and response sides.

Support extends across customer-owned CDN rule filters, including WAF custom rules, Cache Rules, Redirect Rules, and Request Header Transform Rules.

For example, reference an ASN list named partner_networks:

ip.src.asnum in $partner_networks

For an IP list named office_network, use:

ip.src in $office_network

This expands where you can reference existing lists. It does not change plan availability, quotas, or dynamic action-value expression support. ASN lists remain Enterprise-only, and hostname lists retain their product-specific restrictions.

For details, refer to IP and ASN lists across Rules products.

Originalquelle(öffnet in neuem Tab)Problem melden

Core Platform von Cloudflare

Rules - Inspect multipart part headers, preambles, and empty parts

Five new Rules fields provide more detail about multipart request bodies:

Field

Contents

http.request.body.multipart.headers

Standard and custom headers grouped by lowercase name for each part.

http.request.body.multipart.headers.names

Header names in original case and occurrence order for each part.

http.request.body.multipart.headers.values

Header values aligned with the names for each part.

http.request.body.multipart.preamble

Original bytes before the first boundary delimiter.

http.request.body.multipart.empty_parts_count

Headerless, empty-body parts skipped during parsing.

For example, match a custom header on the first parsed part:

http.request.body.multipart.headers[0]["x-upload-tag"][0] eq "review"

Header arrays preserve part association and duplicate headers. The preamble includes the line ending before the first delimiter. The empty-part count includes only parts encountered before parsing stops.

These fields require an Enterprise plan. Request body inspection and multipart parsing limits apply. …

Originalquelle(öffnet in neuem Tab)Problem melden

Core Platform von Cloudflare

Rules - Match response cookies by name in Rules expressions

Rules expressions can inspect response cookies by name using two fields:

  • http.response.set_cookies: Parsed cookies from the current response headers.
  • raw.http.response.set_cookies: Parsed cookies from the original response headers.

For example, use this expression in a Response Header Transform Rule to match a response that sets an app cookie to preview:

http.response.set_cookies["app"][0] eq "preview"

Both fields map URL-decoded cookie names to arrays of values. Duplicate names retain multiple values. Cookie attributes such as Path and HttpOnly are excluded.

The current field reflects changes from earlier phases. The raw field preserves the original cookies. Normal within-phase field immutability still applies.

For details, refer to the http.response.set_cookies and raw.http.response.set_cookies field references.

Originalquelle(öffnet in neuem Tab)Problem melden

Core Platform von Cloudflare

Rules - Sign storage requests with HMAC and automatic UTC dates

The Rules language supports HMAC signing, Signature Version 4 (SigV4) key derivation, and UTC date formatting. Use these functions in Request Header Transform Rules to authenticate reads from private Amazon S3 and Google Cloud Storage buckets.

  • hmac_md5(), hmac_sha1(), hmac_sha256(), and hmac_sha512() compute raw keyed digests.
  • sign_sigv4_hmac_sha256() derives the signing key and returns the lowercase hexadecimal signature in one call.
  • format_date() formats the request timestamp for date headers and credential scopes.
  • encode_hex() converts raw digests to lowercase hexadecimal text.

For example, set x-amz-date or x-goog-date dynamically using:

format_date(http.request.timestamp.sec, "%Y%m%dT%H%M%SZ")

The same rule can build an Authorization header from that request timestamp. Callers do not need to supply a date header. You remain responsible for constructing the canonical request and string to sign.

The HMAC and SigV4 signing functions are available on Pro, Business, and Enterprise plans. format_date() is available on all plans without an additional entitlement. Use it in URI, request header, and response header rewrite expressions, not rule filters. …

Originalquelle(öffnet in neuem Tab)Problem melden

Media von Cloudflare

URL-based image optimization in Workers

Cloudflare Images Workers

In Images, you can add optimization parameters directly to transformation URL requests to optimize images from any origin.

Workers now supports the Images URL interface directly on workers.dev subdomains through new Worker-scoped configuration. For example, a Worker can serve this transformation URL without connecting a custom domain:

https://example-app.<YOUR_SUBDOMAIN>.workers.dev/cdn-cgi/image/format=auto,width=400/image.png

Previously, transformation URLs were not available on workers.dev subdomains or during local development. A Worker could serve transformation URLs only through a connected custom domain when the URL interface was enabled for that zone.

The new Worker-scoped settings apply to deployed Workers and during local development. On connected custom domains, they override the zone-scoped settings. …

Originalquelle(öffnet in neuem Tab)Problem melden

Core Platform von Cloudflare

Billing, Cloudflare CLI, Agents - Activate Cloudflare subscriptions from the CLI and MCP

You and your agents can now activate Cloudflare subscriptions from the Cloudflare CLI (cf) or Cloudflare Model Context Protocol (MCP) servers, without switching to the dashboard.

Previously, OAuth sessions used by cf and MCP could not create subscriptions, so activating a product meant leaving your terminal or agent session to complete checkout in the dashboard. You can now activate subscriptions in place for common workflows:

  • Workers Paid: Move beyond Free plan limits such as 100,000 requests per day and 10 ms of CPU time, with 10 million requests and 30 million CPU milliseconds included each month for $5 per month plus usage.
  • R2: Activate an R2 subscription to start creating buckets, with 10 GB of free monthly storage plus usage-based billing beyond the free tier.
  • Zero Trust: Sign up for Zero Trust (with up to 50 users included on the Free plan) to put a Worker behind Cloudflare Access. …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare One von Cloudflare

Cloudflare One Appliance, Cloudflare One, Cloudflare WAN - Reach overlapping remote networks with DNAT translations on Cloudflare One Appliance

You can now configure DNAT (destination NAT) translations on a Cloudflare One Appliance LAN, in beta. A DNAT translation maps a local pre-NAT prefix to a post-NAT prefix of the same size, which is the real prefix of a remote subnet reachable through Cloudflare WAN, such as a data center connected over an IPsec tunnel. Hosts on the LAN send traffic to the pre-NAT prefix, and the Appliance translates it 1:1 to the remote subnet and back.

Use DNAT translations to reach a remote network that uses the same addresses as your site, without renumbering either side. You can also use them to avoid adding routes for remote subnets to your local network. Combine DNAT translations with static NAT for a subnet when both sides of the connection use the same addresses.

  • In the dashboard, edit a LAN in your Appliance profile's Network configuration, then select Add DNAT translation under DNAT translations.

    Go to Appliances ↗ …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare One von Cloudflare

Cloudflare One Appliance, Cloudflare One, Cloudflare WAN - Prioritized traffic now takes effect on congested WAN circuits for Cloudflare One Appliance

Prioritized traffic on Cloudflare One Appliance now takes effect when your WAN circuit is slower than the appliance port, which is common for branch Internet connections. Enter the circuit's upload speed on each WAN, and the appliance shapes upload traffic to 95% of that value. Traffic then queues on the appliance instead of in your modem or ISP network, so the appliance can send prioritized applications, such as voice and video calls, ahead of everything else.

  • Two traffic classes: Applications in the Prioritized traffic list go first. All other traffic is default (best effort). Prioritized traffic cannot completely starve default traffic, and flows within each class share bandwidth fairly.
  • Dashboard: When you create or edit a WAN, enter Provisioned upload bandwidth (Mbps) and, optionally, Provisioned download bandwidth (Mbps). Saved values appear in the WAN details. …

Originalquelle(öffnet in neuem Tab)Problem melden

Storage von Cloudflare

Pipelines Sink credentials can now be updated

Basin Pipelines Basin

You can now replace the credentials of a Basin Pipelines sink. Previously, an expired or revoked token meant deleting and recreating the sink.

Pipelines keep the sink's earlier credentials until you update them. Updating a failed pipeline automatically restarts it.

A failed pipeline's page with the reason it failed, the sink that changed, and the Update pipeline button

Dashboard

  • Update credentials — On a sink's page, in Destination. Create a new API token, or enter the credentials of a token you created.
  • Update pipeline — On a pipeline's page, when a stream or sink it uses has changed.

Go to Sinks ↗ The Update credentials dialog with two options: create a new API token, or enter credentials

API …

Originalquelle(öffnet in neuem Tab)Problem melden

Storage von Cloudflare

D1 Insights index recommendations

D1

D1 Insights now recommends indexes for your D1 databases. Each recommendation includes a CREATE INDEX statement, the queries it is expected to speed up, and usage metrics for those queries.

You can turn recommendations on or off in the dashboard, with the Cloudflare CLI, or with the API.

Review recommendations on the Metrics tab of a database in the dashboard, or list them with the Cloudflare CLI:

npx cf@latest d1 insights recommendations

For more information, refer to Index recommendations.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

AI Search - Introducing Search for Agents

Search for Agents makes your website searchable by AI agents without manually configuring a search integration. Turn it on under Quick Actions on your domain's Overview page in the Cloudflare dashboard. Cloudflare creates an AI Search instance, starts indexing your content, and exposes a search endpoint on your domain.

Search for Agents toggle turned on in the Cloudflare dashboard, with a Beta badge and a link to feature documentation.

Cloudflare adds discovery metadata to your HTML pages and, when Markdown for Agents is on, to Markdown responses. Agents can discover the endpoint and search with keywords or natural-language queries:

curl --get "https://example.com/.well-known/search" \
  --data-urlencode "q=How do I verify webhook signatures?"

The endpoint supports both GET and HTTP QUERY requests. It returns relevant content in Markdown, not an AI-generated answer, so agents can use the results with their own models.

Search for Agents is available on all plans. Usage is subject to AI Search pricing and plan limits. You can customize configurable settings in the AI Search instance created for your domain. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Basin Pipelines, Basin - Pipelines Sink credentials can now be updated

You can now replace the credentials of a Basin Pipelines sink. Previously, an expired or revoked token meant deleting and recreating the sink.

Pipelines keep the sink's earlier credentials until you update them. Updating a failed pipeline automatically restarts it.

A failed pipeline's page with the reason it failed, the sink that changed, and the Update pipeline button

Dashboard

  • Update credentials — On a sink's page, in Destination. Create a new API token, or enter the credentials of a token you created.
  • Update pipeline — On a pipeline's page, when a stream or sink it uses has changed.

Go to Sinks ↗ The Update credentials dialog with two options: create a new API token, or enter credentials

API

Both requests need an API token with Basin Pipelines Edit permission. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Billing, Cloudflare CLI, Agents - Activate Cloudflare subscriptions from the CLI and MCP

You and your agents can now activate Cloudflare subscriptions from the Cloudflare CLI (cf) or Cloudflare Model Context Protocol (MCP) servers, without switching to the dashboard.

Previously, OAuth sessions used by cf and MCP could not create subscriptions, so activating a product meant leaving your terminal or agent session to complete checkout in the dashboard. You can now activate subscriptions in place for common workflows:

  • Workers Paid: Move beyond Free plan limits such as 100,000 requests per day and 10 ms of CPU time, with 10 million requests and 30 million CPU milliseconds included each month for $5 per month plus usage.
  • R2: Activate an R2 subscription to start creating buckets, with 10 GB of free monthly storage plus usage-based billing beyond the free tier.
  • Zero Trust: Sign up for Zero Trust (with up to 50 users included on the Free plan) to put a Worker behind Cloudflare Access. …

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

D1 - D1 Insights index recommendations

D1 Insights now recommends indexes for your D1 databases. Each recommendation includes a CREATE INDEX statement, the queries it is expected to speed up, and usage metrics for those queries.

You can turn recommendations on or off in the dashboard, with the Cloudflare CLI, or with the API.

Review recommendations on the Metrics tab of a database in the dashboard, or list them with the Cloudflare CLI:

npx cf@latest d1 insights recommendations

For more information, refer to Index recommendations.

Originalquelle(öffnet in neuem Tab)Problem melden

Developer Platform von Cloudflare

Cloudflare Images, Workers - URL-based image optimization in Workers

In Images, you can add optimization parameters directly to transformation URL requests to optimize images from any origin.

Workers now supports the Images URL interface directly on workers.dev subdomains through new Worker-scoped configuration. For example, a Worker can serve this transformation URL without connecting a custom domain:

https://example-app.<YOUR_SUBDOMAIN>.workers.dev/cdn-cgi/image/format=auto,width=400/image.png

Previously, transformation URLs were not available on workers.dev subdomains or during local development. A Worker could serve transformation URLs only through a connected custom domain when the URL interface was enabled for that zone.

The new Worker-scoped settings apply to deployed Workers and during local development. On connected custom domains, they override the zone-scoped settings.

Configure the settings in your Wrangler configuration file or in cloudflare.config.ts for Cloudflare CLI: …

Originalquelle(öffnet in neuem Tab)Problem melden