Packages

@langchain/langgraph-api

1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed

Upgrading @langchain/langgraph-api From 1.6.0 to 1.8.1

5 releases in betweenevery note read

Reading releases, release notes and advisories…

1
change to make
0
advisories fixed
3
new
9
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated1.7.1

Release by release

  1. 1.8.1

    20 Nov 20261 new · 1 fix
    • New

      Expose each run's LangSmith tracing project and the session-name tracing capability so Studio can look up traces from the JavaScript dev server.

    • Fixed

      langgraph-api: Preserve additional_kwargs in protocol state normalizer

  2. 1.8.0

    17 Nov 20261 fix
    • Fixed

      The messages and events stream modes now skip calls tagged nostream or langsmith:nostream (LangGraph.js's TAG_NOSTREAM), as messages-tuple already does. Before, messages streamed the tokens of calls tagged langsmith:nostream, and events streamed every tagged call. In events mode the skip covers everything that runs inside a tagged call, so a run whose config tags are nostream streams no events.

  3. 1.7.2

    12 Nov 20261 fix
    • Fixed

      A run.start that forks from a checkpoint (forkFrom in the SDK) now starts a new run from that checkpoint even while the thread waits on an interrupt. The dev server and the embed server took the fork's input as the answer to that interrupt, or refused it when several were pending, so editing a message while a run was paused dropped the edit.

  4. 1.7.1

    Deprecation10 Nov 20261 fix
    • Deprecated

      POST /threads/:thread_id/history takes before as a checkpoint config, as the SDK sends it and the Python Agent Server takes it, so paging with getHistory({ before }) no longer fails with HTTP 400. A checkpoint ID string still works but is deprecated and will be removed in 2.0.0: send { configurable: { checkpoint_id } } instead.

    • Fixed

      GET and POST /threads/:thread_id/history honor select, as the Python Agent Server does: each state keeps only the fields named, and values.<key> keeps one key of the values. An unknown field is rejected with HTTP 400.

  5. 1.7.0

    6 Nov 20262 new · 5 fixes
    • New

      langgraph-api: A run that answers interrupts by id tells the thread's other protocol clients which ones, with an input.answered event on the input channel; run streams don't carry it

    • New

      langgraph-api: Refuse a stale interrupt answer only when the run asks for it with strict_resume

    • Fixed

      langgraph-api: The protocol's failed lifecycle event carries the run error's message instead of the whole error as JSON, and a refused strict resume's reason, interrupt_ids and pending_ids

    • Fixed

      After a run that forks from a checkpoint, later runs on the thread continue from its latest state again. The dev server saved the fork's checkpoint_id (and checkpoint_ns, checkpoint_map and run_id) on the thread config, so every later run on the thread forked from the same checkpoint and dropped the new branch.

    • Fixed

      GET /threads/:thread_id/runs/:run_id/join and GET /threads/:thread_id/runs/:run_id/stream now return HTTP 404 when the run doesn't exist, is on another thread, or is hidden by the threads:read handler, as GET /threads/:thread_id/runs/:run_id does. client.runs.join() and client.runs.joinStream() then throw HTTP 404 instead of returning { __error__ } or yielding an error event, with or without lastEventId.

    • Fixed

      Run streams on the dev server take the lifecycle stream mode: an event named lifecycle|<namespace> when each subgraph starts and when it ends (completed, failed or interrupted), with the id of the tool call that started it. /info reports stream_lifecycle.

    • Fixed

      langgraph-api: The protocol's run.start reads the multitask strategy from multitask_strategy, falling back to multitaskStrategy, on the dev server and the embed server.

6 internal lines (docs, tests, tooling) left out.

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.