miniflare@4.20260401.0
📦 cloudflare-workersView on GitHub →
✨ 2 features🐛 1 fixes⚡ 1 deprecations🔧 4 symbols
Summary
This release introduces experimental headful browser rendering for local development and adds support for VPC network bindings. It also deprecates the `supportedCompatibilityDate` export and fixes a module parsing bug in Miniflare.
Migration Steps
- Replace usage of the deprecated `supportedCompatibilityDate` export with `new Date().toISOString().slice(0, 10)`.
✨ New Features
- Added experimental headful (visible) browser rendering support for local development via the `X_BROWSER_HEADFUL` environment variable when using the Browser Rendering API.
- Added `vpc_networks` binding support in configuration to allow routing Worker traffic through a Cloudflare Tunnel or network.
🐛 Bug Fixes
- Fixed source phase imports parsing in Miniflare by using the `acorn-import-phases` plugin, resolving `ERR_MODULE_PARSE` errors when running Workers using source phase imports for WebAssembly modules locally.
Affected Symbols
⚡ Deprecations
- The `supportedCompatibilityDate` export is deprecated. Callers should use today's date directly, e.g. `new Date().toISOString().slice(0, 10)`.