Change8

LangChain

AI & LLMs

🦜🔗 The platform for reliable agents.

Latest: langchain-core==1.2.16100 releases12 breaking changes14 common errorsView on GitHub

Release History

langchain-core==1.2.161 fix
Feb 25, 2026

This release of langchain-core includes a minor bug fix related to handling empty tool chunk IDs during merging.

langchain-anthropic==1.3.45 fixes2 features
Feb 24, 2026

This release focuses on improving the Anthropic integration by adding Bedrock support and a User-Agent header, alongside several fixes related to model IDs and response handling.

langchain-core==1.2.153 fixes1 feature
Feb 23, 2026

This release focuses on bug fixes in the core library, improved error handling, and the addition (and subsequent reversion) of the ChatAnthropicBedrock wrapper. Performance improvements were also made by deferring specific langsmith imports.

langchain-core==1.2.144 fixes
Feb 19, 2026

This release focuses primarily on bug fixes within the core library, addressing issues related to tool call merging, recursion errors, and LangSmith tracing parameter handling. Dependency groups were also updated.

langchain-text-splitters==1.1.14 fixes1 feature
Feb 18, 2026

Version 1.1.1 of langchain-text-splitters focuses on bug fixes, including resolving an SSRF vulnerability and mutation issues in splitters, alongside adding support for model_kwargs in SentenceTransformersTokenTextSplitter.

langchain-tests==1.1.5
Feb 18, 2026

This release bumps several internal dependency groups, most notably updating langsmith to version 0.6.3, and releases version 1.1.5 of langchain-tests.

langchain-openai==1.1.105 fixes2 features
Feb 17, 2026

This release introduces support for automatic server-side compaction in OpenAI and adds the OpenRouter provider package. It also includes several bug fixes related to model properties, error handling, and dependency version bumps.

langchain-openrouter==0.0.2
Feb 15, 2026

This release primarily involves bumping the core version and silencing a warning within the langchain-openrouter integration.

langchain-anthropic==1.3.32 fixes2 features
Feb 15, 2026

This release updates the Anthropic integration to support effort="max" and introduces a new ContextOverflowError for handling context limits across Anthropic and OpenAI integrations.

langchain-openai==1.1.91 fix2 features
Feb 15, 2026

This release introduces a new ContextOverflowError for handling context limits in Anthropic and OpenAI integrations, and includes a fix for sanitizing URLs during image token counting.

langchain-openai==1.1.81 fix
Feb 15, 2026

This patch release for langchain-openai (1.1.8) primarily includes a bug fix related to detecting codex models for API response preferences and various dependency and chore updates.

langchain-standard-tests==1.1.41 feature
Feb 15, 2026

This release primarily focuses on adding standard tests for sandbox providers and minor maintenance chores within the standard-tests package.

langchain-anthropic==1.3.22 fixes2 features
Feb 15, 2026

This release for langchain-anthropic primarily focuses on bug fixes and feature enhancements, including support for output_config and automatic compaction (Opus 4.6). It also includes dependency updates.

langchain-groq==1.1.21 fix1 feature
Feb 15, 2026

Version 1.1.2 of langchain-groq introduces support for LangChain image types and includes a core serialization fix. Dependencies were also updated.

langchain-standard-tests==1.1.3
Feb 15, 2026

This release includes an initial version and a dependency upgrade for urllib3 to version 2.6.3.

langchain-xai==1.2.21 fix
Feb 15, 2026

Version 1.2.2 of langchain-xai primarily addresses a bug related to streaming API routing for chat completions and responses.

langchain-core==1.2.131 feature
Feb 15, 2026

This release introduces the new `langchain-openrouter` provider package and expands the documentation for `get_lc_namespace`.

langchain-core==1.2.121 fix
Feb 12, 2026

This release primarily contains a bug fix related to setting the text attribute on ChatGeneration objects.

langchain-core==1.2.112 fixes
Feb 10, 2026

This release primarily focuses on bug fixes, including sanitizing URLs for OpenAI token counting and improving exception handling in the tracer.

langchain==1.2.101 fix
Feb 10, 2026

This release primarily focuses on dependency updates and includes a fix for token counting issues with partial message sequences. An internal variable name was also updated.

langchain-core==1.2.103 features
Feb 10, 2026

This release introduces a new `ContextOverflowError` for better error handling in LLM integrations and enhances token counting to include tool schemas.

