wrangler@4.126.0
📦 cloudflare-workersView on GitHub →
✨ 7 features🔧 6 symbols
Summary
This release introduces new features for Workflow instance retention, enhanced email testing, experimental PlanetScale database provisioning, and improved local development capabilities. It also adds pull request metadata to preview deployments and records build modes in configuration files.
✨ New Features
- Added `default_retention` to Workflow bindings for configuring how long instances are retained. This allows setting a per-Workflow default retention period for instances that do not specify their own retention.
- Included a chronological list of handler events in email test harness results, enabling programmatic local email tests to assert the order of message reception, forwarding, replying, or rejection.
- Added experimental `wrangler hyperdrive planetscale signature` command for provisioning Cloudflare-billed PlanetScale databases. This command prints a signed authorization JSON to prove to PlanetScale that Cloudflare will be billed.
- Enabled FUSE-capable local container development by automatically passing necessary Docker privileges to local Durable Object containers when using local rootless Docker on Linux or Docker on macOS/WSL.
- Recorded the selected build mode in the Build Output Specification's top-level `config.json` file as a `mode` field.
- Added pull request metadata (number, URL, repository URL) to `wrangler preview` deployments when a pull request is detected in the CI environment.
- Added the pull request title to `wrangler preview` deployment annotations (`workers/pull_request_title`) when detected in the CI environment.