langchain-anthropic==1.4.2

LangChain Releases / 4/29/2026

📰 NewsDeveloper Stack & Infrastructure

Key Points

  • langchain-anthropic v1.4.2 includes a bug fix that restores the `cache_control` setting for non-direct subclasses.
  • The release introduces a hotfix that bumps the minimum required versions of the core package(s).
  • A new core feature adds content-block-centric streaming (v2), indicating an evolution in how streaming responses are handled.
  • Additional maintenance updates include removing a `nobenchmark` CI flag and standardizing how partner integration tests are invoked.
  • Overall, the update combines Anthropic-specific fixes with core streaming improvements and various build/test hygiene changes.

Changes since langchain-anthropic==1.4.1

release(anthropic): 1.4.2 (#37061)
fix(anthropic): restore cache_control on non-direct subclasses (#37057)
hotfix: bump min core versions (#36996)
feat(core): add content-block-centric streaming (v2) (#36834)
hotfix(ci): remove nobenchmark flag (#36959)
chore(partners): standardize integration test invocation (#36958)