Skip to content

0.2.29

Choose a tag to compare

@github-actions github-actions released this 30 Sep 17:51
9ad617b

langgraph 0.2.29

Summary of Changes

  • Migrated store implementation to langgraph-checkpoint #1834
  • Enhanced create_react_agent to support more model types beyond BaseChatModel #1647
  • Fixed configuration handling to prevent errors when accessing configuration values #1912
  • Removed docstring reference to unused parameter in Topic channel #1884
  • Migrated typing imports to typing_extensions #1869

Detailed Changes

langgraph.managed.shared_value.SharedValue

  • Updated to use the new store interface from langgraph-checkpoint
  • Changed namespace representation from strings to tuples for better organization
  • Updated method calls from list/put to search/batch for better semantics and performance
  • Made internal changes to process updates with the new store API #1834

langgraph.pregel.Pregel

  • Added support for custom stores via configuration
  • Updated store handling to use the new store interface
  • Added store parameter propagation through the execution stack
  • Enhanced checkpoint handling with better parent config tracking #1834

langgraph.utils.config.merge_configs

  • Fixed a bug where the merged configuration might not have the CONF key, now ensuring it always exists #1912

langgraph.utils.runnable.RunnableCallable

  • Updated to properly handle required configuration keys
  • Improved error messages when required config keys are missing #1834

langgraph.prebuilt.chat_agent_executor.create_react_agent

  • Enhanced to accept LanguageModelLike instead of just BaseChatModel
  • Added _should_bind_tools function to intelligently determine if tools need to be bound to the model
  • Fixed tool binding to avoid redundant binding when tools are already configured
  • Improved error handling for mismatched tools #1647