langchain==1.2.94 fixes2 features
Feb 6, 2026

LangChain version 1.2.9 introduces support for state updates via `wrap_model_call` and threading context in agent flows, alongside several bug fixes related to schema normalization and token counting.

langchain-core==1.2.92 fixes1 feature
Feb 5, 2026

This release focuses on improving approximate token counting by allowing scaling based on reported usage and adjusting the capping mechanism. It also reverts a previous change regarding hex color regex precompilation.

langchain==1.2.81 fix1 feature
Feb 2, 2026

This release focuses on minor dependency upgrades, linting, and introduces `ToolCallRequest` to middleware exports, alongside a fix for agent factory name mismatches.

langchain-core==1.2.813 fixes2 features
Feb 2, 2026

This release focuses on numerous bug fixes across the core library, including improvements to token counting with multimodal support and adding an XML format option for buffer string generation. Dependency updates and various documentation enhancements were also included.

langchain==1.2.72 fixes1 feature
Jan 23, 2026

LangChain version 1.2.7 introduces dynamic tool registration through middleware and includes minor fixes to the summarization prompt and system message grammar.

langchain==1.2.61 fix
Jan 16, 2026

This release primarily addresses a bug fix related to the signature and configuration invocation of the SummarizationMiddleware.

langchain==1.2.51 fix1 feature
Jan 16, 2026

This release updates the summarization prompt and fixes an issue by adding metadata configuration to the summarization model invocation.

langchain==1.2.46 fixes2 features
Jan 14, 2026

This release focuses heavily on internal type checking improvements across many test suites and introduces metadata for agent names. A key functional change is adding the `state` field to `_ModelRequestOverrides`.

langchain-core==0.3.831 feature
Jan 13, 2026

This release updates the core library to use uuid7 for generating run identifiers across several components.

langchain-core==0.3.82
Jan 9, 2026
langchain-core==1.2.7
Jan 9, 2026
langchain==1.2.32 fixes2 features
Jan 8, 2026

This release focuses on improving summarization logic by leveraging usage metadata and fixing tool call pairings, alongside a provider mapping fix for Azure OpenAI.

langchain==1.2.22 fixes
Jan 7, 2026

LangChain 1.2.2 is a patch release focused on fixing parallel tool usage in planning middleware and improving internal test type safety.

langchain-openai==1.1.74 fixes
Jan 7, 2026

This release focuses on bug fixes for the OpenAI integration, specifically improving error handling for structured output refusals and refining token counting logic for function calls.

langchain==1.2.1Breaking5 fixes4 features
Jan 7, 2026

This release focuses on bug fixes for message summarization and tool schemas, adds Google GenAI support to embeddings, and introduces several linting and type-checking improvements.

langchain-anthropic==1.3.15 fixes
Jan 5, 2026

Version 1.3.1 is a maintenance release that addresses a security vulnerability (CVE-2025-68664) and fixes several bugs related to cache control and serialization.

langchain-xai==1.2.11 fix
Jan 5, 2026

Version 1.2.1 of langchain-xai fixes a bug in token usage reporting by ensuring reasoning tokens are included in the total output count.

langchain-core==1.2.6Breaking4 fixes3 features
Jan 2, 2026

This release focuses on internal performance optimizations, improved type safety, and bug fixes for ChatPromptTemplate and CallbackManager. It also updates internal tooling and documentation to reflect beta statuses and Pydantic v2 compatibility.

langchain-xai==1.2.04 fixes2 features
Jan 2, 2026

This release updates langchain-xai to 1.2.0 and langchain-openai to 1.1.6, focusing on streaming improvements, token counting fixes for GPT-5, and core serialization patches.

langchain-tests==1.1.21 fix
Dec 27, 2025

This release includes a critical serialization fix for langchain-core and internal code style improvements across standard-tests and text-splitters.

langchain-classic==1.0.1Breaking5 fixes6 features
Dec 23, 2025

This release updates langchain-classic to 1.0.1, featuring enhanced model initialization for Anthropic and Google GenAI, a transition to uuid7 for run IDs, and the removal of the Tigris provider.

langchain-core==0.3.811 fix
Dec 23, 2025

This release includes a fix for a serialization issue in langchain-core.

langchain-core==1.2.5Breaking6 fixes3 features
Dec 22, 2025

This release focuses on bug fixes for tool decorators and serialization, while introducing PEP 702 support for deprecations and automated tool call tracking.

