releaseintermediate
[Release] langchain-ai/langchain langchain-openai==1.3.1: langchain-openai==1.3.1
By github-actions[bot]github
View original on githublangchain-openai version 1.3.1 release includes documentation updates, test improvements for deserialization and streaming, package version tracking enhancements, and bug fixes for tool call normalization and structured output handling. Key changes focus on improving type checking, tracing metadata, and test coverage across the LangChain ecosystem. The release maintains compatibility while strengthening internal validation and documentation standards.
Key Points
- •Updated README with refreshed installation instructions and resource documentation
- •Enhanced deserialization security with explicit allowlists in core and langchain tests
- •Added package version tracking to tracing metadata for better observability and debugging
- •Fixed v1 streamed tool calls normalization to ensure consistent behavior across OpenAI integrations
- •Improved image token counting by migrating to gpt-4o model for more accurate measurements
- •Upgraded mypy to version 2.1 and unified type-checking configuration across the monorepo
- •Implemented validation for tool call chunks during streaming in standard tests
- •Tightened structured output model fallbacks to improve reliability and error handling
- •Replaced double backticks in docstrings for consistent documentation formatting
- •Coordinated release with langchain-core 1.4.7 and 1.4.6 for dependency alignment
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