@langchain/langgraph-sdk
1.17.0 · 17 Nov 2026MIT5.6M / weekRepositoryHomepagenpmAtom feed
1.17.0 is the newest release of 1.x.
In short
4 fixed
Release note
Patch Changes
sdk: Stop retrying cancelled requests, release abort listeners and emit CR-terminated SSE lines at once
A request cancelled with an
AbortSignalortimeoutMsis no longer retried. NativeAbortErrorandTimeoutErrorexceptions were retried with backoff, so callingstop()before the server answered keptisLoadingon for 15 to 30 seconds.A request with a timeout no longer leaves an abort listener on the caller's signal, so reusing one signal for many requests stops piling up listeners. Runtimes without
AbortSignal.any(Safari before 17.4, Node before 20.3) still hold one listener per request until its timeout fires or it is cancelled.The SSE decoder emits a line ending in a bare CR as soon as it arrives instead of holding it until the next chunk, and no longer drops the blank line of a stream that ends with CR.
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.