Change8

prebuilt==0.6.0a1

Breaking Changes
📦 langgraph
2 breaking4 features🐛 2 fixes1 deprecations🔧 7 symbols

Summary

This release introduces a new Context API for LangGraph, adds dynamic model support to the ReAct agent, and refactors internal typing and tool node logic.

⚠️ Breaking Changes

  • Internal typing constructs moved from 'constants.py' to '_internal/_typing.py', which may break imports relying on internal paths.
  • Solidified public/private API differentiations, potentially restricting access to previously accessible internal modules.

Migration Steps

  1. Update code using 'config["configurable"]' or 'config_schema' to use the new Context API.
  2. Check imports for typing constructs and update from 'constants.py' to '_internal/_typing.py' if necessary.
  3. Review usage of internal langgraph symbols as public/private boundaries have been solidified.

✨ New Features

  • Added dynamic model support to 'create_react_agent'.
  • Introduced a new Context API to replace legacy configuration patterns.
  • Added 'is_studio_user' flag to the Python SDK.
  • Restructured ToolNode and tool injection logic for better extensibility.

🐛 Bug Fixes

  • Removed dead code from prebuilt tests.
  • Reverted alpha release to align v0.6 development with the main branch.

🔧 Affected Symbols

create_react_agentToolNodeconstants.py_internal/_typing.pyconfigconfig_schemais_studio_user

⚡ Deprecations

  • The use of 'config["configurable"]' and 'config_schema' is being replaced by the new Context API.