Patch Changes
-
#16824
877b249Thanks @jamesopstad! - Move streaming tail consumers toexperimental.streamingTailConsumersincloudflare.config.tsStreaming Tail Workers are now declared in a separate, experimental list instead of with
streaming: trueon atailConsumersentry.tailConsumersnow only lists Tail Workers with atail()handler. This is a breaking change to the experimental config API: move each entry that setstreaming: truetoexperimental.streamingTailConsumers, without thestreamingfield.export default defineConfig({ worker: { tailConsumers: [{ worker: "tail-worker" }], experimental: { streamingTailConsumers: [{ worker: "streaming-tail-worker" }], }, }, });
Fields under
experimentalmay change or be removed without a major version bump. Thewrangler-to-cfcodemod now convertsstreaming_tail_consumerstoexperimental.streamingTailConsumers.