@langchain/anthropic
1.6.6 · 20 Nov 2026MIT2.1M / weekRepositoryHomepagenpmAtom feed
1.6.6 is the newest release of 1.x.
In short
1 new
Release note
Patch Changes
anthropic: Add Claude Opus 4.6 support with adaptive thinking, effort parameter, compaction API, output_config migration, inference_geo, and structured outputs GA
Upgrade
@anthropic-ai/sdkfrom^0.71.0to^0.73.0Add
claude-opus-4-6model with 16384 default max output tokensSupport adaptive thinking (
thinking: { type: "adaptive" }) recommended for Opus 4.6Add
outputConfigparameter with effort levels (low,medium,high,max) for controlling token usageMigrate
outputFormattooutputConfig.format(backwards compatible,outputFormatdeprecated)Add compaction API support (beta) with auto-detection of
compact_20260112edits and streaming handlers for compaction content blocksAdd
inferenceGeoparameter for data residency controlsRemove structured-outputs beta header requirement (now GA)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.