langchain-core==1.2.41 fix1 feature
Dec 19, 2025

This release introduces usage metadata tracking in LangChainTracer and fixes a trace persistence issue for iterator-based inputs.

langchain-core==1.2.31 fix1 feature
Dec 18, 2025

This release introduces a fix for handling unknown blocks in OpenAI message conversion and adds infrastructure checks for lockfile consistency.

langchain-openai==1.1.61 feature
Dec 18, 2025

Version 1.1.6 updates the maximum input token limits for the gpt-5 series models.

langchain-openai==1.1.51 fix
Dec 17, 2025

Version 1.1.5 of langchain-openai fixes an issue with chunk_position by delegating its setting to langchain-core.

langchain-tests==1.1.11 feature
Dec 16, 2025

Version 1.1.1 of langchain-tests introduces more descriptive error messages for streaming cases to improve developer experience during testing.

langchain-core==1.2.21 fix
Dec 16, 2025

Version 1.2.2 is a maintenance release focusing on Python 3.14 compatibility and internal lockfile updates.

langchain-openai==1.1.42 fixes
Dec 16, 2025

Version 1.1.4 reverts a model selection change for flex usage and fixes documentation links for structured output.

langchain==1.2.04 fixes2 features
Dec 15, 2025

This release introduces a strict mode for structured outputs in ProviderStrategy and adds an extras field to BaseTool, alongside fixes for multithreading race conditions and HuggingFace model initialization.

langchain-core==1.2.11 fix
Dec 15, 2025

This patch release fixes a bug in tool call parsing when handling null arguments and improves type hinting for ToolCallChunk.

langchain-text-splitters==1.1.02 fixes3 features
Dec 14, 2025

Release 1.1.0 introduces R language support for text splitting and transitions to uuid7 for run IDs, while ensuring compatibility with Python 3.14.

langchain-openai==1.1.32 fixes1 feature
Dec 12, 2025

This release introduces support for the gpt-5.2-pro responses API and includes bug fixes for image resizing and API response handling.

langchain-huggingface==1.2.01 fix2 features
Dec 12, 2025

Release 1.2.0 focuses on fixing and improving the init_chat_model integration for HuggingFace backends and updating core dependencies.

langchain-mistralai==1.1.11 fix
Dec 12, 2025

Version 1.1.1 of langchain-mistralai fixes a bug regarding null content in tool call responses and updates internal core dependencies.

langchain-groq==1.1.12 features
Dec 12, 2025

This release introduces the ability to override tool_choice in structured output and adds parameter filtering for tool binding in the Groq integration.

langchain-tests==1.1.0Breaking4 fixes3 features
Dec 12, 2025

Version 1.1.0 introduces invocation model overrides and stricter type checking while removing the deprecated has_tool_choice property and improving documentation clarity.

langchain-ollama==1.0.11 fix1 feature
Dec 12, 2025

This release fixes a bug regarding unsupported arguments in ChatOllama and adds unit tests for reasoning parameters. It also includes documentation improvements and cross-references for tool conversion functions.

langchain-anthropic==1.3.0Breaking1 fix8 features
Dec 12, 2025

Version 1.3.0 introduces Model Context Protocol (MCP) support, automatic beta header management for computer use, and enhanced tool capabilities including tool search and TypedDict support.

langchain-core==1.2.01 fix1 feature
Dec 12, 2025

This release introduces an extras field to BaseTool for enhanced provider metadata and improves type flexibility for OpenAI tool conversions.

langchain-chroma==1.1.02 fixes1 feature
Dec 12, 2025

This release introduces a new Search API for Chroma and resolves critical bugs related to Pydantic validation and OpenCLIP image embedding regressions.

langchain-openai==1.1.22 fixes2 features
Dec 11, 2025

This release fixes parameter handling for temperature and tools in ChatOpenAI and introduces a strict flag for structured outputs.

langchain-core==1.1.32 fixes
Dec 9, 2025

This release focuses on fixing dependency constraints for jinja2 and resolving issues related to partial function usage in retrievers.

langchain==1.1.33 features
Dec 8, 2025

This release introduces support for Upstage models in the chat model initializer and adds an agent name field to AIMessage, alongside typing improvements in core message utilities.

langchain-openai==1.1.11 fix
Dec 8, 2025

Version 1.1.1 of langchain-openai addresses a bug in the Responses API when mixing tool types and includes minor documentation improvements.

