pypi / langgraph
langgraph
What changed in langgraph 0.6 to 1, from its official release notes, upgrade guides and advisories. Also covers langgraph-checkpoint-sqlite, langgraph-cli, langgraph-sdk. Sources checked 2026-11-20.
14 breaking2 security1 deprecations22 new APIs and options2 performance16 behavior and defaults3 tooling73 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlanggraph 1132 changes
Breaking changes 14
Messages and tools events now use the namespace of their graph.
DeltaChannel now takes a full snapshot every 100 updates instead of 1000, making reads on long threads faster at the cost of more storage. Pass snapshot_frequency=1000 to keep the old behavior.
Each bulk_update_state update now gets its own task id.
Delta channel replay is ordered by task path.
An update_state Overwrite that resets a DeltaChannel now snapshots that channel.
Answered interrupts are no longer reported in state results.
Replaying an update checkpoint after the thread has moved past it now forks first.
Tags were dropped from TracePolicy.
ProtocolEvent.eventId is renamed to event_id to match the wire field.
ReplayState is no longer propagated to subgraphs on plain resume.
The default for the base cache was flipped, changing cache behavior for developers who rely on the default.
The default recursion limit changed, affecting runs that rely on the default limit.
Drops Python 3.9 support.
Restricts JSON type deserialization, which may affect values that previously deserialized as types.
Security 2
LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests
LangGraph checkpoint loading has unsafe msgpack deserialization
Deprecations 1
Dict-style access and membership checks remain available for compatibility but emit a LangGraphDeprecatedSinceV11 warning; migrate to .value and .interrupts before removal in v3.0.
New APIs and options 22
A strict resume mode refuses stale interrupt answers.
PostgresSaver and AsyncPostgresSaver gain prune.
Adds response_schema to interrupt(), allowing developers to specify a response schema.
add_node now exposes trace_policy, allowing developers to configure tracing policy for a node.
The v3 stream_events return is typed and supports native projections.
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 a before_builtins opt-in for stream transformers.
Adds set_node_defaults() to StateGraph for setting node defaults.
Adds LangSmith integration metadata to LangGraph.
Context was added for the remote graph API.
A new result type for invoke() and ainvoke() with version="v2" exposes graph output through .value and interrupts through .interrupts.
With version="v2", invoke() and ainvoke() return a GraphOutput with value and interrupts; non-values stream modes return a list of StreamPart objects. Pydantic and dataclass state outputs are coerced to their declared type.
With version="v2", stream() and astream() yield typed StreamPart dicts with type, ns, and data fields; values parts also include interrupts. The default remains v1.
A discriminated union for v2 stream output enables type narrowing by part["type"]; stream-mode-specific TypedDicts are also importable from langgraph.types.
Custom encryption at rest is now supported.
Stream events now include an id, allowing developers to access the event identifier.
The assistants search response now includes pagination.
Adds Overwrite to bypass a reducer when updating a value.
Performance 2
Skips message conversion for plain messages.
The SQLite checkpoint implementation uses a streaming walk to retrieve delta channel history.
Behavior and default changes 15
Send-dispatched tool calls now receive the same state as an edge.
A child graph is streamed on its own thread when a caller streams subgraphs.
Each interrupt() in a task now has its own id.
Graph node metadata now lists ToolNode tool names.
Failed task results are now streamed.
The last checkpoint of a run stopped by interrupt_after or the recursion limit is now streamed.
Every message written to a messages DeltaChannel now gets an id.
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.
Delta-history APIs are marked as beta.
DeltaChannel is marked as beta.
Error-handler resumes are durable across host crashes.
ToolNode tools can now return a list of Command or ToolMessage values.
The runtime provides more execution information.
Checkpointer types are now validated at compile time.
Tooling 3
The CLI now allows langgraph-api versions up to 1.0.0.
The CLI supports remote builds for langgraph deploy.
The dev server now passes through webhook configuration.
Fixes and other changes 73
Avoids warning races in dynamic schemas.
Filters pending writes to the given tasks before reading their statuses.
Checks only failed futures for the runner stop condition.
Finds untracked and delta channels once per run.
Matches update keys against a set on wide states.
Matches whole namespace segments when getting subgraphs.
Reads an undeclared subgraph namespace with the parent graph.
Node-output messages are emitted from a graph streamed inside a node.
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.
error_handler can now recover on every path.
Tags are no longer duplicated at every subgraph level.
An explicit recursion_limit equal to the default is now applied.
When streaming with subgraphs=True, the caller's namespace is preserved.
A resumed Command's update is now applied once.
DeltaChannel keeps its value when its field changes to a plain reducer.
Other tasks now finish when a resume value is invalid.
A resumed exit run's pending writes are now saved once.
A subgraph no longer reruns its finished tasks on resume.
astream_events no longer drops control or interrupts on v1 or v2.
Writes from a cached node are saved as if the node ran.
A failed DeltaChannel write no longer allows saving a later checkpoint.
An exit run from a checkpoint stays out of a newer branch after the thread has moved past it.
A resumed exit-mode run replays its delta writes in live order.
A run's DeltaChannel input is read back only on that run's checkpoints.
A fork's DeltaChannel snapshot no longer starts nodes that never ran.
A drain requested before an interrupt_before breakpoint now stops at that breakpoint.
Exit-mode delta writes are no longer stored under the null task id.
ToolNode no longer swallows invalid resume values.
Writes from an update_state input are stored on the checkpoint it updates.
DeltaChannel counters are preserved on every update_state path.
History is no longer traversed for a DeltaChannel that has never been written.
An abandoned branch is no longer replayed into a DeltaChannel fork.
Subgraph delta channels are hydrated with the saver resolved by the caller.
An update to an older checkpoint is kept out of the checkpoint’s other branches.
Fixes typing for undeclared v3 stream projections.
Writes are now collected at plain-value seeds in delta channel history.
TracePolicy deletion was reverted, so the API remains available.
Fixes metadata and counters for the delta channel.
On a fresh thread, updateState on the delta channel now forces a snapshot instead of a stub checkpoint.
Snapshots now handle overwrite supersteps in DeltaChannel.
Overwrite now survives JSON roundtrips.
Exit-mode delta task_ids emitted for langgraph-api are now valid UUIDs.
Nested subgraphs now inherit the parent checkpoint_ns, fixing a regression in 1.2.3.
Running subgraphs are now canceled when a v3 stream aborts.
Merges 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 rather than overwrites callbacks, tags, metadata, and configurable.
BaseMessages with id=None receive stable IDs 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 with the default sentinel used for the recursion limit.
The stream part generic order was fixed, affecting developers who use stream part types.
Fixes a replay bug involving direct calls to subgraphs.
Replay behavior for parent graphs and subgraphs is fixed.
Fixed sequential interrupt handling with the functional API.
Fixed double streaming of Pydantic messages.
Fixed compatibility with aiosqlite's breaking change.
Corrects the misspelling BaseMessge to BaseMessage.
Namespace sanitization was fixed for deeply nested graph jumps.
Fixes interrupt stream mode values.
Pending writes are no longer applied when updating state.
Exports REMOVE_ALL_MESSAGES in __all__, making it available through the module's public exports.
Fixes unexpected behavior when stream_mode is a sequence that is not a list.
Fixes previous edge cases, including cases involving 0.
UntrackedValue is no longer persisted.
Adds cursory support for Python 3.14.
langgraph 0.61 changes
Behavior and default changes 1
LangGraph 0.6.* allows checkpoint 3.0, expanding the compatible checkpoint versions developers can use.