Change8

1.2.0a3

📦 langgraphView on GitHub →
7 features🐛 3 fixes🔧 5 symbols

Summary

This release introduces significant enhancements to langgraph, including node-level error handling, v2 projections, and streaming infrastructure, alongside various bug fixes and dependency updates.

Migration Steps

  1. Refactor: EventLog has been merged into StreamChannel with an optional name parameter.

✨ New Features

  • langgraph: dispatch stream_events(version='v3') on Pregel.
  • langgraph: add node-level error handlers.
  • Allow graph to graceful shutdown/drain by request.
  • langgraph: `DeltaChannel`: store sentinel in blobs, reconstruct from checkpoint_writes.
  • langgraph: native v2 projections for custom, updates, checkpoints, debug, tasks.
  • langgraph: add streaming transformer infrastructure and tests.
  • prebuilt: allow ToolNode tools to return list[Command | ToolMessage].

🐛 Bug Fixes

  • langgraph: make NodeTimeoutError retryable by default.
  • langgraph: arrival-ordered interleave for StreamChannel projections.
  • langgraph: decouple run.output/interrupted/interrupts from ValuesTransformer.

Affected Symbols