releaseintermediate
[Release] langchain-ai/langchain langchain-core==1.4.4: langchain-core==1.4.4
By github-actions[bot]github
View original on githublangchain-core version 1.4.4 is a maintenance release that includes bug fixes, typing improvements, and documentation updates. Key improvements address content block tokens in callbacks, multimodal handling in buffer strings, and tool error handling. The release also enhances type safety across Runnable operations and fixes generic typing issues.
Key Points
- •Support for content block tokens in callbacks enables better tracking of token usage across different content types
- •Improved typing of Runnable `__or__` operator reduces type errors and enhances IDE autocomplete for chain composition
- •Fixed generic typing issues (`any` generics) to improve type safety and catch errors at development time
- •Enhanced tool error handling with support for sequence tool error content and proper type checking for error handler output
- •Multimodal handling documentation in `get_buffer_string` clarifies how to work with different content types in conversation buffers
- •Lockfile bump ensures dependency compatibility and security patches are applied
- •These fixes improve developer experience through better type hints and error messages
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