unstale

npm / miniflare

miniflare

What changed in miniflare 1 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

7 breaking8 security2 deprecations84 new APIs and options3 performance20 behavior and defaults9 tooling65 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

miniflare 4189 changes

Breaking changes 7

  • In local development, fetch requests using cf.image now transform images via Sharp instead of returning the original bytes; transforms are skipped if Sharp is unavailable.

    4.20260616.0release notes

  • The public binding type, Wrangler config key, Cloudflare API binding-type string, and Miniflare option key are renamed from web_search/webSearch to websearch; the runtime WebSearch type is unchanged.

    4.20260603.0release notes

  • Exact configured routes and the configured upstream hostname must match the request hostname exactly; subdomain matching remains limited to wildcard routes.

    4.20260520.0release notes

  • The spawned workerd subprocess now defaults to TZ=UTC to match production Cloudflare runtime behavior and avoid local development timezone drift.

    4.20260507.0release notes

  • Flagship bindings always use the remote service in local development; the remote config field now only controls whether a warning is displayed.

    4.20260426.0release notes

  • Workflow step names in API responses retain their -N suffix so the UI can distinguish duplicate names; the suffix is stripped only visually.

    4.20260426.0release notes

  • The Flags type was renamed to Flagship to match the upstream rename, updating the import and getFlagshipBinding return type.

    4.20260420.0release notes

Security 8

  • In local development, steps configured with sensitive: "output" have their output redacted in step logs and step-output responses, while downstream steps still receive the real value.

    4.20260721.0release notes

  • Dependencies not bundled into published output are pinned to exact versions, preventing fresh installs from resolving an unpinned dependency to a compromised upstream release.

    4.20260601.0release notes

  • Miniflare validates Host and Origin before rewriting these requests, preventing non-local hostnames from reaching internal development endpoints.

    4.20260415.0release notes

  • Validates host and origin headers before Miniflare modifies them, preventing same-origin requests from being mistakenly identified and blocked when routes are set.

    4.20260310.0, 4.20260312.1release notesrelease notes

  • The bundled devalue dependency was updated to address denial-of-service vulnerabilities in devalue.parse.

    4.20260310.0release notes

  • The bundled Hono dependency was updated to address security vulnerabilities, including arbitrary file access via serveStatic, JWT algorithm confusion, and XSS through ErrorBoundary.

    4.20260310.0release notes

  • Bundles the dependency into miniflare to reduce supply chain attack surface and help ensure only trusted code runs on the user's system.

    4.20260124.0release notes

  • Several utility packages are bundled into published packages instead of being installed separately, reducing the number of external dependencies users need to trust.

    4.20260114.0release notes

Deprecations 2

  • Pipeline bindings use stream instead of pipeline to match the updated API wire format; pipeline remains accepted but emits a warning.

    4.20260529.0release notes

  • The export is deprecated; callers should use today’s date directly instead of relying on the workerd-derived compatibility date.

    4.20260401.0release notes

