Packages

@langchain/langgraph-checkpoint

1.2.3 · 17 Nov 2026MIT5.2M / weekRepositoryHomepagenpmAtom feed

Your version

39 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.2.3

    17 Nov 2026
    • 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 get and one put per step runs 10.9x faster.

    • InMemoryStore.search stops collecting matches at offset + limit when 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 throws RangeError.

  3. 1.2.2

    30 Oct 2026
    • 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.

  4. 1.2.1

    21 Oct 2026
    • Reject colons and NUL bytes in shared store namespace labels, and reject NUL bytes in PostgreSQL store namespace labels before CRUD queries.

  5. 1.2.0

    12 Oct 2026
    • 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

      When two or more tasks in one superstep write the same DeltaChannel, their writes are now applied and replayed in (task_path, task_id, idx) order — the order Python's langgraph#8544 established — instead of task-id order. Task ids are uuid5 hashes that include the checkpoint id, so the old order permuted parallel writers from run to run and disagreed with Python.

      Upgrade notes:

    • Use locale-independent checkpoint ID ordering in MemorySaver.getTuple, list, and getDeltaChannelHistory, consistent with UUID6 timestamp order and the before filter.

    • MemorySaver.getDeltaChannelHistory reads from the thread's latest checkpoint when the config has no checkpoint_id, like getTuple and the other savers. It returned no seed and no writes before. Graphs always pass a checkpoint id, so only direct callers were affected.

  6. 1.1.6

    6 Oct 2026
    • Match InMemoryStore search prefixes at namespace segment boundaries and reject colon-containing labels. Preserve unrestricted empty-prefix searches.

  7. 1.1.5

    19 Aug 2026
    • Update checkpoint integrations to require the patched checkpoint serializer release.

  8. 1.1.4

    19 Aug 2026
    • checkpoint: Narrow re-constructable types in JsonPlusSerializer

  9. 1.1.3

    25 Jun 2026
    • langgraph-checkpoint-postgres: Prevent createAgent failures with PostgresSaver

      Add BaseCheckpointSaver.toJSON() so ConfigurableModel can stringify runnable config without traversing pg Pool timers, and default missing checkpoint maps on load/copy so resume no longer crashes on undefined versions_seen. Closes #1808.

  10. 1.1.2

    17 Jun 2026
    • langgraph: Make concurrent DeltaChannel writes deterministic on replay

      Concurrent same-superstep writes to a DeltaChannel could reconstruct from a
      checkpoint differently than they were applied live, because live execution
      ordered them by task path while savers replayed them by task id. This fixes that
      divergence in two complementary ways:

      To keep reconstruction in sync with this Overwrite rule, any DeltaChannel
      that sees an Overwrite in a super-step is now force-snapshotted at the next
      checkpoint (and, under "exit" durability, in the final checkpoint). The
      post-overwrite value is materialized into channel_values, so a cold read seeds
      from that snapshot and never has to replay across the reset — making live and
      reconstructed state identical without changing the sparse-replay history shape.
      These delta-channel APIs remain Beta.

    • langgraph: Forward task metadata and name subagents via lc_agent_name

      mapDebugTasks now forwards filtered user-meaningful task config metadata
      (including lc_agent_name) onto tasks stream payloads. The lifecycle
      transformer uses that metadata to set subagent graph_name from
      lc_agent_name and recover cause: { type: "toolCall", tool_call_id }
      from parent tool-dispatch tasks. Adds the shared EXCLUDED_METADATA_KEYS
      constant to @langchain/langgraph-checkpoint. Ports langgraph#7928.

  11. 1.1.1

    12 Jun 2026

    Only updates dependencies, nothing else changes.

  12. 1.1.0

    10 Jun 2026
    • Add DeltaChannel and the writes-history saver API (beta).

      DeltaChannel is a reducer channel that stores only a sentinel in checkpoint
      blobs instead of the full accumulated value, reconstructing state on read by
      replaying ancestor writes through a batch reducer. This avoids re-serializing
      the entire accumulated value at every step (e.g. long message histories).

      Reconstruction is wired through the Pregel read/execution paths (initialization,
      getState, updateState, local reads) and exit durability accumulates and
      anchors delta writes so threads remain reconstructible without forcing
      snapshots.

    • Add node-level timeouts.

      A timeout option is now supported on StateGraph.addNode, the functional API
      (task/entrypoint), and the Send constructor. Pass a number of milliseconds
      for a hard wall-clock cap, or a TimeoutPolicy for finer control:

      import { TimeoutPolicy } from "@langchain/langgraph";
      
      // hard wall-clock cap on each attempt
      builder.addNode("agent", agentFn, { timeout: 60_000 });
      
      // full control
      builder.addNode("agent", agentFn, {
        timeout: {
          runTimeout: 60_000, // hard wall-clock cap, never refreshed
          idleTimeout: 10_000, // cap on time without observable progress
          refreshOn: "auto", // "auto" | "heartbeat"
        },
      });
      
      // per-task override
      new Send("agent", state, { timeout: { idleTimeout: 5_000 } });

      When a timeout fires, a NodeTimeoutError (carrying node, kind
      ("run"/"idle"), timeout, elapsed, runTimeout, idleTimeout) is raised,
      the attempt's buffered writes are dropped, and the node's AbortSignal is
      aborted. idleTimeout is refreshed by observable progress (writes, custom
      stream-writer calls, child-task scheduling, callback events) or an explicit
      runtime.heartbeat() call. The timer resets per retry attempt, and
      NodeTimeoutError is retryable under the default retry policy.

      Ports langchain-ai/langgraph#7599, #7646, and #7659.

  13. 1.0.4

    1 Jun 2026

    Only updates a dependency:uuid 14.0.0

  14. 1.0.3

    29 May 2026
    • Security

      langgraph-checkpoint: Block prototype pollution in MemorySaver via reserved storage keys

      MemorySaver previously embedded thread_id, checkpoint_ns,
      checkpoint_id, and task_id directly into property accesses on the
      nested plain objects this.storage and this.writes. A caller able to
      shape any of those fields (every quickstart, tutorial, and test fixture
      uses MemorySaver by default) could pass "__proto__",
      "constructor", or "prototype" and have the subsequent assignment
      mutate Object.prototype. From that point every plain object in the
      process inherits the injected property, breaking for...in loops,
      truthy short-circuits, and downstream serializers across unrelated code
      paths. CWE-1321.

      Adds an assertSafeStorageKey chokepoint applied at every public entry
      that touches storage or writes (put, putWrites, deleteThread,
      getTuple, list). The guard rejects non-string values, the empty
      string (unless explicitly opted-in for checkpoint_ns), and the three
      prototype-pollution keys. Behaviour for valid string identifiers is
      unchanged.

  15. 1.0.2

    5 May 2026
    • Improve MemorySaver diagnostics when checkpoint writes are missing a thread_id.

      The in-memory checkpointer now explains why configurable.thread_id is required and includes a concrete graph.stream(..., { configurable: { thread_id } }) example in the error message. This makes the new thread-oriented event streaming flows easier to debug when an application forgets to provide durable thread configuration.

  16. 1.0.1

    17 Mar 2026
    • langgraph: Implement uint8array support for json plus serializer

  17. 1.0.0

    18 Oct 2025
    • Breaking

      This release updates the package for compatibility with LangGraph v1.0. See the v1.0 release notes for details on what's new.

  18. 0.1.x
  19. 0.1.2 – 0.1.32 releases without a noteShow each
  20. 0.1.1

    28 Aug 2025

    Reading the note…

  21. 0.1.0

    28 Jul 2025

    Reading the note…

  22. 0.0.x
  23. 0.0.18

    2 Jun 2025

    Reading the note…

  24. 0.0.17

    14 Apr 2025

    Reading the note…

  25. 0.0.16

    6 Mar 2025

    Reading the note…

  26. 0.0.15

    29 Jan 2025

    Reading the note…

  27. 0.0.14

    29 Jan 2025

    Reading the note…

  28. 0.0.13

    5 Dec 2024

    Reading the note…

  29. 0.0.12

    20 Nov 2024

    Reading the note…

  30. 0.0.11

    17 Oct 2024

    Reading the note…

  31. 0.0.10

    7 Oct 2024

    Reading the note…

  32. 0.0.9

    30 Sep 2024

    Reading the note…

  33. 0.0.8

    28 Sep 2024

    Reading the note…

  34. 0.0.7

    24 Sep 2024

    Reading the note…

  35. 0.0.6

    14 Sep 2024

    Reading the note…

  36. 0.0.5

    4 Sep 2024

    Reading the note…

  37. 0.0.4

    27 Aug 2024

    Reading the note…

  38. 0.0.3

    27 Aug 2024

    Reading the note…

  39. 0.0.2

    26 Aug 2024

    Reading the note…

  40. 0.0.1

    23 Aug 2024

    Reading the note…

  41. 0.0.0

    22 Aug 2024

    Reading the note…

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.