Minor Changes
-
#13234
7fc50c1Thanks @natewong1313! - Support serving videos locally, addpublicUrloption for stable stream preview URLs, and add caption upload support via ReadableStreamVideos uploaded while in local mode are now served at
/cdn-cgi/mf/stream/<video-id>/watch. Thepreviewfield inStreamVideois now directly fetchable during development.A new
publicUrloption onMiniflareOptionsallows callers (e.g. Wrangler, the Vite plugin) to advertise a stable, externally-reachable URL for the Miniflare instance. When set, Stream preview URLs use this value instead of the runtime entry URL, so they remain valid across runtime restarts and port changes. The same value is also exposed as a mutableminiflare.publicUrlproperty.The helper functions
buildPublicUrlandgetLocallyAccessibleHostare now exported fromminiflare, enabling consumers to construct client-reachable URLs that correctly handle IPv6 addresses (bracketing) and wildcard listen addresses (0.0.0.0,::,*→127.0.0.1).Caption uploads via
ReadableStreamare now supported in local mode. They no longer throw a "not supported in local mode" error.
Patch Changes
-
#13633
3494842Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260421.1 1.20260422.1 -
#13645
7d728fbThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260422.1 1.20260423.1 -
#13657
df9319dThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260423.1 1.20260424.1 -
#13659
3ceeec3Thanks @petebacondarwin! - Make the dev registry watcher reliable on WindowsThe filesystem-based dev registry used
chokidarwith default settings, which on Windows backs ontofs.watch(ReadDirectoryChangesW). That API is known to drop or delay create events for files added shortly after the watcher attaches, which is especially common under CI virtualization. When this happened, a process that had attached its watcher before another process registered its worker would never be notified of the new entry until the next 30-second heartbeat — long enough to time out cross-process service-binding calls.Switch to chokidar's polling mode on Windows so the dev registry observes cross-process worker registrations reliably. The registry directory is small and a 100ms poll interval has negligible cost. Non-Windows platforms continue to use the more efficient native filesystem-event backend.
-
#13560
7567ef7Thanks @vaishnav-mk! - Preserve NonRetryableError message and name when theworkflows_preserve_non_retryable_error_messagecompatibility flag is enabled, instead of replacing it with a generic error message. -
#13644
377715dThanks @MattieTK! - Update@clack/coreand@clack/promptsto v1.2.0Bumps the bundled
@clack/coredependency used internally by@cloudflare/clifrom0.3.xto1.2.0, and the@clack/promptsdependency increate-cloudflarefrom0.6.xto1.2.0. Clack v1 includes a number of API changes, but no user-facing prompt behaviour changes are expected.