@langchain/langgraph-api
1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/langgraph-api From 1.7.0 to 1.8.1
4 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.7.1
Release by release
- 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
- New
- Fixed
The
messagesandeventsstream modes now skip calls taggednostreamorlangsmith:nostream(LangGraph.js'sTAG_NOSTREAM), asmessages-tuplealready does. Before,messagesstreamed the tokens of calls taggedlangsmith:nostream, andeventsstreamed every tagged call. Ineventsmode the skip covers everything that runs inside a tagged call, so a run whose config tags arenostreamstreams noevents.
- Fixed
- Fixed
A
run.startthat forks from a checkpoint (forkFromin 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.
- Fixed
- Deprecated
POST /threads/:thread_id/historytakesbeforeas a checkpoint config, as the SDK sends it and the Python Agent Server takes it, so paging withgetHistory({ 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
GETandPOST /threads/:thread_id/historyhonorselect, as the Python Agent Server does: each state keeps only the fields named, andvalues.<key>keeps one key of the values. An unknown field is rejected with HTTP 400.
- Deprecated
4 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.