langchain==1.2.11
📦 langchainView on GitHub →
✨ 2 features🐛 3 fixes🔧 3 symbols
Summary
This release introduces support for OpenRouter and automatic server-side compaction in OpenAI, alongside several dependency updates and bug fixes related to model initialization and detector output.
Migration Steps
- Update `langgraph-checkpoint` dependency from 3.0.1 to 4.0.0 if using the specific version range mentioned in the internal bump.
- Update `langsmith` dependency from 0.4.42 to 0.6.3 if using the specific version range mentioned in the internal bump.
✨ New Features
- Support for automatic server-side compaction in OpenAI integrations.
- Introduction of the `langchain-openrouter` provider package.
🐛 Bug Fixes
- Normalized custom detector output to prevent KeyError in hash/mask strategies.
- Fixed support for anthropic-bedrock in `init_chat_model`.
- Allowed Gemini 3 models to use `ProviderStrategy` with tools.