pypi langgraph-sdk 0.3.4

latest releases: 0.3.14, 0.3.13, 0.3.12...
3 months ago

langgraph 0.3.4

Summary of Changes

  • Added better schema handling for Pregel configurations, including support for TypedDict and dataclasses #3641

Detailed Changes

langgraph.pregel.Pregel

  • Added config_schema method to properly handle configuration schema generation when the config type is explicitly set and is supported by Pydantic #3641
  • Added get_config_jsonschema method to convert config schemas to JSON schema format #3641
  • Fixed return type annotations for get_input_jsonschema and get_output_jsonschema methods from Dict[All, Any] to the more accurate Dict[str, Any] #3641

langgraph.utils.pydantic.is_supported_by_pydantic

  • Added new utility function to check if a given type is directly supported by Pydantic #3641
  • Supports detection of dataclasses, Pydantic models, and TypedDict (including Python 3.12+ compatibility) #3641

Don't miss a new langgraph-sdk release

NewReleases is sending notifications on new releases.