Change8

miniflare@4.20260317.2

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

Summary

This patch release for workers-sdk focuses on improving Miniflare's local development experience by fixing configuration parsing issues for D1, KV, Pipelines, and R2 bindings, and by disabling request timeouts in the undici Pool.

✨ New Features

  • Upgraded local Chrome version to 126.0.6478.182 in Miniflare's Browser Rendering binding.
  • Browser websocket close events are now reciprocated in Miniflare's Browser Rendering binding.

🐛 Bug Fixes

  • Fixed Miniflare error when `d1Databases` configuration mixes string and object entries, now accepting and normalizing both.
  • Fixed Miniflare error when `kvNamespaces` configuration mixes string and object entries, now accepting and normalizing both.
  • Fixed Miniflare error when `pipelines` configuration mixes string and object entries, now accepting and normalizing both.
  • Fixed Miniflare error when `r2Buckets` configuration mixes string and object entries, now accepting and normalizing both.
  • Disabled undici Pool request timeouts (headersTimeout and bodyTimeout, previously 300s) in Miniflare's local dev environment by setting them to 0, preventing silent killing of long-running requests.

Affected Symbols