---
title: "@langchain/anthropic 1.6.7 Breaking Changes on npm"
description: "What each @langchain/anthropic release removed, renamed or changed: 25 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@langchain/anthropic
last_updated: 2026-12-04
---

# @langchain/anthropic breaking changes

@langchain/anthropic 1.6.7 (December 1, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed ChatAnthropic. Every breaking API change we have recorded in @langchain/anthropic on npm: 25 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.6.7`, released December 1, 2026. [Source repository](https://github.com/langchain-ai/langchainjs)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [1.6.7](#v-1-6-7): 7 breaking changes in 4 versions.

## @langchain/anthropic 1.6.7 breaking changes

@langchain/anthropic 1.6.7, released December 1, 2026: 3 breaking changes.

- **Behavior changed** `ChatAnthropic`  

Opus 5.5 and Sonnet 5.5 are always-on thinking models, so an explicit thinking type of disabled is now rejected. Code that disables thinking for these models must remove that setting. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/anthropic%401.6.7)
- **Behavior changed** `withStructuredOutput`  

For Claude Opus 5.5 and Sonnet 5.5, withStructuredOutput no longer forces a tool call because these models always think. Structured output for these models may now come back differently than before. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/anthropic%401.6.7)
- **Default changed** `ChatAnthropic`  

The default model for ChatAnthropic changed from claude-sonnet-4-5-20250929 to claude-sonnet-4-6. Code that relied on the old default must set the model explicitly to keep the previous behavior. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/anthropic%401.6.7)

## @langchain/anthropic 1.6.4 breaking changes

@langchain/anthropic 1.6.4, released November 11, 2026: 1 breaking change.

- **Configuration changed**  

Installed zod must now be version 4.6.6 or newer, which excludes versions affected by GHSA-mrhx-c7xc-m3w5. Zod v3 schemas remain supported through the bundled zod/v3 entry point. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/anthropic%401.6.4)

## @langchain/anthropic 1.6.2 breaking changes

@langchain/anthropic 1.6.2, released November 9, 2026: 1 breaking change.

- **Behavior changed**  

For models with always-on adaptive thinking, tool choice is no longer forced. Code that relied on forced tool calls for those models should check its tool-calling behavior. [github.com](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/anthropic%401.6.2)

## @langchain/anthropic 1.6.1 breaking changes

@langchain/anthropic 1.6.1, released November 7, 2026: 2 breaking changes.

- **Signature changed** `ChatAnthropicMessages._identifyingParams`  

Was \_identifyingParams(): {max_tokens: number; model: Anthropic.Model; cache_control?: Anthropic.CacheControlEphemeral | null; container?: Anthropic.MessageCreateParamsContainer | null; diagnostics?: Anthropic.DiagnosticsParam | null... [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.6.1)
- **Signature changed** `ChatAnthropicMessages.identifyingParams`  

Was identifyingParams(): {max_tokens: number; model: Anthropic.Model; cache_control?: Anthropic.CacheControlEphemeral | null; container?: Anthropic.MessageCreateParamsContainer | null; diagnostics?: Anthropic.DiagnosticsParam | null... [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.6.1)

## @langchain/anthropic 1.0.0 breaking changes

@langchain/anthropic 1.0.0, released October 17, 2025: 18 breaking changes.

- **Removed** `AnthropicInput.maxTokensToSample`  

Use maxTokens instead. [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Removed** `experimental:ChatAnthropicTools`  

ChatAnthropicTools was removed in @langchain/anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Removed** `experimental:ChatAnthropicToolsCallOptions`  

ChatAnthropicToolsCallOptions was removed in @langchain/anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Removed** `experimental:ChatAnthropicToolsInput`  

ChatAnthropicToolsInput was removed in @langchain/anthropic 1.0.0 [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Signature changed** `AnthropicInput.temperature`  

Was temperature?: number | null; now temperature?: number. [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Signature changed** `AnthropicMessagesModelId`  

Was type AnthropicMessagesModelId = Anthropic.Model | (string & NonNullable\<unknown>); now type AnthropicMessagesModelId = Anthropic$1.Model | (string & NonNullable\<unknown>). [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Signature changed** `ChatAnthropicContentBlock`  

Was type ChatAnthropicContentBlock = AnthropicTextBlockParam | AnthropicImageBlockParam | AnthropicToolUseBlockParam | AnthropicToolResultBlockParam | AnthropicDocumentBlockParam | AnthropicThinkingBlockParam |... [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Signature changed** `ChatAnthropicMessages._generateNonStreaming`  

Was \_generateNonStreaming(messages: BaseMessage\[\], params: Omit\<Anthropic.Messages.MessageCreateParamsNonStreaming | Anthropic.Messages.MessageCreateParamsStreaming, "messages"> & Kwargs, requestOptions: AnthropicRequestOptions)... [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Signature changed** `ChatAnthropicMessages._identifyingParams`  

Was \_identifyingParams(): {system?: (string | Array\<Anthropic.Messages.TextBlockParam>) | undefined; thinking?: Anthropic.Messages.ThinkingConfigParam | undefined; metadata?: Anthropic.Messages.Metadata | undefined; model... [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)
- **Signature changed** `ChatAnthropicMessages.batchClient`  

Was protected batchClient: Anthropic; now protected batchClient: Anthropic$1. [npmjs.com](https://www.npmjs.com/package/@langchain/anthropic/v/1.0.0)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [langchain](https://since.dev/packages/npm/langchain.md)
- [@langchain/core](https://since.dev/packages/npm/@langchain/core.md)
- [@langchain/openai](https://since.dev/packages/npm/@langchain/openai.md)
- [@langchain/pinecone](https://since.dev/packages/npm/@langchain/pinecone.md)
- [@langchain/community](https://since.dev/packages/npm/@langchain/community.md)
- [@langchain/langgraph](https://since.dev/packages/npm/@langchain/langgraph.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
