Packages

@langchain/langgraph-sdk

1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed

Your version

1.9.22

12 Jun 2026Where it was published

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 or since when 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 optional setThreadId(threadId), which client.threads.stream(threadId, { transport }) calls when binding the active thread — including the lazily-minted id from the first submit() on a threadId: null controller. The built-in ProtocolSseTransportAdapter, ProtocolWebSocketTransportAdapter, and HttpAgentServerAdapter implement it: threadId is now optional at construction, request URLs derive from the currently-bound thread, and paths entries 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.