Releases
0.2.13
Compare
Sorry, something went wrong.
No results found
langgraph 0.2.13
Summary of Changes
Moved Context from a channel implementation to a managed value implementation, improving how context managers work in graphs
Added support for runtime-only managed values with a runtime flag, preventing unnecessary serialization
Enhanced the ManagedValueMapping to properly handle runtime placeholder values during serialization/deserialization
Improved how state is read and written in various graph operations to support managed values
Detailed Changes
langgraph.channels.context.Context
Reimplemented as a wrapper around langgraph.managed.context.ContextManagedValue.of
The implementation now uses the managed value system rather than being a direct channel
langgraph.managed.context.Context
New implementation of Context as a managed value with runtime=True
Provides same functionality as the previous channel implementation but integrates better with the managed value system
langgraph.managed.base.ManagedValue
Added a runtime flag to indicate whether a managed value is created at runtime and not stored
Enhanced serialization support for runtime values
langgraph.managed.base.ManagedValueMapping
Added methods to handle runtime placeholders during serialization/deserialization
Implemented replace_runtime_values and replace_runtime_placeholders to handle runtime values
langgraph.graph.state.StateGraph
Updated state reader implementation to better handle managed values
Modified branch system to properly pass schema information
langgraph.pregel.algo
Enhanced local_read and local_write functions to handle managed values
Added step parameter to track execution progress when using managed values
Improved handling of runtime placeholders during task preparation
You can’t perform that action at this time.