Packages

@langchain/langgraph-sdk

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

Upgrading @langchain/langgraph-sdk From 1.12.10 to 1.13.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.12.10Newest 1.x, Latest1.17.0
  1. 1.12.10yours
  2. 1.13.0target
0
changes to make
0
advisories fixed
3
new
4
fixes

Release by release

  1. 1.13.0

    5 Nov 20263 new · 4 fixes
    • New

      client.runs.stream and client.runs.joinStream take streamNamespaces, the namespaces of a run to stream ("" is the root graph), each without the subagents it starts. Servers that support it report stream_namespaces in /info; older servers ignore it and send every event. A reconnect no longer re-sends query params its Location already carries, so the URL stops growing on every reconnect.

    • New

      Add a reason option to client.runs.cancel. Set reason: "taken" to mark run input absorbed for steering; the server records a cancel_reason starting with taken:.

    • New

      Add cancel_reason to the Run type and to RunSelectField. The Agent Server returns why a run was cancelled, but callers had to cast to read it.

    • Fixed

      Type the end event that closes a run stream as EndStreamEvent: its data carries the run's run_id and final status, or is null from servers that send it without data.

    • Fixed

      When the threadId option of useStream changes while the last run's values still hold a pending headless tool call, the hook no longer runs that tool again. It also no longer resumes the new thread, or a thread it creates after a switch to null, with the previous thread's interrupt id. Passing back the threadId of a thread submit created no longer runs its pending tool again either.

    • Fixed

      The client no longer sends a POST or PATCH request again after it may have reached the server, so a retry can no longer create a second run or repeat a protocol command. These requests are now retried only when the connection failed before they were sent (for example, the connection was refused or the host was not found). GET, HEAD, OPTIONS, PUT and DELETE requests are retried as before.

    • Fixed

      ThreadsClient.getState and ThreadsClient.getHistory accept a select option to return only some fields, e.g. select: ["values.messages"] to read a single state key. Exports the new ThreadStateSelectField type and the existing ThreadSelectField type from the package root.

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.