Repository navigation
miniflare@5.20261123.0-beta
Pre-releaseMinor Changes
-
#17129
5b45f32Thanks @edmundhung! - Supportcaptions.get()andcustomerCodein the local Stream bindingThe local Stream binding now implements the Stream fields added in
@cloudflare/workers-types.captions.get(language)returns the stored WebVTT file for an uploaded caption. Generated captions have no content in local mode, so they return an empty WebVTT file, and a missing caption throwsNotFoundErroras the API does. Videos also includecustomerCode, set to"placeholder"to match the placeholder subdomain in local playback URLs. -
#17024
00413bbThanks @edmundhung! - Start even when a binding refers to a Worker that isn't runningA service, Durable Object or Workflow binding to a Worker that isn't running now always fails only when it's used, and events sent to a tail consumer that isn't running are dropped. Before, Miniflare failed to start when the dev registry was disabled, as it is in the Vitest plugin.
Patch Changes
-
#17070
657179dThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-23Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#17070
657179dThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20261119.1 ^5.20261123.1 workerd 1.20261119.1 1.20261123.1 -
#17101
7afc49cThanks @samarthyadavv! - Honor KV bulk read options in Local ExplorerLocal Explorer now parses values when
type: "json"is set and includes metadata whenwithMetadata: trueis set. Both options also work together, including when usingcf kv keys bulk-get --local.Bulk reads also preserve metadata for stored JSON
nullvalues when requested. Missing keys still return barenull. -
#17119
086706dThanks @tw4! - Honorstart_afterwhen listing R2 objects through the Local Explorer APIPreviously, the local R2 list objects endpoint ignored the
start_afterquery parameter, so a listing resumed from a saved key returned that key again. Local listings now only return objects whose keys sort afterstart_after, matching the R2 list objects API. -
#17090
5bc7dbaThanks @pelle! - FixunsafeEvictDurableObject()blocking the Node.js event loopDev control calls (
evictDurableObject()andexecDurableObjectSql()) were proxied synchronously withAtomics.wait(). Eviction waits for the Durable Object'swaitUntil()work, so if that work was waiting on Node.js (for example a function-valued service binding ornode-handler), Node.js could never answer and eviction failed after workerd's 30 second timeout. These calls are now always asynchronous. A rejected RPC call made through the proxy is now also parsed as an asynchronous response, so errors such as evicting a Durable Object that is not running are still thrown. -
#17119
086706dThanks @tw4! - Fix local R2 listings repeating a page whenstartAfterandcursorare used together with some Unicode keysWhen both options were passed, the local R2 simulator picked the later of the two using JavaScript string comparison, which orders some characters (such as fullwidth letters and emoji) differently from how keys are stored and listed. Paginating with a saved
startAftercould then return the same page forever. Keys are now compared in the same order they are listed in.