Packages

@langchain/langgraph-sdk

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

Your version

1.11.2

21 Sep 2026Where it was published

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 in additional_kwargs, including messages returned by awaiting a StreamingMessage.

    • Expose finish reasons and provider response metadata in response_metadata across message roles, accepting both Python metadata and JavaScript responseMetadata event fields.

    • Populate the standard AI usage_metadata field while retaining additional_kwargs.usage for 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_final marker 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.