Agent DailyAgent Daily
releaseintermediate

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

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

langchain-core version 1.4.1 is a maintenance release that includes bug fixes, dependency updates, and documentation improvements. Key fixes address Bedrock prevalidation removal, message serialization handling, and stream assembly for reasoning blocks and tool calls. The release updates several dependencies including langsmith (0.8.0), uuid-utils (0.16.0), and security patches for idna (3.15).

Key Points

  • Removed Bedrock prevalidation from `load` method to improve flexibility and reduce unnecessary validation overhead
  • Fixed `_convert_to_message` to properly accept `Serializable` constructor-envelope wire shapes for better serialization compatibility
  • Preserved `additional_kwargs` across v3 stream assembly to maintain metadata integrity during streaming operations
  • Fixed reasoning blocks to be preserved alongside tool_call in v3 stream processing for complete context retention
  • Updated langsmith dependency from 0.7.31 to 0.8.0 for improved logging and tracing capabilities
  • Bumped uuid-utils to 0.16.0 and idna to 3.15 for security and stability improvements
  • Expanded and linked `ModelProfile` docstrings for better API documentation and developer guidance
  • Hardened Dependabot version-bound preservation in CI/infra to ensure consistent dependency management
  • Updated OpenAI model references across core, langchain, and openai packages to reflect current model availability
  • Refreshed jupyter-server (2.18.0) and mistune (3.2.1) dependencies for improved notebook and markdown support

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