releaseintermediate
[Release] langchain-ai/langchain langchain-huggingface==1.2.1: langchain-huggingface==1.2.1
By github-actions[bot]github
View original on githublangchain-huggingface version 1.2.1 release includes compatibility fixes for huggingface-hub 1.x, dependency updates for transformers and sentence-transformers, and a bump of langgraph-checkpoint to 4.0.0. The release also features improvements to model profiles with new text_inputs and text_outputs fields, along with various maintenance updates including security patches for pillow and urllib3.
Key Points
- •Fixed HuggingFace Hub 1.x compatibility issues to ensure seamless integration with the latest HuggingFace library versions
- •Upgraded transformers and sentence-transformers lower bounds to enforce minimum dependency versions and improve stability
- •Switched integration test provider to Together for more reliable and consistent testing infrastructure
- •Bumped langgraph-checkpoint from 3.0.0 to 4.0.0, indicating a major version upgrade with potential breaking changes
- •Added `text_inputs` and `text_outputs` fields to model profiles for enhanced metadata and configuration capabilities
- •Updated critical security dependencies including Pillow (11.3.0 → 12.1.1) and urllib3 (→ 2.6.3)
- •Upgraded LangSmith from 0.4.32rc0 to 0.6.3, bringing significant improvements and stabilization
- •Implemented stable model profile sorting by model ID to ensure consistent diffs and reproducible builds
- •Added comprehensive type checking support with `make type` target in Makefile for improved code quality
- •Enforced absolute imports across all packages to eliminate relative import issues and improve maintainability
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