langchain-core==1.1.2Breaking2 fixes1 feature
Dec 8, 2025

This release introduces Google Maps grounding support and improves asynchronous task stability. It also deprecates the py_anext utility and refines documentation and typing for message utilities.

langchain-core==1.1.14 fixes1 feature
Dec 4, 2025

This release introduces uuid7 for run IDs and provides several bug fixes for tool calling, schema handling, and output parsing formatting.

langchain==1.1.21 fix
Dec 4, 2025

This patch release simplifies the internal logic for summarization cutoffs.

langchain==1.1.12 fixes1 feature
Dec 4, 2025

This release introduces UUIDv7 for run IDs and improves the accuracy of the SummarizationMiddleware by adjusting token counts based on the specific model used.

langchain==1.1.0Breaking6 fixes6 features
Nov 24, 2025

LangChain 1.1 introduces ModelRetryMiddleware, enhanced SummarizationMiddleware with context window support, and SystemMessage support in agent creation. It also includes critical fixes for tool call ordering and Anthropic tool execution.

langchain-xai==1.1.01 feature
Nov 24, 2025

This release introduces distributed model profile data across packages and includes various documentation updates and code style refinements.

langchain-perplexity==1.1.03 features
Nov 24, 2025

This release introduces a dedicated output parser for Perplexity reasoning models and expands usage metadata tracking. It also includes internal improvements to model profile data distribution and documentation updates.

langchain-groq==1.1.01 fix1 feature
Nov 24, 2025

This release focuses on distributing model profile data across packages and fixing documentation syntax errors.

langchain-openai==1.1.03 fixes1 feature
Nov 24, 2025

This release focuses on distributing model-profile data across packages and fixing validation logic for GPT-5 temperature settings, alongside various documentation and style improvements.

langchain-mistralai==1.1.02 fixes1 feature
Nov 24, 2025

This release focuses on distributing model profile data across packages and includes several documentation improvements and link fixes.

langchain-huggingface==1.1.01 fix1 feature
Nov 24, 2025

This release introduces distributed model profiles and fixes a bug regarding parameter passing in the ChatHuggingFace class.

langchain-anthropic==1.2.01 fix1 feature
Nov 24, 2025

This release introduces distributed model profile data and deprecates the use of setattr on ModelCallRequest, alongside documentation syntax fixes.

langchain-fireworks==1.1.01 fix2 features
Nov 24, 2025

Release 1.1.0 of langchain-fireworks introduces distributed model profiles and updates the suite of tested models while fixing documentation syntax.

langchain-tests==1.0.23 fixes2 features
Nov 22, 2025

This release introduces native structured output and strict tool calling for Anthropic, alongside various documentation syntax fixes and linting improvements across the codebase.

langchain-model-profiles==0.0.51 feature
Nov 21, 2025

Version 0.0.5 introduces data distribution across packages for langchain-model-profiles and includes documentation updates.

langchain-core==1.1.01 feature
Nov 21, 2025

This release introduces model profiles to facilitate data distribution across packages within the LangChain ecosystem.

langchain-core==0.3.80Breaking2 fixes
Nov 19, 2025

This release addresses a security vulnerability (GHSA-6qv9-48xg-fc7f) by tightening validation for f-string templates and restricting functionality in jinja2 and mustache templates.

langchain-core==1.0.7Breaking2 fixes
Nov 19, 2025

This release focuses on security hardening by restricting template engine functionality and improving input variable validation for f-string templates.

langchain==1.0.8
Nov 19, 2025

This is a minor patch release for langchain, incrementing the version from 1.0.7 to 1.0.8.

langchain-core==1.0.62 features
Nov 19, 2025

This release introduces proxy support for Mermaid PNG rendering and enables tool runtime injection for custom argument schemas.

langchain-anthropic==1.1.03 fixes3 features
Nov 17, 2025

This release introduces native structured output and strict tool calling support for Anthropic models, alongside code execution capabilities and various bug fixes for tool nodes and async hooks.

langchain-openai==1.0.33 fixes1 feature
Nov 15, 2025

Version 1.0.3 introduces handling for incomplete streaming events and enforces token limits for embeddings, alongside several bug fixes for API compatibility.

langchain==1.0.7
Nov 14, 2025

This is a minor release for langchain version 1.0.7, primarily serving as a version bump from 1.0.6.

