Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: Pipeline binding configuration field renamed to stream
description: The pipeline field in Wrangler pipeline binding configuration has been renamed to stream. The old field is deprecated but still accepted.
products:
- pipelines
- workers
date: 2026-05-08
---

import { WranglerConfig } from "~/components";

The `pipeline` field inside the `pipelines` binding configuration in your [Wrangler configuration file](/workers/wrangler/configuration/) has been renamed to `stream`. The old field is deprecated but still accepted.

Update your configuration to use `stream` to avoid the deprecation warning.

**Before (deprecated):**

<WranglerConfig>

```jsonc
{
"pipelines": [
{
"binding": "MY_PIPELINE",
"pipeline": "<STREAM_ID>"
}
]
}
```

</WranglerConfig>

**After:**

<WranglerConfig>

```jsonc
{
"pipelines": [
{
"binding": "MY_PIPELINE",
"stream": "<STREAM_ID>"
}
]
}
```

</WranglerConfig>

No other changes are required. The binding name, TypeScript types, and runtime API (`env.MY_PIPELINE.send(...)`) remain the same.

For more information on configuring pipeline bindings, refer to [Writing to streams](/pipelines/streams/writing-to-streams/#configure-pipeline-binding).
8 changes: 6 additions & 2 deletions src/content/docs/pipelines/streams/writing-to-streams.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ Add a pipeline binding to your Wrangler file that points to your stream:
{
"pipelines": [
{
"pipeline": "<STREAM_ID>",
"binding": "STREAM"
"binding": "STREAM",
"stream": "<STREAM_ID>"
}
]
}
```
</WranglerConfig>

:::note
The `pipeline` field in the `pipelines` binding configuration has been renamed to `stream`. Existing configurations that use `pipeline` will continue to work, but Wrangler will display a deprecation warning. Update your configuration to use `stream` instead.
:::

### Workers API

The pipeline binding exposes a method for sending data to your stream:
Expand Down
Loading