Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 22, 2025

This PR contains the following updates:

Package Change Age Confidence
langgraph >=0.2.20,<0.3 -> >=0.6.11,<0.7 age confidence

Release Notes

langchain-ai/langgraph (langgraph)

v0.6.11

Compare Source

Changes since 0.6.10

  • chore: Allow checkpoint 3.0 in 0.6.* (#​6315)

v0.6.10

Compare Source

Changes since 0.6.9

  • chore(langgraph): bump langgraph version (#​6257)
  • fix(langgraph): revert selective interrupt task scheduling (#​6252)

v0.6.9

Compare Source

Changes since 1.0.0a4

  • chore(langgraph): bump version (#​6245)
  • chore(checkpoint): bump patch version (#​6244)
  • fix(langgraph): selective interrupt task scheduling (#​6158)
  • fix(langgraph): task result from stream mode debug / tasks should match format from get_state_history / get_state (#​6233)
  • fix(langgraph): don't use rst code blocks in docstrings (#​6231)
  • docs(langgraph): standardize version-added admonitions (#​6230)
  • fix(langgraph): fix supersteps not populating task.result field (#​6195)
  • fix(langgraph): revert -- reuse cached writes on nested resume to prevent task re-execution (#​6227)
  • chore(checkpoint-postgres): bump version (#​6222)

v0.6.8

Compare Source

Changes since 1.0.0a3

  • release(langgraph): 0.6.8 (#​6215)
  • fix(langgraph): handle multiple annotations w/ BaseChannel detection (#​6210)
  • fix(langgraph): CheckpointTask.state can be a StateSnapshot (#​6201)
  • chore(langgraph): clean up ruff format config (#​6188)
  • fix(langgraph): cleanup orphaned waiter task in AsyncPregelLoop (#​6167)
  • fix(langgraph): fix graph rendering for defer=True (#​6130)
  • fix(langgraph): reuse cached writes on nested resume to prevent task re-execution (#​6161)
  • chore(sdk-py): allow UUIDs in config (#​6151)
  • revert(langgraph): restore logic to surface interrupts for stream_mod… (#​6141)
  • chore(langgraph): Log when no values event is emitted from RemoteGraph (#​6140)
  • chore(cli): Add config schema (#​6142)
  • fix(langgraph): get_graph generates unexpected conditional edge (#​6122)
  • fix(langgraph): type checking for async w/ functional API (#​6126)
  • feat(langgraph): prevent arbitrary resumes w/ multiple pending interrupts (#​6108)
  • fix(langgraph): key error on runtime for config w/o configurable (#​6106)

v0.6.7

Compare Source

Changes since 1.0.0a2

  • chore: update emphemeral local (#​6091)
  • fix: Unwrap Required/NotRequired special forms before resolving channel/reducer annotations (#​6080)
  • monorepo support in CLI (#​6028)

v0.6.6

Compare Source

Changes since 0.6.5

  • fix(langgraph): Remote Baggage (#​5964)
  • chore(langgraph): Add passthrough params/headers to invoke/stream/etc. (#​5940)
  • feat(sdk-py): client qparams (#​5918)

v0.6.5

Compare Source

Changes since 0.6.4

  • release(langgraph): 0.6.5 (#​5901)
  • fix: Persist resume_map values (#​5898)
  • feat(langgraph): implement redis node level cache (#​5834)

v0.6.4

Compare Source

Changes since 0.6.3

  • release: langgraph + prebuilt 0.6.4 (#​5854)
  • fix: mypy issue with conditional edges (#​5851)
  • fix(langgraph): support emitting messages from subgraphs when messages mode explicitly requested (#​5836)
  • perf(langgraph): Save updated_channels to checkpoint (#​5828)
  • chore(langgraph): deprecate MessageGraph (#​5843)

v0.6.3

Compare Source

Changes since 0.6.2

  • fix(langgraph): Tidy up AgentState (#​5801)
  • release: langgraph + prebuilt 0.6.3 (#​5799)
  • fix(langgraph): Add warning for incorrect node signature with mistyped config param (#​5798)
  • fix(langgraph): fix up deprecation warnings (#​5796)
  • feat(langgraph): add durability mode for invoke and ainvoke (#​5771)
  • fix(docs): Add missing imports to make examples runnable (#​5477)
  • fix(langgraph): Remove duplicate call to ensure_config (#​5768)

v0.6.2

Compare Source

Changes since 0.6.1

  • fix(prebuilt): assign context_schema to config_schema with correct condition (#​5746)
  • feat(langgraph): Add context coercion for LangGraph runtime (#​5736)

v0.6.1

Compare Source

Changes since 0.6.0

  • fix(langgraph): use parent runtime when available (#​5707)
  • fix(langgraph): inject config even when optional (#​5708)

v0.6.0

Compare Source

LangGraph v0.6

We’re excited to announce the release of LangGraph v0.6.0, another significant step toward our v1.0 milestone. This release emphasizes providing a cleaner, more intuitive developer experience for building agentic workflows. Below we’ll cover the headline improvements and minor changes.

🚀 New Context API: Simplified Runtime Context Injection

The biggest improvement in v0.6 is the introduction of the new Context API, which makes it easier to pass run-scoped context in an intuitive and type safe way.

This pattern replaces the previously recommended pattern of injecting run-scoped context into config['configurable'].

Before (v0.5):
from langchain_core.runnables import RunnableConfig
from langgraph.graph import StateGraph

def node(state: State, config: RunnableConfig):

### verbose .get() access pattern for nested dicts    
    user_id = config.get("configurable", {}).get("user_id")
    db_conn = config.get("configurable", {}).get("db_connection")
    ...

builder = StateGraph(state_schema=State, config_schema=Config)

### add nodes, edges, compile the graph...
### nested runtime context passed to config's configurable key
result = graph.invoke(
    {'input': 'abc'}, 
    config={'configurable': {'user_id': '123', 'db_connection': 'conn_mock'}}
)
After (v0.6):
from dataclasses import dataclass

from langgraph.graph import StateGraph
from langgraph.runtime import Runtime

@&#8203;dataclass
class Context:
    """Context schema defined by the developer."""    
    user_id: str    
    db_connection: str
    
def node(state: State, runtime: Runtime[Context]):

### type safe access to context attributes    
    user_id = runtime.context.user_id
    db_conn = runtime.context.db_connection
    ...

builder = StateGraph(state_schema=State, context_schema=Context)

### add nodes, edges, compile the graph...
### top level context arg is typed as Context for autocomplete and type checking
result = graph.invoke(
    {'input': 'abc'},
    context=Context(user_id='123', db_conn='conn_mock')
)

The Runtime class provides a single interface for accessing information like:

  • context: static data passed at the start of a run
  • store: storage mechanism for long term memories
  • stream_writer: custom function for writing to the graph’s output stream
  • for functional API users, previous is also available: the previous return value for the given thread

Now, instead of injecting all of the above as separate parameters to node functions,
developers can access them all through a single runtime parameter.

Migration Path
  • config_schema is deprecated in favor of context_schema, and will be removed in v2.0.0
  • The new API maintains backward compatibility for existing code
  • Gradual migration is supported with deprecation warnings for config_schema
  • get_config_jsonschema is deprecated in favor of get_context_jsonschema (though this is generally only used for graph introspection and not by most langgraph users)

🔀 Dynamic model & tool selection

create_react_agent can now dynamically choose both the model and tools at runtime using a custom context object:

from langgraph.prebuilt import create_react_agent

@&#8203;dataclass
class CustomContext:
    provider: Literal["anthropic", "openai"]
    tools: list[str]

def select_model(state, Runtime[Context]):
    model = {
        "openai": openai_model,
        "anthropic": anthropic_model,
    }[runtime.context.provider]

    selected_tools = [
        tool for tool in [weather, compass]
        if tool.name in runtime.context.tools
    ]

    return model.bind_tools(selected_tools)

agent = create_react_agent(
	select_model, 

### Initialize the agent with all known tools
	tools=[weather, compass]
)

Then invoke the agent with your desired settings:

agent.invoke(
    some_input,
    context=CustomContext(provider="openai", tools=["compass"])
)

Now agents can flexibly adapt their behavior based on runtime context.

🏗️ Durability Mode Support

LangGraph v0.6 introduces a new durability ****argument that gives you fine-grained control over persistence behavior. This provides finer grained control than its predecessor, checkpoint_during.

This was predated

  • Choose between three durability modes:
    • "exit" - Save checkpoint only when the graph exits
      • equivalent to checkpoint_during=False
      • Least durable, fastest
    • "async" - Save checkpoint asynchronously while next step executes
      • equivalent to checkpoint_during=True
      • Moderately durable, mid speed
    • "sync" - Save checkpoint synchronously before next step
      • New!
      • Highly durable, slowest
Migration Path

checkpoint_during is now deprecated in favor of the new durability argument. Backwards compatibility will be maintained until v2.0.0.

🛡️ Enhanced Type Safety and Validation

In an effort to make graph building easier for developers, we’ve enhanced the type safety of the
LangGraph APIs.

LangGraph’s StateGraph and Pregel interfaces are now generic over a graph’s:

  • state_schema
  • context_schema
  • input_schema
  • output_schema

This means that:

  • Node signatures are type checked at graph creation time
  • Input to invoke / stream is type checked against the relevant schema
  • context available via the aforementioned Runtime class matches the context_schema

🔧 A Refined Interrupt Interface

In preparation for v1.0, we’ve made a few changes to the Interrupt interface.
Interrupts now have two attributes:

  • id - a unique identifier for the interrupt
  • value - the interrupt value

In v0.6, we’ve removed the following attributes from the Interrupt class:

  • when - this was always "during" and offered no practical value
  • resumable - functionally, this is always True
  • ns - this information is now stored in a condensed format in the id attribute
  • interrupt_id has been deprecated in favor of id, but is still usable for backward compatibility

🔒 Solidified Public API Surface

Gearing up for v1.0, we’ve solidified what’s public vs. private in the LangGraph API.
We’ve also deprecated some old import paths that have supported backports for ~1 year.

These changes make it easier to maintain a higher quality public API
and reduce the surface area for potential breaking changes.

The following table summarizes the changes:

Old Import New Import Status
from langgraph.pregel.types import ... from langgraph.types import ... ⚠️ Deprecated - Will be removed in V2
from langgraph.constants import Send from langgraph.types import Send ⚠️ Deprecated - Will be removed in V2
from langgraph.constants import Interrupt from langgraph.types import Interrupt ⚠️ Deprecated - Will be removed in V2
from langgraph.channels import <ErrorClass> from langgraph.errors import <ErrorClass> ❌ Removed - All errors now centralized in langgraph.errors
from langgraph.constants import TAG_NOSTREAM_ALT from langgraph.constants import NOSTREAM ❌ Removed - Deprecated constant removed

🎯 Looking Toward v1.0

LangGraph v0.6 represents our final major changes before the stable v1.0 release.
We anticipate adhering strictly to SemVer post v1.0, leaning into a promise of stability and predictability.

Get Involved

LangGraph is an open source project, and we’d love to hear from you! We’ve rolled out a new LangChain forum for questions, feature requests, and discussions.

Please let us know what you think about the new Runtime API and other changes in v0.6, and if you have any difficulties with which we can help.

Full Changelog

  • feat(sdk-py): sdk support for context API (#​5566)
  • feat(langgraph): Implement durability mode argument (#​5432)
  • refactor(langgraph): improve Runtime interface re patch/overrides (#​5546)
  • refactor(langgraph): make constants generally private with a few select exports (#​5529)
  • refactor(langgraph): move private typing constructs in constants.py -> _internal/_typing.py (#​5518)
  • feat(langgraph): new context api (replacing config['configurable'] and config_schema) (#​5243)
  • feat(langgraph): add type checking for matching node signatures vs input_schema for add_node (#​5424)
  • change[langgraph]: clean up Interrupt interface for v1 (#​5405)
  • langgraph[change]: solidify public/private differentiations (#​5252)

v0.5.4

Compare Source

Changes since 0.5.3

  • feat(langgraph): Handle ParentCommand in RemoteGraph (#​5600)
  • fix(langgraph): ignore write to END with Command (#​5601)
  • fix(langgraph): add stacklevel=2 to the warnings to point to the caller’s codes (#​5457)

v0.5.3

Compare Source

Changes since 0.5.2

  • release(langgraph): v0.5.3 (#​5498)
  • chore[deps]: upgrade dependencies with uv lock --upgrade (#​5471)
  • docs(checkpoint-postgres): fix typo in comment (#​5486)
  • chore: add forum to readme (#​5488)
  • fix(langgraph): remove ABC spec for PregelProtocol (#​5485)
  • fix(langgraph): replace _state_schema to state_schema when accessing StateGraph (#​5436)
  • fix(checkpoint-postgres): Remove python invalid escape warning (#​5441)

v0.5.2

Compare Source

Changes since 0.5.1

  • patch[langgraph]: Fix hint for invoke/stream to allow for Command and None (#​5414)

v0.5.1

Compare Source

Changes since 0.5.0

  • langgraph[fix]: remove deprecated pydantic logic + fix schema gen behavior for typed dicts (#​5296)
  • prebuilt[patch]: import recognized tool message content block types from langchain-core (#​5275)

v0.5.0

Compare Source

LangGraph 0.5 – the “Getting-Ready-for-1.0” release 🎉

TL;DR – 0.5 is not a radical rewrite, but a scrub-down and tune-up of the LangGraph core.

APIs are a little stricter, you have more control over streaming, checkpoints are lighter, etc. 99 % of users can upgrade with nothing more than a pip install --upgrade langgraph==0.5.*.


Why 0.5?

The team’s next big milestone is a 1.0 release in a few months.

To get there we needed to:

  • lock in the few API surfaces that still felt “fuzzy”
  • prune internal code paths that made distributed execution harder
  • land long-queued performance work

0.5 is that housekeeping release.


Headline changes

1. A leaner, stricter StateGraph
  1. state_schema is now mandatory.

    “Untyped” graphs were never shown in the docs and produced surprising runtime errors. Requiring an explicit schema fixes that class of bugs and improves static analysis.

  2. input/outputinput_schema/output_schema

    The old names still work but raise a deprecation warning.

    graph = StateGraph(
        state_schema=MyState,
        input_schema=UserQuery,
        output_schema=AssistantResponse,
    )
  3. New NodeBuilder utility

    A simpler, declarative way to create nodes and attach them to channels. The old Channel.subscribe_to helper keeps working but will be removed in 1.0.

2. Smarter streaming modes
  • stream_mode="debug" is now an alias for the pair["tasks", "checkpoints"]. You can now turn them on individually:
graph.stream(stream_mode="tasks")        # only task-level updates
graph.stream(stream_mode="checkpoints")  # only checkpoint deltas

This makes it cheaper to subscribe only to the information you need.

3. Checkpointing overhaul
  • Smaller blobs & faster restores
    Redundant keys have been dropped and per-task writes are stored directly.
  • Seamless migrations
    Legacy “pending _sends” data is auto-migrated the first time it is loaded. Custom checkpointers continue to work unchanged.
4. Better serialization
  • JsonPlusSerializer now handles NumPy arrays stored in your state (including Fortran-ordered ones) without falling back to pickle.

Minor breaking changes you might notice

  1. state_schema required – add it if you were passing only input and output schemas instead (very rare).
  2. input / output renaming – rename to input_schema / output_schema.
  3. Subclassing internals – if you subclassed PregelNode and Runnable, drop the latter.

Nothing else should require code changes.


How to upgrade

pip install -U "langgraph>=0.5"

If you maintain a plugin / custom checkpointer, run your test suite once; the public interfaces are untouched.


What’s next?

We’re hard at work on LangGraph 1.0, chime in here with any comments, feedback or questions, we want to hear from everyone.

Detailed Changelog

  • feat: crons sorting sdk (#​5197)
  • feat(langgraph): task masquerading with update state
  • Add print_mode= arg to invoke/stream (#​5201)
  • Fix bug where Command(update=) could be ignored if there was a 2nd interrupt after it
  • Reduce extraneous keys in checkpoint.metadata
  • If FuturesDict callback has been GCed, don't call it
  • Add migration for pending_sends (#​5106)
  • Introduce "tasks" and "checkpoints" stream modes
  • Add migration for pending_sends
  • Restore compatibility with custom checkpointer classes created in prior versions
  • Revert "Remove UntrackedValue channel"
  • Revert "Remove MessageGraph (#​4875)"
  • fix(langgraph): remove deprecated output usage in favor of output_schema (#​5095)
  • refactor(langgraph): Remove PregelNode's inheritance from Runnable (#​5093)
  • Remove support for node reading a single managed value
  • PregelLoop: Simplify tick() method (#​5080)
  • serialize/deserialize pandas with pickle fallback (#​5057)
  • Remove code paths no longer needed
  • Avoid saving checkpoints for subgraphs when checkpoint_during=False (#​5051)
  • Remove gitmcp badge (#​5055)
  • Avoid saving checkpoints for subgraphs when checkpoint_during=False
  • Clean up things for Matt!
  • Support numpy array serialization in JsonPlusSerializer (#​5035)
  • Update ormsgpack (#​5034)
  • deprecate input and output in favor of input_schema and output_schema (#​4983)
  • using StateT as default for InputT
  • lint: use pep 604 union syntax and pep 585 generic syntax (#​4963)
  • docs: remove references to StateGraph(dict) (#​4964)
  • rename retry -> retry_policy (#​4957)
  • Fix step_timeout causing ParentCommand/GraphInterrupt exception to bubble up
  • docs: fix a grammar issue in multiple files (#​4935)
  • Make it possible to run test command without docker installed (#​4948)
  • Fix async callback manager tag handling (#​4949)
  • Pass tags when configuring async callback manager
  • Allow same-name channels and nodes in StateGraph (#​4944)
  • Make it possible to run test command without docker installed
  • docs: fix ensure_config docstring
  • Allow same-name channels and nodes in StateGraph
  • Improve type checking on graph init and invoke/stream (#​4932)
  • docs: fix a grammar issue in multiple files
  • Fix makefile command file for dev server - pidfile was always empty
  • Fix Command(graph=PARENT) when used together w checkpointer=True
  • Remove unused deprecation decorator/warning (#​4917)
  • Require state_schema in StateGraph.__init__ (#​4897)
  • Remove add_conditional_edge(..., then=) (#​4893)
  • Avoid repeated runtime calls to get_type_hints
  • Remove MessageGraph (#​4875)
  • Remove non-state Graph
  • Remove UntrackedValue channel
  • Remove UntrackedValue channel (#​4859)
  • Flip default for checkpoint_during
  • Remove Channel node builder
  • Update managed value usage in local_read (#​4854)
  • Modify stream mode messages and custom to respect subgraphs=False (#​4843)
  • Remove Checkpoint.writes (#​4822)
  • Remove Checkpoint.pending_sends (#​4820)
  • Pregel: Add NodeBuilder class to replace Channel.subscribe_to (#​4819)
  • Remove dict subclasses used for values/updates stream chunks (#​4816)
  • Remove old checkpoint test fixtures (#​4814)
  • Remove postgres shallow checkpointer (#​4813)
  • Remove ChannelsManager, ManagedValues are now static classes and never instantiated (#​4812)
  • Remove Context channel / managed value, Remove SharedValue (#​4857)
  • Pregel: Add NodeBuilder class to replace Channel.subscribe_to
  • Remove old checkpoint test fixtures
  • Remove postgres shallow checkpointer
  • Remove ChannelsManager, ManagedValues are now static classes and never instantiated
  • Remove Context channel / managed value, Remove SharedValue

v0.4.10

Compare Source

Changes since 0.4.9

  • Revert change to default value of checkpoint_during arg (#​5177)
  • Revert change to default value of checkpoint_during arg
  • Fix bug where Command(update=) could be ignored if there was a 2nd interrupt after it
  • Reduce extraneous keys in checkpoint.metadata
  • If FuturesDict callback has been GCed, don't call it
  • langgraph 0.5.0rc1
  • langgraph 0.5.0rc0
  • Preparation for 0.5 release: langgraph-checkpoint (#​5124)
  • Preparation for 0.5 release
  • Add migration for pending_sends (#​5106)
  • Lint
  • Introduce "tasks" and "checkpoints" stream modes
  • Add migration for pending_sends
  • Restore compatibility with custom checkpointer classes created in prior versions
  • Revert "Remove UntrackedValue channel"
  • Revert "Remove MessageGraph (#​4875)"
  • fix(langgraph): remove deprecated output usage in favor of output_schema (#​5095)
  • refactor(langgraph): Remove PregelNode's inheritance from Runnable (#​5093)
  • Remove support for node reading a single managed value
  • PregelLoop: Simplify tick() method (#​5080)
  • serialize/deserialize pandas with pickle fallback (#​5057)
  • Remove code paths no longer needed
  • Avoid saving checkpoints for subgraphs when checkpoint_during=False (#​5051)
  • Remove gitmcp badge (#​5055)
  • Update existing
  • Add tests
  • Avoid saving checkpoints for subgraphs when checkpoint_during=False
  • Clean up things for Matt!
  • Support numpy array serialization in JsonPlusSerializer (#​5035)
  • Update ormsgpack (#​5034)
  • deprecate input and output in favor of input_schema and output_schema (#​4983)
  • using StateT as default for InputT
  • lint: use pep 604 union syntax and pep 585 generic syntax (#​4963)
  • docs: remove references to StateGraph(dict) (#​4964)
  • rename retry -> retry_policy (#​4957)
  • Fix step_timeout causing ParentCommand/GraphInterrupt exception to bubble up
  • docs: fix a grammar issue in multiple files (#​4935)
  • Make it possible to run test command without docker installed (#​4948)
  • Fix async callback manager tag handling (#​4949)
  • Pass tags when configuring async callback manager
  • Allow same-name channels and nodes in StateGraph (#​4944)
  • Make it possible to run test command without docker installed
  • docs: fix ensure_config docstring
  • Allow same-name channels and nodes in StateGraph
  • Improve type checking on graph init and invoke/stream (#​4932)
  • docs: fix a grammar issue in multiple files
  • Fix makefile command file for dev server - pidfile was always empty
  • Fix Command(graph=PARENT) when used together w checkpointer=True
  • Remove unused deprecation decorator/warning (#​4917)
  • Require state_schema in StateGraph.__init__ (#​4897)
  • Remove add_conditional_edge(..., then=) (#​4893)
  • Avoid repeated runtime calls to get_type_hints
  • Remove MessageGraph (#​4875)
  • Remove non-state Graph
  • Remove UntrackedValue channel
  • Remove UntrackedValue channel (#​4859)
  • Flip default for checkpoint_during
  • Remove Channel node builder
  • Update managed value usage in local_read (#​4854)
  • Modify stream mode messages and custom to respect subgraphs=False (#​4843)
  • Remove Checkpoint.writes (#​4822)
  • Remove Checkpoint.pending_sends (#​4820)
  • Pregel: Add NodeBuilder class to replace Channel.subscribe_to (#​4819)
  • Remove dict subclasses used for values/updates stream chunks (#​4816)
  • Remove old checkpoint test fixtures (#​4814)
  • Remove postgres shallow checkpointer (#​4813)
  • Remove ChannelsManager, ManagedValues are now static classes and never instantiated (#​4812)
  • Remove Context channel / managed value, Remove SharedValue (#​4857)
  • Update managed value usage in local_read
  • Format
  • Remove Checkpoint.writes
  • Remove Checkpoint.pending_sends
  • Pregel: Add NodeBuilder class to replace Channel.subscribe_to
  • Lint
  • Remove old checkpoint test fixtures
  • Remove postgres shallow checkpointer
  • Remove ChannelsManager, ManagedValues are now static classes and never instantiated
  • Remove Context channel / managed value, Remove SharedValue

v0.4.9

Compare Source

Changes since 0.5.0rc1

  • Revert change to default value of checkpoint_during arg (#​5177)
  • Revert change to default value of checkpoint_during arg
  • Fix bug where Command(update=) could be ignored if there was a 2nd interrupt after it
  • Reduce extraneous keys in checkpoint.metadata
  • If FuturesDict callback has been GCed, don't call it

v0.4.8

Compare Source

Changes since 0.4.7

  • Remove unused deprecation decorator/warning (#​4917)
  • Require state_schema in StateGraph.__init__ (#​4897)
  • Remove add_conditional_edge(..., then=) (#​4893)
  • Avoid repeated runtime calls to get_type_hints
  • Remove MessageGraph (#​4875)
  • Remove non-state Graph
  • Remove UntrackedValue channel
  • Remove UntrackedValue channel (#​4859)
  • Flip default for checkpoint_during
  • Remove Channel node builder
  • Update managed value usage in local_read (#​4854)
  • Modify stream mode messages and custom to respect subgraphs=False (#​4843)
  • Remove Checkpoint.writes (#​4822)
  • Remove Checkpoint.pending_sends (#​4820)
  • Pregel: Add NodeBuilder class to replace Channel.subscribe_to (#​4819)
  • Remove dict subclasses used for values/updates stream chunks (#​4816)
  • Remove old checkpoint test fixtures (#​4814)
  • Remove postgres shallow checkpointer (#​4813)
  • Remove ChannelsManager, ManagedValues are now static classes and never instantiated (#​4812)
  • Remove Context channel / managed value, Remove SharedValue (#​4857)
  • Remove SchemaCoercionMapper
  • Update managed value usage in local_read
  • prebuilt: release 0.2.2 (#​4851)
  • Format
  • Remove Checkpoint.writes
  • Remove Checkpoint.pending_sends
  • Pregel: Add NodeBuilder class to replace Channel.subscribe_to
  • Lint
  • Remove old checkpoint test fixtures
  • Remove postgres shallow checkpointer
  • Remove ChannelsManager, ManagedValues are now static classes and never instantiated
  • Remove Context channel / managed value, Remove SharedValue
  • Merge branch 'main' into fix-examples-link-readme
  • Update libs/langgraph/README.md
  • Update libs/langgraph/README.md
  • Merge branch 'main' into fix-examples-link-readme
  • Merge branch 'main' into fix-examples-link-readme
  • Merge branch 'main' into fix-examples-link-readme
  • Merge branch 'langchain-ai:main' into fix-examples-link-readme
  • fix link to examples page in readme.md

v0.4.7

Compare Source

Changes since 0.4.6

  • 0.4.7
  • Fix stream mode not respected in subgraphs
  • Try to make test less flaky
  • Add tests for stream_events when using imperative api

v0.4.6

Compare Source

Changes since 0.4.5

  • 0.4.6
  • Fix
  • Lint
  • Add sync test
  • Fix
  • Fix exception handling for imperative tasks
  • prebuilt: release 0.2.1 (#​4801)
  • prebuilt: release 0.2.0 (#​4793)
  • Code review
  • feat(langgraph): push_messages should directly write to the state
  • feat(graph): add push_message method to push manually to messages / message-tuple stream (#​4722)
  • Add message state test
  • Apply same condition for stream_mode=values in suppress interrupt
  • Remove redundant cast
  • feat(graph): add push_message method to push manually to messages / message-tuple stream
  • Last uv.lock?
  • Only emit stream values chunks when the output channels have changed (#​4774)
  • docs: fix example pregel reducer (#​4740)
  • prebuilts hitl: fix branching logic + add structural snapshot tests (#​4767)
  • docs: deferred nodes (#​4759)
  • Remove local_write utility (#​4751)
  • Print output for cached @​task functions (#​4750)
  • Print output for cached @​task functions
  • sqlite: Add test for search with list filters (#​4747)
  • sqlite: update list_namespaces with max_depth (#​4746)
  • Update lockfile
  • docs: Clean up adjective use in readme (#​4734)
  • SqliteStore (#​3608)
  • ci: fix benchmark command (#​4729)
  • docs: document tuples in streaming guides (#​4690)
  • ci: migrate to uv! (#​4698)

v0.4.5

Compare Source

Changes since 0.4.4

  • langgraph: release 0.4.5 (#​4709)
  • Improve how we match cached writes for async imperative tasks (#​4691)
  • Lint
  • Improve how we match cached writes for async imperative tasks

v0.4.4

Compare Source

Changes since 0.4.3

  • langgraph: release 0.4.4 (#​4704)
  • update for consistency
  • lint again
  • use list
  • lint + update
  • update
  • update
  • update
  • langgraph: fix drawing graph with root channel
  • langgraph: fix graph drawing for self-loops
  • Merge branch 'main' into clean
  • [Proposal] add gitmcp badge for simple LLM-accessible documentation (#​4502)
  • Change LG Cloud > Platform
  • Fix invalid channels error message (#​4357)
  • docs: remove unused annotation comments in readmes (#​4656)
  • docs: General language cleanup (#​4649)
  • [docs] LangGraph / LangGraph Platform docs updates (#​4479)
  • Port checkpointer/store fixtures in langgraph-prebuilt to idiomatic pattern (#​4629)
  • Extend all tests using InMemorySaver to use all available checkpointers (#​4627)
  • Implement update_state for functional api (#​4626)
  • More idiomatic sync/async checkpointer fixtures in pytest (#​4624)
  • More idiomatic sync/async store fixtures in pytest (#​4617)
  • Overload clear method to delete all when called without args
  • Limit depth
  • Extend all tests using InMemorySaver to use all available checkpointers
  • Implement update_state for functional api
  • Fix
  • More idiomatic sync/async checkpointer fixtures in pytest
  • Move to sep file
  • More idiomatic sync/async store fixtures in pytest
  • Lint
  • Lint
  • Move FileCache to sqlite package, add InMemoryCache
  • Add clear cache methods
  • Remove refresh
  • Add namespace to cache keys
  • Lint
  • Lint
  • Lint
  • Lint
  • Lint
  • Lint
  • Lint
  • Finish implementation, add tests
  • Lint
  • Lint
  • Accept default cache_policy for graph/entrypoint/pregel
  • Fix
  • Fix
  • Output cached writes
  • Lint
  • Rename
  • Fix type annotation
  • Fixes
  • Re-do with separate cache interface
  • WIP
  • Deferred Node (#​4269)
  • Start dev server externally (#​4604)

v0.4.3

Compare Source

Changes since 0.4.2

  • release: 0.4.3 (#​4592)
  • langgraph: use tuples for streamed message events in RemoteGraph (#​4589)
  • Fix remote streaming of subgraphs (#​4590)
  • Add a limit to Pregel.draw (#​4575)

v0.4.2

Compare Source

Changes since 0.4.1

  • 0.4.2 (#​4570)
  • update
  • langgraph: decouple name from assistant ID in RemoteGraph
  • prebuilt: switch to executing parallel tool calls via Send by default (#​4438)
  • fix for langgraph
  • docstring fixes for libs/langgraph
  • docs: update add_messages API ref (#​4495)
  • update other tests

v0.4.1

Compare Source

langgraph 0.4.1

Summary of Changes

  • Fixed an issue handling END in StateGraph edges to properly terminate graph execution #​4458
  • Migrated codebase to exclusively use Pydantic V2, removing support for Pydantic V1 #​4448
  • Added ability to merge UI message props using a new merge parameter #​4473
  • Changed TAG_NOSTREAM from "langsmith:nostream" to "nostream", maintaining backwards compatibility #​4473
  • Improved docstrings and documentation throughout the codebase #​4463
  • Fixed UI message metadata handling in push_ui_message #​4467

Detailed Changes

langgraph.graph.state.StateGraph
  • Fixed handling of the END constant in get_writes and _control_static functions, ensuring proper graph termination when returning to END #​4458
langgraph.graph.ui
  • Added a new merge parameter to push_ui_message function, allowing incremental updates to UI messages #​4473
  • Enhanced ui_message_reducer to support merging props from existing messages when the merge flag is set #​4473
  • Fixed metadata handling in push_ui_message by removing old metadata merging which could cause unexpected behavior #​4467
langgraph.constants
  • Changed TAG_NOSTREAM from "langsmith:nostream" to "nostream" #​4473
  • Added TAG_NOSTREAM_ALT with the old value ("langsmith:nostream") for backward compatibility #​4473
langgraph.graph.schema_utils
  • Removed support for Pydantic V1 models in SchemaCoercionMapper #​4448
  • Simplified type adapters to work exclusively with Pydantic V2 #​4448
langgraph.utils.pydantic
  • Completely rewritten to use only Pydantic V2 APIs #​4448
  • Added proper caching for model creation with lru_cache for better performance #​4448
  • Fixed handling of reserved names and field remapping to avoid collisions with Pydantic internals #​4448
langgraph.channels.base.BaseChannel
  • Added docstring to clarify the purpose of this base class #​4463

v0.4.0

Compare Source

langgraph 0.4.0

Summary of Changes

  • Added improved support for interrupt handling in streaming modes, with interrupts now properly propagated in "values" stream mode #​4374
  • Enhanced interrupt resumption with namespace-specific resume values, allowing targeted resumption of specific interrupts #​4406
  • Fixed branch handling to properly process END nodes in graph visualization and execution #​4409
  • Fixed issue where empty Commands with resume maps would raise an error #​4444
  • Updated Python compatibility to allow future Python versions while maintaining 3.9+ support #​4416

Detailed Changes

langgraph.types.Interrupt
  • Added interrupt_id property that generates a unique ID for the interrupt based on its namespace #​4406
  • Updated ID generation to use | as a separator between namespace elements for better uniqueness #​4406
langgraph.types.StreamMode
  • Updated docstring to clarify that "values" mode emits all values including interrupts after each step #​4374
langgraph.types.StateSnapshot
  • Added interrupts field to track interrupts that occurred in a step and are pending resolution #​4406
  • Improved documentation for all fields in the class #​4406
langgraph.types.Command
  • Enhanced resume parameter to support mapping interrupt IDs to resume values #​4406
  • Improved documentation for the resume parameter #​4406
langgraph.pregel.Pregel
  • Improved invoke and ainvoke methods to properly collect and handle interrupts in streamed output #​4374
  • Enhanced interrupt emission to work in both "values" and "updates" stream modes #​4374
  • Modified state snapshot preparation to collect interrupts from tasks #​4406
langgraph.graph.branch.Writer
  • Updated signature to accept a boolean parameter indicating whether the operation is for static writes #​4409
  • Fixed branch handling to properly process END nodes #​4409
langgraph.p

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link

coderabbitai bot commented Mar 22, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from ff21c93 to 3548a3b Compare March 24, 2025 17:12
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.18,<0.4 fix(deps): update dependency langgraph to >=0.3.19,<0.4 Mar 24, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 3548a3b to 48f5234 Compare March 25, 2025 03:09
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.19,<0.4 fix(deps): update dependency langgraph to >=0.3.20,<0.4 Mar 25, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 48f5234 to fbe989e Compare March 27, 2025 17:14
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.20,<0.4 fix(deps): update dependency langgraph to >=0.3.21,<0.4 Mar 27, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from fbe989e to 8cc9af0 Compare April 1, 2025 19:10
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.21,<0.4 fix(deps): update dependency langgraph to >=0.3.22,<0.4 Apr 1, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 8cc9af0 to 4907ab9 Compare April 2, 2025 14:15
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.22,<0.4 fix(deps): update dependency langgraph to >=0.3.23,<0.4 Apr 2, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 4907ab9 to bd9d3d3 Compare April 3, 2025 02:31
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.23,<0.4 fix(deps): update dependency langgraph to >=0.3.24,<0.4 Apr 3, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from bd9d3d3 to 4be3d1e Compare April 3, 2025 21:45
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.24,<0.4 fix(deps): update dependency langgraph to >=0.3.25,<0.4 Apr 3, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 4be3d1e to c84af3a Compare April 8, 2025 19:59
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.25,<0.4 fix(deps): update dependency langgraph to >=0.3.26,<0.4 Apr 8, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from c84af3a to 6dd3d15 Compare April 9, 2025 03:21
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.26,<0.4 fix(deps): update dependency langgraph to >=0.3.27,<0.4 Apr 9, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 6dd3d15 to 47a7aa2 Compare April 11, 2025 01:52
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.27,<0.4 fix(deps): update dependency langgraph to >=0.3.28,<0.4 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 47a7aa2 to 1166cb7 Compare April 12, 2025 01:36
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.28,<0.4 fix(deps): update dependency langgraph to >=0.3.29,<0.4 Apr 12, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 1166cb7 to 0d54b6a Compare April 14, 2025 23:01
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.29,<0.4 fix(deps): update dependency langgraph to >=0.3.30,<0.4 Apr 14, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 0d54b6a to 5e40762 Compare April 17, 2025 20:00
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.30,<0.4 fix(deps): update dependency langgraph to >=0.3.31,<0.4 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 5e40762 to f290eba Compare April 23, 2025 18:55
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.3.31,<0.4 fix(deps): update dependency langgraph to >=0.3.32,<0.4 Apr 23, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from f290eba to c72e543 Compare April 23, 2025 22:12
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 48d2304 to 32be549 Compare July 9, 2025 20:08
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.5.1,<0.6 fix(deps): update dependency langgraph to >=0.5.2,<0.6 Jul 9, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 32be549 to de2034d Compare July 14, 2025 22:38
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.5.2,<0.6 fix(deps): update dependency langgraph to >=0.5.3,<0.6 Jul 14, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from de2034d to 55ead39 Compare July 27, 2025 15:58
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.5.3,<0.6 fix(deps): update dependency langgraph to >=0.5.4,<0.6 Jul 27, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 55ead39 to c533ddd Compare July 28, 2025 19:58
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.5.4,<0.6 fix(deps): update dependency langgraph to >=0.6,<0.7 Jul 28, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from c533ddd to 990150b Compare August 7, 2025 11:15
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6,<0.7 fix(deps): update dependency langgraph to >=0.6.3,<0.7 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 990150b to 0110c8e Compare August 7, 2025 21:28
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.3,<0.7 fix(deps): update dependency langgraph to >=0.6.4,<0.7 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 0110c8e to 526747f Compare August 14, 2025 04:58
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.4,<0.7 fix(deps): update dependency langgraph to >=0.6.5,<0.7 Aug 14, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch 2 times, most recently from 4641b61 to ca6adb1 Compare August 20, 2025 04:54
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.5,<0.7 fix(deps): update dependency langgraph to >=0.6.6,<0.7 Aug 20, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from ca6adb1 to 4c15e7a Compare September 7, 2025 21:43
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.6,<0.7 fix(deps): update dependency langgraph to >=0.6.7,<0.7 Sep 7, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 4c15e7a to e0d8c9b Compare September 29, 2025 12:31
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.7,<0.7 fix(deps): update dependency langgraph to >=0.6.8,<0.7 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from e0d8c9b to 148d9fe Compare October 8, 2025 00:09
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.8,<0.7 fix(deps): update dependency langgraph to >=0.6.9,<0.7 Oct 8, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 148d9fe to 73796f7 Compare October 8, 2025 16:11
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.9,<0.7 fix(deps): update dependency langgraph to >=0.6.8,<0.7 Oct 8, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 73796f7 to 29f48ad Compare October 9, 2025 18:29
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.8,<0.7 fix(deps): update dependency langgraph to >=0.6.10,<0.7 Oct 9, 2025
@renovate renovate bot force-pushed the renovate/langgraph-0.x branch from 29f48ad to 0542523 Compare October 21, 2025 00:45
@renovate renovate bot changed the title fix(deps): update dependency langgraph to >=0.6.10,<0.7 fix(deps): update dependency langgraph to >=0.6.11,<0.7 Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant