---
title: "miniflare 5.20261118.0-beta Breaking Changes on npm"
description: "What each miniflare release removed, renamed or changed: 722 breaking changes in 115 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/miniflare
last_updated: 2026-12-04
---

# miniflare breaking changes

miniflare 5.20261118.0-beta (November 18, 2026) is its newest release with breaking changes, 49 of them. The first: Default changed DEFAULT_COMPAT_DATE. Every breaking API change we have recorded in miniflare on npm: 722 breaking changes in 115 versions. Below, its 115 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.20260730.0`, released July 30, 2026. [Source repository](https://github.com/cloudflare/workers-sdk)

Its 5.20261109.0-beta release requires Node.js 22.12.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.20260730.0](#v-4-20260730-0) to [5.20261118.0-beta](#v-5-20261118-0-beta): 149 breaking changes in 21 versions.
- From [3.20250204.1](#v-3-20250204-1) to [5.20261118.0-beta](#v-5-20261118-0-beta): 720 breaking changes in 114 versions.

## miniflare 5.20261118.0-beta breaking changes

miniflare 5.20261118.0-beta, released November 18, 2026: 49 breaking changes.

- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects without a configured compatibility date now use 2026-11-18 by default. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261118.0-beta)
- **Signature changed** `ArtifactsController.constructor`  

Was constructor(getLog?: (() => Pick\<Log, "warn">) | undefined); now constructor(getLog?: (() => Pick\<Log, "info" | "warn">) | undefined). [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `ArtifactsController.get`  

Was get(root: string): Promise\<LocalArtifactsBackend>; now get(root: string, options?: LocalArtifactsBackendOptions): Promise\<LocalArtifactsBackend>. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `MiniflareOptionsSchema`  

Was const MiniflareOptionsSchema: z.ZodPipe\<z.ZodObject<{host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey: z.ZodOptional\<z.ZodString>; httpsCert: z.ZodOptional\<z.ZodString>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `MiniflareWorkerConfigBaseSchema`  

Was const MiniflareWorkerConfigBaseSchema: z.ZodObject<{name: z.ZodString; cache: z.ZodOptional\<z.ZodObject<{enabled: z.ZodBoolean; crossVersionCache: z.ZodOptional\<z.ZodBoolean>;}, z.core.$strict>>; domains... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `MiniflareWorkerConfigSchema`  

Was const MiniflareWorkerConfigSchema: z.ZodPipe\<z.ZodObject<{name: z.ZodString; cache: z.ZodOptional\<z.ZodObject<{enabled: z.ZodBoolean; crossVersionCache: z.ZodOptional\<z.ZodBoolean>;}, z.core.$strict>>; domains... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `ParsedMiniflareKnownBindingSchema`  

Was const ParsedMiniflareKnownBindingSchema: z.ZodDiscriminatedUnion<\[z.ZodObject<{type: z.ZodLiteral<"kv">; dev: z.ZodOptional\<z.ZodObject<{remote: z.ZodOptional\<z.ZodBoolean>;}, z.core.$strict>>; id: z.ZodString;}, z.core.$strict>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2; cache: Plugin_2; d1: Plugin_2; do: Plugin_2; kv: Plugin_2; queues: Plugin_2; r2: Plugin_2; hyperdrive: Plugin_2; ratelimit: Plugin_2; assets: Plugin_2; workflows: Plugin_2; pipelines: Plugin_2; k2... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.agent-memory`  

Was "agent-memory": Plugin_2; now "agent-memory": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.ai`  

Was ai: Plugin_2; now ai: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.ai-search`  

Was "ai-search": Plugin_2; now "ai-search": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.analytics-engine`  

Was "analytics-engine": Plugin_2; now "analytics-engine": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.analyticsSql`  

Was analyticsSql: Plugin_2; now analyticsSql: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.artifacts`  

Was artifacts: Plugin_2; now artifacts: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.assets`  

Was assets: Plugin_2; now assets: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.browser-rendering`  

Was "browser-rendering": Plugin_2; now "browser-rendering": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.cache`  

Was cache: Plugin_2; now cache: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.core`  

Was core: Plugin_2; now core: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.d1`  

Was d1: Plugin_2; now d1: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.dispatch-namespace`  

Was "dispatch-namespace": Plugin_2; now "dispatch-namespace": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.do`  

Was do: Plugin_2; now do: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.email`  

Was email: Plugin_2; now email: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.flagship`  

Was flagship: Plugin_2; now flagship: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.hello-world`  

Was "hello-world": Plugin_2; now "hello-world": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.hyperdrive`  

Was hyperdrive: Plugin_2; now hyperdrive: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.images`  

Was images: Plugin_2; now images: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.k2`  

Was k2: Plugin_2; now k2: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.kv`  

Was kv: Plugin_2; now kv: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.media`  

Was media: Plugin_2; now media: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.mtls`  

Was mtls: Plugin_2; now mtls: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.pipelines`  

Was pipelines: Plugin_2; now pipelines: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.queues`  

Was queues: Plugin_2; now queues: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.r2`  

Was r2: Plugin_2; now r2: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.ratelimit`  

Was ratelimit: Plugin_2; now ratelimit: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.secrets-store`  

Was "secrets-store": Plugin_2; now "secrets-store": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.vectorize`  

Was vectorize: Plugin_2; now vectorize: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.version-metadata`  

Was "version-metadata": Plugin_2; now "version-metadata": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.vpc-networks`  

Was "vpc-networks": Plugin_2; now "vpc-networks": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.vpc-services`  

