1.0.3
📦 langgraphView on GitHub →
✨ 2 features🐛 6 fixes🔧 8 symbols
Summary
This patch release focuses on documentation synchronization, linting fixes for REMOVE_ALL_MESSAGES, and critical bug fixes regarding state updates and stream_mode sequences.
✨ New Features
- Added warnings in documentation clarifying that StateGraph is a builder class.
- Added OPT_REPLACE_SURROGATES to ormsgpack configuration.
🐛 Bug Fixes
- Fixed unexpected behavior for stream_mode sequences that are not lists.
- Exported REMOVE_ALL_MESSAGES in __all__ to resolve linting issues.
- Fixed issue where pending writes were incorrectly applied when updating state.
- Fixed edge cases involving 0 values.
- Synchronized docstrings between synchronous and asynchronous methods (invoke/ainvoke, stream/astream).
- Fixed PartialState rendering in MkDocs.
🔧 Affected Symbols
StateGraphREMOVE_ALL_MESSAGESPregelLoop.tickPartialStateinvokeainvokestreamastream