langchain-anthropic==1.0.41 fix
Nov 14, 2025

This release includes cherry-picked bug fixes to improve the integration between the core langchain package and the langchain-anthropic partner package.

langchain==1.0.61 fix1 feature
Nov 14, 2025

This release includes cherry-picked bug fixes for the LangChain and Anthropic integration along with improvements to middleware docstrings.

langchain-core==1.0.5Breaking2 fixes
Nov 14, 2025

This release focuses on bug fixes regarding exception handling and reverts a recent change to secret mapping in the load function. It also includes documentation improvements for token counting methods.

langchain-groq==1.0.14 fixes1 feature
Nov 13, 2025

Release 1.0.1 introduces prompt caching token usage details and fixes issues with empty tool call arguments and core dependency versioning.

langchain-deepseek==1.0.11 fix1 feature
Nov 13, 2025

This release introduces support for strict structured output in the DeepSeek integration and includes various documentation and metadata updates.

langchain-nomic==1.0.11 feature
Nov 13, 2025

Minor release for langchain-nomic updating metadata and extending compatibility to Python 3.14.

langchain-anthropic==1.0.31 feature
Nov 12, 2025

This release introduces support for the code_execution_20250825 feature in the Anthropic integration and includes minor documentation updates.

langchain-model-profiles==0.0.4
Nov 10, 2025

Version 0.0.4 of langchain-model-profiles includes general code cleanup and styling improvements.

langchain==1.0.5Breaking1 fix1 feature
Nov 7, 2025

LangChain 1.0.5 focuses on stability by reverting SystemMessage support in create_agent, increasing the default recursion limit, and updating core dependencies.

langchain-core==1.0.47 fixes1 feature
Nov 7, 2025

This release introduces subgraph drawing support via pygraphviz and includes several bug fixes related to schema generation, async callback context preservation, and prompt formatting.

Common Errors

ModuleNotFoundError4 reports

This error usually means the Langchain library is not installed, or the installed version is outdated and missing the module. Fix it by installing or upgrading Langchain using pip: `pip install langchain --upgrade`. If you are using poetry: `poetry add langchain`

OutputParserException2 reports

OutputParserException in Langchain often arises from mismatches between the LLM's generated output and the expected format defined by your OutputParser. To fix it, carefully inspect the LLM output for inconsistencies (incorrect field names, wrong data types, missing fields), and adjust either your prompt to guide the LLM to produce the correct format or modify your OutputParser to be more tolerant of variations. Consider adding error handling, such as a try-except block around the parser, to gracefully manage parsing failures.

BadRequestError2 reports

BadRequestError in Langchain often arises from sending improperly formatted requests to LLM APIs, such as Anthropic, which can include empty content or disallowed characters like trailing whitespaces in messages. To fix this, implement input validation and sanitization before sending data to the LLM, specifically checking for and removing empty strings or trailing whitespaces in message content. Ensuring that the input adheres strictly to the API's expected format will prevent these errors.

TrinoUserError1 report

TrinoUserError in Langchain often arises from incompatible data types being used in operations within the agent or when interacting with data sources. Specifically, issues like attempting to add dictionaries together when the code expects a different numeric or string type can trigger the error. The fix often involves inspecting the code where the error occurs (including custom tools or agents) and ensuring that data types are suitable for the intended operations, often coercing dictionaries to strings or lists or avoiding operations that are nonsensical for dictionary elements.

TypeError1 report

TypeError in Langchain often arises from incorrect type annotations, especially when converting TypedDicts (possibly containing `NotRequired`) into formats expected by external APIs like OpenAI function schemas. To fix this, carefully inspect and adjust your TypedDict definitions to ensure they are compatible with the target schema, potentially mapping `NotRequired` fields to optional types or providing default values to avoid unexpected `None` values during conversion. Verify that custom classes used in schemas have appropriate `__init__` methods or pydantic configurations.

UnsupportedParamsError1 report

The "UnsupportedParamsError" in Langchain often arises when using a model or tool that doesn't support certain parameters passed to it during creation or execution, such as `tool_choice` with Bedrock. To fix this, identify the incompatible parameter by carefully reviewing the error message and the documentation for the specific model or tool you are using; then, remove or adjust the offending parameter in your Langchain code to align with the supported parameters.

Related AI & LLMs Packages

Subscribe to Updates

Get notified when new versions are released

RSS Feed