What changed
langchain 1.6.8 and @langchain/core 1.5.1 for JavaScript (November 24, 2026) deprecate these streaming APIs:
- content-block
streamEvents() on chat models (called with no version) and streamV2,
streamEvents(..., { version: "v3" }) on agents,
streamEvents with version: "v1" on chat models,
- the helpers
streamTransformers, createToolCallTransformer, createSubagentTransformer, AgentRunStream, SubagentRunStream, ToolCallStreamUnion and InferStreamExtensions.
streamEvents with version: "v2" on chat models is no longer marked deprecated. The releases are patch-level, so deprecated calls still run.
Who this affects
LangChain.js apps that stream chat model output through content-block streamEvents(), or stream agents with the v3 event format.
What to do
Move to .stream() or to v2 events, which the release names as the replacements:
model.streamEvents(input, { version: "v2" })
Not confirmed
The release does not say when the deprecated APIs will be removed, and gives no migration guide for v3 agent streaming.