@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
1.17.0 is the newest release of 1.x.
In short
1 new1 fixed1 internal
Release note
Patch Changes
sdk: Reconnect SSE streams when heartbeat idle is detected
Detect half-open SSE connections by watching for server keep-alive heartbeats (
: heartbeat) and reconnecting with Last-Event-ID orsincewhen they stop."auto"mode arms only after heartbeats are observed, so long tool calls and HITL pauses do not false-fire on heartbeat-emitting servers.Allow custom
AgentServerAdapters to be late-bound and re-bound to a thread. Adapters can now implement an optionalsetThreadId(threadId), whichclient.threads.stream(threadId, { transport })calls when binding the active thread — including the lazily-minted id from the firstsubmit()on athreadId: nullcontroller. The built-inProtocolSseTransportAdapter,ProtocolWebSocketTransportAdapter, andHttpAgentServerAdapterimplement it:threadIdis now optional at construction, request URLs derive from the currently-bound thread, andpathsentries may be functions of the thread id ((threadId) => string). This lets a single custom transport back a lazy thread-creation flow instead of being pinned to one thread at construction.
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.