Releases: cloudflare/workers-sdk
Release list
wrangler@4.120.1
Patch Changes
-
#15072
6dbd192Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20260801.1 ^5.20260804.1 workerd 1.20260801.1 1.20260804.1 -
#14994
2194f88Thanks @emily-shen! - Update local development for Miniflare's config-based optionsWrangler now converts the Miniflare options it creates for local development to Miniflare's config-based
workersshape.Users should not expect to notice any changes.
-
Updated dependencies [
6dbd192,2194f88,2194f88,2194f88,2194f88,2194f88,2194f88]:
@cloudflare/vitest-pool-workers@0.21.0
Minor Changes
-
#14994
2194f88Thanks @emily-shen! - Update the Workers Vitest pool for Miniflare's config-based optionsThe Workers Vitest pool now converts the Miniflare options it creates for test sessions to Miniflare's config-based
workersshape.For the most part, users should not expect to notice any changes.
However, auxiliary workers declared in miniflare.workers that rely on relative local imports now need those imported modules to be declared explicitly in the migrated module manifest.
Patch Changes
@cloudflare/vite-plugin@1.51.2
Patch Changes
-
#14994
2194f88Thanks @emily-shen! - Update dev and preview for Miniflare's config-based optionsThe Vite plugin now converts the Miniflare options it creates for dev and preview sessions to Miniflare's config-based
workersshape.Users should not expect to notice any changes.
-
Updated dependencies [
6dbd192,2194f88,2194f88,2194f88,2194f88,2194f88,2194f88,2194f88]:- miniflare@5.20260804.0-alpha
- wrangler@4.120.1
@cloudflare/runtime-types@0.0.11
@cloudflare/remote-bindings@0.0.9
@cloudflare/deploy-helpers@0.6.7
@cloudflare/config@0.5.0
Minor Changes
-
#14994
2194f88Thanks @emily-shen! - Export binding and export schemas@cloudflare/confignow exports individual binding and export schemas, plusvalidateSingletonBindings, for callers that need to compose the Worker config schema.
@cloudflare/build-output-utils@0.1.1
Patch Changes
- Updated dependencies [
2194f88]:- @cloudflare/config@0.5.0
miniflare@5.20260804.0-alpha
Major Changes
-
#14994
2194f88Thanks @emily-shen! - Replace Miniflare's options API with Cloudflare config-based worker optionsnew Miniflare()andsetOptions()now require aworkersarray of worker entries. Binding, service, tail, remote, asset, workflow, unsafe binding, and other worker configuration now follows the schemas inpackages/miniflare/src/config/schema.ts.The previous flat options shape is no longer accepted directly. Existing v4-shaped options can be migrated with
convertV4MiniflareOptions(). -
#14994
2194f88Thanks @emily-shen! - Change the Miniflare plugin APIPlugins now receive parsed Miniflare worker and instance config instead of per-plugin option slices. Per-plugin option schema exports have been removed; unsafe plugin authors should read bindings, exports, and triggers from the parsed config passed to plugin hooks.
-
#14994
2194f88Thanks @emily-shen! - Remove automatic module graph discoveryMiniflare no longer discovers Worker modules from
modules: trueandmodulesRules. Module workers must provide their module graph through the config manifest. Existing v4-shaped options can be migrated withconvertV4MiniflareOptions(), butmodulesRulescannot be converted without losing behavior. -
#14994
2194f88Thanks @emily-shen! - Remove internal or redundant options from Miniflare's configMiniflare no longer accepts service designator objects such as
{ network },{ external }, and{ disk }onoutboundService,tails, orstreamingTails.Miniflare also no longer supports
unsafeExcludeFromObservability, which has been dropped in favour ofunsafeRegisterWorker. -
#14994
2194f88Thanks @emily-shen! - Remove support for legacy alpha D1 (__D1_BETA__) bindingsMiniflare no longer supports deprecated beta D1 instances created before
wrangler@3.3.0.
Minor Changes
-
#14994
2194f88Thanks @emily-shen! - AddconvertV4MiniflareOptionsfor migrating Miniflare v4 optionsYou can now convert v4-shaped Miniflare options to the config-based
workersshape before creating or updating a Miniflare instance. Some v4 options cannot be converted without losing behavior and will throw an error instead.
Patch Changes
-
#15072
6dbd192Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20260801.1 ^5.20260804.1 workerd 1.20260801.1 1.20260804.1