langchain-anthropic breaking changes
langchain-anthropic 1.4.6 (June 12, 2026) is its newest release with breaking changes. The first: Behavior changed allowed_prefixes. Every breaking API change we have recorded in langchain-anthropic on PyPI: 26 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.9.0, released December 4, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
langchain-anthropic 1.4.6 breaking changes
- Behavior changed
allowed_prefixes
The release tightens the anthropic allowed_prefixes check and confines file-search results, so code relying on the looser prefix matching may now get different results. Review your allowed_prefixes values. github.com
langchain-anthropic 1.4.5 breaking changes
- Signature changed
langchain_anthropic.chat_models.extract_tool_calls
Was def extract_tool_calls(content: str | list[str | dict]) -> list[ToolCall]; now def extract_tool_calls(content: str | list[str | dict[str, Any]]) -> list[ToolCall]. pypi.org - Signature changed
langchain_anthropic.output_parsers.extract_tool_calls
Was def extract_tool_calls(content: str | list[str | dict]) -> list[ToolCall]; now def extract_tool_calls(content: str | list[str | dict[str, Any]]) -> list[ToolCall]. pypi.org
langchain-anthropic 1.4.3 breaking changes
- Removed
langchain_anthropic.AnthropicLLM.raise_warning
AnthropicLLM.raise_warning was removed in langchain-anthropic 1.4.3 pypi.org - Removed
langchain_anthropic.llms.AnthropicLLM.raise_warning
AnthropicLLM.raise_warning was removed in langchain-anthropic 1.4.3 pypi.org
langchain-anthropic 1.4.1 breaking changes
- Signature changed
langchain_anthropic.chat_models.ChatAnthropic.effort
Was effort: Literal['max', 'high', 'medium', 'low'] | None; now effort: Literal['max', 'xhigh', 'high', 'medium', 'low'] | None. pypi.org - Signature changed
langchain_anthropic.ChatAnthropic.effort
Was effort: Literal['max', 'high', 'medium', 'low'] | None; now effort: Literal['max', 'xhigh', 'high', 'medium', 'low'] | None. pypi.org
langchain-anthropic 1.3.3 breaking changes
- Behavior changed
The release removes the beta headers the Anthropic integration previously sent, and adds support for effort set to max. Code that relied on those beta headers being sent may need to change. github.com - Signature changed
langchain_anthropic.chat_models.ChatAnthropic.effort
Was effort: Literal['high', 'medium', 'low'] | None; now effort: Literal['max', 'high', 'medium', 'low'] | None. pypi.org - Signature changed
langchain_anthropic.ChatAnthropic.effort
Was effort: Literal['high', 'medium', 'low'] | None; now effort: Literal['max', 'high', 'medium', 'low'] | None. pypi.org
langchain-anthropic 1.0.0 breaking changes
- Removed
langchain_anthropic.Anthropic
langchain_anthropic.Anthropic was removed in langchain-anthropic 1.0.0 pypi.org - Removed
langchain_anthropic.ChatAnthropicMessages
langchain_anthropic.ChatAnthropicMessages was removed in langchain-anthropic 1.0.0 pypi.org - Removed
langchain_anthropic.experimental.ChatAnthropicTools
langchain_anthropic.experimental.ChatAnthropicTools was removed in langchain-anthropic 1.0.0 pypi.org - Renamed
langchain_anthropic.experimental.ChatAnthropic
Use langchain_anthropic.middleware.prompt_caching.ChatAnthropic instead. pypi.org - Signature changed
langchain_anthropic.ChatAnthropic.bind_tools
Was def bind_tools(self, tools: Sequence[Union[dict[str, Any], type, Callable, BaseTool]], *, tool_choice: Optional[Union[dict[str, str], Literal['any', 'auto'], str]] = None, parallel_tool_calls: Optional[bool] = None, **kwargs: Any) ->... pypi.org - Signature changed
langchain_anthropic.ChatAnthropic.max_tokens
Was max_tokens: int; now max_tokens: int | None. pypi.org
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
langchain-anthropic 0.2.0 breaking changes
- Removed
langchain_anthropic.AnthropicLLM.Config
langchain_anthropic.AnthropicLLM.Config was removed in langchain-anthropic 0.2.0 pypi.org - Removed
langchain_anthropic.ChatAnthropic.Config
langchain_anthropic.ChatAnthropic.Config was removed in langchain-anthropic 0.2.0 pypi.org
And 8 more in this version.
Related packages
- langchain-core
- langchain-chroma
- langchain-text-splitters
- langchain-openai
- langchain-mistralai
- langchain-groq
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.