Change8

@cloudflare/workers-utils@0.15.0

📦 cloudflare-workersView on GitHub →
3 features🔧 3 symbols

Summary

This release introduces experimental headful browser rendering for local debugging and adds support for VPC network bindings. Several compatibility date utilities have been removed from the public API in favor of a utility from `@cloudflare/workers-utils`.

Migration Steps

  1. If you were using `formatCompatibilityDate` from the package, replace it with `getTodaysCompatDate()` from `@cloudflare/workers-utils`.
  2. If you were using `getLocalWorkerdCompatibilityDate`, remove the call; you should now use today's date directly, e.g., via `getTodaysCompatDate()` from `@cloudflare/workers-utils`.

✨ New Features

  • Add experimental headful browser rendering support for local development via the X_BROWSER_HEADFUL environment variable when running `wrangler dev` or `vite dev`.
  • Add `vpc_networks` binding support for routing Worker traffic through a Cloudflare Tunnel or network, configurable in `wrangler.toml`.
  • Add `getTodaysCompatDate()` utility function which returns today's date as a YYYY-MM-DD string.

Affected Symbols

cloudflare-workers @cloudflare/workers-utils@0.15.0 - Change8