Minor Changes
-
#13011
b9b7e9dThanks @ruifigueira! - Add experimental headful browser rendering support for local developmentExperimental: This feature may be removed or changed without notice.
When developing locally with the Browser Rendering API, you can enable headful (visible) mode via the
X_BROWSER_HEADFULenvironment variable to see the browser while debugging:X_BROWSER_HEADFUL=true wrangler dev X_BROWSER_HEADFUL=true vite dev
Note: when using
@cloudflare/playwright, two Chrome windows may appear — the initial blank page and the one created bybrowser.newPage(). This is expected behavior due to how Playwright handles browser contexts via CDP. -
#13051
d5bffdeThanks @dario-piotrowicz! - RemoveformatCompatibilityDatefrom the package's public exportsThis utility has been removed from the public API. Callers should use
getTodaysCompatDate()from@cloudflare/workers-utilsinstead. -
#13051
d5bffdeThanks @dario-piotrowicz! - RemovegetLocalWorkerdCompatibilityDatefrom the packageThis utility has been removed because its implementation besides being unreliable is no longer needed. Callers should now use today's date as the compatibility date directly, e.g. via
getTodaysCompatDate()from@cloudflare/workers-utils. -
#12992
48d83caThanks @RiscadoA! - Addvpc_networksbinding support for routing Worker traffic through a Cloudflare Tunnel or network. -
#13051
d5bffdeThanks @dario-piotrowicz! - AddgetTodaysCompatDate()utility functionReturns today's date as a
YYYY-MM-DDstring.
{ "vpc_networks": [ // Route through a specific Cloudflare Tunnel { "binding": "MY_FIRST_VPC", "tunnel_id": "<tunnel-id>" }, // Route through the Cloudflare One mesh network { "binding": "MY_SECOND_VPC", "network_id": "cf1:network" } ] }