github cloudflare/workers-sdk miniflare@5.20261110.1-beta

Minor Changes

  • #16824 877b249 Thanks @jamesopstad! - Move streaming tail consumers to experimental.streamingTailConsumers in cloudflare.config.ts

    Streaming Tail Workers are now declared in a separate, experimental list instead of with streaming: true on a tailConsumers entry. tailConsumers now only lists Tail Workers with a tail() handler. This is a breaking change to the experimental config API: move each entry that set streaming: true to experimental.streamingTailConsumers, without the streaming field.

    export default defineConfig({
      worker: {
        tailConsumers: [{ worker: "tail-worker" }],
        experimental: {
          streamingTailConsumers: [{ worker: "streaming-tail-worker" }],
        },
      },
    });

    Fields under experimental may change or be removed without a major version bump. The wrangler-to-cf codemod now converts streaming_tail_consumers to experimental.streamingTailConsumers.

  • #16815 69e650c Thanks @jamesopstad! - Nest Workflow binding limits under unsafeConfig in the experimental Miniflare configuration API

    Workflow settings belong in the exports definition. Move the binding-level compatibility option from limits to unsafeConfig.limits to make its status explicit. Existing Wrangler and Miniflare v4 configuration continues to work through the compatibility adapter.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.