Change8

prebuilt==0.6.4

Breaking Changes
📦 langgraph
1 breaking🐛 2 fixes1 deprecations🔧 3 symbols

Summary

This release deprecates MessageGraph, fixes message emission issues in subgraphs, and reverts a recent refactor to tool argument injection.

⚠️ Breaking Changes

  • The tool argument injection refactor has been reverted, which may affect how arguments are passed to tools in prebuilt components.

Migration Steps

  1. Replace usage of MessageGraph with StateGraph using a messages state key.
  2. Remove any deprecated keyword arguments from prebuilt component calls to avoid exceptions.

🐛 Bug Fixes

  • Fixed an issue where subgraphs failed to emit messages when messages mode was explicitly requested.
  • Updated prebuilt components to raise an error when additional deprecated keyword arguments are provided.

🔧 Affected Symbols

MessageGraphlanggraph.graph.MessageGraphprebuilt

⚡ Deprecations

  • MessageGraph is now deprecated in favor of StateGraph with a messages key.