releaseintermediate
[Release] langchain-ai/langchain langchain-core==1.4.8: langchain-core==1.4.8
By github-actions[bot]github
View original on githublangchain-core version 1.4.8 was released with performance improvements, bug fixes, and dependency updates. Key changes include memoization of BaseTool.tool_call_schema for better performance, preservation of usage token details in v3 streaming events, and removal of Python < 3.10 support code. The release also includes dependency bumps for jupyter-server, tornado, and bleach, along with code quality improvements and test updates.
Key Points
- •Performance optimization: Memoize BaseTool.tool_call_schema subset model and cache model_json_schema to reduce redundant computations
- •Bug fix: Preserve usage token details in v3 streaming events to maintain accurate token tracking
- •Dependency updates: Bump jupyter-server (2.18.0 → 2.20.0), tornado (6.5.6 → 6.5.7), and bleach (6.3.0 → 6.4.0)
- •Code cleanup: Remove Python < 3.10 support code from langchain-classic to simplify maintenance
- •Type safety improvements: Fix disallow_any_generics violations and add mypy warn_unreachable checks
- •Security: Fix style issues in langchain_core/_security module
- •Testing: Update tests for explicit deserialization allowlists to enhance security
- •Documentation: Refresh README with updated installation instructions and resources
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