Change8

wrangler@4.112.0

📦 cloudflare-workersView on GitHub →
4 features🐛 2 fixes🔧 5 symbols

Summary

This release introduces new features for Email Routing configuration and Durable Object testing, alongside improvements to error handling and deployment workflows. It also includes dependency updates for miniflare and wrangler.

✨ New Features

  • Add a top-level `addresses` field to Wrangler configuration for Email Routing, allowing direct declaration of inbound email addresses in `wrangler.json`.
  • Add Durable Object storage access to `createTestHarness()`, enabling execution of SQL against a SQLite-backed Durable Object for seeding or asserting storage state.
  • Emit a typed `runtimeError` event on the `unstable_startWorker` DevEnv for uncaught Worker exceptions, providing programmatic access to exception text and source-mapped stack.
  • Support containers in `createTestHarness()`, allowing testing of Workers configured with containers and making container-backed Durable Objects available during integration tests.

🐛 Bug Fixes

  • Register a workers.dev subdomain before uploading a new Worker to provide a clear, actionable message when a subdomain is missing, instead of a cryptic API failure.
  • Type `unstable_startWorker`, `DevEnv.startWorker`, and `ConfigController.set`/`patch` against `WranglerStartDevWorkerInput` to correctly express the `dev.structuredLogsHandler` field through the public API.

Affected Symbols