Agent DailyAgent Daily
releaseintermediate

[Release] langchain-ai/langchain langchain-core==1.5.5: langchain-core==1.5.5

By github-actions[bot]github
View original on github

langchain-core version 1.5.5 is a patch release addressing 12 bug fixes and 1 dependency update. Key improvements include consistency fixes for batch operations, proper handling of Pydantic aliases in tool validation, chunk merging issues, async path validation, and cache handling. The release also adds httpx as an explicit dependency and improves error handling across multiple components.

Key Points

  • Fixed abatch_iterate to be consistent with batch_iterate for None and zero-size inputs
  • Respect Pydantic aliases when validating tool inputs to prevent validation errors
  • Resolved issues in chunk merging logic for better data processing
  • Handle Pydantic v1 base model validation in async execution paths
  • Improved tool description handling when infer_schema=False
  • Clear usage metadata callbacks on exceptions in context managers to prevent memory leaks
  • Handle falsy LLM and chat model caches correctly (empty/None caches)
  • Added httpx as explicit dependency for better dependency management
  • Preserve non-string and non-dict items in DictPromptTemplate list values
  • Raise ValueError when tool_outputs length mismatches tool_calls in tool_example_to_messages

Found this useful? Add it to a playbook for a step-by-step implementation guide.

Quality

Concepts