Skip to content

Releases: cloudflare/workers-sdk

wrangler@4.120.1

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

  • #15072 6dbd192 Thanks @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 2194f88 Thanks @emily-shen! - Update local development for Miniflare's config-based options

    Wrangler now converts the Miniflare options it creates for local development to Miniflare's config-based workers shape.

    Users should not expect to notice any changes.

  • Updated dependencies [6dbd192, 2194f88, 2194f88, 2194f88, 2194f88, 2194f88, 2194f88]:

@cloudflare/vitest-pool-workers@0.21.0

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Minor Changes

  • #14994 2194f88 Thanks @emily-shen! - Update the Workers Vitest pool for Miniflare's config-based options

    The Workers Vitest pool now converts the Miniflare options it creates for test sessions to Miniflare's config-based workers shape.

    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

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

@cloudflare/runtime-types@0.0.11

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

@cloudflare/remote-bindings@0.0.9

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

@cloudflare/pages-shared@0.13.166

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

@cloudflare/deploy-helpers@0.6.7

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

@cloudflare/config@0.5.0

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Minor Changes

  • #14994 2194f88 Thanks @emily-shen! - Export binding and export schemas

    @cloudflare/config now exports individual binding and export schemas, plus validateSingletonBindings, for callers that need to compose the Worker config schema.

@cloudflare/build-output-utils@0.1.1

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Patch Changes

  • Updated dependencies [2194f88]:
    • @cloudflare/config@0.5.0

miniflare@5.20260804.0-alpha

Pre-release

Choose a tag to compare

@workers-devprod workers-devprod released this 10 Aug 17:04
d2f377e

Major Changes

  • #14994 2194f88 Thanks @emily-shen! - Replace Miniflare's options API with Cloudflare config-based worker options

    new Miniflare() and setOptions() now require a workers array of worker entries. Binding, service, tail, remote, asset, workflow, unsafe binding, and other worker configuration now follows the schemas in packages/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 2194f88 Thanks @emily-shen! - Change the Miniflare plugin API

    Plugins 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 2194f88 Thanks @emily-shen! - Remove automatic module graph discovery

    Miniflare no longer discovers Worker modules from modules: true and modulesRules. Module workers must provide their module graph through the config manifest. Existing v4-shaped options can be migrated with convertV4MiniflareOptions(), but modulesRules cannot be converted without losing behavior.

  • #14994 2194f88 Thanks @emily-shen! - Remove internal or redundant options from Miniflare's config

    Miniflare no longer accepts service designator objects such as { network }, { external }, and { disk } on outboundService, tails, or streamingTails.

    Miniflare also no longer supports unsafeExcludeFromObservability, which has been dropped in favour of unsafeRegisterWorker.

  • #14994 2194f88 Thanks @emily-shen! - Remove support for legacy alpha D1 (__D1_BETA__) bindings

    Miniflare no longer supports deprecated beta D1 instances created before wrangler@3.3.0.

Minor Changes

  • #14994 2194f88 Thanks @emily-shen! - Add convertV4MiniflareOptions for migrating Miniflare v4 options

    You can now convert v4-shaped Miniflare options to the config-based workers shape 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 6dbd192 Thanks @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