What's new in LangChain? 🚀
🔌 Support for OpenAI's 3.0 SDK (using httpx2)
✨ Support for gemini-3.7-flash
Plus a wave of core reliability fixes from external contributors:
🛠️ Tool calling & structured output: clearer errors, respect for pydantic aliases when validating tool inputs (
📊 Usage metadata fixes: token usage callback bugs, and cost metadata when streaming OpenRouter (
🧱 Content & prompt hardening: guard malformed Anthropic content blocks, and preserve non-str/non-dict items in prompt templates for content blocks (
Huge thanks to everyone who contributed! 🙏