OpenAICloudflare Developer PlatformJun 4, 2026, 12:00 AM

Pipelines, Workers - Pipeline binding configuration field renamed to stream

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

Pipeline binding configuration field renamed to stream

Key Points

  • pipeline → stream field renamed
  • Old field deprecated but still accepted
  • No runtime or binding changes

Summary

The field name inside the pipelines binding block in your Wrangler config has been renamed from pipeline to stream. The old pipeline field is deprecated but still accepted; update your config to stream to avoid deprecation warnings.

Key Points

  • Replace pipeline with stream in wrangler.jsonc / wrangler.toml pipeline bindings.
  • No other changes required: binding names, TypeScript types, and runtime API remain the same (e.g. env.MY_PIPELINE.send(...)).
  • The old pipeline field continues to be accepted temporarily but will produce a deprecation warning.

Example

Before (deprecated):

{
  "$schema": "./node_modules/wrangler/config-schema.json",
  "pipelines": [
    { "binding": "MY_PIPELINE", "pipeline": "<STREAM_ID>" }
  ]
}
[[pipelines]]
binding = "MY_PIPELINE"
pipeline = "<STREAM_ID>"

After (update to avoid warning):

{
  "$schema": "./node_modules/wrangler/config-schema.json",
  "pipelines": [
    { "binding": "MY_PIPELINE", "stream": "<STREAM_ID>" }
  ]
}
[[pipelines]]
binding = "MY_PIPELINE"
stream = "<STREAM_ID>"

For more information, see the documentation on writing to streams.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

Pipelines、Workers - パイプラインバインディング設定フィールドが stream に改名

パイプラインバインディング構成ファイル内の pipeline フィールドが stream に名称変更されました。旧フィールドは非推奨ですが引き続き受け付けられます。非推奨警告を回避するために、構成を stream に更新してください。

変更前(非推奨)

wrangler.jsonc

{
  "$schema": "./node_modules/wrangler/config-schema.json",
  "pipelines": [
    {
      "binding": "MY_PIPELINE",
      "pipeline": "<STREAM_ID>"
    }
  ]
}

wrangler.toml

[[pipelines]]
binding = "MY_PIPELINE"
pipeline = "<STREAM_ID>"

変更後

wrangler.jsonc

{
  "$schema": "./node_modules/wrangler/config-schema.json",
  "pipelines": [
    {
      "binding": "MY_PIPELINE",
      "stream": "<STREAM_ID>"
    }
  ]
}

wrangler.toml

[[pipelines]]
binding = "MY_PIPELINE"
stream = "<STREAM_ID>"
  • 他に変更は不要です。
  • バインディング名、TypeScript の型、およびランタイム API(例: env.MY_PIPELINE.send(...))はそのままです。

詳しくは「Writing to streams」を参照してください。