Agent DailyAgent Daily
releaseintermediate

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

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

langchain-core version 1.6.0 introduces bug fixes, performance improvements, and new features including standard model exception types and enhanced tool schema handling. Key improvements address serialization issues, Windows portability, forward reference resolution, and lazy loading of transformers. The release focuses on stability and developer experience with better error handling and documentation clarification.

Key Points

  • Added standard model exception types for consistent error handling across the framework
  • Fixed postponed annotations in `StructuredTool._injected_args_keys` to resolve type hints correctly
  • Improved `convert_to_openai_function` to handle callables and non-dict mappings
  • Enhanced `RunnablePick` deserialization support for better workflow compatibility
  • Fixed tool schema validation to require all nested properties in strict mode
  • Implemented lazy importing of transformers for improved performance and reduced startup time
  • Made subprocess and temporary file tests portable across Windows and Unix systems
  • Added fail-fast behavior when tool schemas can't resolve forward references during serialization
  • Fixed mustache template handling to accept non-dict Mapping values
  • Improved chain-group run finalization to handle BaseException cases properly

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

Workflow Diagram

Start Process
Step A
Step B
Step C
Complete
Quality

Concepts

[Release] langchain-ai/langchain langchain-core==1.6.0: langchain-core==1.6.0 | Agent Daily