New APIs and options 75

  • The endpoint accepts ?format=json to return the email handler result as JSON, while requests without it retain the existing text outcome.

    4.20260730.0release notes

  • Adds a local S3-compatible HTTP API for R2 buckets configured with s3Credentials, supporting AWS Signature Version 4 authentication and the listed S3 operations.

    4.20260722.1release notes

  • Remote VPC Network and VPC Service bindings now support raw TCP connections through binding.connect(address) in local development; the feature is experimental and requires no new configuration.

    4.20260722.1release notes

  • Passes space-separated V8 flags to workerd, allowing developers to raise the heap limit and keep long development sessions alive.

    4.20260722.1release notes

  • A read-only SQL endpoint lets tools query the spans and logs tables.

    4.20260722.0release notes

  • Set this environment variable to enable local observability while it is off by default during testing.

    4.20260722.0release notes

  • The worker returned by createTestHarness() can access SQLite-backed Durable Object storage to seed or assert storage state with SQL.

    4.20260714.0release notes

  • Embedders can pass a shared option to observe revived, source-mapped uncaught Worker errors from requests through the entry socket. It is not invoked by dispatchFetch().

    4.20260714.0release notes

  • Lets Miniflare callers control the local project temp directory where worker email logs are written; Wrangler and the Vite plugin set it automatically.

    4.20260710.0release notes

  • Now accepts Durable Object class names as well as binding names.

    4.20260710.0release notes

  • Adds targeted Durable Object eviction so users can verify how an object recovers after its instance is torn down.

    4.20260710.0release notes

  • Miniflare exposes an API for listing persisted Durable Object instance IDs by binding name.

    4.20260708.0release notes

  • Queue producers can send messages to consumers in a separate local dev process. Messages produced before registration or while the consumer is down or reloading are dropped, with a debug-level log.

    4.20260702.0release notes

  • Worker handles can introspect Workflow bindings by name, enabling tests to disable sleeps, mock step results, and wait for Workflow outcomes; tests can target a known instance by ID or track instances created after introspection starts.

    4.20260630.0release notes

  • The dev server exposes local R2 bucket objects at this endpoint, supporting GET, HEAD, range requests, conditional headers, and stored HTTP metadata.

    4.20260611.0release notes

  • Miniflare supports remote-only Agent Memory bindings for storing and retrieving agent conversation state.

    4.20260529.0release notes

  • The scheduled handler endpoint accepts ?format=json to return the handler result, including whether controller.noRetry() was called.

    4.20260529.0release notes

  • Miniflare supports the remote-only web_search binding, which exposes search() for web discovery.

    4.20260529.0release notes

  • Supports workerd autogates via the MINIFLARE_WORKERD_AUTOGATES environment variable.

    4.20260508.0release notes

  • The hosted images mock now returns usable variant delivery URLs that serve image bytes from the local KV store, helping applications render images during local development.

    4.20260507.1release notes

  • The send_email MessageBuilder now accepts EmailAddress objects alongside plain strings in to, cc, and bcc arrays, including mixed arrays.

    4.20260507.0release notes

  • The Miniflare constructor accepts an unsafeRuntimeEnv Record<string, string> option to override the runtime environment, for example to test timezone-dependent behaviour.

    4.20260507.0release notes

  • A utility is exported to ease handling requests sent to the module fallback service.

    4.20260430.0release notes

  • Projects developing in Node can access send_email bindings from getPlatformProxy(), enabling local use of the plain-object MessageBuilder API.

    4.20260430.0release notes

  • Miniflare supports both protocols used by requests to the module fallback service, including the V2 protocol when the new_module_registry compatibility flag is set.

    4.20260430.0release notes

  • Local Workflow development can restart an instance from a specified step; earlier steps preserve cached results and replay instantly, while that step and subsequent steps re-execute.

    4.20260430.0release notes

  • Hyperdrive local development now supports Postgres sslmodes verify-full and verify-ca, and MySQL VERIFY_IDENTITY and VERIFY_CA.

    4.20260426.0release notes

  • Exports a helper for constructing client-reachable URLs, including correct handling of IPv6 addresses and wildcard listen addresses.

    4.20260424.0release notes

  • Exposes the configured public URL as a mutable property on the Miniflare instance.

    4.20260424.0release notes

  • Adds publicUrl so callers can advertise a stable, externally reachable Miniflare URL for Stream preview URLs.

    4.20260424.0release notes

  • When enabled, preserves the NonRetryableError message and name instead of replacing them with a generic error message.

    4.20260424.0release notes

  • Wrangler configuration can now define Artifacts bindings, and type generation produces the correct Artifacts type reference.

    4.20260420.0release notes

  • Configure a Flagship feature flag binding with binding and app_id entries; in local development it returns default values unless remote evaluation is enabled.

    4.20260410.0release notes

  • A new GET endpoint supports the metrics() API.

    4.20260410.0release notes

  • The local explorer's OpenAPI spec is now served at this endpoint, allowing independent access to the REST API.

    4.20260405.0release notes

  • Add this binding configuration to route Worker traffic through a specific Cloudflare Tunnel or the Cloudflare One mesh network.

    4.20260401.0release notes

  • Set this environment variable to true during local development to enable visible browser rendering for debugging.

    4.20260401.0release notes

  • The local browser rendering binding now implements the full set of devtools endpoints, matching the remote Browser Rendering API.

    4.20260329.0release notes

  • Adds a binding to a single AI Search instance in the default namespace. It is remote-only in local dev.

    4.20260317.3release notes

  • Adds an AI Search namespace binding; namespace is required and auto-provisioned at deploy time if it doesn't exist. It is remote-only in local dev.

    4.20260317.3release notes

  • The local explorer supports viewing, modifying, and deleting R2 objects, uploading files, and creating directories or prefixes.

    4.20260317.1release notes

  • Workflow instances support pause in local development; the instance pauses after the current step completes.

    4.20260317.1release notes

  • Workflow instances support restarting in local development from the beginning.

    4.20260317.1release notes

  • Workflow instances support resuming in local development from where they left off.

    4.20260317.1release notes

  • Workflow instances support immediate termination in local development.

    4.20260317.1release notes

  • Miniflare adds support for the worker connect handler.

    4.20260312.0release notes

  • Adds Hosted Images CRUD operations to the Images binding; this experimental API currently works only locally.

    4.20260301.1release notes

  • Adds experimental support for communication from containers to Workers using interceptOutboundHttp; requires the experimental compatibility flag in Wrangler configuration.

    4.20260301.1release notes

  • Configures a Workflow instance's maximum number of steps, from 1 to 25,000; the default is 10,000, and the limit is enforced in local development via wrangler dev.

    4.20260301.1release notes

  • Adds Miniflare#purgeCache() to clear the default or a named cache programmatically without restarting the Miniflare instance.

    4.20260219.0release notes

  • Adds a Local explorer endpoint to introspect SQLite in Durable Objects; it is experimental and gated by X_LOCAL_EXPLORER.

    4.20260219.0release notes

  • The experimental Local explorer adds endpoints to list Durable Object namespaces and objects.

    4.20260217.0release notes

  • Set MINIFLARE_CACHE_DIR to choose where Miniflare stores its cf.json cache; otherwise Miniflare detects an existing or suitable cache directory automatically.

    4.20260217.0release notes

  • The UI and list keys API now let you search KV keys by prefix; the feature is experimental.

    4.20260212.0release notes

  • When enabled, Miniflare serves the bundled local explorer UI at this path. The feature is experimental and a work in progress.

    4.20260210.0release notes

  • Controls whether Miniflare fetches data for Request.cf caching; setting it to false disables fetching and uses fallback data, without creating node_modules/.mf/cf.json.

    4.20260210.0release notes

  • Sets a custom location for caching the cf.json file instead of the default node_modules/.mf/cf.json.

    4.20260210.0release notes

  • Adds an API that returns a list of D1 databases for the experimental/WIP local resource explorer.

    4.20260205.0release notes

  • Adds an API that returns query result rows as arrays rather than objects for the experimental/WIP local resource explorer.

    4.20260205.0release notes

  • The version metadata binding in local development now includes a timestamp field alongside id and tag, enabling local testing of version-aware logic.

    4.20260131.0release notes

  • An optional zone option specifies the zone value for the CF-Worker header; otherwise it defaults to ${worker-name}.example.com.

    4.20260131.0release notes

  • Adds an API to delete a key in the experimental/WIP local resource explorer.

    4.20260128.0release notes

  • Adds an API to list namespaces for the experimental/WIP local resource explorer.

    4.20260128.0release notes

  • Adds an API to list keys for a namespace in the experimental/WIP local resource explorer.

    4.20260128.0release notes

  • Adds an API to get a value in the experimental/WIP local resource explorer.

    4.20260128.0release notes

  • Adds an API to bulk get values in the experimental/WIP local resource explorer.

    4.20260128.0release notes

  • Adds an API to write a value in the experimental/WIP local resource explorer.

    4.20260128.0release notes

  • Adds a configuration option to customise the IP address that the inspector server listens on, instead of being limited to 127.0.0.1.

    4.20260124.0release notes

  • Adds a CLI flag to customise the IP address that the inspector server listens on, instead of being limited to 127.0.0.1.

    4.20260124.0release notes

  • Adds a no-op local explorer worker gated by the experimental flag.

    4.20260124.0release notes

  • Miniflare local mode now supports the Email Sending API’s simplified MessageBuilder interface alongside EmailMessage; email content is stored in temporary files for inspection, with file paths logged when emails are sent.

    4.20260116.0release notes

  • Miniflare adds the MF-Original-Hostname request header when using the upstream option, preserving the incoming hostname after the Host header is rewritten.

    4.20260114.0release notes

  • Adds an experimental local-development handler that receives streamed tail events from a Worker as they occur, rather than batched events after processing finishes.

    4.20251113.0release notes

  • Adds an option that lets consumers of workerd structured logs print them without additional boilerplate.

    4.20251011.0release notes

  • Adds support for media bindings.

    4.20251011.0release notes

