Changelog
Subscribe to all Changelog posts via RSS.
Unless otherwise noted, all dates refer to the release date of the change.
Workers AI
Introducing embedded function calling
- A new way to do function calling with Embedded function calling
- Published new
@cloudflare/ai-utils
npm package - Open-sourced
ai-utils on Github
Gateway
Gateway DNS policy setting to ignore CNAME category matches
Gateway now offers the ability to selectively ignore CNAME domain categories in DNS policies via the ignore_cname_category_matches
setting.
Wrangler
3.62.0
#5950
0075621
Thanks @WalshyDev! - feat: addwrangler versions secret put
,wrangler versions secret bulk
andwrangler versions secret list
wrangler versions secret put
allows for you to add/update a secret even if the latest version is not fully deployed. A new version with this secret will be created, the existing secrets and config are copied from the latest version.wrangler versions secret bulk
allows you to bulk add/update multiple secrets at once, this behaves the same assecret put
and will only make one new version.wrangler versions secret list
lists the secrets available to the currently deployed versions.wrangler versions secret list --latest-version
orwrangler secret list
will list for the latest version.Additionally, we will now prompt for extra confirmation if attempting to rollback to a version with different secrets than the currently deployed.
#6118
1621992
Thanks @WalshyDev! - fix: rollback in the case of a secret change, the prompt meant to show was not showing due to the spinner in an interactive env. It will now properly show.chore: improve the view of
wrangler versions view
and change up copy a little forversions secret
commands.#6105
26855f3
Thanks @helloimalastair! - feat: Add help messages to all invalidr2
commands#3735
9c7df38
Thanks @lrapoport-cf! - chore: Cleanupwrangler --help
outputThis commit cleans up and standardizes the look and feel of all
wrangler
commands as displayed bywrangler --help
andwrangler <cmd> --help
.#6080
e2972cf
Thanks @threepointone! - chore: run eslint (with react config) on workers-playground/wranglerThis enables eslint (with our react config) for the workers-playground project. Additionally, this enables the react-jsx condition in relevant tsconfig/eslint config, letting us write jsx without having React in scope.
#6001
d39d595
Thanks @penalosa! - chore: changes to howwrangler dev
launches your worker, behind the experimental--x-dev-env
flag#5214
05c5607
Thanks @penalosa! - feat: Experimental file based service discovery when running multiple Wrangler instances locally. To try it out, make sure all your local Wrangler instances are running with the--x-registry
flag.Updated dependencies [
7d02856
,d4e1e9f
]:- miniflare@3.20240620.0
- @cloudflare/kv-asset-handler@0.3.4
Magic WAN
ICMP support for traffic sourced from private IPs
Magic WAN will now support ICMP traffic sourced from private IPs going to the Internet via Gateway.
Zaraz
- Dashboard: Add an option to disable the automatic
Pageview
event
Stream
Generated Captions to Open beta
Stream has introduced automatically generated captions to open beta for all subscribers at no additional cost. While in beta, only English is supported and videos must be less than 2 hours. For more information, refer to the product announcement and deep dive or refer to the captions documentation to get started.
Workers
- When using
nodejs_compat
compatibility flag, thebuffer
module now has an implementation ofisAscii()
andisUtf8()
methods. - Fixed a bug where exceptions propagated from JS RPC calls to Durable Objects would lack the
.remote
property that exceptions fromfetch()
calls to Durable Objects have.
Workers AI
Added support for traditional function calling
- Function calling is now supported on enabled models
- Properties added on models page to show which models support function calling
Page Shield
Cookie Monitor now available
Page Shield now captures HTTP cookies set and used by your web application. The list of detected cookies in available in the Cloudflare dashboard or via API.
Wrangler
3.61.0
#5995
374bc44
Thanks @petebacondarwin! - feat: allow Durable Object migrations to be overridable in environmentsBy making the
migrations
key inheritable, users can provide different migrations for each wrangler.toml environment.Resolves #729
#6039
dc597a3
Thanks @petebacondarwin! - fix: hybrid nodejs compat now supports requiring the default export of a CJS moduleFixes #6028
#6051
15aff8f
Thanks @threepointone! - fix: Don’t check expiry dates on custom certsFixes https://github.com/cloudflare/workers-sdk/issues/5964
For
wrangler dev
, we don’t have to check whether certificates have expired when they’re provided by the user.#6052
b4c0233
Thanks @threepointone! - chore: Add.wrangler
and.DS_Store
to.gitignore
generated bywrangler init
This commit adds a small QOL improvement to
init
(to be deprecated in the future), for those who still use this wrangler command.#6050
a0c3327
Thanks @threepointone! - chore: Normalize more depsThis is the last of the patches that normalize dependencies across the codebase. In this batch:
ws
,vitest
,zod
,rimraf
,@types/rimraf
,ava
,source-map
,glob
,cookie
,@types/cookie
,@microsoft/api-extractor
,@types/mime
,@types/yargs
,devtools-protocol
,@vitest/ui
,execa
,strip-ansi
This patch also sorts dependencies in every
package.json
#6029
f5ad1d3
Thanks @threepointone! - chore: Normalize some dependencies in workers-sdkThis is the first of a few expected patches that normalize dependency versions, This normalizes
undici
,concurrently
,@types/node
,react
,react-dom
,@types/react
,@types/react-dom
,eslint
,typescript
. There are no functional code changes (but there are a couple of typecheck fixes).#6046
c643a81
Thanks @threepointone! - chore: Normalize more dependencies.Follow up to https://github.com/cloudflare/workers-sdk/pull/6029, this normalizes some more dependencies :
get-port
,chalk
,yargs
,toucan-js
,@typescript-eslint/parser
,@typescript-eslint/eslint-plugin
,esbuild-register
,hono
,glob-to-regexp
,@cloudflare/workers-types
#6058
31cd51f
Thanks @threepointone! - chore: Quieter buildsThis patch cleans up warnings we were seeing when doing a full build. Specifically:
- fixtures/remix-pages-app had a bunch of warnings about impending features that it should be upgraded to, so I did that. (tbh this one needs a full upgrade of packages, but we’ll get to that later when we’re upgrading across the codebase)
- updated
@microsoft/api-extractor
so it didn’t complain that it didn’t match thetypescript
version (that we’d recently upgraded) - it also silenced a bunch of warnings when exporting types from
wrangler
. We’ll need to fix those, but we’ll do that when we work on unstable_dev etc. - workers-playground was complaining about the size of the bundle being generated, so I increased the limit on it
#6043
db66101
Thanks @threepointone! - fix: avoid esbuild warning when running dev/bundleI’ve been experimenting with esbuild 0.21.4 with wrangler. It’s mostly been fine. But I get this warning every time
▲ [WARNING] Import "__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__" will always be undefined because there is no matching export in "src/index.ts" [import-is-undefined] .wrangler/tmp/bundle-Z3YXTd/middleware-insertion-facade.js:8:23: 8 │ .....(OTHER_EXPORTS.__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__ ?? []), ╵
This is because esbuild@0.18.5 enabled a warning by default whenever an undefined import is accessed on an imports object. However we abuse imports to inject stuff in
middleware.test.ts
. A simple fix is to only inject that code in tests.#6062
267761b
Thanks @WalshyDev! - fix: typo inwrangler d1 execute
saying “Databas” instead of “Database”#6064
84e6aeb
Thanks @helloimalastair! - fix: Wrangler is now able to upload files to local R2 buckets above the 300 MiB limitUpdated dependencies [
a0c3327
,f5ad1d3
,31cd51f
]:- miniflare@3.20240610.1
- @cloudflare/kv-asset-handler@0.3.3
Zaraz
- Amplitude Managed Component: Allow users to choose data center
- Bing Managed Component: Fix e-commerce events handling
- Google Analytics 4 Managed Component: Mark e-commerce events as conversions
- Consent Management: Fix IAB Consent Mode tools not showing with purposes
Risk score
Okta risk exchange
You can now exchange user risk scores with Okta to inform SSO-level policies.
Page Shield
Added filter operators for scripts and connections
You can now filter scripts and connections in the Cloudflare dashboard using the does not contain
operator. Pages associated with scripts and connections can be filtered by includes
, starts with
, and ends with
.
Risk score
SentinelOne signal ingestion
You can now configure a predefined risk behavior to evaluate user risk score using device posture attributes from the SentinelOne integration.
Wrangler
3.60.3
#6025
122ef06
Thanks @IgorMinar! - fix: avoid path collisions between performance and Performance Node.js polyfillsIt turns out that ESBuild paths are case insensitive, which can result in path collisions between polyfills for
globalThis.performance
andglobalThis.Performance
, etc.This change ensures that we encode all global names to lowercase and decode them appropriately.
#6009
169a9fa
Thanks @RamIdeas! - fix: reduce the number of parallel file reads on Windows to avoid EMFILE type errorsFixes #1586
53acdbc
Thanks @petebacondarwin! - fix: warn if user tries normal deploy when in the middle of a gradual version rolloutUpdated dependencies [
c4146fc
]:
beacon.min.js
Enhanced to include reporting of Server-Timing headers.
Stream
Updated response codes on requests for errored videos
Stream will now return HTTP error status 424 (failed dependency) when requesting segments, manifests, thumbnails, downloads, or subtitles for videos that are in an errored state. Previously, Stream would return one of several 5xx codes for requests like this.
Workers AI
Deprecation announcement for @cf/meta/llama-2-7b-chat-int8
We will be deprecating @cf/meta/llama-2-7b-chat-int8
on 2024-06-30.
Replace the model ID in your code with a new model of your choice:
@cf/meta/llama-3-8b-instruct
is the newest model in the Llama family (and is currently free for a limited time on Workers AI).@cf/meta/llama-3-8b-instruct-awq
is the new Llama 3 in a similar precision to your currently selected model. This model is also currently free for a limited time.
If you do not switch to a different model by June 30th, we will automatically start returning inference from @cf/meta/llama-3-8b-instruct-awq
.
Wrangler
3.60.2
Wrangler
3.60.1
- #6002
f1f1834
Thanks @GregBrimble! - Revert a change in 3.60.0 which incorrectly batched assets for Pages uploads ( https://github.com/cloudflare/workers-sdk/pull/5632).
R2
- Fixed an issue that prevented Sippy from copying over objects from S3 buckets with SSE set up.
Wrangler
3.60.0
#5878
1e68fe5
Thanks @IgorMinar! - feat: add experimental support for hybrid Node.js compatibilityThis feature is experimental and not yet available for general consumption.
Use a combination of workerd Node.js builtins (behind the
experimental:nodejs_compat_v2
flag) and Unenv polyfills (configured to only add those missing from the runtime) to provide a new more effective Node.js compatibility approach.#5988
e144f63
Thanks @RamIdeas! - feature: rename thewrangler secret:bulk
command towrangler secret bulk
The old command is now deprecated (but still functional) and will be removed in a future release. The new command is now more consistent with the rest of the wrangler CLI commands.
#5989
35b1a2f
Thanks @RamIdeas! - feature: renamewrangler kv:...
commands towrangler kv ...
The old commands are now deprecated (but still functional) and will be removed in a future release. The new commands are now more consistent with the rest of the wrangler CLI commands.
#5861
1cc52f1
Thanks @zebp! - feat: allow for Pages projects to upload sourcemapsPages projects can now upload sourcemaps for server bundles to enable remapped stacktraces in realtime logs when deployed with
upload_source_map
set totrue
inwrangler.toml
.#5939
21573f4
Thanks @penalosa! - refactor: Adds the experimental flag--x-dev-env
which opts in to using an experimental code path forwrangler dev
andwrangler dev --remote
. There should be no observable behaviour changes when this flag is enabled.#5934
bac79fb
Thanks @dbenCF! - fix: Update create KV namespace binding details message for easier implementation#5927
6f83641
Thanks @CarmenPopoviciu! - fix: Cleanpages dev
terminal ouputThis work includes a series of improvements to the
pages dev
terminal output, in an attempt to make this output more structured, organised, cleaner, easier to follow, and therefore more helpful for our users <3#5960
e648825
Thanks @petebacondarwin! - fix: avoid injecting esbuild watch stubs into production Worker codeWhen we added the ability to include additional modules in the deployed bundle of a Worker, we inadvertently also included some boiler plate code that is only needed at development time.
This fix ensures that this code is only injected if we are running esbuild in watch mode (e.g.
wrangler dev
) and not when building for deployment.It is interesting to note that this boilerplate only gets included in the production code if there is an import of CommonJS code in the Worker, which esbuild needs to convert to an ESM import.
Fixes #4269
Updated dependencies [
ab95473
]:
Access
Scalability improvements to the App Launcher
Applications now load more quickly for customers with a large number of applications or complex policies.
R2
- R2 will now ignore the
x-purpose
request parameter.
Magic WAN
Application based prioritization
The Magic WAN Connector can now prioritize traffic on a per-application basis.
CASB
Atlassian Bitbucket integration
Customers can now scan their Bitbucket Cloud workspaces for a variety of contextualized security issues such as source code exposure, admin misconfigurations, and more.
DDoS protection
DDoS alerts now available for EU CMB customers
DDoS alerts are now available for EU Customer Metadata Boundary (CMB) customers. This includes all DDoS alert type (Standard and Advanced) for both HTTP DDoS attacks and L3/4 DDoS attacks.
Rules
Cloudflare Snippets now available to all Enterprise customers
Cloudflare Snippets (alpha) are now available to all Enterprise customers. Customers in other paid plans will gradually get access throughout 2024.
Magic WAN
WARP virtual IP addresses
Customers using Gateway to filter traffic to Magic WAN destinations will now see traffic from Cloudflare egressing with WARP virtual IP addresses (CGNAT range), rather than public Cloudflare IP addresses. This simplifies configuration and improves visibility for customers.
Workers AI
Add new public LoRAs and note on LoRA routing
- Added documentation on new public LoRAs.
- Noted that you can now run LoRA inference with the base model rather than explicitly calling the
-lora
version
Hyperdrive
Increased configuration limits
You can now create up to 25 Hyperdrive configurations per account, up from the previous maximum of 10.
Refer to Limits to review the limits that apply to Hyperdrive.
CASB
Data-at-rest DLP for Box and Dropbox
You can now scan your Box and Dropbox files for DLP matches.
beacon.min.js
Introducing new metric fields, transferSize and decodedBodySize are included.
Hyperdrive
Driver performance improvements
Compatibility improvements to how Hyperdrive interoperates with the popular Postgres.js driver have been released. These improvements allow queries made via Postgres.js to be correctly cached (when enabled) in Hyperdrive.
Developers who had previously set prepare: false
can remove this configuration when establishing a new Postgres.js client instance.
Read the documentation on supported drivers to learn more about database driver interoperability with Hyperdrive.
Zero Trust WARP Client
WARP client for Windows (version 2024.5.310.1)
A new beta release for the Windows WARP client is now available in the App Center.
Notable updates:
- Added a new Unable to Connect message to the UI to help in troubleshooting.
- In the upgrade window, a change was made to use international date formats to resolve an issue with localization.
- Made a change to ensure DEX tests are not running when the tunnel is not up due to the device going to or waking from sleep. This is specific to devices using the S3 power model.
- Fixed a known issue where the certificate was not always properly left behind in
%ProgramData%\Cloudflare\installed_cert.pem
. - Fixed an issue where ICMPv6 Neighbor Solicitation messages were being incorrectly sent on the WARP tunnel.
Known issues:
- If a user has an MDM file configured to support multiple profiles (for the switch configurations feature), and then changes to an MDM file configured for a single profile, the WARP client may not connect. The workaround is to use the
warp-cli registration delete
command to clear the registration, and then re-register the client.
Zero Trust WARP Client
WARP client for macOS (version 2024.5.287.1)
A new beta release for the macOS WARP client is now available in the App Center
Notable updates:
- Fixed a known issue where the certificate was not always properly left behind in
/Library/Application Support/Cloudflare/installed_cert.pem
. - Fixed an issue so that the reauth notification is cleared from the UI when the user switches configurations.
- Fixed an issue by correcting the WARP client setting of macOS firewall rules. This relates to TunnelVision ( CVE-2024-3661).
- Fixed an issue that could cause the Cloudflare WARP menu bar application to disappear when switching configurations.
Known issues:
- If a user has an MDM file configured to support multiple profiles (for the switch configurations feature), and then changes to an MDM file configured for a single profile, the WARP client may not connect. The workaround is to use the
warp-cli registration delete
command to clear the registration, and then re-register the client.
Digital Experience Monitoring
Last seen ISP
Admins can view the last ISP seen for a device by going to My Team > Devices. Requires setting up a traceroute test.
Workers
- Updated v8 to version 12.6.
Workers AI
Add OpenAI compatible API endpoints
Added OpenAI compatible API endpoints for /v1/chat/completions
and /v1/embeddings
. For more details, refer to Configurations.
Workers
- The new
fetch_standard_url
compatibility flag will become active by default on June 3rd, 2024 and ensures that URLs passed into thefetch(...)
API, thenew Request(...)
constructor, and redirected requests will be parsed using the standard WHATWG URL parser. - DigestStream is now more efficient and exposes a new
bytesWritten
property that indicates that number of bytes written to the digest.
Rules
Page Rules migration
Page Rules are now a legacy product. Consider using modern Rules features instead of Page Rules. Refer to the Page Rules migration guide for more information.
Digital Experience Monitoring
DEX alerts
Admins can now set DEX alerts using Cloudflare Notifications. Three new DEX alert types:
- Device connectivity anomaly
- Test latency
- Test low availability
Rules
New Configuration Rules setting for Web Analytics (RUM)
You can now turn off Cloudflare Web Analytics, also known as Real User Monitoring (RUM), for specific requests using a configuration rule.
Workers
- Updated v8 to version 12.5.
- A bug in the fetch API implementation would cause the content type of a Blob to be incorrectly set. The fix is being released behind a new
blob_standard_mime_type
compatibility flag.
Zero Trust WARP Client
Cloudflare One Agent for Android (version 1.7)
A new GA release for the Android Cloudflare One Agent is now available in the Google Play Store. This release fixes an issue where the user was not prompted to select the client certificate in the browser during Access registration.
AI Gateway
- Added new endpoints to the REST API.
Zero Trust WARP Client
Crowdstrike posture checks for online status
Two new Crowdstrike attributes, Last Seen and State, are now available to be used as selectors in the Crowdstrike service provider integration.
Zero Trust WARP Client
WARP client for macOS (version 2024.3.444.0)
A new GA release for the macOS WARP client is now available in the App Center. This releases fixes an issue with how the WARP client sets macOS firewall rules and addresses the TunnelVision ( CVE-2024-3661) vulnerability.
Workers
- Fixed RPC to/from Durable Objects not honoring the output gate.
- The
internal_stream_byob_return_view
compatibility flag can be used to improve the standards compliance of theReadableStreamBYOBReader
implementation when working with BYOB streams provided by the runtime (like inresponse.body
orrequest.body
). The flag ensures that the final read result will always include avalue
field whose value is set to an emptyUint8Array
whose underlyingArrayBuffer
is the same memory allocation as the one passed in on the call toread()
. - The Web platform standard
reportError(err)
global API is now available in workers. The reported error will first be emitted as an ’error’ event on the global scope then reported in both the console output and tail worker exceptions by default.
Zaraz
- Dashboard: Add setting for Google Consent mode default
- Bugfix: Cookie values are now decoded
- Bugfix: Ensure context enricher worker can access the
context.system.consent
object - Google Ads Managed Component: Add conversion linker on pageviews without sending a pageview event
- Pinterest Conversion API Managed Component: Bugfix handling of partial e-commerce event payloads
D1
D1 alpha databases will stop accepting live SQL queries on August 1, 2024
Previously deprecated alpha D1 databases need to be migrated by August 1, 2024 to accept new queries.
Refer to alpha database migration guide to migrate to the new, generally available, database architecture.
Rules
New Configuration Rules setting for Cloudflare Fonts
You can now turn on or off Cloudflare Fonts for specific requests using a configuration rule.
Access
Add option to bypass CORS to origin server
Access admins can defer all CORS enforcement to their origin server for specific Access applications.
Page Shield
Suggestions for the default directive
When creating a policy in the dashboard, default directive aggregates suggestions of monitored scripts and connections data, enabling defining default directive easier.
Workers
- Updated v8 to version 12.4.
WAF
Scheduled changes for 2024-04-29
For more details, refer to the dedicated page for Scheduled changes.
DDoS protection
HTTP ruleset - Scheduled changes for 2024-04-29
For more details, refer to the dedicated page for HTTP ruleset - Scheduled changes.
DDoS protection
HTTP ruleset - 2024-04-19
For more details, refer to the dedicated page for HTTP ruleset - 2024-04-19.
Zaraz
- Instagram Managed Component: Improve performance of Instagram embeds
- Mixpanel Managed Component: Include
gclid
andfbclid
values in Mixpanel requests if available - Consent Management: Ensure consent platform is enabled when using IAB TCF compliant mode when there’s at least one TCF-approved vendor configured
- Bugfix: Ensure track data payload keys take priority over preset-keys when using enrich-payload feature for custom actions
beacon.min.js
Introducing new metric fields, deliveryType (dt) and navigationType (nt) are included.
DDoS protection
Network Analytics now supported for EU CMB customers
The Network Analytics dashboard is available to customers that have opted in to the EU Customer Metadata Boundary (CMB) solution. This also includes Network Analytics Logs (Logpush) and GraphQL API.
API users can ensure they are routed properly by directing their API requests at eu.api.cloudflare.com
.
CASB
Export CASB findings to CSV
You can now export all top-level CASB findings or every instance of your findings to CSV.
DDoS protection
HTTP ruleset - 2024-04-16 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-04-16 - Emergency.
DLP
Optical character recognition
DLP can now detect sensitive data in jpeg, jpg, and png files. This helps companies prevent the leak of sensitive data in images, such as screenshots.
Access
Zero Trust User identity audit logs
All user identity changes via SCIM or Authentication events are logged against a user’s registry identity.
Trace
Cloudflare Trace now supports Workers
Starting today, customers can use Cloudflare Trace to confirm if a request to a specific URL within their zone is routed through a Workers script.
D1
HTTP API now returns a HTTP 400 error for invalid queries
Previously, D1’s HTTP API returned a HTTP 500 Internal Server
error for an invalid query. An invalid SQL query now correctly returns a HTTP 400 Bad Request
error.
D1’s Workers API is unaffected by this change.
Stream
Live Instant Clipping for live broadcasts and recordings
Clipping is now available in open beta for live broadcasts and recordings. For more information, refer to Live instant clipping documentation.
Workers
- Improve Streams API spec compliance by exposing
desiredSize
and other properties on stream class prototypes - The new
URL.parse(...)
method is implemented. This provides an alternative to the URL constructor that does not throw exceptions on invalid URLs. - R2 bindings objects now have a
storageClass
option. This can be set on object upload to specify the R2 storage class - Standard or Infrequent Access. The property is also returned with object metadata.
Workers AI
Add AI native binding
- Added new AI native binding, you can now run models with
const resp = await env.AI.run(modelName, inputs)
- Deprecated
@cloudflare/ai
npm package. While existing solutions using the @cloudflare/ai package will continue to work, no new Workers AI features will be supported. Moving to native AI bindings is highly recommended
Turnstile
- Added
[refresh-timeout]
and document new automatic interactive timeout-refresh.
Zaraz
- Consent Management: Add
consent
object tocontext.system
for finer control over consent preferences - Consent Management: Add support for IAB-compliant consent mode
- Consent Management: Add “zarazConsentChoicesUpdated” event
- Consent Management: Modal now respects system dark mode prefs when present
- Google Analytics 4 Managed Component: Add support for Google Consent Mode v2
- Google Ads Managed Component: Add support for Google Consent Mode v2
- Twitter Managed Component: Enable tweet embeds
- Bing Managed Component: Support running without setting cookies
- Bugfix:
client.get
for Custom Managed Components fixed - Bugfix: Prevent duplicate pageviews in monitoring after consent granting
- Bugfix: Prevent Managed Component routes from blocking origin routes unintentionally
D1
D1 alpha databases are deprecated
Now that D1 is generally available and production ready, alpha D1 databases are deprecated and should be migrated for better performance, reliability, and ongoing support.
Refer to alpha database migration guide to migrate to the new, generally available, database architecture.
Gateway
Gateway file type control improvements
Gateway now offers a more extensive, categorized list of files to control uploads and downloads.
Workers
- A new JavaScript-native remote procedure call (RPC) API is now available, allowing you to communicate more easily across Workers and between Workers and Durable Objects.
DDoS protection
HTTP ruleset - 2024-04-04 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-04-04 - Emergency.
Page Shield
Individual threat intelligence categories
Instead of aggregating categories of URL and domain data from threat intelligence, they are now listed per type.
Workers
- There is no longer an explicit limit on the total amount of data which may be uploaded with Cache API
put()
per request. Other Cache API Limits continue to apply. - The Web standard
ReadableStream.from()
API is now implemented. The API enables creating aReadableStream
from a either a sync or async iterable.
Durable Objects
Durable Objects support for Oceania region
Durable Objects can reside in Oceania, lowering Durable Objects request latency for eyeball Workers in Oceania locations.
Refer to Durable Objects to provide location hints to objects.
Workers
- When the
brotli_content_encoding
compatibility flag is enabled, the Workers runtime now supports compressing and decompressing request bodies encoded using the Brotli compression algorithm. Refer to this docs section for more detail.
DDoS protection
HTTP ruleset - 2024-04-02
For more details, refer to the dedicated page for HTTP ruleset - 2024-04-02.
Workers
- You can now write Workers in Python
D1
D1 is generally available
D1 is now generally available and production ready. Read the blog post for more details on new features in GA and to learn more about the upcoming D1 read replication API.
- Developers with a Workers Paid plan now have a 10GB GB per-database limit (up from 2GB), which can be combined with existing limit of 50,000 databases per account.
- Developers with a Workers Free plan retain the 500 MB per-database limit and can create up to 10 databases per account.
- D1 databases can be exported as a SQL file.
Durable Objects
Billing reduction for WebSocket messages
Durable Objects request billing applies a 20:1 ratio for incoming WebSocket messages. For example, 1 million Websocket received messages across connections would be charged as 50,000 Durable Objects requests.
This is a billing-only calculation and does not impact Durable Objects metrics and analytics.
Hyperdrive
Hyperdrive is now Generally Available
Hyperdrive is now Generally Available and ready for production applications.
Read the announcement blog to learn more about the Hyperdrive and the roadmap, including upcoming support for MySQL databases.
Workers
- The new
unwrap_custom_thenables
compatibility flag enables workers to accept custom thenables in internal APIs that expect a promise (for instance, thectx.waitUntil(...)
method). - TransformStreams created with the TransformStream constructor now have a cancel algorithm that is called when the stream is canceled or aborted. This change is part of the implementation of the WHATWG Streams standard.
- The
nodejs_compat
compatibility flag now includes an implementation of theMockTracker
API fromnode:test
. This is not an implementation of the fullnode:test
module, and mock timers are currently not included. - Exceptions reported to Tail Workers now include a “stack” property containing the exception’s stack trace, if available.
AI Gateway
- LLM Side Channel vulnerability fixed
- Providers: Added Anthropic, Google Vertex, Perplexity as providers.
Queues
Delay messages published to a queue
Messages published to a queue and/or marked for retry from a queue consumer can now be explicitly delayed. Delaying messages allows you to defer tasks until later, and/or respond to backpressure when consuming from a queue.
Refer to Batching and Retries to learn how to delay messages written to a queue.
Queues
Support for pull-based consumers
Queues now supports pull-based consumers. A pull-based consumer allows you to pull from a queue over HTTP from any environment and/or programming language outside of Cloudflare Workers. A pull-based consumer can be useful when your message consumption rate is limited by upstream infrastructure or long-running tasks.
Review the documentation on pull-based consumers to configure HTTP-based pull.
Turnstile
- Added more supported languages.
Rules
New TLS fields in rule expressions
Customers can now use new fields cf.tls_client_hello_length
(the length of the client hello message sent in a TLS handshake), cf.tls_client_random
(the value of the 32-byte random value provided by the client in a TLS handshake), and cf.tls_client_extensions_sha1
(the SHA-1 fingerprint of TLS client extensions) in various products built on Ruleset Engine.
Browser Isolation
Removed third-party cookie dependencies
Removed dependency on third-party cookies in the isolated browser, fixing an issue that previously caused intermittent disruptions for users maintaining multi-site, cross-tab sessions in the isolated browser.
Rules
Origin Rules now allow port numbers in Host Header Override
Customers can now use arbitrary port numbers in Host Header Override in Origin Rules. Previously, only hostname was allowed as a value (for example, example.com
). Now, you can set the value to hostname:port
(for example, example.com:1234
) as well.
Hyperdrive
Improved local development configuration
Hyperdrive now supports a WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_<BINDING_NAME>
environmental variable for configuring local development to use a test/non-production database, in addition to the localConnectionString
configuration in wrangler.toml
.
Refer to Local development for instructions on how to configure Hyperdrive locally.
Queues
Default content type now set to JSON
The default content type for messages published to a queue is now json
, which improves compatibility with the upcoming pull-based queues.
Any Workers created on or after the compatibility date of 2024-03-18
, or that explicitly set the queues_json_messages
compatibility flag, will use the new default behaviour. Existing Workers with a compatibility date prior will continue to use v8
as the default content type for published messages.
Trace
Cloudflare Trace now supports BYOIP zones
Customers can now use Cloudflare Trace to trace HTTP/S requests through their BYOIP zones.
D1
Change in wrangler d1 execute
default
As of wrangler@3.33.0
, wrangler d1 execute
and wrangler d1 migrations apply
now default to using a local database, to match the default behavior of wrangler dev
.
It is also now possible to specify one of --local
or --remote
to explicitly tell wrangler which environment you wish to run your commands against.
DDoS protection
Network-layer ruleset - 2024-03-12
For more details, refer to the dedicated page for Network-layer ruleset - 2024-03-12.
Trace
Cloudflare Trace now supports grey-clouded hostnames
Even if the hostname is not proxied by Cloudflare, Cloudflare Trace will now return all the configurations that Cloudflare would have applied to the request.
Workers
- Built-in APIs that return Promises will now produce stack traces when the Promise rejects. Previously, the rejection error lacked a stack trace.
- A new compat flag
fetcher_no_get_put_delete
removes theget()
,put()
, anddelete()
methods on service bindings and Durable Object stubs. This will become the default as of compatibility date 2024-03-26. These methods were designed as simple convenience wrappers aroundfetch()
, but were never documented. - Updated v8 to version 12.3.
D1
Billing for D1 usage
As of 2024-03-05, D1 usage will start to be counted and may incur charges for an account’s future billing cycle.
Developers on the Workers Paid plan with D1 usage beyond included limits will incur charges according to D1’s pricing.
Developers on the Workers Free plan can use up to the included limits. Usage beyond the limits below requires signing up for the $5/month Workers Paid plan.
Account billable metrics are available in the Cloudflare Dashboard and GraphQL API.
DDoS protection
HTTP ruleset - 2024-02-26 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-02-26 - Emergency.
Version Management
Support for API Shield
- API Shield no longer prevents Version Management enablement and zone settings configurations.
Queues
Explicit retries no longer impact consumer concurrency/scaling.
Calling retry()
or retryAll()
on a message or message batch will no longer have an impact on how Queues scales consumer concurrency.
Previously, using explicit retries via retry()
or retryAll()
would count as an error and could result in Queues scaling down the number of concurrent consumers.
Workers
- v8 updated to version 12.2.
- You can now use Iterator helpers in Workers.
- You can now use new methods on
Set
, such asSet.intersection
andSet.union
, in Workers.
Workers
- Sockets now support an
opened
attribute. - Durable Object alarm handlers now impose a maximum wall time of 15 minutes.
Access
Access for SaaS OIDC Support
Access for SaaS applications can be setup with OIDC as an authentication method. OIDC and SAML 2.0 are now both fully supported.
Access
WARP as an identity source for Access
Allow users to log in to Access applications with their WARP session identity. Users need to reauthenticate based on default session durations. WARP authentication identity must be turned on in your device enrollment permissions and can be enabled on a per application basis.
R2
- When an
OPTIONS
request against the public entrypoint does not include anorigin
header, anHTTP 400
instead of anHTTP 401
is returned.
DDoS protection
HTTP ruleset - 2024-02-19
For more details, refer to the dedicated page for HTTP ruleset - 2024-02-19.
D1
API changes to run()
A previous change (made on 2024-02-13) to the run()
query statement method has been reverted.
run()
now returns a D1Result
, including the result rows, matching its original behaviour prior to the change on 2024-02-13.
Future change to run()
to return a D1ExecResult
, as originally intended and documented, will be gated behind a compatibility date as to avoid breaking existing Workers relying on the way run()
currently works.
Stream
Tonemapping improvements for HDR content
In certain cases, videos uploaded with an HDR colorspace (such as footage from certain mobile devices) appeared washed out or desaturated when played back. This issue is resolved for new uploads.
Zaraz
- Single Page Applications: Introduce
zaraz.spaPageview()
for manually triggering SPA pageviews - Pinterest Managed Component: Add ecommerce support
- Google Ads Managed Component: Append url and rnd params to pagead/landing endpoint
- Bugfix: Add noindex robots headers for Zaraz GET endpoint responses
- Bugfix: Gracefully handle responses from custom Managed Components without mapped endpoints
D1
API changes to raw()
, all()
and run()
D1’s raw()
, all()
and run()
query statement methods have been updated to reflect their intended behaviour and improve compatibility with ORM libraries.
raw()
now correctly returns results as an array of arrays, allowing the correct handling of duplicate column names (such as when joining tables), as compared to all()
, which is unchanged and returns an array of objects. To include an array of column names in the results when using raw()
, use raw({columnNames: true})
.
run()
no longer incorrectly returns a D1Result
and instead returns a D1ExecResult
as originally intended and documented.
This may be a breaking change for some applications that expected raw()
to return an array of objects.
Refer to D1 client API to review D1’s query methods, return types and TypeScript support in detail.
DDoS protection
HTTP ruleset - 2024-02-12
For more details, refer to the dedicated page for HTTP ruleset - 2024-02-12.
DDoS protection
HTTP ruleset - 2024-02-08 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-02-08 - Emergency.
DDoS protection
HTTP ruleset - 2024-02-06 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-02-06 - Emergency.
R2
- The response shape of
GET /buckets/:bucket/sippy
has changed. - The
/buckets/:bucket/sippy/validate
endpoint is exposed over APIGW to validate Sippy’s configuration. - The shape of the configuration object when modifying Sippy’s configuration has changed.
DDoS protection
HTTP ruleset - 2024-02-05 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-02-05 - Emergency.
Zaraz
- Dashboard: rename “tracks” to “events” for consistency
- Pinterest Conversion API Managed Component: update parameters sent to api
- HTTP Managed Component: update _settings prefix usage handling
- Bugfix: better minification of client-side js
- Bugfix: fix bug where anchor link click events were not bubbling when using click listener triggers
- API update: begin migration support from deprecated
tool.neoEvents
array totool.actions
object config schema migration
R2
- Fixed a bug where the API would accept empty strings in the
AllowedHeaders
property ofPutBucketCors
actions.
DDoS protection
HTTP ruleset - 2024-01-26 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2024-01-26 - Emergency.
R2
- Parts are now automatically sorted in ascending order regardless of input during
CompleteMultipartUpload
.
DDoS protection
HTTP ruleset - 2024-01-25
For more details, refer to the dedicated page for HTTP ruleset - 2024-01-25.
DDoS protection
HTTP ruleset - 2024-01-23
For more details, refer to the dedicated page for HTTP ruleset - 2024-01-23.
Magic WAN
Network segmentation
You can define policies in your Connector to either allow traffic to flow between your LANs without it leaving your local premises or to forward it via the Cloudflare network where you can add additional security features.
D1
Support for LIMIT on UPDATE and DELETE statements
D1 now supports adding a LIMIT
clause to UPDATE
and DELETE
statements, which allows you to limit the impact of a potentially dangerous operation.
Vectorize
HTTP API query vectors request and response format change
Vectorize /query
HTTP endpoint has the following changes:
returnVectors
request body property is deprecated in favor ofreturnValues
andreturnMetadata
properties.- Response format has changed to the below format to match [Workers API change]:(/workers/configuration/compatibility-dates/#vectorize-query-with-metadata-optionally-returned)
{ "result": { "count": 1, "matches": [ { "id": "4", "score": 0.789848214, "values": [ 75.0999984741211, 67.0999984741211, 29.899999618530273], "metadata": { "url": "/products/sku/418313", "streaming_platform": "netflix" } } ] }, "errors": [], "messages": [], "success": true
}
R2
- Sippy is available for Google Cloud Storage (GCS) beta.
DDoS protection
HTTP ruleset - 2024-01-05
For more details, refer to the dedicated page for HTTP ruleset - 2024-01-05.
Access
Unique Entity IDs in Access for SaaS
All new Access for SaaS applications have unique Entity IDs. This allows for multiple integrations with the same SaaS provider if required. The unique Entity ID has the application audience tag appended. Existing apps are unchanged.
DDoS protection
HTTP ruleset - 2023-12-19 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-12-19 - Emergency.
Zaraz
- Google Analytics 4 Managed Component: Fix Google Analytics 4 average engagement time metric.
D1
Legacy alpha automated backups disabled
Databases using D1’s legacy alpha backend will no longer run automated hourly backups. You may still choose to take manual backups of these databases.
The D1 team recommends moving to D1’s new production backend, which will require you to export and import your existing data. D1’s production backend is faster than the original alpha backend. The new backend also supports Time Travel, which allows you to restore your database to any minute in the past 30 days without relying on hourly or manual snapshots.
Turnstile
- Added Pre-Clearance mode.
Access
Default relay state support in Access for SaaS
Allows Access admins to set a default relay state on Access for SaaS apps.
DDoS protection
HTTP ruleset - 2023-12-14 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-12-14 - Emergency.
R2
- The
x-id
query param forS3 ListBuckets
action is now ignored. - The
x-id
query param is now ignored for all S3 actions.
DDoS protection
HTTP ruleset - 2023-12-08 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-12-08 - Emergency.
Vectorize
Metadata filtering
Vectorize now supports metadata filtering with equals ($eq
) and not equals ($neq
) operators. Metadata filtering limits query()
results to only vectors that fulfill new filter
property.
let metadataMatches = await env.YOUR_INDEX.query(queryVector, { topK: 3, filter: { streaming_platform: "netflix" }, returnValues: true, returnMetadata: true })
Only new indexes created on or after 2023-12-06 support metadata filtering. Currently, there is no way to migrate previously created indexes to work with metadata filtering.
Workers
- The Web Platform standard
navigator.sendBeacon(...)
API is now provided by the Workers runtime. - V8 updated to 12.0.
DDoS protection
HTTP ruleset - 2023-11-29
For more details, refer to the dedicated page for HTTP ruleset - 2023-11-29.
Radar
Add more meta information’s
- Added meta.lastUpdated to all summaries and top endpoints (timeseries and timeseriesGroups already had this).
- Fix meta.dateRange to return date ranges for all requested series.
DDoS protection
HTTP ruleset - 2023-11-22
For more details, refer to the dedicated page for HTTP ruleset - 2023-11-22.
Radar
Add new Layer 3 endpoints and Layer 7 dimensions
- Added Layer 3 top origin locations and top target location.
- Added Layer 7 Summaries by
http_method
,http_version
,ip_version
,managed_rules
,mitigation_product
. - Added Layer 7 Timeseries Groups by
http_method
,http_version
,ip_version
,managed_rules
,mitigation_product
,industry
,vertical
. - Added Layer 7 Top by
industry
,vertical
. - Deprecated Layer 7 timeseries groups without dimension.
- To continue getting this data, switch to the new timeseries group by mitigation_product endpoint.
- Deprecated Layer 7 summary without dimension).
- To continue getting this data, switch to the new summary by mitigation_product endpoint.
- Added new Error codes.
DDoS protection
HTTP ruleset - 2023-11-13 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-11-13 - Emergency.
Zaraz
- HTTP Request Managed Component: Re-added
__zarazTrack
property.
DDoS protection
HTTP ruleset - 2023-11-10 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-11-10 - Emergency.
Vectorize
Metadata API changes
Vectorize now supports distinct returnMetadata
and returnValues
arguments when querying an index, replacing the now-deprecated returnVectors
argument. This allows you to return metadata without needing to return the vector values, reducing the amount of unnecessary data returned from a query. Both returnMetadata
and returnValues
default to false.
For example, to return only the metadata from a query, set returnMetadata: true
.
let matches = await env.YOUR_INDEX.query(queryVector, { topK: 5, returnMetadata: true })
New Workers projects created on or after 2023-11-08 or that update the compatibility date for an existing project will use the new return type.
Stream
HLS improvements for on-demand TS output
HLS output from Cloudflare Stream on-demand videos that use Transport Stream file format now includes a 10 second offset to timestamps. This will have no impact on most customers. A small percentage of customers will see improved playback stability. Caption files were also adjusted accordingly.
Radar
Add new Layer 3 direction parameter
- Added a
direction
parameter to all Layer 3 endpoints. Use together withlocation
parameter to filter by origin or target location timeseries groups.
Zaraz
- Google Analytics 4 Managed Component: Remove
debug_mode
key if falsy orfalse
.
Workers
- A new usage model called Workers Standard is available for Workers and Pages Functions pricing. This is now the default usage model for accounts that are first upgraded to the Workers Paid plan. Read the blog post for more information.
- The usage model set in a script’s wrangler.toml will be ignored after an account has opted-in to Workers Standard pricing. It must be configured through the dashboard (Workers & Pages > Select your Worker > Settings > Usage Model).
- Workers and Pages Functions on the Standard usage model can set custom CPU limits for their Workers
AI Gateway
- Real-time Logs: Logs are now real-time, showing logs for the last hour. If you have a need for persistent logs, please let the team know on Discord. We are building out a persistent logs feature for those who want to store their logs for longer.
- Providers: Azure OpenAI is now supported as a provider!
- Docs: Added Azure OpenAI example.
- Bug Fixes: Errors with costs and tokens should be fixed.
Zaraz
- Custom HTML: Added support for non-JavaScript script tags.
R2
PutBucketCors
now only accepts valid origins.
Workers
- Added the
crypto_preserve_public_exponent
compatibility flag to correct a wrong type being used in the algorithm field of RSA keys in the WebCrypto API.
Zaraz
- Bing Managed Component: Fixed an issue where some events were not being sent to Bing even after being triggered.
- Dashboard: Improved welcome screen for new Zaraz users.
DDoS protection
HTTP ruleset - 2023-10-19
For more details, refer to the dedicated page for HTTP ruleset - 2023-10-19.
beacon.min.js
Manages A/B testing tags.
Workers
- The limit of 3 Cron Triggers per Worker has been removed. Account-level limits on the total number of Cron Triggers across all Workers still apply.
Workers
- A TCP Socket’s WritableStream now ensures the connection has opened before resolving the promise returned by
close
.
DDoS protection
HTTP ruleset - 2023-10-11
For more details, refer to the dedicated page for HTTP ruleset - 2023-10-11.
Stream
SRT Audio Improvements
In some cases, playback via SRT protocol was missing an audio track regardless of existence of audio in the broadcast. This issue is now resolved.
Tenant
New Tenant Admin UI
- Partners can now create and view accounts through the Cloudflare dashboard by going to Tenants > Managed Accounts.
AI Gateway
- Logs: Logs will now be limited to the last 24h. If you have a use case that requires more logging, please reach out to the team on Discord.
- Dashboard: Logs now refresh automatically.
- Docs: Fixed Workers AI example in docs and dash.
- Caching: Embedding requests are now cacheable. Rate limit will not apply for cached requests.
- Bug Fixes: Identical requests to different providers are not wrongly served from cache anymore. Streaming now works as expected, including for the Universal endpoint.
- Known Issues: There’s currently a bug with costs that we are investigating.
DDoS protection
HTTP ruleset - 2023-10-09 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-10-09 - Emergency.
Workers
- The Web Platform standard
CustomEvent
class is now available in Workers. - Fixed a bug in the WebCrypto API where the
publicExponent
field of the algorithm of RSA keys would have the wrong type. Use thecrypto_preserve_public_exponent
compatibility flag to enable the new behavior.
Queues
More queues per account - up to 10,000
Developers building on Queues can now create up to 10,000 queues per account, enabling easier per-user, per-job and sharding use-cases.
Refer to Limits to learn more about Queues’ current limits.
Notifications
- Added Traffic Anomalies Alerts to notify customers when traffic to their domain has an unexpected spike or drop.
Queues
Higher consumer concurrency limits
Queue consumers can now scale to 20 concurrent invocations (per queue), up from 10. This allows you to scale out and process higher throughput queues more quickly.
Queues with no explicit limit specified will automatically scale to the new maximum.
This limit will continue to grow during the Queues beta.
D1
Create up to 50,000 D1 databases
Developers using D1 on a Workers Paid plan can now create up to 50,000 databases as part of ongoing increases to D1’s limits.
- This further enables database-per-user use-cases and allows you to isolate data between customers.
- Total storage per account is now 50 GB.
- D1’s analytics and metrics provide per-database usage data.
If you need to create more than 50,000 databases or need more per-account storage, reach out to the D1 team to discuss.
Vectorize
Increased indexes per account limits
You can now create up to 100 Vectorize indexes per account. Read the limits documentation for details on other limits, many of which will increase during the beta period.
Zaraz
- Bugfix: Fixed an issue that prevented some server-side requests from arriving to their destination
- Google Analytics 4 Managed Component: Add support for
dbg
andir
fields.
D1
The D1 public beta is here
D1 is now in public beta, and storage limits have been increased:
- Developers with a Workers Paid plan now have a 2 GB per-database limit (up from 500 MB) and can create 25 databases per account (up from 10). These limits will continue to increase automatically during the public beta.
- Developers with a Workers Free plan retain the 500 MB per-database limit and can create up to 10 databases per account.
Databases must be using D1’s new storage subsystem to benefit from the increased database limits.
Read the announcement blog for more details about what is new in the beta and what is coming in the future for D1.
Hyperdrive
Hyperdrive now available
Hyperdrive is now available in public beta to any developer with a Workers paid plan.
To start using Hyperdrive, visit the get started guide or read the announcement blog to learn more.
Notifications
- Added Incident Alerts.
Vectorize
Vectorize now in open beta
Vectorize, Cloudflare’s vector database, is now in open beta. Vectorize allows you to store and efficiently query vector embeddings from AI/ML models from Workers AI, OpenAI, and other embeddings providers or machine-learning workflows.
To get started with Vectorize, see the guide.
Stream
LL-HLS Beta
Low-Latency HTTP Live Streaming (LL-HLS) is now in open beta. Enable LL-HLS on your live input for automatic low-latency playback using the Stream built-in player where supported.
For more information, refer to live input and custom player docs.
DDoS protection
HTTP ruleset - 2023-09-24 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-09-24 - Emergency.
DDoS protection
HTTP ruleset - 2023-09-21 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-09-21 - Emergency.
Version Management
Support for Bot Management
- Version Management now supports versioning for Bot Management.
Access
App launcher supports tags and filters
Access admins can now tag applications and allow users to filter by those tags in the App Launcher.
Access
App launcher customization
Allow Access admins to configure the App Launcher page within Zero Trust.
Access
View active Access user identities in the dashboard and API
Access admins can now view the full contents of a user’s identity and device information for all active application sessions.
Workers
- An implementation of the
node:crypto
API from Node.js is now available when thenodejs_compat
compatibility flag is enabled.
Pages
Support for D1’s new storage subsystem and build error message improvements
- Added support for D1’s new storage subsystem. All Git builds and deployments done with Wrangler v3.5.0 and up can use the new subsystem.
- Builds which fail due to exceeding the build time limit will return a proper error message indicating so rather than
Internal error
. - New and improved error messages for other build failures
Zaraz
- Consent Management: Add support for custom button translations.
- Consent Management: Modal stays fixed when scrolling.
- Google Analytics 4 Managed Component:
hideOriginalIP
andga-audiences
can be set from tool event.
Zaraz
- Reddit Managed Component: Support new “Account ID” formats (e.g. “ax_xxxxx”).
Access
Custom OIDC claims for named IdPs
Access admins can now add custom claims to the existing named IdP providers. Previously this was locked to the generic OIDC provider.
Waiting Room
Waiting Room coverage for multiple hostnames and paths
- Advanced Waiting Room customers can now add multiple hostname and path combinations to a single waiting room via the UI and API.
Zaraz
- Consent Management: Consent cookie name can now be customized.
DDoS protection
HTTP ruleset - 2023-09-05 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-09-05 - Emergency.
Zaraz
- Segment Managed Component: API Endpoint can be customized.
R2
- Fixed an issue with
ListBuckets
where thename_contains
parameter would also search over the jurisdiction name.
DDoS protection
HTTP ruleset - 2023-08-30 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-08-30 - Emergency.
DDoS protection
HTTP ruleset - 2023-08-29 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-08-29 - Emergency.
DDoS protection
HTTP ruleset - 2023-08-25 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-08-25 - Emergency.
Turnstile
- Added Client-side errors.
Notifications
- Added Logo Match Alert.
Pages
Commit message limit increase
- Commit messages can now be up to 384 characters before being trimmed.
R2
- Config Audit Logs GA.
Zaraz
- TikTok Managed Component: Support setting
ttp
andevent_id
. - Consent Management: Accessibility improvements.
- Facebook Managed Component: Support for using “Limited Data Use” features.
D1
Row count now returned per query
D1 now returns a count of rows_written
and rows_read
for every query executed, allowing you to assess the cost of query for both pricing and index optimization purposes.
The meta
object returned in D1’s Client API contains a total count of the rows read (rows_read
) and rows written (rows_written
) by that query. For example, a query that performs a full table scan (for example, SELECT * FROM users
) from a table with 5000 rows would return a rows_read
value of 5000
:
"meta": { "duration": 0.20472300052642825, "size_after": 45137920, "rows_read": 5000, "rows_written": 0
}
Refer to D1 pricing documentation to understand how reads and writes are measured. D1 remains free to use during the alpha period.
DDoS protection
HTTP ruleset - 2023-08-16 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-08-16 - Emergency.
DDoS protection
HTTP ruleset - 2023-08-14
For more details, refer to the dedicated page for HTTP ruleset - 2023-08-14.
Radar
Deprecate old layer 3 dataset
- Added Regional Internet Registry (see field
source
in response) to get asn by id and get asn by ip endpoints. - Stopped collecting data in the old Layer 3 data source.
- Updated Layer 3
timeseries endpoint
to start using the new Layer 3 data source by default, fetching the old data source now requires sending the parameter
metric=bytes_old
. - Deprecated Layer 3
summary endpoint, this will stop
receiving data after 2023-08-14.
- To continue getting this data, switch to the new timeseries group protocol endpoint.
- Deprecated Layer 3
timeseries groups
endpoint, this will stop receiving data after 2023-08-14.
- To continue getting this data, switch to the new timeseries group protocol endpoint.
DDoS protection
HTTP ruleset - 2023-08-11 - Emergency
For more details, refer to the dedicated page for HTTP ruleset - 2023-08-11 - Emergency.
R2
- Users can now complete conditional multipart publish operations. When a condition failure occurs when publishing an upload, the upload is no longer available and is treated as aborted.
D1
Bind D1 from the Cloudflare dashboard
You can now bind a D1 database to your Workers directly in the Cloudflare dashboard. To bind D1 from the Cloudflare dashboard, select your Worker project -> Settings -> Variables -> and select D1 Database Bindings.
Note: If you have previously deployed a Worker with a D1 database binding with a version of wrangler
prior to 3.5.0
, you must upgrade to wrangler v3.5.0
first before you can edit your D1 database bindings in the Cloudflare dashboard. New Workers projects do not have this limitation.
Legacy D1 alpha users who had previously prefixed their database binding manually with __D1_BETA__
should remove this as part of this upgrade. Your Worker scripts should call your D1 database via env.BINDING_NAME
only. Refer to the latest D1 getting started guide for best practices.
We recommend all D1 alpha users begin using wrangler 3.5.0
(or later) to benefit from improved TypeScript types and future D1 API improvements.
Stream
Scheduled Deletion
Stream now supports adding a scheduled deletion date to new and existing videos. Live inputs support deletion policies for automatic recording deletion.
For more, refer to the video on demand or live input docs.
Access
Azure AD authentication contexts
Support Azure AD authentication contexts directly in Access policies.
D1
Per-database limit now 500 MB
Databases using D1’s new storage subsystem can now grow to 500 MB each, up from the previous 100 MB limit. This applies to both existing and newly created databases.
Refer to Limits to learn about D1’s limits.
DDoS protection
HTTP ruleset - 2023-07-31
For more details, refer to the dedicated page for HTTP ruleset - 2023-07-31.
DDoS protection
Network-layer ruleset - 2023-07-31
For more details, refer to the dedicated page for Network-layer ruleset - 2023-07-31.
Radar
Fix HTTP timeseries endpoint urls
- Updated HTTP
timeseries
endpoints urls totimeseries_groups
( example) due to consistency. Old timeseries endpoints are still available, but will soon be removed.
Turnstile
- Added
[turnstile.isExpired]
. - Added
uk
language.
D1
New default storage subsystem
Databases created via the Cloudflare dashboard and Wrangler (as of v3.4.0
) now use D1’s new storage subsystem by default. The new backend can be 6 - 20x faster than D1’s original alpha backend.
To understand which storage subsystem your database uses, run wrangler d1 info YOUR_DATABASE
and inspect the version field in the output.
Databases with version: beta
use the new storage backend and support the Time Travel API. Databases with version: alpha
only use D1’s older, legacy backend.
D1
Time Travel
Time Travel is now available. Time Travel allows you to restore a D1 database back to any minute within the last 30 days (Workers Paid plan) or 7 days (Workers Free plan), at no additional cost for storage or restore operations.
Refer to the Time Travel documentation to learn how to travel backwards in time.
Databases using D1’s new storage subsystem can use Time Travel. Time Travel replaces the snapshot-based backups used for legacy alpha databases.
beacon.min.js
Fixed ETag format in the response header.
Workers
- An implementation of the
util.MIMEType
API from Node.js is now available when thenodejs_compat
compatibility flag is enabled.
beacon.min.js
Fixed the issue that was causing an illegal invocation error.
Workers
- An implementation of the
process.env
API from Node.js is now available when using thenodejs_compat
compatibility flag. - An implementation of the
diagnostics_channel
API from Node.js is now available when using thenodejs_compat
compatibility flag.
R2
- Improved performance for ranged reads on very large files. Previously ranged reads near the end of very large files would be noticeably slower than ranged reads on smaller files. Performance should now be consistently good independent of filesize.
D1
Metrics and analytics
You can now view per-database metrics via both the Cloudflare dashboard and the GraphQL Analytics API.
D1 currently exposes read & writes per second, query response size, and query latency percentiles.
Access
Custom block pages for Access applications
Allow Access admins to customize the block pages presented by Access to end users.
Workers
- Added the
strict_crypto_checks
compatibility flag to enable additional Web Crypto API error and security checking. - Fixes regression in the TCP Sockets API where
connect("google.com:443")
would fail with aTypeError
.
R2
- Multipart ETags are now MD5 hashes.
Workers
- The TCP Sockets API now reports clearer errors when a connection cannot be established.
- Updated V8 to 11.5.
D1
Generated columns documentation
New documentation has been published on how to use D1’s support for generated columns to define columns that are dynamically generated on write (or read). Generated columns allow you to extract data from JSON objects or use the output of other SQL functions.
R2
- Fixed a bug where calling GetBucket on a non-existent bucket would return a 500 instead of a 404.
- Improved S3 compatibility for ListObjectsV1, now nextmarker is only set when truncated is true.
- The R2 worker bindings now support parsing conditional headers with multiple etags. These etags can now be strong, weak or a wildcard. Previously the bindings only accepted headers containing a single strong etag.
- S3 putObject now supports sha256 and sha1 checksums. These were already supported by the R2 worker bindings.
- CopyObject in the S3 compatible api now supports Cloudflare specific headers which allow the copy operation to be conditional on the state of the destination object.
D1
Deprecating Error.cause
As of wrangler v3.1.1
the D1 client API now returns detailed error messages within the top-level Error.message
property, and no longer requires developers to inspect the Error.cause.message
property.
To facilitate a transition from the previous Error.cause
behaviour, detailed error messages will continue to be populated within Error.cause
as well as the top-level Error
object until approximately July 14th, 2023. Future versions of both wrangler
and the D1 client API will no longer populate Error.cause
after this date.
Workers
AbortSignal.any()
is now available.- Updated V8 to 11.4.
- Following an update to the WHATWG URL spec, the
delete()
andhas()
methods of theURLSearchParams
class now accept an optional second argument to specify the search parameter’s value. This is potentially a breaking change, so it is gated behind the newurlsearchparams_delete_has_value_arg
andurl_standard
compatibility flags. - Added the
strict_compression_checks
compatibility flag for additionalDecompressionStream
error checking.
Workers
- A new Hibernatable WebSockets API (beta) has been added to Durable Objects. The Hibernatable WebSockets API allows a Durable Object that is not currently running an event handler (for example, processing a WebSocket message or alarm) to be removed from memory while keeping its WebSockets connected (“hibernation”). A Durable Object that hibernates will not incur billable Duration (GB-sec) charges.
Turnstile
- Added idempotency support for
POST /siteverify
requests via theidempotency_key
parameter.
D1
New experimental backend
D1 has a new experimental storage back end that dramatically improves query throughput, latency and reliability. The experimental back end will become the default back end in the near future. To create a database using the experimental backend, use wrangler
and set the --experimental-backend
flag when creating a database:
$ wrangler d1 create your-database --experimental-backend
Read more about the experimental back end in the announcement blog.
D1
Location hints
You can now provide a location hint when creating a D1 database, which will influence where the leader (writer) is located. By default, D1 will automatically create your database in a location close to where you issued the request to create a database. In most cases this allows D1 to choose the optimal location for your database on your behalf.
Pages
Build error message improvement
- Builds which fail due to Out of memory (OOM) will return a proper error message indicating so rather than
Internal error
.
D1
Query JSON
New documentation has been published that covers D1’s extensive JSON function support. JSON functions allow you to parse, query and modify JSON directly from your SQL queries, reducing the number of round trips to your database, or data queried.
Pages
V2 build system beta
- The V2 build system is now available in open beta. Enable the V2 build system by going to your Pages project in the Cloudflare dashboard and selecting Settings > Build & deployments > Build system version.
Pages
Support for Smart Placement
- Smart placement can now be enabled for Pages within your Pages Project by going to Settings > Functions.
Stream
Multiple audio tracks now generally available
Stream supports adding multiple audio tracks to an existing video.
For more, refer to the documentation to get started.
Workers
- The new
connect()
method allows you to connect to any TCP-speaking services directly from your Workers. To learn more about other protocols supported on the Workers platform, visit the new Protocols documentation. - We have added new native database integrations for popular serverless database providers, including Neon, PlanetScale, and Supabase. Native integrations automatically handle the process of creating a connection string and adding it as a Secret to your Worker.
- You can now also connect directly to databases over TCP from a Worker, starting with PostgreSQL. Support for PostgreSQL is based on the popular
pg
driver, and allows you to connect to any PostgreSQL instance over TLS from a Worker directly. - The R2 Migrator (Super Slurper), which automates the process of migrating from existing object storage providers to R2, is now Generally Available.
Workers
- Cursor, an experimental AI assistant, trained to answer questions about Cloudflare’s Developer Platform, is now available to preview! Cursor can answer questions about Workers and the Cloudflare Developer Platform, and is itself built on Workers. You can read more about Cursor in the announcement blog.
Workers
- The
performance.now()
andperformance.timeOrigin
APIs can now be used in Cloudflare Workers. Just likeDate.now()
, for security reasons time only advances after I/O.
Radar
Added IOS
as an option for the OS parameter in all HTTP
- Added
IOS
as an option for the OS parameter in all HTTP endpoints ( example).
Workers
- The new
nodeJsCompatModule
type can be used with a Worker bundle to emulate a Node.js environment. Common Node.js globals such asprocess
andBuffer
will be present, andrequire('...')
can be used to load Node.js built-ins without thenode:
specifier prefix. - Fixed an issue where websocket connections would be disconnected when updating workers. Now, only websockets connected to Durable Object instances are disconnected by updates to that Durable Object’s code.
Workers
- The Web Crypto API now supports curves Ed25519 and X25519 defined in the Secure Curves specification.
- The global
connect
method has been moved to acloudflare:sockets
module.
Stream
Player Enhancement Properties
Cloudflare Stream now supports player enhancement properties.
With player enhancements, you can modify your video player to incorporate elements of your branding, such as your logo, and customize additional options to present to your viewers.
For more, refer to the documentation to get started.
beacon.min.js
Reports additional LCP diagnostic information using web-vitals library’s attribution build.
Notifications
- Added Maintenance Notification Alerts.
DDoS protection
Network-layer ruleset - 2023-04-17
For more details, refer to the dedicated page for Network-layer ruleset - 2023-04-17.
Turnstile
- Added references to Turnstile Public API.
- Added references for
[after-interactive-callback]
,[before-interactive-callback]
, and[unsupported-callback]
.
Workers
- No externally-visible changes this week.
Workers
URL.canParse(...)
is a new standard API for testing that an input string can be parsed successfully as a URL without the additional cost of creating and throwing an error.- The Workers-specific
IdentityTransformStream
andFixedLengthStream
classes now support specifying ahighWaterMark
for the writable-side that is used for backpressure signaling using the standardwriter.desiredSize
/writer.ready
mechanisms.
beacon.min.js
Updated webpack configuration to output code in ECMAScript 3 (ES3) format.
R2
- GetBucket is now available for use through the Cloudflare API.
- Location hints can now be set when creating a bucket, both through the S3 API, and the dashboard.
Queues
Consumer concurrency (enabled)
Queue consumers will now automatically scale up based on the number of messages being written to the queue. To control or limit concurrency, you can explicitly define a max_concurrency
for your consumer.
Workers
- Fixed a bug in Wrangler tail and live logs on the dashboard that prevented the Administrator Read-Only and Workers Tail Read roles from successfully tailing Workers.
beacon.min.js
Updated Google’s web-vitals library (version 3.1.1) and removed experimental server-timing
header.
Pages
Git projects can now see files uploaded
- Files uploaded are now visible for Git projects, you can view them in the Cloudflare dashboard.
Stream
Limits for downloadable MP4s for live recordings
Previously, generating a download for a live recording exceeding four hours resulted in failure.
To fix the issue, now video downloads are only available for live recordings under four hours. Live recordings exceeding four hours can still be played but cannot be downloaded.
Pages
Notifications for Pages are now available
- Notifications for Pages events are now available in the Cloudflare dashboard. Events supported include:
- Deployment started.
- Deployment succeeded.
- Deployment failed.
R2
- The ListParts API has been implemented and is available for use.
- HTTP2 is now enabled by default for new custom domains linked to R2 buckets.
- Object Lifecycles are now available for use.
- Bug fix: Requests to public buckets will now return the
Content-Encoding
header for gzip files whenAccept-Encoding: gzip
is used.
Queues
Consumer concurrency (upcoming)
Queue consumers will soon automatically scale up concurrently as a queues’ backlog grows in order to keep overall message processing latency down. Concurrency will be enabled on all existing queues by 2023-03-28.
To opt-out, or to configure a fixed maximum concurrency, set max_concurrency = 1
in your wrangler.toml
file or via the queues dashboard.
To opt-in, you do not need to take any action: your consumer will begin to scale out as needed to keep up with your message backlog. It will scale back down as the backlog shrinks, and/or if a consumer starts to generate a higher rate of errors. To learn more about how consumers scale, refer to the consumer concurrency documentation.
Notifications
- Added Pages Alerts.
Workers
- No externally-visible changes.
Turnstile
- Added
[execution]
and[appearance]
.
Workers
- Workers Logpush now supports 300 characters per log line. This is an increase from the previous limit of 150 characters per line.
Notifications
- Added Brand Protection Alerts.
Queues
Explicit acknowledgement (new feature)
You can now acknowledge individual messages with a batch by calling .ack()
on a message.
This allows you to mark a message as delivered as you process it within a batch, and avoids the entire batch from being redelivered if your consumer throws an error during batch processing. This can be particularly useful when you are calling external APIs, writing messages to a database, or otherwise performing non-idempotent actions on individual messages within a batch.
Queues
Higher per-queue throughput
The per-queue throughput limit has now been raised to 400 messages per second.
Turnstile
- Added the
[turnstile.ready]
callback.
Workers
- Fixed a bug where transferring large request bodies to a Durable Object was unexpectedly slow.
- Previously, an error would be thrown when trying to access unimplemented standard
Request
andResponse
properties. Now those will be left asundefined
.
Turnstile
- Added the
[data-]language
parameter.
Workers
- The
request.cf
object now includes two additional properties,tlsClientHelloLength
andtlsClientRandom
.
R2
- R2 authentication tokens created via the R2 token page are now scoped to a single account by default.
Radar
Updated IPv6 calculation method
- IPv6 percentage started to be calculated as (IPv6 requests / requests for dual-stacked content), where as before it was calculated as (IPv6 requests / IPv4+IPv6 requests).
Workers
- Durable Objects can now use jurisdictions with
idFromName
via a new subnamespace API. - V8 updated to 10.9.
Radar
Add new layer 3 dataset
- Added new Layer 3 data source and related endpoints.
- Updated Layer 3
timeseries endpoint
to support fetching both current and new data sources. For retro-compatibility
reasons, fetching the new data source requires sending the parameter
metric=bytes
else the current data source will be returned. - Deprecated old Layer 3 endpoints TimeseriesGroups and Summary. Users should upgrade to newer endpoints.
Stream
Earlier detection (and rejection) of non-video uploads
Cloudflare Stream now detects non-video content on upload using the POST API and returns a 400 Bad Request HTTP error with code 10059
.
Previously, if you or one of your users attempted to upload a file that is not a video (ex: an image), the request to upload would appear successful, but then fail to be encoded later on.
With this change, Stream responds to the upload request with an error, allowing you to give users immediate feedback if they attempt to upload non-video content.
Queues
sendBatch support
The JavaScript API for Queue producers now includes a sendBatch
method which supports sending up to 100 messages at a time.
Queues
Increased per-account limits
Queues now allows developers to create up to 100 queues per account, up from the initial beta limit of 10 per account. This limit will continue to increase over time.
Turnstile
POST /siteverify
supports JSON requests now.
Stream
Faster mp4 downloads of live recordings
Generating MP4 downloads of live stream recordings is now significantly faster. For more, refer to the docs.
R2
- Fix CORS preflight requests for the S3 API, which allows using the S3 SDK in the browser.
- Passing a range header to the
get
operation in the R2 bindings API should now work as expected.
DDoS protection
Network-layer ruleset - 2022-12-02
For more details, refer to the dedicated page for Network-layer ruleset - 2022-12-02.
Pages
Ability to delete aliased deployments
- Aliased deployments can now be deleted. If using the API, you will need to add the query parameter
force=true
.
R2
- Requests with the header
x-amz-acl: public-read
are no longer rejected. - Fixed issues with wildcard CORS rules and presigned URLs.
- Fixed an issue where
ListObjects
would time out during delimited listing of unicode-normalized keys. - S3 API’s
PutBucketCors
now rejects requests with unknown keys in the XML body. - Signing additional headers no longer breaks CORS preflight requests for presigned URLs.
Stream
Multiple audio tracks (closed beta)
Stream now supports adding multiple audio tracks to an existing video upload. This allows you to:
- Provide viewers with audio tracks in multiple languages
- Provide dubbed audio tracks, or audio commentary tracks (ex: Director’s Commentary)
- Allow your users to customize the customize the audio mix, by providing separate audio tracks for music, speech or other audio tracks.
- Provide Audio Description tracks to ensure your content is accessible. ( WCAG 2.0 Guideline 1.2 1)
To request an invite to the beta, refer to this post.
Stream
VP9 support for WebRTC live streams (beta)
Cloudflare Stream now supports VP9 when streaming using WebRTC (WHIP), currently in beta.
R2
- Fixed a bug in
ListObjects
wherestartAfter
would skip over objects with keys that have numbers right after thestartAfter
prefix. - Add worker bindings for multipart uploads.
Pages
Deep linking to a Pages deployment
- You can now deep-link to a Pages deployment in the dashboard with
:pages-deployment
. An example would behttps://dash.cloudflare.com?to=/:account/pages/view/:pages-project/:pages-deployment
.
Pages
Functions GA and other updates
- Pages functions are now GA. For more information, refer to the blog post.
- We also made the following updates to Functions:
- Functions metrics are now available in the dashboard.
- Functions billing is now available.
- The Unbound usage model is now available for Functions.
- Secrets are now available.
- Functions tailing is now available via the dashboard or with Wrangler (
wrangler pages deployment tail
).
R2
- Unconditionally return HTTP 206 on ranged requests to match behavior of other S3 compatible implementations.
- Fixed a CORS bug where
AllowedHeaders
in the CORS config were being treated case-sensitively.
Pages
Service bindings now available in Functions
- Service bindings are now available in Functions. For more details, refer to the docs.
Turnstile
- Added
retry
andretry-interval
for controlling retry behavior.
R2
- Copying multipart objects via
CopyObject
is re-enabled. UploadPartCopy
is re-enabled.
Stream
Reduced time to start WebRTC streaming and playback with Trickle ICE
Cloudflare Stream’s WHIP and WHEP implementations now support Trickle ICE, reducing the time it takes to initialize WebRTC connections, and increasing compatibility with WHIP and WHEP clients.
For more, refer to the docs.
Stream
Deprecating the ‘per-video’ Analytics API
The “per-video” analytics API is being deprecated. If you still use this API, you will need to switch to using the GraphQL Analytics API by February 1, 2023. After this date, the per-video analytics API will be no longer available.
The GraphQL Analytics API provides the same functionality and more, with additional filters and metrics, as well as the ability to fetch data about multiple videos in a single request. Queries are faster, more reliable, and built on a shared analytics system that you can use across many Cloudflare products.
For more about this change and how to migrate existing API queries, refer to this post and the GraphQL Analytics API docs.
Stream
Create an unlimited number of live inputs
Cloudflare Stream now has no limit on the number of live inputs you can create. Stream is designed to allow your end-users to go live — live inputs can be created quickly on-demand via a single API request for each of user of your platform or app.
For more on creating and managing live inputs, get started with the docs.
R2
- Multipart upload part sizes are always expected to be of the same size, but this enforcement is now done when you complete an upload instead of being done very time you upload a part.
- Fixed a performance issue where concurrent multipart part uploads would get rejected.
Turnstile
- Renamed the
[data-]expired-callback
callback to[data-]timeout-callback
(called when the challenge times out). - Added the
[data-]expired-callback
callback (called when the token expires).
R2
- Fixed ranged reads for multipart objects with part sizes unaligned to 64KiB.
Turnstile
- Added
response-field
andresponse-field-name
for controlling the input element created by Turnstile. - Added option for changing the size of the Turnstile widget.
Stream
More accurate bandwidth estimates for live video playback
When playing live video, Cloudflare Stream now provides significantly more accurate estimates of the bandwidth needs of each quality level to client video players. This ensures that live video plays at the highest quality that viewers have adequate bandwidth to play.
As live video is streamed to Cloudflare, we transcode it to make it available to viewers at multiple quality levels. During transcoding, we learn about the real bandwidth needs of each segment of video at each quality level, and use this to provide an estimate of the bandwidth requirements of each quality level the in HLS (.m3u8
) and DASH (.mpd
) manifests.
If a live stream contains content with low visual complexity, like a slideshow presentation, the bandwidth estimates provided in the HLS manifest will be lower, ensuring that the most viewers possible view the highest quality level, since it requires relatively little bandwidth. Conversely, if a live stream contains content with high visual complexity, like live sports with motion and camera panning, the bandwidth estimates provided in the HLS manifest will be higher, ensuring that viewers with inadequate bandwidth switch down to a lower quality level, and their playback does not buffer.
This change is particularly helpful if you’re building a platform or application that allows your end users to create their own live streams, where these end users have their own streaming software and hardware that you can’t control. Because this new functionality adapts based on the live video we receive, rather than just the configuration advertised by the broadcaster, even in cases where your end users’ settings are less than ideal, client video players will not receive excessively high estimates of bandwidth requirements, causing playback quality to decrease unnecessarily. Your end users don’t have to be OBS Studio experts in order to get high quality video playback.
No work is required on your end — this change applies to all live inputs, for all customers of Cloudflare Stream. For more, refer to the docs.
R2
HeadBucket
now setsx-amz-bucket-region
toauto
in the response.
beacon.min.js
Updated to report new metrics such as time to first byte (TTFB), interaction to next paint (INP), and first contentful paint (FCP). Additionally, it reports navigator.webdriver
, server-timing
header (experimental), and protocol info (nextHopProtocol
).
Turnstile
- Added validation for action:
/^[a-z0-9_-]{0,32}$/i
- Added validation for cData:
/^[a-z0-9_-]{0,255}$/i
R2
- Temporarily disabled
UploadPartCopy
while we investigate an issue.
Pages
Deep linking to a Pages project
- You can now deep-link to a Pages project in the dashboard with
:pages-project
. An example would behttps://dash.cloudflare.com?to=/:account/pages/view/:pages-project
.
Stream
AV1 Codec support for live streams and recordings (beta)
Cloudflare Stream now supports playback of live videos and live recordings using the AV1 codec, which uses 46% less bandwidth than H.264.
For more, read the blog post.
R2
- Fixed a CORS issue where
Access-Control-Allow-Headers
was not being set for preflight requests.
R2
- Fixed a bug where CORS configuration was not being applied to S3 endpoint.
- No-longer render the
Access-Control-Expose-Headers
response header ifExposeHeader
is not defined. - Public buckets will no-longer return the
Content-Range
response header unless the response is partial. - Fixed CORS rendering for the S3
HeadObject
operation. - Fixed a bug where no matching CORS configuration could result in a
403
response. - Temporarily disable copying objects that were created with multipart uploads.
- Fixed a bug in the Workers bindings where an internal error was being returned for malformed ranged
.get
requests.
R2
- CORS preflight responses and adding CORS headers for other responses is now implemented for S3 and public buckets. Currently, the only way to configure CORS is via the S3 API.
- Fixup for bindings list truncation to work more correctly when listing keys with custom metadata that have
"
or when some keys/values contain certain multi-byte UTF-8 values. - The S3
GetObject
operation now only returnsContent-Range
in response to a ranged request.
Stream
WebRTC live streaming and playback (beta)
Cloudflare Stream now supports live video streaming over WebRTC, with sub-second latency, to unlimited concurrent viewers.
For more, read the blog post or the get started with example code in the docs.
R2
- The R2
put()
binding options can now be given anonlyIf
field, similar toget()
, that performs a conditional upload. - The R2
delete()
binding now supports deleting multiple keys at once. - The R2
put()
binding now supports user-specified SHA-1, SHA-256, SHA-384, SHA-512 checksums in options. - User-specified object checksums will now be available in the R2
get()
andhead()
bindings response. MD5 is included by default for non-multipart uploaded objects.
Stream
Manually control when you start and stop simulcasting
You can now enable and disable individual live outputs via the API or Stream dashboard, allowing you to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch. For more, read the docs.
Pages
Increased domain limits
Previously, all plans had a maximum of 10 custom domains per project.
Now, the limits are:
- Free: 100 custom domains.
- Pro: 250 custom domains.
- Business and Enterprise: 500 custom domains.
Pages
Support for _routes.json
- Pages now offers support for
_routes.json
. For more details, refer to the documentation.
R2
- The S3
CopyObject
operation now includesx-amz-version-id
andx-amz-copy-source-version-id
in the response headers for consistency with other methods. - The
ETag
for multipart files uploaded until shortly after Open Beta uploaded now include the number of parts as a suffix.
R2
- The S3
DeleteObjects
operation no longer trims the space from around the keys before deleting. This would result in files with leading / trailing spaces not being able to be deleted. Additionally, if there was an object with the trimmed key that existed it would be deleted instead. The S3DeleteObject
operation was not affected by this. - Fixed presigned URL support for the S3
ListBuckets
andListObjects
operations.
Stream
Unique subdomain for your Stream Account
URLs in the Stream Dashboard and Stream API now use a subdomain specific to your Cloudflare Account: customer-{CODE}.cloudflarestream.com
. This change allows you to:
Use Content Security Policy (CSP) directives specific to your Stream subdomain, to ensure that only videos from your Cloudflare account can be played on your website.
Allowlist only your Stream account subdomain at the network-level to ensure that only videos from a specific Cloudflare account can be accessed on your network.
No action is required from you, unless you use Content Security Policy (CSP) on your website. For more on CSP, read the docs.
R2
- Uploads will automatically infer the
Content-Type
based on file body if one is not explicitly set in thePutObject
request. This functionality will come to multipart operations in the future.
Stream
Clip videos using the Stream API
You can now change the start and end times of a video uploaded to Cloudflare Stream. For more information, refer to Clip videos.
R2
- Fixed S3 conditionals to work properly when provided the
LastModified
date of the last upload, bindings fixes will come in the next release. If-Match
/If-None-Match
headers now support arrays of ETags, Weak ETags and wildcard (*
) as per the HTTP standard and undocumented AWS S3 behavior.
Stream
Live inputs
The Live Inputs API now supports optional pagination, search, and filter parameters. For more information, refer to the Live Inputs API documentation.
R2
- Added dummy implementation of the following operation that mimics
the response that a basic AWS S3 bucket will return when first created:
GetBucketAcl
.
R2
Added dummy implementations of the following operations that mimic the response that a basic AWS S3 bucket will return when first created:
GetBucketVersioning
GetBucketLifecycleConfiguration
GetBucketReplication
GetBucketTagging
GetObjectLockConfiguration
R2
- Fixed an S3 compatibility issue for error responses with MinIO .NET SDK and any other tooling that expects no
xmlns
namespace attribute on the top-levelError
tag. - List continuation tokens prior to 2022-07-01 are no longer accepted and must be obtained again through a new
list
operation. - The
list()
binding will now correctly return a smaller limit if too much data would otherwise be returned (previously would return anInternal Error
).
R2
- Improvements to 500s: we now convert errors, so things that were previously concurrency problems for some operations should now be
TooMuchConcurrency
instead ofInternalError
. We’ve also reduced the rate of 500s through internal improvements. ListMultipartUpload
correctly encodes the returnedKey
if theencoding-type
is specified.
R2
- S3 XML documents sent to R2 that have an XML declaration are not rejected with
400 Bad Request
/MalformedXML
. - Minor S3 XML compatibility fix impacting Arq Backup on Windows only (not the Mac version). Response now contains XML declaration tag prefix and the xmlns attribute is present on all top-level tags in the response.
- Beta
ListMultipartUploads
support.
R2
- Support the
r2_list_honor_include
compat flag coming up in an upcoming runtime release (default behavior as of 2022-07-14 compat date). Without that compat flag/date, list will continue to function implicitly asinclude: ['httpMetadata', 'customMetadata']
regardless of what you specify. cf-create-bucket-if-missing
can be set on aPutObject
/CreateMultipartUpload
request to implicitly create the bucket if it does not exist.- Fix S3 compatibility with MinIO client spec non-compliant XML for publishing multipart uploads. Any leading and trailing quotes in
CompleteMultipartUpload
are now optional and ignored as it seems to be the actual non-standard behavior AWS implements.
Pages
Added support for .dev.vars in wrangler pages
Pages now supports .dev.vars
in wrangler pages
, which allows you to use use environmental variables during your local development without chaining --env
s.
This functionality requires Wrangler v2.0.16 or higher.
R2
- Unsupported search parameters to
ListObjects
/ListObjectsV2
are now rejected with501 Not Implemented
. - Fixes for Listing:
- Fix listing behavior when the number of files within a folder exceeds the limit (you’d end up seeing a CommonPrefix for that large folder N times where N = number of children within the CommonPrefix / limit).
- Fix corner case where listing could cause objects with sharing the base name of a "folder" to be skipped.
- Fix listing over some files that shared a certain common prefix.
DeleteObjects
can now handle 1000 objects at a time.- S3
CreateBucket
request can specifyx-amz-bucket-object-lock-enabled
with a value offalse
and not have the requested rejected with aNotImplemented
error. A value oftrue
will continue to be rejected as R2 does not yet support object locks.
R2
- Fixed a regression for some clients when using an empty delimiter.
- Added support for S3 pre-signed URLs.
R2
- Fixed a regression in the S3 API
UploadPart
operation whereTooMuchConcurrency
&NoSuchUpload
errors were being returned asNoSuchBucket
.
Pages
Added deltas to wrangler pages publish
Pages has added deltas to wrangler pages publish
.
We now keep track of the files that make up each deployment and intelligently only upload the files that we have not seen. This means that similar subsequent deployments should only need to upload a minority of files and this will hopefully make uploads even faster.
This functionality requires Wrangler v2.0.11 or higher.
R2
- Fixed a bug with the S3 API
ListObjectsV2
operation not returning empty folder/s as common prefixes when using delimiters. - The S3 API
ListObjectsV2
KeyCount
parameter now correctly returns the sum of keys and common prefixes rather than just the keys. - Invalid cursors for list operations no longer fail with an
InternalError
and now return the appropriate error message.
R2
- The
ContinuationToken
field is now correctly returned in the response if provided in a S3 APIListObjectsV2
request. - Fixed a bug where the S3 API
AbortMultipartUpload
operation threw an error when called multiple times.
R2
- Fixed a bug where the S3 API’s
PutObject
or the.put()
binding could fail but still show the bucket upload as successful. - If conditional headers are provided to S3 API
UploadObject
orCreateMultipartUpload
operations, and the object exists, a412 Precondition Failed
status code will be returned if these checks are not met.
Stream
Picture-in-Picture support
The Stream Player now displays a button to activate Picture-in-Picture mode, if the viewer’s web browser supports the Picture-in-Picture API.
R2
- Fixed a bug when
Accept-Encoding
was being used inSignedHeaders
when sending requests to the S3 API would result in aSignatureDoesNotMatch
response.
R2
- Fixed a bug where requests to the S3 API were not handling non-encoded parameters used for the authorization signature.
- Fixed a bug where requests to the S3 API where number-like keys were being parsed as numbers instead of strings.
R2
- Add support for S3 virtual-hosted style paths, such as
<BUCKET>.<ACCOUNT_ID>.r2.cloudflarestorage.com
instead of path-based routing (<ACCOUNT_ID>.r2.cloudflarestorage.com/<BUCKET>
). - Implemented
GetBucketLocation
for compatibility with external tools, this will always return aLocationConstraint
ofauto
.
Stream
Creator ID property
During or after uploading a video to Stream, you can now specify a value for a new field, creator
. This field can be used to identify the creator of the video content, linking the way you identify your users or creators to videos in your Stream account. For more, read the blog post.
R2
- S3 API
GetObject
ranges are now inclusive (bytes=0-0
will correctly return the first byte). - S3 API
GetObject
partial reads return the proper206 Partial Content
response code. - Copying from a non-existent key (or from a non-existent bucket) to another bucket now returns the proper
NoSuchKey
/NoSuchBucket
response. - The S3 API now returns the proper
Content-Type: application/xml
response header on relevant endpoints. - Multipart uploads now have a
-N
suffix on the etag representing the number of parts the file was published with. UploadPart
andUploadPartCopy
now return proper error messages, such asTooMuchConcurrency
orNoSuchUpload
, instead of ‘internal error’.UploadPart
can now be sent a 0-length part.
R2
- When using the S3 API, an empty string and
us-east-1
will now alias to theauto
region for compatibility with external tools. GetBucketEncryption
,PutBucketEncryption
andDeleteBucketEncrypotion
are now supported (the only supported value currently isAES256
).- Unsupported operations are explicitly rejected as unimplemented rather than implicitly converting them into
ListObjectsV2
/PutBucket
/DeleteBucket
respectively. - S3 API
CompleteMultipartUploads
requests are now properly escaped.
R2
- Pagination cursors are no longer returned when the keys in a bucket is the same as the
MaxKeys
argument. - The S3 API
ListBuckets
operation now acceptscf-max-keys
,cf-start-after
andcf-continuation-token
headers behave the same as the respective URL parameters. - The S3 API
ListBuckets
andListObjects
endpoints now allowper_page
to be 0. - The S3 API
CopyObject
source parameter now requires a leading slash. - The S3 API
CopyObject
operation now returns aNoSuchBucket
error when copying to a non-existent bucket instead of an internal error. - Enforce the requirement for
auto
in SigV4 signing and theCreateBucket
LocationConstraint
parameter. - The S3 API
CreateBucket
operation now returns the properlocation
response header.
R2
- The S3 API now supports unchunked signed payloads.
- Fixed
.put()
for the Workers R2 bindings. - Fixed a regression where key names were not properly decoded when using the S3 API.
- Fixed a bug where deleting an object and then another object which is a prefix of the first could result in errors.
- The S3 API
DeleteObjects
operation no longer returns an error even though an object has been deleted in some cases. - Fixed a bug where
startAfter
andcontinuationToken
were not working in list operations. - The S3 API
ListObjects
operation now correctly rendersPrefix
,Delimiter
,StartAfter
andMaxKeys
in the response. - The S3 API
ListObjectsV2
now correctly honors theencoding-type
parameter. - The S3 API
PutObject
operation now works withPOST
requests fors3cmd
compatibility.
R2
- The S3 API
DeleteObjects
request now properly returns aMalformedXML
error instead ofInternalError
when provided with more than 128 keys.
Stream
Analytics panel in Stream Dashboard
The Stream Dashboard now has an analytics panel that shows the number of minutes of both live and recorded video delivered. This view can be filtered by Creator ID, Video UID, and Country. For more in-depth analytics data, refer to the bulk analytics documentation.
Stream
Custom letterbox color configuration option for Stream Player
The Stream Player can now be configured to use a custom letterbox color, displayed around the video (’letterboxing’ or ‘pillarboxing’) when the video’s aspect ratio does not match the player’s aspect ratio. Refer to the documentation on configuring the Stream Player here.
Stream
Support for SRT live streaming protocol
Cloudflare Stream now supports the SRT live streaming protocol. SRT is a modern, actively maintained streaming video protocol that delivers lower latency, and better resilience against unpredictable network conditions. SRT supports newer video codecs and makes it easier to use accessibility features such as captions and multiple audio tracks.
For more, read the blog post.
Stream
Faster video quality switching in Stream Player
When viewers manually change the resolution of video they want to receive in the Stream Player, this change now happens immediately, rather than once the existing resolution playback buffer has finished playing.
Stream
Volume and playback controls accessible during playback of VAST Ads
When viewing ads in the VAST format in the Stream Player, viewers can now manually start and stop the video, or control the volume.
Stream
DASH and HLS manifest URLs accessible in Stream Dashboard
If you choose to use a third-party player with Cloudflare Stream, you can now easily access HLS and DASH manifest URLs from within the Stream Dashboard. For more about using Stream with third-party players, read the docs here.
Stream
Input health status in the Stream Dashboard
When a live input is connected, the Stream Dashboard now displays technical details about the connection, which can be used to debug configuration issues.
Stream
Live viewer count in the Stream Player
The Stream Player now shows the total number of people currently watching a video live.
Stream
Webhook notifications for live stream connections events
You can now configure Stream to send webhooks each time a live stream connects and disconnects. For more information, refer to the Webhooks documentation.
beacon.min.js
Improved site filtering.
Stream
Persistent Live Stream IDs
You can now start and stop live broadcasts without having to provide a new video UID to the Stream Player (or your own player) each time the stream starts and stops. Read the docs.
beacon.min.js
When using the automatic installation feature of the JavaScript Beacon (available only to customers proxied through Cloudflare - also known as orange-clouded customers), Subresource Integrity (SRI) is now enabled by default. SRI is a security feature that enables browsers to verify that resources they fetch are delivered without unexpected manipulation.
Stream
MP4 video file downloads for live videos
Once a live video has ended and been recorded, you can now give viewers the option to download an MP4 video file of the live recording. For more, read the docs here.
Stream
Serverless Live Streaming
Stream now supports live video content! For more information, read the blog post and get started by reading the docs.
beacon.min.js
Improved to report debugging information for Core Web Vitals.
Stream
Thumbnail previews in Stream Player seek bar
The Stream Player now displays preview images when viewers hover their mouse over the seek bar, making it easier to skip to a specific part of a video.
Stream
MP4 video file downloads (GA)
All Cloudflare Stream customers can now give viewers the option to download videos uploaded to Stream as an MP4 video file. For more, read the docs here.
Stream
Stream Connect (open beta)
You can now opt-in to the Stream Connect beta, and use Cloudflare Stream to restream live video to any platform that accepts RTMPS input, including Facebook, YouTube and Twitch.
Stream
Simplified signed URL token generation
You can now obtain a signed URL token via a single API request, without needing to generate signed tokens in your own application. Read the docs.
Stream
Stream Connect (closed beta)
You can now use Cloudflare Stream to restream or simulcast live video to any platform that accepts RTMPS input, including Facebook, YouTube and Twitch.
beacon.min.js
startsWith
function replaced with indexOf
function, which prevents rendering if multiple beacon scripts are loaded.
beacon.min.js
Reporting endpoint changed from /cdn-cgi/beacon/performance
to /cdn-cgi/rum
(for Browser Insights only).
Stream
MP4 video file downloads (beta)
You can now give your viewers the option to download videos uploaded to Stream as an MP4 video file. For more, read the docs here.
Stream
Picture quality improvements
Cloudflare Stream now encodes videos with fewer artifacts, resulting in improved video quality for your viewers.
Stream
Improved client bandwidth hints for third-party video players
If you use Cloudflare Stream with a third party player, and send the clientBandwidthHint
parameter in requests to fetch video manifests, Cloudflare Stream now selects the ideal resolution to provide to your client player more intelligently. This ensures your viewers receive the ideal resolution for their network connection.
Stream
Improved client bandwidth hints for third-party video players
If you use Cloudflare Stream with a third party player, and send the clientBandwidthHint
parameter in requests to fetch video manifests, Cloudflare Stream now selects the ideal resolution to provide to your client player more intelligently. This ensures your viewers receive the ideal resolution for their network connection.
Stream
Less bandwidth, identical video quality
Cloudflare Stream now delivers video using 3-10x less bandwidth, with no reduction in quality. This ensures faster playback for your viewers with less buffering, particularly when viewers have slower network connections.
Stream
Stream Player 2.0 (preview)
A brand new version of the Stream Player is now available for preview. New features include:
- Unified controls across desktop and mobile devices
- Keyboard shortcuts
- Intelligent mouse cursor interactions with player controls
- Phased out support for Internet Explorer 11
For more, refer to this post on the Cloudflare Community Forum.
Stream
Faster video encoding
Videos uploaded to Cloudflare Stream are now available to view 5x sooner, reducing the time your users wait between uploading and viewing videos.
Stream
Removed weekly upload limit, increased max video upload size
You can now upload videos up to 30GB in size to Cloudflare Stream and also now upload an unlimited number of videos to Cloudflare Stream each week
Stream
Tus support for direct creator uploads
You can now use the tus protocol when allowing creators (your end users) to upload their own videos directly to Cloudflare Stream.
In addition, all uploads to Cloudflare Stream made using tus are now faster and more reliable as part of this change.
Stream
Multiple audio track mixdown
Videos with multiple audio tracks (ex: 5.1 surround sound) are now mixed down to stereo when uploaded to Stream. The resulting video, with stereo audio, is now playable in the Stream Player.
Stream
Storage limit notifications
Cloudflare now emails you if your account is using 75% or more of your prepaid video storage, so that you can take action and plan ahead.
- © 2024 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
- Cookie Settings