@langchain/langgraph-api
1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/langgraph-api From 1.5.6 to 1.5.7
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 9
- fixes
Release by release
- Fixed
langgraph-api: Cancel a stateless streamed run when its request drops and
on_disconnectiscancel - Fixed
The dev server's run stream joins (
GET /threads/:thread_id/runs/:run_id/stream,GET /runs/:run_id/stream) now honorstream_modeas the Agent Server does, soclient.runs.joinStream(..., { streamMode })drops other modes' events instead of returning all of the run's events. Errors always pass, and either messages mode keeps both message formats. Joins withoutstream_modeare unchanged. - Fixed
A run created on a busy thread without a
multitask_strategyis now queued (enqueue), as on the Agent Server and in the API reference, instead of being rejected with 422. - Fixed
In
messagesmode, each chat model reply streams under one message id. Anthropic sets the id only on a reply's first chunk, somessages/partialcould switch to arun-<runId>id mid-reply that never matched the id inmessages/complete.
- Fixed
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.