@langchain/langgraph-checkpoint
1.2.3 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/langgraph-checkpoint From 0.0.18 to 1.2.3
20 releases in betweennotes for 16
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 4+
- new
- 14+
- fixes
Counted from 16 of 20 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking1.0.0
Security
- 1.0.3
langgraph-checkpoint: Block prototype pollution in MemorySaver via reserved storage keys
Release by release
- Fixed
The batched store a compiled graph wraps around its store now wakes when a call is queued instead of polling a 0 ms timer, which Node clamps to 1 ms. Store calls made from a node no longer wait about 1 ms each: a loop doing one
getand oneputper step runs 10.9x faster. - Fixed
InMemoryStore.searchstops collecting matches atoffset + limitwhen there is no query embedding, and copies only the returned page. A first page is about 20x faster on a 1,000-item namespace, and a search over a namespace with hundreds of thousands of items no longer throwsRangeError.
- Fixed
- Fixed
JsonPlusSerializer, the serializer every checkpointer uses by default, is now exported, as it is in Python, so a saver that sends checkpoints elsewhere can encode them the same way.
- Fixed
- Fixed
Reject colons and NUL bytes in shared store namespace labels, and reject NUL bytes in PostgreSQL store namespace labels before CRUD queries.
- Fixed
- New
Order parallel writes by task path, like langgraph (Python) — one sort key for live execution and every saver, instead of the task-id order #2544 added for DeltaChannel writes
- Fixed
Use locale-independent checkpoint ID ordering in
MemorySaver.getTuple,list, andgetDeltaChannelHistory, consistent with UUID6 timestamp order and thebeforefilter. - Fixed
MemorySaver.getDeltaChannelHistoryreads from the thread's latest checkpoint when the config has nocheckpoint_id, likegetTupleand the other savers. It returned no seed and no writes before. Graphs always pass a checkpoint id, so only direct callers were affected. - Fixed
Reject namespace labels that are empty, non-string or contain a period in
BaseStoregets, deletes and namespace-listing filters, matching search. Stores that use theseBaseStoremethods, such asMongoDBStore, now throwInvalidNamespaceErrorfor such labels instead of returning no results.AsyncBatchedStore(the store graph nodes receive) runs the same checks before queueing, so a namespace that fails them rejects only its own call; checks specific to the wrapped store, such as the:separator check inInMemoryStoreand the Postgres store, still run inside its batch. Its puts followBaseStore.put, so in-graph puts now reject alanggraphroot label (and an empty namespace) even if the wrapped store would accept it; forInMemoryStoreonly thelanggraphroot is newly rejected. Hierarchical prefix search, empty-prefix search and*namespace-listing wildcards are unchanged.
- New
- Fixed
Match InMemoryStore search prefixes at namespace segment boundaries and reject colon-containing labels. Preserve unrestricted empty-prefix searches.
- Fixed
- Fixed
Update checkpoint integrations to require the patched checkpoint serializer release.
- Fixed
- Fixed
checkpoint: Narrow re-constructable types in JsonPlusSerializer
- Fixed
- Fixed
langgraph-checkpoint-postgres: Prevent createAgent failures with PostgresSaver
- Fixed
2 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.