Skip to content

0.1.15

Choose a tag to compare

@github-actions github-actions released this 26 Jul 18:07

langgraph 0.1.15

Summary of Changes

  • Fixed Pydantic v1/v2 compatibility issues in CompiledStateGraph, with better support for different BaseModel implementations #1147
  • Improved type-hinting logic in state key extraction to be more robust #1147

Detailed Changes

langgraph.graph.state.CompiledStateGraph

  • Enhanced get_input_schema and get_output_schema methods to recognize Pydantic models from both v1 and v2 imports, ensuring compatibility across Pydantic versions #1147
  • Fixed type hint checking in _get_state_key helper function to properly handle cases where type annotations are present #1147