Was "vpc-services": Plugin_2; now "vpc-services": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.worker-loader`  

Was "worker-loader": Plugin_2; now "worker-loader": Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `Plugins.workflows`  

Was workflows: Plugin_2; now workflows: Plugin. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `resolveLocalBindings`  

Was function resolveLocalBindings(configuredBindings: ParsedInputWorkerConfig\["env"\], options: ResolveLocalBindingsOptions): NonNullable\<WorkerOptions\["config"\]\["env"\]>; now function resolveLocalBindings(configuredBindings... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `V4MiniflareOptionsSchema`  

Was const V4MiniflareOptionsSchema: z.ZodIntersection\<z.ZodObject<{rootPath: z.ZodOptional\<z.ZodString>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `V4WorkerOptionsSchema`  

Was const V4WorkerOptionsSchema: z.ZodIntersection\<z.ZodUnion\<readonly \[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<{ESModule: "ESModule"; CommonJS: "CommonJS"; Text: "Text"; Data: "Data"; CompiledWasm: "CompiledWasm"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `V4WorkerOptionsShape`  

Was type V4WorkerOptionsShape = {\[key: string\]: unknown; name?: string; rootPath?: string; compatibilityDate?: string; compatibilityFlags?: string\[\]; unsafeInspectorProxy?: boolean; routes?: string\[\]; cronTriggers?: string\[\]; bindings?... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `V4WorkerOptionsShape.artifacts`  

Was artifacts?: Record\<string, {namespace: string; remote?: boolean;} & V4RemoteBinding>; now artifacts?: Record\<string, {namespace: string;} & V4RemoteBinding>. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `V4WorkerOptionsShape.workflowExports`  

Was workflowExports?: Record\<string, {name: string; stepLimit?: number;}>; now workflowExports?: Record\<string, {name: string; events?: ArtifactsEventSubscription\[\]; stepLimit?: number;}>. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `V4WorkerOptionsShape.workflows`  

Was workflows?: Record\<string, {name: string; className: string; scriptName?: string; external?: boolean; stepLimit?: number;}>; now workflows?: Record\<string, {name: string; className: string; scriptName?: string; external?: boolean... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)
- **Signature changed** `WorkerOptionsSchema`  

Was const WorkerOptionsSchema: z.ZodObject<{config: z.ZodPipe\<z.ZodObject<{name: z.ZodString; cache: z.ZodOptional\<z.ZodObject<{enabled: z.ZodBoolean; crossVersionCache: z.ZodOptional\<z.ZodBoolean>;}, z.core.$strict>>; domains... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)

## miniflare 5.20261117.0-beta breaking changes

miniflare 5.20261117.0-beta, released November 18, 2026: 1 breaking change.

- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects without a configured compatibility date now use 2026-11-17 by default. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261117.0-beta)

## miniflare 5.20261116.0-beta breaking changes

miniflare 5.20261116.0-beta, released November 18, 2026: 4 breaking changes.

- **Renamed** `analytics`  

Config-style Analytics SQL env bindings use the type analytics-sql instead of analytics. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261116.0-beta)
- **Renamed** `pipeline.name`  

Config-style pipeline env bindings use streamId instead of name. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261116.0-beta)
- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects without a configured compatibility date now use 2026-11-16 by default. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261116.0-beta)
- **Signature changed** `Plugins.stream`  

Config-style K2 env bindings use id instead of stream. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261118.0-beta)

## miniflare 5.20261113.0-beta breaking changes

miniflare 5.20261113.0-beta, released November 13, 2026: 31 breaking changes.

- **Removed** `getFlagshipService`  

getFlagshipService was removed in miniflare 5.20261113.0-beta [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261113.0-beta)
- **Removed** `list`  

Items returned by list() no longer have a remote property, matching the published binding types. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261113.0-beta)
- **Behavior changed** `listTokens`  

listTokens() returns revoked and expired tokens too, with a state field set to revoked or expired, listed after active tokens. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261113.0-beta)
- **Behavior changed** `readTree`  

readTree() and readCommit() throw INTERNAL_ERROR for an object of another type instead of returning null. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261113.0-beta)
- **Behavior changed** `revokeToken`  

revokeToken() returns false for an expired token and its state stays expired. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261113.0-beta)
- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects without a configured compatibility date now use 2026-11-13 by default. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261113.0-beta)
- **Default changed** `remote`  

When remote is omitted, Artifacts bindings in wrangler dev and the Vite plugin use the local simulator instead of deployed repos. Set remote: true on the binding to keep using deployed repos. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261113.0-beta)
- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261113.0-beta)
- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_FETCH_SERVICE: "MF-Custom-Fetch-Service"; readonly CUSTOM_NODE_SERVICE: "MF-Custom-Node-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly ORIGINAL_HOSTNAME: "MF-Original-Hostname"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261113.0-beta)
- **Signature changed** `DevConfigSchema`  

Was const DevConfigSchema: z.ZodObject<{rootPath: z.ZodDefault\<z.ZodString>; cacheAPI: z.ZodDefault\<z.ZodBoolean>; outboundService: z.ZodOptional\<z.ZodDiscriminatedUnion<\[z.ZodObject<{type: z.ZodLiteral<"fetcher">; handler... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261113.0-beta)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## miniflare 5.20261110.2-beta breaking changes

miniflare 5.20261110.2-beta, released November 13, 2026: 1 breaking change.

- **Behavior changed**  

Relative redirect targets now go through shared pathname normalization, so repeated separators are handled differently. Check redirect rules that rely on repeated slashes. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261110.2-beta)

## miniflare 5.20261110.1-beta breaking changes

miniflare 5.20261110.1-beta, released November 13, 2026: 2 breaking changes.

- **Renamed** `limits`  

The binding-level limits option moves to unsafeConfig.limits in the experimental Miniflare configuration API. Existing Wrangler and Miniflare v4 configuration keeps working through the compatibility adapter. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261110.1-beta)
- **Configuration changed** `tailConsumers`  

Entries with streaming: true must move from tailConsumers to experimental.streamingTailConsumers, without the streaming field. tailConsumers now only lists Tail Workers with a tail() handler. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261110.1-beta)

## Older versions

109 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### miniflare 5.20261110.0-beta breaking changes

miniflare 5.20261110.0-beta, released November 13, 2026: 1 breaking change.

- **Default changed** `DEFAULT_COMPAT_DATE`  

New projects and configs without a compatibility date now use 2026-11-10. Set an explicit compatibility date to keep the previous behavior. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261110.0-beta)

### miniflare 5.20261109.0-beta breaking changes

miniflare 5.20261109.0-beta, released November 13, 2026: 3 breaking changes.

- **Behavior changed**  

Miniflare now removes Container-enabled Durable Object containers on reload with changed config, on dispose, and on exit. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261109.0-beta)
- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects scaffolded and Workers with no configured compatibility date now default to 2026-11-06. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261109.0-beta)

And 1 more in this version.

### miniflare 5.20261104.0-beta breaking changes

miniflare 5.20261104.0-beta, released November 13, 2026: 4 breaking changes.

- **Behavior changed**  

Startup now fails if a local Secrets Store directory cannot be secured, belongs to another user, or is a symbolic link. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261104.0-beta)
- **Behavior changed**  

Workers can read assets but writes to local static assets and Workers Sites files are prevented. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261104.0-beta)

And 2 more in this version.

### miniflare 5.20261103.0-beta breaking changes

miniflare 5.20261103.0-beta, released November 13, 2026: 4 breaking changes.

- **Removed** `getFreshSourceMapSupport`  

Import it from @cloudflare/workers-utils/sourcemap instead; Miniflare will remove this export in a later release. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261113.0-beta)
- **Removed** `getNodeCompat`  

Import getNodeCompat from @cloudflare/workers-utils/node-compat instead; Miniflare will remove this export in a later release. [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261113.0-beta)

And 2 more in this version.

### miniflare 5.20261102.0-beta breaking changes

miniflare 5.20261102.0-beta, released November 13, 2026: 1 breaking change.

- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects scaffolded and Workers with no configured compatibility date now default to 2026-11-02. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261102.0-beta)

### miniflare 5.20261101.0-beta breaking changes

miniflare 5.20261101.0-beta, released November 13, 2026: 1 breaking change.

- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects scaffolded and Workers with no configured compatibility date now default to 2026-11-01. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261101.0-beta)

### miniflare 5.20261023.3-beta breaking changes

miniflare 5.20261023.3-beta, released October 29, 2026: 11 breaking changes.

- **Removed** `getFlagshipService`  

getFlagshipService was removed in miniflare 5.20261023.3-beta [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261023.3-beta)
- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261023.3-beta)

And 9 more in this version.

### miniflare 5.20261023.2-beta breaking changes

miniflare 5.20261023.2-beta, released October 28, 2026: 17 breaking changes.

- **Removed** `getFlagshipService`  

getFlagshipService was removed in miniflare 5.20261023.2-beta [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261023.2-beta)
- **Behavior changed**  

Explorer requests are no longer routed to the dev process that owns an app. To share flags between local processes, point them at the same persistence directory. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261023.2-beta)

And 15 more in this version.

### miniflare 5.20261023.1-beta breaking changes

miniflare 5.20261023.1-beta, released November 13, 2026: 2 breaking changes.

- **Removed** `MINIFLARE_REGISTRY_PATH`  

Set CLOUDFLARE_DEV_REGISTRY_PATH instead; Miniflare no longer reads the old variable. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261023.1-beta)
- **Default changed**  

The registry now resolves from CLOUDFLARE_DEV_REGISTRY_PATH, then unsafeDevRegistryPath, then the Cloudflare config directory. Set enableDevRegistry: false to disable it. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261023.1-beta)

### miniflare 5.20261023.0-beta breaking changes

miniflare 5.20261023.0-beta, released November 13, 2026: 1 breaking change.

- **Default changed** `DEFAULT_COMPAT_DATE`  

Projects scaffolded and Workers with no configured compatibility date now default to 2026-10-22. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261023.0-beta)

### miniflare 5.20261019.1-beta breaking changes

miniflare 5.20261019.1-beta, released November 13, 2026: 1 breaking change.

- **Behavior changed**  

Non-stream step results containing function-valued array properties now throw instead of having those properties silently dropped. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261019.1-beta)

### miniflare 5.20261012.0-beta breaking changes

miniflare 5.20261012.0-beta, released November 13, 2026: 2 breaking changes.

- **Renamed** `workers[].dev.access`  

Miniflare v5 reads the Access audience and mock identity from config.access.dev. Direct v5 users must move the setting from workers\[\].dev.access. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261012.0-beta)
- **Default changed**  

The default compatibility date now follows the bundled workerd 1.20261012.1 release, so Workers without an explicit date may behave differently. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261012.0-beta)

### miniflare 5.20261006.0-alpha breaking changes

miniflare 5.20261006.0-alpha, released November 13, 2026: 1 breaking change.

- **Behavior changed** `dispatchFetch`  

Transport failures from dispatchFetch() are now surfaced to the caller instead of being replayed, so code relying on automatic retries must retry itself. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261006.0-alpha)

### miniflare 5.20261001.0-alpha breaking changes

miniflare 5.20261001.0-alpha, released October 1, 2026: 11 breaking changes.

- **Behavior changed**  

When observability data arrives faster than it can be stored, completed spans and logs are dropped instead of slowing the Worker. The buffer size can be tuned with X_LOCAL_OBSERVABILITY_BATCH_SIZE. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261001.0-alpha)
- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_FETCH_SERVICE: "MF-Custom-Fetch-Service"; readonly CUSTOM_NODE_SERVICE: "MF-Custom-Node-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly ORIGINAL_HOSTNAME: "MF-Original-Hostname"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/5.20261001.0-alpha)

And 9 more in this version.

### miniflare 5.20260926.1-alpha breaking changes

miniflare 5.20260926.1-alpha, released October 1, 2026: 1 breaking change.

- **Behavior changed**  

Multipart upload creation now rejects oversized custom metadata through both R2 bindings and the local S3 API, returning error 10012 or HTTP 400 MetadataTooLarge. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20260926.1-alpha)

### miniflare 4.20260730.0 breaking changes

miniflare 4.20260730.0, released July 30, 2026: 5 breaking changes.

- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260730.0)
- **Signature changed** `Plugins.workflows`  

Was workflows: Plugin_2\<z.ZodObject<{workflows: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodObject<{name: z.ZodString; className: z.ZodString; scriptName: z.ZodOptional\<z.ZodString>; external: z.ZodOptional\<z.ZodBoolean>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260730.0)

And 3 more in this version.

### miniflare 4.20260722.1 breaking changes

miniflare 4.20260722.1, released July 28, 2026: 10 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260722.1)
- **Signature changed** `CorePaths`  

Was const CorePaths: {readonly PLATFORM_PROXY: "/cdn-cgi/platform-proxy"; readonly SCHEDULED: "/cdn-cgi/handler/scheduled"; readonly EMAIL: "/cdn-cgi/handler/email"; readonly HANDLER_PREFIX: "/cdn-cgi/handler/"; readonly LIVE_RELOAD... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260722.1)

And 8 more in this version.

### miniflare 4.20260722.0 breaking changes

miniflare 4.20260722.0, released July 23, 2026: 6 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260722.0)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodEffects\<z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260722.0)

And 4 more in this version.

### miniflare 4.20260721.0 breaking changes

miniflare 4.20260721.0, released July 21, 2026: 3 breaking changes.

- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_FETCH_SERVICE: "MF-Custom-Fetch-Service"; readonly CUSTOM_NODE_SERVICE: "MF-Custom-Node-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly ORIGINAL_HOSTNAME: "MF-Original-Hostname"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260721.0)
- **Signature changed** `objectEntryWorker`  

Was function objectEntryWorker(durableObjectNamespace: Worker_Binding_DurableObjectNamespaceDesignator, namespace: string): Worker; now function objectEntryWorker(durableObjectNamespace: Worker_Binding_DurableObjectNamespaceDesignator... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260721.0)

And 1 more in this version.

### miniflare 4.20260714.0 breaking changes

miniflare 4.20260714.0, released July 17, 2026: 48 breaking changes.

- **Signature changed** `BodyInit`  

Was export {BodyInit} from "undici"; now export {BodyInit_2 as BodyInit} from "undici". [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260714.0)
- **Signature changed** `CloseEvent`  

Was class CloseEvent extends Event; now class CloseEvent_2 extends Event. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260714.0)

And 46 more in this version.

### miniflare 4.20260710.0 breaking changes

miniflare 4.20260710.0, released July 15, 2026: 7 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260710.0)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodEffects\<z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260710.0)

And 5 more in this version.

### miniflare 4.20260702.0 breaking changes

miniflare 4.20260702.0, released July 7, 2026: 9 breaking changes.

- **Behavior changed**  

Local rate limit bindings that reference the same namespace_id now share one limit, while distinct namespaces stay isolated. Review tests or dev setups that relied on separate bindings having separate counters. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260702.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260702.0)

And 7 more in this version.

### miniflare 4.20260630.0 breaking changes

miniflare 4.20260630.0, released June 30, 2026: 1 breaking change.

- **Behavior changed** `cdn-cgi.local.r2.public`  

Write methods sent to the local R2 public bucket endpoint are now rejected with 401 to match r2.dev. Code that writes through this endpoint must change. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260630.0)

### miniflare 4.20260616.0 breaking changes

miniflare 4.20260616.0, released June 16, 2026: 2 breaking changes.

- **Behavior changed** `cf.image`  

Image requests using cf.image in local dev now return transformed images rather than the original bytes. Code that relied on unchanged bytes may behave differently, and Sharp must be installed for transforms to run. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260616.0)
- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260616.0)

### miniflare 4.20260611.0 breaking changes

miniflare 4.20260611.0, released June 11, 2026: 2 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260611.0)
- **Signature changed** `CorePaths`  

Was const CorePaths: {readonly PLATFORM_PROXY: "/cdn-cgi/platform-proxy"; readonly SCHEDULED: "/cdn-cgi/handler/scheduled"; readonly EMAIL: "/cdn-cgi/handler/email"; readonly HANDLER_PREFIX: "/cdn-cgi/handler/"; readonly LIVE_RELOAD... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260611.0)

### miniflare 4.20260603.0 breaking changes

miniflare 4.20260603.0, released June 4, 2026: 13 breaking changes.

- **Removed** `Plugins.web-search`  

Plugins.web-search was removed in miniflare 4.20260603.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260603.0)
- **Removed** `PluginSharedOptions.web-search`  

PluginSharedOptions.web-search was removed in miniflare 4.20260603.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260603.0)

And 11 more in this version.

### miniflare 4.20260529.0 breaking changes

miniflare 4.20260529.0, released June 1, 2026: 6 breaking changes.

- **Signature changed** `PipelineOptionsSchema`  

Was const PipelineOptionsSchema: z.ZodObject<{pipelines: z.ZodOptional\<z.ZodUnion<\[z.ZodRecord\<z.ZodString, z.ZodUnion<\[z.ZodString, z.ZodObject<{pipeline: z.ZodString; remoteProxyConnectionString... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260529.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260529.0)

And 4 more in this version.

### miniflare 4.20260526.0 breaking changes

miniflare 4.20260526.0, released May 26, 2026: 2 breaking changes.

- **Behavior changed**  

When a remote-bindings request is blocked by Cloudflare Access, the 403 response body is now replaced with a plain-text message and a warning is logged. Code that parsed the original Access HTML block page will see different content. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260526.0)
- **Signature changed** `remoteProxyClientWorker`  

Was function remoteProxyClientWorker(remoteProxyConnectionString: RemoteProxyConnectionString | undefined, binding: string, script?: () => string): {compatibilityDate: string; modules: {name: string; esModule: string;}\[\]; bindings: {name... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260526.0)

### miniflare 4.20260520.0 breaking changes

miniflare 4.20260520.0, released May 21, 2026: 1 breaking change.

- **Behavior changed**  

Exact configured routes and the upstream hostname now match request hostnames exactly, so subdomains of exact routes are rejected. Wildcard routes still match subdomains, and localhost remains allowed. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260520.0)

### miniflare 4.20260507.1 breaking changes

miniflare 4.20260507.1, released May 7, 2026: 3 breaking changes.

- **Behavior changed** `ImageMetadata.variants`  

The local hosted images mock's variants field now contains full delivery URLs at /cdn-cgi/imagedelivery/\<image_id>/\<variant> rather than bare variant names. Code that expects bare names must be updated to use the URLs. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260507.1)
- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260507.1)

And 1 more in this version.

### miniflare 4.20260507.0 breaking changes

miniflare 4.20260507.0, released May 7, 2026: 6 breaking changes.

- **Default changed** `Miniflare`  

Date and Intl APIs inside Workers now see UTC by default during local development. To keep the host timezone, pass unsafeRuntimeEnv with a TZ value such as Europe/London. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260507.0)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodEffects\<z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260507.0)

And 4 more in this version.

### miniflare 4.20260504.0 breaking changes

miniflare 4.20260504.0, released May 5, 2026: 1 breaking change.

- **Signature changed** `getGlobalServices`  

Was function getGlobalServices({sharedOptions, allWorkerRoutes, fallbackWorkerName, loopbackPort, log, proxyBindings, durableObjectClassNames, workflowOptions, allWorkerOpts}: GlobalServicesOptions): Service\[\]; now function... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260504.0)

### miniflare 4.20260430.0 breaking changes

miniflare 4.20260430.0, released April 30, 2026: 1 breaking change.

- **Removed**  

Node.js 20.x is no longer supported because it reached end-of-life; the minimum supported Node.js version is now 22.0.0. Upgrade Node.js to 22 or later. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260430.0)

### miniflare 4.20260426.0 breaking changes

miniflare 4.20260426.0, released April 28, 2026: 2 breaking changes.

- **Behavior changed**  

Flagship bindings now always access the remote Flagship service during local development and may incur usage charges. Local stub default values are no longer returned. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260426.0)
- **Configuration changed** `remote`  

The remote field for Flagship bindings is kept for compatibility but only controls whether a warning is displayed. It no longer selects local or remote mode. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260426.0)

### miniflare 4.20260424.0 breaking changes

miniflare 4.20260424.0, released April 24, 2026: 11 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260424.0)
- **Signature changed** `CorePaths`  

Was const CorePaths: {readonly PLATFORM_PROXY: "/cdn-cgi/platform-proxy"; readonly SCHEDULED: "/cdn-cgi/handler/scheduled"; readonly EMAIL: "/cdn-cgi/handler/email"; readonly HANDLER_PREFIX: "/cdn-cgi/handler/"; readonly LIVE_RELOAD... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260424.0)

And 9 more in this version.

### miniflare 4.20260420.0 breaking changes

miniflare 4.20260420.0, released April 20, 2026: 19 breaking changes.

- **Removed** `WorkerDefinition.durableObjects`  

WorkerDefinition.durableObjects was removed in miniflare 4.20260420.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260420.0)
- **Removed** `WorkerDefinition.entrypointAddresses`  

WorkerDefinition.entrypointAddresses was removed in miniflare 4.20260420.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260420.0)

And 17 more in this version.

### miniflare 4.20260415.0 breaking changes

miniflare 4.20260415.0, released April 15, 2026: 1 breaking change.

- **Behavior changed**  

Requests to /cdn-cgi/\* with a non-local Host or Origin are now refused, so internal development endpoints can no longer be reached from other hostnames. Use localhost, a configured route hostname, or the configured upstream hostname. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260415.0)

### miniflare 4.20260410.0 breaking changes

miniflare 4.20260410.0, released April 13, 2026: 7 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260410.0)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodEffects\<z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260410.0)

And 5 more in this version.

### miniflare 4.20260409.0 breaking changes

miniflare 4.20260409.0, released April 9, 2026: 2 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260409.0)
- **Signature changed** `getGlobalServices`  

Was function getGlobalServices({sharedOptions, allWorkerRoutes, fallbackWorkerName, loopbackPort, log, proxyBindings, durableObjectClassNames, workflowOptions}: GlobalServicesOptions): Service\[\]; now function... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260409.0)

### miniflare 4.20260405.0 breaking changes

miniflare 4.20260405.0, released April 7, 2026: 1 breaking change.

- **Behavior changed** `hosted.image`  

hosted.image(imageId) now returns a handle with details(), bytes(), update() and delete() methods instead of the previous return value. Code that uses the old return value must be updated to use the handle. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260405.0)

### miniflare 4.20260401.0 breaking changes

miniflare 4.20260401.0, released April 2, 2026: 5 breaking changes.

- **Signature changed** `BrowserRenderingOptionsSchema`  

Was const BrowserRenderingOptionsSchema: z.ZodObject<{browserRendering: z.ZodOptional\<z.ZodObject<{binding: z.ZodString; remoteProxyConnectionString: z.ZodOptional\<z.ZodType\<RemoteProxyConnectionString, z.ZodTypeDef... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260401.0)
- **Signature changed** `launchBrowser`  

Was function launchBrowser({browserVersion, log, tmpPath}: {browserVersion: string; log: Log; tmpPath: string;}): Promise<{sessionId: \`${string}-${string}-${string}-${string}-${string}\`; browserProcess: Process; startTime: number... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260401.0)

And 3 more in this version.

### miniflare 4.20260329.0 breaking changes

miniflare 4.20260329.0, released March 31, 2026: 3 breaking changes.

- **Removed** `LOCAL_EXPLORER_API_PATH`  

The LOCAL_EXPLORER_API_PATH constant is removed. Use CorePaths.EXPLORER instead. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260329.0)
- **Removed** `LOCAL_EXPLORER_BASE_PATH`  

The LOCAL_EXPLORER_BASE_PATH constant is removed. Use CorePaths.EXPLORER instead. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260329.0)

And 1 more in this version.

### miniflare 4.20260317.3 breaking changes

miniflare 4.20260317.3, released March 27, 2026: 8 breaking changes.

- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_FETCH_SERVICE: "MF-Custom-Fetch-Service"; readonly CUSTOM_NODE_SERVICE: "MF-Custom-Node-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly ORIGINAL_HOSTNAME: "MF-Original-Hostname"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260317.3)
- **Signature changed** `globsToRegExps`  

Was function globsToRegExps(globs?: string\[\]): MatcherRegExps; now function globsToRegExps(globs?: string\[\], {endAnchor}?: {endAnchor?: boolean;}): MatcherRegExps. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260317.3)

And 6 more in this version.

### miniflare 4.20260317.2 breaking changes

miniflare 4.20260317.2, released March 24, 2026: 18 breaking changes.

- **Signature changed** `coupleWebSocket`  

Was function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise\<void>; now function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket_2): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260317.2)
- **Signature changed** `D1OptionsSchema`  

Was const D1OptionsSchema: z.ZodObject<{d1Databases: z.ZodOptional\<z.ZodUnion<\[z.ZodRecord\<z.ZodString, z.ZodString>, z.ZodRecord\<z.ZodString, z.ZodObject<{id: z.ZodString; remoteProxyConnectionString... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260317.2)

And 16 more in this version.

### miniflare 4.20260317.1 breaking changes

miniflare 4.20260317.1, released March 20, 2026: 1 breaking change.

- **Default changed**  

The experimental local explorer UI at /cdn-cgi/explorer is now on by default. Set X_LOCAL_EXPLORER=false to turn it off. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260317.1)

### miniflare 4.20260312.0 breaking changes

miniflare 4.20260312.0, released March 13, 2026: 1 breaking change.

- **Behavior changed**  

Paths that only start with /cdn-cgi/explorer, such as /cdn-cgi/explorerfoo, now reach the user worker instead of the local explorer. Code relying on those paths must be checked. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260312.0)

### miniflare 4.20260310.0 breaking changes

miniflare 4.20260310.0, released March 10, 2026: 13 breaking changes.

- **Behavior changed**  

The experimental local explorer now validates origin and host headers on requests. Requests with headers it rejects may now fail where they previously worked. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260310.0)
- **Behavior changed**  

Container local development now prepares the egress interceptor sidecar image without the experimental compatibility flag. Local container setups may now pull and prepare this image by default. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260310.0)

And 11 more in this version.

### miniflare 4.20260302.0 breaking changes

miniflare 4.20260302.0, released February 23, 2026: 13 breaking changes.

- **Removed** `ImagesSharedOptionsSchema`  

ImagesSharedOptionsSchema was removed in miniflare 4.20260302.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260302.0)
- **Removed** `Miniflare.getImagesBinding`  

Miniflare.getImagesBinding was removed in miniflare 4.20260302.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260302.0)

And 11 more in this version.

### miniflare 4.20260301.1 breaking changes

miniflare 4.20260301.1, released March 3, 2026: 10 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260301.1)
- **Signature changed** `IMAGES_PLUGIN`  

Was const IMAGES_PLUGIN: Plugin\<typeof ImagesOptionsSchema>; now const IMAGES_PLUGIN: Plugin\<typeof ImagesOptionsSchema, typeof ImagesSharedOptionsSchema>. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260301.1)

And 8 more in this version.

### miniflare 4.20260219.0 breaking changes

miniflare 4.20260219.0, released February 19, 2026: 2 breaking changes.

- **Configuration changed**  

The maximum allowed delivery and retry delays for Queues is now 24 hours. Configurations that set longer delays may be rejected and need to be lowered. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20260219.0)
- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260219.0)

### miniflare 4.20260217.0 breaking changes

miniflare 4.20260217.0, released February 17, 2026: 2 breaking changes.

- **Signature changed** `getGlobalServices`  

Was function getGlobalServices({sharedOptions, allWorkerRoutes, fallbackWorkerName, loopbackPort, log, proxyBindings}: GlobalServicesOptions): Service\[\]; now function getGlobalServices({sharedOptions, allWorkerRoutes, fallbackWorkerName... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260217.0)
- **Signature changed** `remoteProxyClientWorker`  

Was function remoteProxyClientWorker(remoteProxyConnectionString: RemoteProxyConnectionString | undefined, binding: string): {compatibilityDate: string; modules: {name: string; esModule: string;}\[\]; bindings: {name: string; text... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260217.0)

### miniflare 4.20260210.0 breaking changes

miniflare 4.20260210.0, released February 10, 2026: 2 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly SERVICE_LOCAL_EXPLORER... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260210.0)
- **Signature changed** `USER_ERROR_CODES`  

Was const USER_ERROR_CODES: Set<"ERR_ADDRESS_IN_USE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" |... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260210.0)

### miniflare 4.20260131.0 breaking changes

miniflare 4.20260131.0, released February 3, 2026: 4 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260131.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260131.0)

And 2 more in this version.

### miniflare 4.20260128.0 breaking changes

miniflare 4.20260128.0, released January 29, 2026: 1 breaking change.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly SERVICE_LOCAL_EXPLORER... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260128.0)

### miniflare 4.20260124.0 breaking changes

miniflare 4.20260124.0, released January 27, 2026: 4 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260124.0)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodEffects\<z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260124.0)

And 2 more in this version.

### miniflare 4.20260116.0 breaking changes

miniflare 4.20260116.0, released January 20, 2026: 8 breaking changes.

- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routerConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260116.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260116.0)

And 6 more in this version.

### miniflare 4.20260114.0 breaking changes

miniflare 4.20260114.0, released January 15, 2026: 1 breaking change.

- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_FETCH_SERVICE: "MF-Custom-Fetch-Service"; readonly CUSTOM_NODE_SERVICE: "MF-Custom-Node-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly PROXY_SHARED_SECRET: "MF-Proxy-Shared-Secret"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260114.0)

### miniflare 4.20260103.0 breaking changes

miniflare 4.20260103.0, released January 7, 2026: 17 breaking changes.

- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routerConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260103.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20260103.0)

And 15 more in this version.

### miniflare 4.20251128.0 breaking changes

miniflare 4.20251128.0, released December 2, 2025: 4 breaking changes.

- **Behavior changed**  

Miniflare now enforces a minimum KV cache TTL of 30 seconds. Code that sets a shorter cache TTL will see different behavior and should use at least 30 seconds. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20251128.0)
- **Signature changed** `KVLimits`  

Was const KVLimits: {readonly MIN_CACHE_TTL: 60; readonly MAX_LIST_KEYS: 1000; readonly MAX_KEY_SIZE: 512; readonly MAX_VALUE_SIZE: number; readonly MAX_VALUE_SIZE_TEST: 1024; readonly MAX_METADATA_SIZE: 1024; readonly MAX_BULK_SIZE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251128.0)

And 2 more in this version.

### miniflare 4.20251113.0 breaking changes

miniflare 4.20251113.0, released November 18, 2025: 4 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251113.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251113.0)

And 2 more in this version.

### miniflare 4.20251011.2 breaking changes

miniflare 4.20251011.2, released November 4, 2025: 1 breaking change.

- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_FETCH_SERVICE: "MF-Custom-Fetch-Service"; readonly CUSTOM_NODE_SERVICE: "MF-Custom-Node-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly PROXY_SHARED_SECRET: "MF-Proxy-Shared-Secret"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251011.2)

### miniflare 4.20251011.1 breaking changes

miniflare 4.20251011.1, released October 23, 2025: 14 breaking changes.

- **Signature changed** `AIOptionsSchema`  

Was const AIOptionsSchema: z.ZodObject<{ai: z.ZodOptional\<z.ZodObject<{binding: z.ZodString; remoteProxyConnectionString: z.ZodType\<RemoteProxyConnectionString, z.ZodTypeDef, RemoteProxyConnectionString>;}, "strip", z.ZodTypeAny... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251011.1)
- **Signature changed** `DispatchNamespaceOptionsSchema`  

Was const DispatchNamespaceOptionsSchema: z.ZodObject<{dispatchNamespaces: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodObject<{namespace: z.ZodString; remoteProxyConnectionString: z.ZodType\<RemoteProxyConnectionString, z.ZodTypeDef... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251011.1)

And 12 more in this version.

### miniflare 4.20251011.0 breaking changes

miniflare 4.20251011.0, released October 21, 2025: 4 breaking changes.

- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251011.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20251011.0)

And 2 more in this version.

### miniflare 4.20251001.0 breaking changes

miniflare 4.20251001.0, released October 2, 2025: 1 breaking change.

- **Behavior changed**  

Unimplemented \`/cdn-cgi/handler/\` routes now get a 404 response instead of the previous behavior. Code relying on the old response for those routes must be updated. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20251001.0)

### miniflare 4.20250927.0 breaking changes

miniflare 4.20250927.0, released September 30, 2025: 3 breaking changes.

- **Signature changed** `MiniflareCoreErrorCode`  

Was type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" |... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250927.0)
- **Signature changed** `MiniflareError`  

Was class MiniflareError\<Code extends string | number = string | number> extends Error; now class MiniflareError\<Code extends string = string> extends Error. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250927.0)

And 1 more in this version.

### miniflare 4.20250923.0 breaking changes

miniflare 4.20250923.0, released September 23, 2025: 5 breaking changes.

- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250923.0)
- **Signature changed** `Plugins.worker-loader`  

Was "worker-loader": Plugin_2\<z.ZodObject<{workerLoaders: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodObject<{id: z.ZodOptional\<z.ZodString>;}, "strip", z.ZodTypeAny, {id?: string | undefined;}, {id?: string | undefined;}>>>;}, "strip"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250923.0)

And 3 more in this version.

### miniflare 4.20250917.0 breaking changes

miniflare 4.20250917.0, released September 18, 2025: 3 breaking changes.

- **Signature changed** `EmailOptionsSchema`  

Was const EmailOptionsSchema: z.ZodObject<{email: z.ZodOptional\<z.ZodObject<{send_email: z.ZodOptional\<z.ZodArray\<z.ZodIntersection\<z.ZodObject<{name: z.ZodString; remoteProxyConnectionString... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250917.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250917.0)

And 1 more in this version.

### miniflare 4.20250906.2 breaking changes

miniflare 4.20250906.2, released September 14, 2025: 3 breaking changes.

- **Signature changed** `DurableObjectsOptionsSchema`  

Was const DurableObjectsOptionsSchema: z.ZodObject<{durableObjects: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodUnion<\[z.ZodString, z.ZodObject<{className: z.ZodString; scriptName: z.ZodOptional\<z.ZodString>; useSQLite... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250906.2)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250906.2)

And 1 more in this version.

### miniflare 4.20250906.1 breaking changes

miniflare 4.20250906.1, released September 12, 2025: 4 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250906.1)
- **Signature changed** `MiniflareCoreErrorCode`  

Was type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" |... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250906.1)

And 2 more in this version.

### miniflare 4.20250816.1 breaking changes

miniflare 4.20250816.1, released August 21, 2025: 3 breaking changes.

- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250816.1)
- **Signature changed** `Worker_Binding`  

Was type Worker_Binding = {name?: string;} & ({parameter?: Worker_Binding_Parameter;} | {text?: string;} | {data?: Uint8Array;} | {json?: string;} | {wasmModule?: Uint8Array;} | {cryptoKey?: Worker_Binding_CryptoKey;} | {service?... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250816.1)

And 1 more in this version.

### miniflare 4.20250816.0 breaking changes

miniflare 4.20250816.0, released August 18, 2025: 8 breaking changes.

- **Behavior changed**  

Python example projects now use new default entrypoint handlers. Check any custom Python entrypoints if you rely on the example defaults. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250816.0)
- **Signature changed** `EmailOptionsSchema`  

Was const EmailOptionsSchema: z.ZodObject<{email: z.ZodOptional\<z.ZodObject<{send_email: z.ZodOptional\<z.ZodArray\<z.ZodIntersection\<z.ZodObject<{name: z.ZodString;}, "strip", z.ZodTypeAny, {name: string;}, {name: string;}>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250816.0)

And 6 more in this version.

### miniflare 4.20250813.1 breaking changes

miniflare 4.20250813.1, released August 14, 2025: 3 breaking changes.

- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250813.1)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250813.1)

And 1 more in this version.

### miniflare 4.20250803.0 breaking changes

miniflare 4.20250803.0, released August 5, 2025: 5 breaking changes.

- **Behavior changed** `Miniflare`  

Creating a Miniflare instance on macOS below 13.5 now throws a version error instead of continuing. Run on macOS 13.5 or later. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250803.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250803.0)

And 3 more in this version.

### miniflare 4.20250712.2 breaking changes

miniflare 4.20250712.2, released July 24, 2025: 4 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250712.2)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250712.2)

And 2 more in this version.

### miniflare 4.20250712.0 breaking changes

miniflare 4.20250712.0, released July 16, 2025: 4 breaking changes.

- **Removed** `File`  

File was removed in miniflare 4.20250712.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250712.0)
- **Signature changed** `DispatchFetchDispatcher.addHeaders`  

Was addHeaders(headers: AnyHeaders, path: string): void; now addHeaders(headers: undici.Headers, path: string): void. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250712.0)

And 2 more in this version.

### miniflare 4.20250705.0 breaking changes

miniflare 4.20250705.0, released July 8, 2025: 3 breaking changes.

- **Signature changed** `BrowserRenderingOptionsSchema`  

Was const BrowserRenderingOptionsSchema: z.ZodObject<{browserRendering: z.ZodOptional\<z.ZodObject<{binding: z.ZodString; remoteProxyConnectionString: z.ZodType\<RemoteProxyConnectionString, z.ZodTypeDef, RemoteProxyConnectionString>;}... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250705.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250705.0)

And 1 more in this version.

### miniflare 4.20250617.5 breaking changes

miniflare 4.20250617.5, released July 3, 2025: 1 breaking change.

- **Signature changed** `Runtime.updateConfig`  

Was updateConfig(configBuffer: Buffer, options: Abortable & RuntimeOptions): Promise\<SocketPorts | undefined>; now updateConfig(configBuffer: Buffer, options: Abortable & RuntimeOptions, workerNames: string\[\]): Promise\<SocketPorts |... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.5)

### miniflare 4.20250617.2 breaking changes

miniflare 4.20250617.2, released June 20, 2025: 12 breaking changes.

- **Removed** `CONTAINER_PLUGIN`  

CONTAINER_PLUGIN was removed in miniflare 4.20250617.2 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.2)
- **Removed** `CONTAINER_PLUGIN_NAME`  

CONTAINER_PLUGIN_NAME was removed in miniflare 4.20250617.2 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.2)

And 10 more in this version.

### miniflare 4.20250617.1 breaking changes

miniflare 4.20250617.1, released June 18, 2025: 31 breaking changes.

- **Removed** `mixedModeClientWorker`  

mixedModeClientWorker was removed in miniflare 4.20250617.1 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.1)
- **Renamed** `MixedModeConnectionString`  

Use RemoteProxyConnectionString instead. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.1)

And 29 more in this version.

### miniflare 4.20250617.0 breaking changes

miniflare 4.20250617.0, released June 18, 2025: 8 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.0)
- **Signature changed** `DurableObjectClassNames`  

Was type DurableObjectClassNames = Map\<string, Map\<string, {enableSql?: boolean; unsafeUniqueKey?: UnsafeUniqueKey; unsafePreventEviction?: boolean;}>>; now type DurableObjectClassNames = Map\<string, Map\<string, {enableSql?: boolean... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250617.0)

And 6 more in this version.

### miniflare 4.20250612.0 breaking changes

miniflare 4.20250612.0, released June 17, 2025: 1 breaking change.

- **Behavior changed**  

Requests made by fetch from Miniflare now have the CF-Connecting-IP header removed. Code that relies on that header being forwarded must be changed. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250612.0)

### miniflare 4.20250604.1 breaking changes

miniflare 4.20250604.1, released June 12, 2025: 8 breaking changes.

- **Removed** `ContainerController.help`  

ContainerController.help was removed in miniflare 4.20250604.1 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250604.1)
- **Signature changed** `ContainerController.constructor`  

Was constructor(containerOptions: {\[className: string\]: ContainerOptions;}, sharedOptions: ContainersSharedOptions); now constructor(containerOptions: {\[className: string\]: ContainerOptions;}, sharedOptions: ContainersSharedOptions... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250604.1)

And 6 more in this version.

### miniflare 4.20250604.0 breaking changes

miniflare 4.20250604.0, released June 11, 2025: 12 breaking changes.

- **Renamed** `ContainerService`  

Use ContainerController instead. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250604.0)
- **Default changed**  

The default registry path was changed to match wrangler's settings. Code that relies on the old default path may need to be updated. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250604.0)

And 10 more in this version.

### miniflare 4.20250525.1 breaking changes

miniflare 4.20250525.1, released June 3, 2025: 11 breaking changes.

- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routerConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250525.1)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250525.1)

And 9 more in this version.

### miniflare 4.20250525.0 breaking changes

miniflare 4.20250525.0, released May 29, 2025: 5 breaking changes.

- **Signature changed** `CoreHeaders`  

Was const CoreHeaders: {readonly CUSTOM_SERVICE: "MF-Custom-Service"; readonly ORIGINAL_URL: "MF-Original-URL"; readonly PROXY_SHARED_SECRET: "MF-Proxy-Shared-Secret"; readonly DISABLE_PRETTY_ERROR: "MF-Disable-Pretty-Error"; readonly... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250525.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250525.0)

And 3 more in this version.

### miniflare 4.20250523.0 breaking changes

miniflare 4.20250523.0, released May 27, 2025: 4 breaking changes.

- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250523.0)
- **Signature changed** `getPersistPath`  

Was function getPersistPath(pluginName: string, tmpPath: string, persist: Persistence): string; now function getPersistPath(pluginName: string, tmpPath: string, defaultPersistRoot: string | undefined, persist: Persistence): string. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250523.0)

And 2 more in this version.

### miniflare 4.20250508.3 breaking changes

miniflare 4.20250508.3, released May 20, 2025: 4 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250508.3)
- **Signature changed** `namespaceEntries`  

Was function namespaceEntries(namespaces?: Record\<string, string | {id: string; mixedModeConnectionString?: MixedModeConnectionString;}> | string\[\]): \[bindingName: string, id: string\]\[\]; now function namespaceEntries(namespaces?... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250508.3)

And 2 more in this version.

### miniflare 4.20250508.0 breaking changes

miniflare 4.20250508.0, released May 13, 2025: 19 breaking changes.

- **Behavior changed**  

Outbound requests no longer carry the CF-Connecting-IP header; code relying on it being forwarded must change. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250508.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250508.0)

And 17 more in this version.

### miniflare 4.20250507.0 breaking changes

miniflare 4.20250507.0, released May 7, 2025: 2 breaking changes.

- **Signature changed** `File`  

Was export {File} from "undici"; now export {File_2 as File} from "undici". [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250507.0)
- **Signature changed** `PlatformImpl.File`  

Was File: typeof File_2; now File: typeof File_3. [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250507.0)

### miniflare 4.20250428.0 breaking changes

miniflare 4.20250428.0, released April 29, 2025: 4 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250428.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250428.0)

And 2 more in this version.

### miniflare 4.20250422.0 breaking changes

miniflare 4.20250422.0, released April 23, 2025: 3 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250422.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250422.0)

And 1 more in this version.

### miniflare 4.20250417.0 breaking changes

miniflare 4.20250417.0, released April 22, 2025: 3 breaking changes.

- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250417.0)
- **Signature changed** `SharedOptions`  

Was type SharedOptions = z.input\<typeof CORE_PLUGIN.sharedOptions> & z.input\<typeof CACHE_PLUGIN.sharedOptions> & z.input\<typeof D1_PLUGIN.sharedOptions> & z.input\<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input\<typeof... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250417.0)

And 1 more in this version.

### miniflare 4.20250410.1 breaking changes

miniflare 4.20250410.1, released April 15, 2025: 3 breaking changes.

- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routerConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250410.1)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250410.1)

And 1 more in this version.

### miniflare 4.20250405.1 breaking changes

miniflare 4.20250405.1, released April 8, 2025: 6 breaking changes.

- **Signature changed** `CoreBindings`  

Was const CoreBindings: {readonly SERVICE_LOOPBACK: "MINIFLARE_LOOPBACK"; readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE\_"; readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK"; readonly TEXT_CUSTOM_SERVICE... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250405.1)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250405.1)

And 4 more in this version.

### miniflare 4.20250405.0 breaking changes

miniflare 4.20250405.0, released April 7, 2025: 3 breaking changes.

- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250405.0)
- **Signature changed** `SharedOptions`  

Was type SharedOptions = z.input\<typeof CORE_PLUGIN.sharedOptions> & z.input\<typeof CACHE_PLUGIN.sharedOptions> & z.input\<typeof D1_PLUGIN.sharedOptions> & z.input\<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input\<typeof... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250405.0)

And 1 more in this version.

### miniflare 4.20250321.1 breaking changes

miniflare 4.20250321.1, released March 27, 2025: 9 breaking changes.

- **Removed** `NodeJSCompatModule`  

NodeJSCompatModule was removed. It was never fully supported and never worked for deploying Workers from Wrangler. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250321.1)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250321.1)

And 7 more in this version.

### miniflare 4.20250320.0 breaking changes

miniflare 4.20250320.0, released March 22, 2025: 6 breaking changes.

- **Removed** `PluginServicesOptions.unsafeEnableAssetsRpc`  

PluginServicesOptions.unsafeEnableAssetsRpc was removed in miniflare 4.20250320.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250320.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250320.0)

And 4 more in this version.

### miniflare 4.20250319.0 breaking changes

miniflare 4.20250319.0, released March 20, 2025: 4 breaking changes.

- **Behavior changed**  

Local development RPC behavior for Workers with assets was changed to match production. Code that relied on the previous local RPC behavior may behave differently in local dev. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250319.0)
- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routerConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250319.0)

And 2 more in this version.

### miniflare 4.20250317.1 breaking changes

miniflare 4.20250317.1, released March 19, 2025: 4 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250317.1)
- **Signature changed** `MiniflareCoreErrorCode`  

Was type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" |... [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250317.1)

And 2 more in this version.

### miniflare 4.20250310.0 breaking changes

miniflare 4.20250310.0, released March 13, 2025: 20 breaking changes.

- **Removed**  

Packages in Workers SDK now support only Node versions that Node itself supports, currently v18, v20 and v22. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%404.20250310.0)
- **Removed** `Config.structuredLogging`  

Config.structuredLogging was removed in miniflare 4.20250310.0 [npmjs.com](https://www.npmjs.com/package/miniflare/v/4.20250310.0)

And 18 more in this version.

### miniflare 3.20250718.1 breaking changes

miniflare 3.20250718.1, released August 7, 2025: 4 breaking changes.

- **Behavior changed**  

Miniflare checks the macOS version and fails on unsupported versions below 13.5 instead of continuing. Users on those older macOS versions must upgrade macOS. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20250718.1)
- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250718.1)

And 2 more in this version.

### miniflare 3.20250408.2 breaking changes

miniflare 3.20250408.2, released May 22, 2025: 3 breaking changes.

- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>; path... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250408.2)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"\]>... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250408.2)

And 1 more in this version.

### miniflare 3.20250408.0 breaking changes

miniflare 3.20250408.0, released April 9, 2025: 1 breaking change.

- **Signature changed** `OverloadUnion`  

Was type OverloadUnion\<T extends (...args: any\[\]) => any> = Parameters\<T> extends \[\] ? T : OverloadUnion9\<T>; now type OverloadUnion\<T extends (...args: any\[\]) => any> = Parameters\<T> extends \[\] ? T : OverloadUnion14\<T>. [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250408.0)

### miniflare 3.20250310.2 breaking changes

miniflare 3.20250310.2, released April 3, 2025: 9 breaking changes.

- **Removed** `NodeJSCompatModule`  

NodeJSCompatModule was removed; it was never fully supported and never worked for deploying Workers from Wrangler. Stop importing or using it. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20250310.2)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250310.2)

And 7 more in this version.

### miniflare 3.20250310.0 breaking changes

miniflare 3.20250310.0, released March 11, 2025: 3 breaking changes.

- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routerConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250310.0)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250310.0)

And 1 more in this version.

### miniflare 3.20250224.0 breaking changes

miniflare 3.20250224.0, released March 5, 2025: 5 breaking changes.

- **Signature changed** `AssetsOptionsSchema`  

Was const AssetsOptionsSchema: z.ZodObject<{assets: z.ZodOptional\<z.ZodObject<{workerName: z.ZodOptional\<z.ZodString>; directory: z.ZodEffects\<z.ZodString, string, string>; binding: z.ZodOptional\<z.ZodString>; routingConfig... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250224.0)
- **Signature changed** `CoreOptionsSchema`  

Was const CoreOptionsSchema: z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250224.0)

And 3 more in this version.

### miniflare 3.20250214.2 breaking changes

miniflare 3.20250214.2, released March 4, 2025: 3 breaking changes.

- **Signature changed** `CoreSharedOptionsSchema`  

Was const CoreSharedOptionsSchema: z.ZodObject<{rootPath: z.ZodOptional\<z.ZodEffects\<z.ZodString, undefined, string>>; host: z.ZodOptional\<z.ZodString>; port: z.ZodOptional\<z.ZodNumber>; https: z.ZodOptional\<z.ZodBoolean>; httpsKey... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250214.2)
- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250214.2)

And 1 more in this version.

### miniflare 3.20250214.1 breaking changes

miniflare 3.20250214.1, released February 25, 2025: 2 breaking changes.

- **Behavior changed**  

Files with an unrecognised extension are now served without a Content-Type header. Code that relied on a default Content-Type for these files must set one itself. [github.com](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%403.20250214.1)
- **Signature changed** `AssetReverseMap`  

Was type AssetReverseMap = {\[pathHash: string\]: {filePath: string; contentType: string;};}; now type AssetReverseMap = {\[pathHash: string\]: {filePath: string; contentType: string | null;};}. [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250214.1)

### miniflare 3.20250204.1 breaking changes

miniflare 3.20250204.1, released February 13, 2025: 2 breaking changes.

- **Signature changed** `PLUGINS`  

Was const PLUGINS: {core: Plugin_2\<z.ZodEffects\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{modules: z.ZodArray\<z.ZodObject<{type: z.ZodEnum<\["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule"... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250204.1)
- **Signature changed** `WorkerOptions`  

Was type WorkerOptions = z.input\<typeof CORE_PLUGIN.options> & z.input\<typeof CACHE_PLUGIN.options> & z.input\<typeof D1_PLUGIN.options> & z.input\<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input\<typeof KV_PLUGIN.options> & z.input\<typeof... [npmjs.com](https://www.npmjs.com/package/miniflare/v/3.20250204.1)

## Related packages

- [wrangler](https://since.dev/packages/npm/wrangler.md)
- [@cloudflare/vite-plugin](https://since.dev/packages/npm/@cloudflare/vite-plugin.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
