@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 fixed
Release note
Patch Changes
Preserve metadata from v2 message SSE events when constructing frontend message objects, so applications can inspect message provenance and model completion details without parsing raw events.
Retain namespace, graph node, callback
run_id, and message-start metadata inadditional_kwargs, including messages returned by awaiting aStreamingMessage.Expose finish reasons and provider response metadata in
response_metadataacross message roles, accepting both Pythonmetadataand JavaScriptresponseMetadataevent fields.Populate the standard AI
usage_metadatafield while retainingadditional_kwargs.usagefor compatibility. Preserve earlier usage when a finish event omits it.Keep interleaved streams at the same namespace and node separate using callback
run_id, while retaining fallback behavior for legacy events without run IDs.
These fields describe individual messages and model calls: a finish reason does not identify the final response of a graph turn, and callback run IDs are not necessarily server run IDs. This change does not add an
is_finalmarker or persist stream-only metadata into historical checkpoints.
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.