langchain==1.2.16

LangChain Releases / 4/30/2026

📰 NewsDeveloper Stack & InfrastructureTools & Practical UsageModels & Research

Key Points

  • langchain version 1.2.16 was released, with changes relative to 1.2.15 captured in the update notes.
  • The update includes documentation maintenance such as correcting import paths for agent middleware docstrings and updating social/X handle references.
  • A performance-related change stops inlining agent state into tool-dispatch Send calls.
  • Dependency/compatibility was addressed via a hotfix that bumps the minimum core versions.
  • The release train also includes provider-related updates, including langchain 1.4.2 for Anthropic and langchain 1.2.1 for OpenAI.

Changes since langchain==1.2.15

release(langchain): 1.2.16 (#37085)
chore(docs): update x handle references (#37081)
release(anthropic): 1.4.2 (#37061)
perf(langchain): stop inlining agent state into tool-dispatch Sends (#36960)
docs(langchain): correct import paths in agent middleware docstrings (#36987)
hotfix: bump min core versions (#36996)
release(openai): 1.2.1 (#36995)
feat(core): add content-block-centric streaming (v2) (#36834)
fix(fireworks): honor max_retries (#36973)
release(openai): 1.2.0 (#36961)
docs(langchain): correct import path in ModelCallLimitMiddleware docstring (#36895)
feat(langchain): ls_agent_type tag on create_agent calls (#36774)
release(core): release 1.3.0 (#36851)
chore: bump langsmith from 0.6.3 to 0.7.31 in /libs/langchain_v1 (#36800)
chore(deps): bump pytest to 9.0.3 (#36801)
chore: bump pytest from 9.0.2 to 9.0.3 in /libs/langchain_v1 (#36717)
chore: bump pillow from 12.1.1 to 12.2.0 in /libs/langchain_v1 (#36710)
test(langchain): test cache hit/miss on lru (#36659)
perf(langchain): add lru cache when resolving types (#36649)
perf(langchain): add another init test with middleware (#36644)
chore(core): reduce streaming metadata / perf (#36588)
perf(langchain): add benchmark command (#36641)
chore: bump cryptography from 46.0.6 to 46.0.7 in /libs/langchain_v1 (#36619)
docs(langchain): add missing baseten and litellm to init_chat_model (#36562)
release(core): 1.2.26 (#36511)