Change8

miniflare@4.20260722.1

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

Summary

This release introduces support for passing V8 flags to workerd for increased heap limits in development and adds a local S3-compatible API for R2 buckets. It also includes fixes for KV metadata handling and the workerd console window on Windows.

✨ New Features

  • Support passing V8 flags to `workerd` via the `MINIFLARE_WORKERD_V8_FLAGS` environment variable, allowing for increased heap limits in development.
  • Add a local S3-compatible API for R2 buckets at `/cdn-cgi/local/r2/s3/<bucket-id>`, supporting various S3 operations for buckets configured with `s3Credentials`.
  • Support `connect()` on remote VPC Network and VPC Service bindings in local development for raw TCP connections to private services.

🐛 Bug Fixes

  • Fix `KVNamespace.getWithMetadata` dropping metadata for falsy KV values (empty string or "0"). Metadata is now preserved for these values.
  • Hide the workerd console window on Windows when the parent process has no console, preventing a visible, focus-stealing window for background or detached processes.

Affected Symbols