Performance 3

  • Asset requests avoid an unnecessary internal dispatch hop, reducing latency.

    4.20260714.0release notes

  • Streamlined router request handling reduces latency for Workers with assets.

    4.20260714.0release notes

  • Improves local Hyperdrive binding latency on Windows.

    4.20251202.1release notes

Behavior and default changes 20

  • When enabled, local observability captures Workflows invocations so workflow runs appear in the Local Explorer's Observability view with traces, spans, and logs.

    4.20260730.0release notes

  • The updated sharp no longer requires explicit build approval in package managers that block dependency build scripts by default.

    4.20260722.0release notes

  • In local dev, retries.delay can be a function that computes a delay for each failed attempt; its result is fed into the configured backoff.

    4.20260708.1release notes

  • Workflow bindings with a scriptName referring to a worker registered in another Miniflare instance via unsafeDevRegistryPath are rerouted through the dev-registry-proxy worker.

    4.20260603.0release notes

  • Miniflare can parse scripts using the using and await using keywords.

    4.20260518.0release notes

  • When set, CF_TRACE_ID is forwarded as a cf-trace-id header on outgoing remote binding proxy requests, making traces easier to correlate during local development.

    4.20260511.0release notes

  • If the configured assets directory does not exist, Miniflare starts asset services with zero assets and reloads when the directory is created and setOptions() is called.

    4.20260430.0release notes

  • When SSL is disabled, Miniflare connects directly to the database instead of creating a local TCP proxy, avoiding connection failures caused by firewall rules or proxy port binding issues.

    4.20260430.0release notes

  • Videos uploaded in local mode are served at /cdn-cgi/mf/stream/<video-id>/watch, and StreamVideo.preview is directly fetchable during development.

    4.20260424.0release notes

  • The workerd debug port powers cross-process service bindings, Durable Objects, and tail workers via the dev registry, enabling Durable Object RPC and improving stability.

    4.20260420.0release notes

  • The /message and /batch endpoints return queue metrics in a JSON response body instead of an empty response.

    4.20260410.0release notes

  • Stream data is persisted across restarts by default; set streamPersist: false in Miniflare options to disable persistence.

    4.20260317.3release notes

  • Undici Pool request timeouts are disabled for local development, preventing long-running requests from being killed after five minutes.

    4.20260317.2release notes

  • The experimental local explorer is enabled by default and can be disabled by setting X_LOCAL_EXPLORER=false.

    4.20260317.1release notes

  • The allowlists now accept connections from the new workers.dev domain patterns while retaining legacy pages.dev patterns for backward compatibility.

    4.20260317.0release notes

  • Container local development now prepares the egress interceptor sidecar image by default, making container-to-Worker interception available without the experimental compatibility flag.

    4.20260310.0release notes

  • The local explorer can view and edit resources bound to workers in other Miniflare instances when multiple processes are running.

    4.20260310.0release notes

  • The maximum allowed delivery and retry delays for Queues is now 24 hours.

    4.20260219.0release notes

  • Outgoing fetch requests in local development now include the CF-Worker header to match production behavior.

    4.20260131.0release notes

  • Miniflare sets the minimum KV Cache TTL to 30 seconds.

    4.20251128.0release notes

