github cloudflare/workers-sdk miniflare@5.20261123.0-beta

Minor Changes

  • #17129 5b45f32 Thanks @edmundhung! - Support captions.get() and customerCode in the local Stream binding

    The 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 throws NotFoundError as the API does. Videos also include customerCode, set to "placeholder" to match the placeholder subdomain in local playback URLs.

  • #17024 00413bb Thanks @edmundhung! - Start even when a binding refers to a Worker that isn't running

    A 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 657179d Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-23

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17070 657179d Thanks @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 7afc49c Thanks @samarthyadavv! - Honor KV bulk read options in Local Explorer

    Local Explorer now parses values when type: "json" is set and includes metadata when withMetadata: true is set. Both options also work together, including when using cf kv keys bulk-get --local.

    Bulk reads also preserve metadata for stored JSON null values when requested. Missing keys still return bare null.

  • #17119 086706d Thanks @tw4! - Honor start_after when listing R2 objects through the Local Explorer API

    Previously, the local R2 list objects endpoint ignored the start_after query parameter, so a listing resumed from a saved key returned that key again. Local listings now only return objects whose keys sort after start_after, matching the R2 list objects API.

  • #17090 5bc7dba Thanks @pelle! - Fix unsafeEvictDurableObject() blocking the Node.js event loop

    Dev control calls (evictDurableObject() and execDurableObjectSql()) were proxied synchronously with Atomics.wait(). Eviction waits for the Durable Object's waitUntil() work, so if that work was waiting on Node.js (for example a function-valued service binding or node-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 086706d Thanks @tw4! - Fix local R2 listings repeating a page when startAfter and cursor are used together with some Unicode keys

    When 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 startAfter could then return the same page forever. Keys are now compared in the same order they are listed in.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.