Change8

0.6.8

Breaking Changes
📦 langgraphView on GitHub →
1 breaking4 features🐛 9 fixes🔧 6 symbols

Summary

This release focuses on stability and correctness in LangGraph, specifically addressing state management during resumes, graph rendering, and resource cleanup in asynchronous loops.

⚠️ Breaking Changes

  • Resuming a graph with multiple pending interrupts now prevents arbitrary resumes to ensure state consistency.

✨ New Features

  • Added config schema to the CLI.
  • Added support for UUIDs in SDK configuration.
  • Added logging for cases where no values event is emitted from RemoteGraph.
  • Enhanced resume logic to handle multiple pending interrupts safely.

🐛 Bug Fixes

  • Fixed BaseChannel detection when multiple annotations are present.
  • Fixed CheckpointTask.state to correctly support StateSnapshot types.
  • Fixed a resource leak by cleaning up orphaned waiter tasks in AsyncPregelLoop.
  • Fixed graph rendering issues when defer=True is used.
  • Fixed task re-execution on nested resume by reusing cached writes.
  • Restored logic to surface interrupts for stream_mode.
  • Fixed unexpected conditional edge generation in get_graph.
  • Fixed type checking for asynchronous operations within the functional API.
  • Fixed KeyError occurring when a config object lacks a 'configurable' key.

🔧 Affected Symbols

BaseChannelCheckpointTask.stateAsyncPregelLoopget_graphRemoteGraphStateSnapshot