pypi / langgraph-checkpoint
langgraph-checkpoint
What changed in langgraph-checkpoint 1, from its official release notes, upgrade guides and advisories. Also covers langgraph-checkpoint-postgres. Sources checked 2026-11-20.
4 breaking1 deprecations17 new APIs and options3 performance12 behavior and defaults2 tooling64 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlanggraph-checkpoint 1103 changes
Breaking changes 4
DeltaChannel now takes a full snapshot every 100 updates instead of 1000; pass snapshot_frequency=1000 to keep the old behavior.
TracePolicy no longer includes tags.
Rename ProtocolEvent.eventId to event_id to match the wire field.
Plain resume no longer propagates ReplayState to subgraphs.
Deprecations 1
Dict-style access and membership checks on GraphOutput still work but are deprecated; use result.value and result.interrupts instead.
New APIs and options 17
A strict resume mode refuses stale interrupt answers.
PostgresSaver and AsyncPostgresSaver gain prune.
Adds response_schema to interrupt().
Exposes trace_policy on add_node, allowing developers to set the trace policy for a node.
Tool-dispatched subagents can be named via lc_agent_name.
sdk-py adds messages and tool call projections.
RemoteGraph adds v3 streaming support.
sdk-py adds v3 streaming primitives and an SSE transport.
sdk-py adds websocket stream transports.
Adds before_builtins as an opt-in for stream transformers.
Adds set_node_defaults() to StateGraph.
Adds LangSmith integration metadata to langgraph.
Execution info was added to the runtime.
Adds context for the remote graph API.
With version="v2", invoke() and ainvoke() return a GraphOutput with .value and .interrupts attributes.
The v2 streaming format yields typed StreamPart dictionaries; mode-specific part types are importable from langgraph.types.
Passing version="v2" to stream(), astream(), invoke(), or ainvoke() opts into typed streaming and invocation outputs; v1 remains the default.
Performance 3
Skips message conversion for plain messages.
Finds untracked and delta channels once per run.
The SQLite checkpoint implementation overrides get_delta_channel_history with a streaming walk.
Behavior and default changes 12
A child graph streams on its own thread when a caller streams subgraphs.
Each interrupt in a task now has its own id.
Tool names are now listed in graph node metadata for ToolNode.
Each bulk_update_state update receives its own task id.
Every message written to a messages DeltaChannel now receives an id.
The v3 stream_events return is typed, with native projections.
RemoteGraph.interleave is wired to sdk-py interleave_projections.
A delta channel snapshot is forced after the maximum number of supersteps since the last snapshot.
Error handlers can resume durably across host crashes.
ToolNode tools can now return list[Command | ToolMessage], allowing tools to return multiple commands or tool messages.
The runtime provides more execution information.
With version="v2", outputs are automatically coerced to the declared Pydantic model or dataclass when the graph state schema uses one.
Tooling 2
The CLI allows langgraph-api versions up to 1.0.0.
Adds remote build support for langgraph deploy.
Fixes and other changes 64
Avoids warning races in dynamic schemas.
Send-dispatched tool calls now receive the same state as an edge.
Filters pending writes to the given tasks before reading their statuses.
Checks only failed futures for the runner stop condition.
Matches update keys against a set on wide states.
Matches whole namespace segments in get_subgraphs.
Reads an undeclared subgraph namespace with the parent graph.
Messages and tools events now use the namespace of their graph.
Graphs streamed inside a node now emit node-output messages.
RemoteGraph.stream now respects subgraphs=False when called under a streaming parent.
An awaited @task now returns its value while streaming.
A paused tool is no longer reported as failed on the tools stream.
trace_policy no longer rewrites streamed node payloads.
An explicit recursion_limit equal to the default is now applied.
RemoteGraph.stream(subgraphs=True) now keeps the caller's namespace.
A resumed Command's update is applied once.
A DeltaChannel keeps its value when its field changes to a plain reducer.
A resumed exit run's pending writes are saved once.
Other tasks now finish when a resume value is invalid.
Finished subgraph tasks no longer rerun on resume.
astream_events no longer drops control or interrupts in v1 and v2.
Writes from a cached node are saved as if the node ran.
An exit run from a checkpoint stays out of a newer branch after the thread has moved past it.
Delta channel replay is ordered by task path.
A run's DeltaChannel input is read back only on that run's own checkpoints.
A checkpoint is not saved past a failed DeltaChannel write.
Exit-mode delta writes are never stored under the null task id.
A resumed exit-mode run replays delta writes in live order.
A fork's DeltaChannel snapshot no longer starts nodes that never ran.
A drain request stops at an interrupt_before breakpoint when the request comes before it.
A DeltaChannel reset by an update_state Overwrite is snapshotted.
ToolNode no longer swallows invalid resume values.
Writes from an update_state input are stored on the checkpoint that the input updates.
Keeps DeltaChannel counters consistent across every update_state path.
Avoids walking history for a DeltaChannel that has never been written.
Prevents replaying an abandoned branch into a DeltaChannel fork.
Hydrates subgraph delta channels with the saver resolved by the caller.
Stops reporting interrupts that have already been answered.
Forks before replaying an update checkpoint when the thread has moved past it, avoiding replay into the advanced thread.
Keeps an update to an older checkpoint out of other branches.
Detects subgraphs from bytecode instead of source.
Fixes types for undeclared v3 stream projections.
Fixes collecting writes at a plain-value seed in delta channel history.
Fixes metadata and counters for the delta channel.
On a fresh thread, updateState now forces a snapshot instead of creating a stub checkpoint, fixing the delta channel bug.
Snapshot DeltaChannel overwrite supersteps correctly.
Overwrite now survives JSON roundtrips.
Exit-mode delta task_ids now emit valid UUIDs for langgraph-api.
Nested subgraphs now inherit the parent checkpoint_ns, fixing a regression introduced in 1.2.3.
Running subgraphs are now canceled when a v3 stream is aborted.
Fixes merging of lc_versions config metadata.
Fixes an updateState bug for deltaChannel on an empty thread.
Keeps _on_started backward-compatible with overrides that predate cause.
User-cancelled operations are distinguished from other cancellations.
ensure_config merges callbacks, tags, metadata, and configurable instead of overwriting them.
Assigns stable IDs to BaseMessages with id=None before DeltaChannel checkpoint writes.
Keeps tool results out of v3 messages.
Removed the strict type check that broke OTel instrumentation.
Fixed time travel when going back to an interrupt node.
Fixed execution info patching.
Avoids a collision between the recursion limit default and a sentinel value.
Fixes the generic order for stream parts.
Fixed a replay bug involving direct calls to subgraphs.
Replay behavior for parent graphs and subgraphs was fixed.