Tooling 9

  • Local Worker invocations can be traced across worker and Durable Object boundaries, capturing spans, logs, and console output.

    4.20260722.0release notes

  • A new Observability tab provides Traces and Events views for exploring local invocation data.

    4.20260722.0release notes

  • With remote bindings, warns when Cloudflare Access blocks a request and replaces the HTML block page with plain-text authentication guidance.

    4.20260526.0release notes

  • The explorer lists Durable Object instances by name where possible, making instances easier to identify.

    4.20260409.0release notes

  • The local explorer now includes a Workflows dashboard for viewing and managing workflow instances during local development.

    4.20260329.0release notes

  • Miniflare and wrangler dev support Stream bindings locally, including the listed video, caption, download, and watermark operations. Direct uploads and File-based caption or watermark uploads are not supported.

    4.20260317.3release notes

  • The local Chrome version used by the Browser Rendering binding was upgraded to 126.0.6478.182.

    4.20260317.2release notes

  • The local explorer provides a worker selector so developers can inspect each worker’s bindings independently; the selection is reflected in the URL as a ?worker= search param.

    4.20260317.1release notes

  • Hyperdrive bindings in wrangler dev can connect to external databases that require TLS.

    4.20251118.1release notes

Fixes and other changes 65

  • Local Images binding transforms now respect the fit, gravity, and background options, matching production behavior instead of always letterboxing with black bars.

    4.20260730.0release notes

  • The idle keep-alive timeout is disabled to prevent pooled workerd connections from failing with Network connection lost during local development.

    4.20260730.0release notes

  • Preserves metadata when stored KV values are falsy, such as an empty string or "0"; missing keys still return null metadata.

    4.20260722.1release notes

  • On Windows, hides the workerd console window when the parent process has no console, preventing a visible, focus-stealing window for background or detached parents.

    4.20260722.1release notes

  • AVIF inputs are now correctly reported as image/avif rather than as an unsupported or unknown type.

    4.20260722.0release notes

  • The error now reports the enforced 288000-byte maximum instead of the incorrect 256000-byte limit.

    4.20260722.0release notes

  • The Cloudflare Vite plugin restarts the Vite development server after workerd recovers, recreating its environments, hot channels, and module runners.

    4.20260722.0release notes

  • Miniflare restarts workerd after post-startup crashes so local development can serve subsequent requests; startup crashes remain fatal.

    4.20260722.0release notes

  • For HEAD requests, dispatchFetch() reports the Worker’s original error and source-mapped stack instead of a misleading JSON parse error.

    4.20260721.0release notes

  • Cleanup removes only the current instance's session directory and leaves the shared parent intact, avoiding startup failures when concurrent local runtimes use the same project.

    4.20260714.0release notes

  • Graceful Chrome shutdown is bounded and the browser process tree is forcefully terminated when needed, preventing disposal from waiting indefinitely.

    4.20260714.0release notes

  • Uncaught Worker errors with stack-frame file URLs that cannot be converted to local paths no longer prevent error reporting; source mapping degrades to an unmapped stack and the pretty page falls back to a plain stack response.

    4.20260714.0release notes

  • Local rate limit counters are keyed by namespace_id, so bindings sharing a namespace share a limit and distinct namespaces stay isolated. Rate limit bindings also work in multiworker wrangler dev sessions.

    4.20260702.0release notes

  • reset() from cloudflare:test now resets ratelimit binding state between tests, preventing stale in-memory bucket counts from affecting later tests in the same file.

    4.20260702.0release notes

  • The local R2 public bucket endpoint now matches r2.dev for write-method rejection, range handling, HEAD responses, percent-decoded keys, default content types, and cancellation of unread bodies.

    4.20260630.0release notes

  • Local Workflows now copy a Uint8Array's bytes to a tight buffer before persistence, avoiding SQLITE_TOOBIG errors for views backed by larger buffers.

    4.20260617.1release notes

  • Calls such as getKVNamespace() or getR2Bucket() with a binding name not configured for that resource type now report the expected binding type in the error message.

    4.20260616.0release notes

  • Scheduled handlers can now be triggered locally on Workers that have assets.

    4.20260609.0release notes

  • Miniflare detects workerd termination during startup instead of hanging indefinitely, and throws ERR_RUNTIME_FAILURE with the runtime's stderr output.

    4.20260603.0release notes

  • The inspector now uses 127.0.0.1 instead of localhost, avoiding bind failures when localhost resolves to IPv6 while IPv6 is disabled.

    4.20260601.0release notes

  • URLs displayed in CLI output no longer include trailing sentence-ending periods, preventing some terminal emulators from including the period when opening the link.

    4.20260601.0release notes

  • Browser launch waits up to five minutes for Chrome to print its DevTools WebSocket URL, preventing indefinite hangs.

    4.20260529.0release notes

  • Fixes crashes under Yarn PnP when a worker emits a structured log or the inspector forwards a stack trace.

    4.20260529.0release notes

  • Workers configured with a custom outbound service can now open TCP connections with cloudflare:sockets; previously, TCP requests could throw an error.

    4.20260521.0release notes

  • Upstream failures now surface the HTTP status and response body; a SyntaxError is chained via cause when a 2xx response contains invalid JSON.

    4.20260520.0release notes

  • When browser installation encounters a specific corrupted-cache error, Miniflare removes the cache directory and retries installation once.

    4.20260520.0release notes

  • Miniflare deduplicates compatibility flags for the internal Workflow engine service, preventing wrangler dev from failing when the user's Worker enables experimental.

    4.20260518.0release notes

  • Addresses in "Name" <address> format are now correctly parsed when checking allowed_destination_addresses and allowed_sender_addresses restrictions.

    4.20260507.0release notes

  • Miniflare waits until Chrome accepts connections before declaring the browser ready and retries transient connection failures, preventing Browser Run errors on Windows.

    4.20260504.0release notes

  • Fixes local explorer startup in Yarn Plug'n'Play projects by copying UI assets to a real temporary directory before registering the workerd disk service.

    4.20260504.0release notes

  • Serialization normalizes subclass constructor names to the nearest standard typed array parent, preventing proxy serialization failures for values such as Node.js Buffer.

    4.20260430.0release notes

  • Multiple workers can now run with multiple browser bindings in Miniflare without crashing.

    4.20260426.0release notes

  • Service binding and tail consumer props are now forwarded correctly across separate local development instances.

    4.20260426.0release notes

  • When static_routing is configured without user_worker rules, the router-worker now falls back to an empty list instead of failing the request.

    4.20260426.0release notes

  • Windows uses polling for the filesystem-based dev registry so cross-process worker registrations are observed reliably, avoiding delays that could time out service-binding calls.

    4.20260424.0release notes

  • Caption uploads via ReadableStream are supported in local mode instead of throwing a not-supported error.

    4.20260424.0release notes

  • The build inlines sourcesContent and patches null entries in bundled sourcemaps, preventing warnings when tools validate them at runtime.

    4.20260421.0release notes

  • User-facing strings, error messages, and CLI output now use Browser Run instead of Browser Rendering.

    4.20260420.0release notes

  • In local mode, the send_email binding's send() now returns { messageId: string } instead of undefined, matching the production SendEmail result shape.

    4.20260420.0release notes

  • When localhost is configured, internal communication between Node.js and workerd uses 127.0.0.1, avoiding connection-refused errors and CPU spins while preserving the user-facing URL.

    4.20260420.0release notes

  • Disposal now closes open handles so the Node.js event loop can exit cleanly instead of leaving processes, particularly tests, hanging.

    4.20260420.0release notes

  • Preview tokens are proactively refreshed at 50 minutes, error code 1031 responses trigger refresh, and credentials are resolved when a remote proxy session starts.

    4.20260420.0release notes

  • POST or PUT requests with non-2xx responses no longer throw a “fetch failed” TypeError on stream-backed request bodies.

    4.20260415.0release notes

  • Fixes handling of resources bound to multiple workers in the local explorer.

    4.20260409.0release notes

  • The local Images binding mock now returns a chainable handle with details(), bytes(), update(), and delete() methods, aligning with the updated workerd API.

    4.20260405.0release notes

  • Fixes a TLS configuration bug for Hyperdrive bindings in local development.

    4.20260405.0release notes

  • Miniflare now parses source phase imports when analyzing module dependencies, fixing ERR_MODULE_PARSE errors for Workers using WebAssembly source phase imports in local development.

    4.20260401.0release notes

  • Temporary-directory cleanup during dispose() is now best-effort on Windows, preventing noisy EBUSY errors from propagating when workerd releases file handles late.

    4.20260329.0release notes

  • Glob patterns now match only paths that literally end with the pattern, preventing rules such as **/*.wasm from matching files like foo.wasm.js.

    4.20260317.3release notes

  • The local Browser Rendering binding now reciprocates browser websocket close events.

    4.20260317.2release notes

  • Mixed string and object entries in d1Databases configuration are now accepted and normalised correctly.

    4.20260317.2release notes

  • Mixed string and object entries in kvNamespaces configuration are now accepted and normalised correctly.

    4.20260317.2release notes

  • Mixed string and object entries in pipelines configuration are now accepted and normalised correctly.

    4.20260317.2release notes

  • Mixed string and object entries in r2Buckets configuration are now accepted and normalised correctly.

    4.20260317.2release notes

  • The local explorer filters metadata.sqlite from Durable Object instance listings to avoid inflated counts and pagination problems.

    4.20260317.1release notes

  • Explorer route matching now accepts only the exact path and its sub-paths; similar-prefix paths fall through to the user worker.

    4.20260312.0release notes

  • AI Search bindings now work correctly in local development with wrangler dev instead of failing with a non-serializable RPC stub error.

    4.20260217.0release notes

  • Disposes stdio streams before killing a restarted workerd process, preventing potential EBADF errors during spawn on some systems.

    4.20260212.0release notes

  • Scheduled trigger warnings now appear after the proxy server is ready, so they use the actual public URL and port instead of showing an undefined port.

    4.20260111.0release notes

  • Miniflare now prevents connection reuse to eliminate intermittent “Fetch failed” errors caused by race conditions when idle connections close.

    4.20260103.0release notes

  • Durable Object RPC calls from Node.js now yield control to the event loop, allowing concurrent operations, Promise.race(), and timeouts to work correctly.

    3.20250718.3, 4.20251217.0release notesrelease notes

  • Reading and writing dev registry files is more resilient.

    4.20251125.0release notes

  • Free-port selection is more resilient when many Miniflare instances run in parallel, reducing failures if a port becomes unavailable between checking and use.

    4.20251109.1release notes

  • Disabling Node.js HTTP timeouts prevents long-lived WebSocket connections through the dev registry proxy from failing with ERR_HTTP_REQUEST_TIMEOUT.

    4.20251109.1release notes

  • Void-returning RPC methods on workflow bindings no longer receive unnecessary extra disposal calls, reducing unrelated internal errors visible to customers.

    4.20251011.2release notes

miniflare 19 changes

New APIs and options 9

  • Deletes specified keys in a namespace using a JSON file.

    1.0.0upgrade guide

  • Uploads key-value pairs from a JSON file, supporting expiration fields and base64-decoded values.

    1.0.0upgrade guide

  • Removes a single key-value pair from a namespace.

    1.0.0upgrade guide

  • Reads a single value by key from a namespace, with optional environment, preview, or namespace ID selection.

    1.0.0upgrade guide

  • Lists keys in a namespace and can filter the results by prefix.

    1.0.0upgrade guide

  • Writes a key-value pair to a namespace, with optional expiration, environment, preview selection, or file-based input.

    1.0.0upgrade guide

  • Creates a Workers KV namespace and prints a configuration block to add to the Wrangler file; supports environment-specific and preview namespaces.

    1.0.0upgrade guide

  • Deletes a KV namespace by binding or namespace ID, with optional environment and preview selection.

    1.0.0upgrade guide

  • Lists all KV namespaces associated with an account ID.

    1.0.0upgrade guide