Releases: langchain-ai/langchain
langchain==1.0.0a14
Initial release
chore(langchain_v1): bump release version (#33440)
chore(langchain_v1): improve error message (#33433)
chore(langchain_v1): remove langchain_text_splitters from test group (#33425)
chore(langchain_v1): stricter handling of sync vs. async for wrap_model_call and wrap_tool_call (#33429)
chore(langchain_v1): further namespace clean up (#33428)
feat(langchain_v1): add async implementation for wrap_tool_call (#33420)
chore(langchain_v1): tool error exceptions (#33424)
feat(langchain_v1): expand message exports (#33419)
style: fix tables, capitalization (#33417)
chore(langchain_v1): add RemoveMessage
(#33416)
release(langchain_v1): v1.0.0a13 (#33415)
fix(langchain_v1): out of date docstring (#33414)
chore(langchain_v1): update on_tool_call to wrap_tool (#33410)
chore(langchain_v1): update wrap_on_model return (#33408)
feat(langchain_v1): tool emulator (#33357)
feat(langchain_v1): refactoring HITL API (#33397)
style: .. code-block::
admonition translations (#33400)
style: address Sphinx double-backtick snippet syntax (#33389)
chore: update Sphinx links to markdown (#33386)
style: remove more Optional
syntax (#33371)
chore(langchain_v1): rename on_model_call to wrap_model_call (#33370)
chore(langchain_v1): update the uv lock file (#33369)
chore(langchain_v1): replace modify model request with on model call (#33368)
chore(langchain): add unit tests for wrap_tool_call decorator (#33367)
chore(langchain_v1): rename on_tool_call to wrap_tool_call (#33366)
chore(langchain_v1): add runtime and context to model request (#33365)
chore(langchain_v1): update on_tool_call to regular callbacks (#33364)
style: monorepo pass for refs (#33359)
chore(langchain_v1): simplify on model call logic (#33358)
chore: fix dropdown default open admonition in refs (#33354)
chore(langchain_v1): remove unused internal namespace (#33352)
feat(langchain_v1): add on_tool_call middleware hook (#33329)
feat(langchain_v1): on_model_call middleware (#33328)
remove runtime where not needed
fix(langchain_v1): injection logic in tool node (#33344)
chore: enrich pyproject.toml
files with links to new references, others (#33343)
chore: clean up pyproject.toml
files, use core a7 (#33334)
chore(langchain): clean Makefile
(#33335)
fix(langchain_v1): fix edges when there's no middleware (#33321)
release(langchain_v1): 1.0.0a12 (#33314)
chore(langchain_v1): rename model_request
node -> model
(#33310)
release(langchain_v1): 1.0.0a11 (#33307)
chore(langchain_v1): remove support for ToolNode
in create_agent
(#33306)
feat(langchain_v1): simplify to use ONE agent (#33302)
chore(langchain_v1): remove text splitters from langchain v1 namespace (#33297)
chore(langchain_v1): expose rate_limiters from langchain_core (#33305)
fix(langchain_v1): tool selector should use last human message (#33294)
feat(langchain_v1): before_agent
and after_agent
hooks (#33279)
feat(langchain_v1): Implement Context Editing Middleware (#33267)
feat(openai): enable stream_usage when using default base URL and client (#33205)
chore(infra): pdm -> hatchling (#33289)
feat(langchain_v1): Add retry_model_request middleware hook, add ModelFallbackMiddleware (#33275)
fix(langchain_v1): linting fixes for llm tool selector (#33278)
feat(langchain_v1): add llm selection middleware (#33272)
feat(langchain_v1): represent server side tools in modifyModelRequest and update tool handling (#33274)
feat(langchain_v1): Implement PIIMiddleware (#33271)
fix(langchain_v1): dynamic response format (#33273)
chore(langchain_v1): remove union return type in init_embeddings (#33062)
feat(langchain_v1): Add ToolCallLimitMiddleware (#33269)
chore(langchain_v1): change modifyModelRequest back to tools (#33270)
fix(langchain_v1): handle switching resposne format strategy based on model identity (#33259)
feat(langchain_v1): implement nicer devx for dynamic prompt (#33264)
feat(langchain_v1): description generator for HITL middleware (#33195)
chore(core,langchain,langchain_v1)!: remove globals from langchain-v1, update globals in langchain-classic, langchain-core (#33251)
chore(langchain_v1)!: Remove ToolNode from agents (#33250)
feat(langchain): model call limits (#33178)
chore: delete deprecated items (#33192)
chore(langchain_v1): uncomment some optional deps (#33244)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
feat(langchain_v1): update messages namespace (#33207)
feat(langchain): use decorators for jumps instead (#33179)
feat(langchain_v1): add async
support for create_agent
(#33175)
chore(langchain_v1): use list[str] for modifyModelRequest (#33166)
feat(langchain): Using Structured Response as Key in Output Schema for Middleware Agent (#33159)
chore(langchain_v1): expose middleware decorators and selected messages (#33163)
feat(langchain): todo middleware (#33152)
fix(langchain): handle gpt-5
model name in init_chat_model
(#33148)
fix(langchain): add context_management
to Anthropic chat model init (#33150)
fix(langchain): fix response action for HITL (#33131)
chore(langchain_v1): move tool node to tools namespace (#33132)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
docs: correct ported over directives (#33121)
chore: bump ruff version to 0.13 (#33043)
chore: bump locks (#33114)
release(langchain): v1.0.0a9 (#33098)
fix(langchain): extra arg for anthropic caching, __end__
-> end
for jump_to
(#33097)
fix(langchain_v1): version equality check (#33095)
release(langchain): 1.0.0a8 (#33090)
feat(langchain): improvements to anthropic prompt caching (#33058)
style: repo linting pass (#33089)
fix(langchain): need to inject all state for tools registered by middleware (#33087)
chore(langchain): renaming for HITL (#33067)
chore(langchain): simplifying HITL condition (#33065)
fix(langchain_v1): only interrupt if at least one ToolConfig value is True (#33064)
feat(langchain): new decorator pattern for dynamically generated middleware (#33053)
fix(langchain): HITL bug causing dupe interrupt (#33052)
chore: update pyproject.toml
files, remove codespell (#33028)
release(langchain): 1.0.0a6 (#33024)
fix(langchain): use state schema as input schema to middleware nodes (#33023)
feat(langchain): dynamic system prompt middleware (#33006)
feat(langchain): improved HITL patterns (#32996)
chore: restore commented out optional deps (#32971)
chore: bump mypy version to 1.18 (#32914)
release(langchain): v1.0.0a5 (#32917)
fix(langchain): use messages from model request (#32908)
fix(core): resolve mermaid node id collisions when special chars are used (#32857)
revert: "chore: remove ruff target-version" (#32895)
chore: remove ruff target-version (#32880)
chore(docs): update package README
s (#32869)
feat(langchain): support PEP604 ( |
union) in tool node error handlers (#32861)
chore(langchain): add ruff rule E501 in langchain_v1
(#32812)
chore(langchain): add ruff rule UP007 in langchain_v1
(#32811)
chore(langchain): enable ruff docstring-code-format in langchain_v1 (#32855)
chore(core): enable ruff docstring-code-format (#32834)
feat(langchain): middleware support in create_agent
(#32828)
fix(langchain): fix mypy versions in langchain_v1
(#32816)
chore(langchain): cleanup langchain_v1
mypy config (#32809)
chore(langchain): add ruff rules D for langchain_v1
(#32808)
fix(langchain): update init version (#32793)
release(langchain): v1.0.0a3 (#32791)
chore(langchain): rename create_react_agent
-> create_agent
(#32789)
chore(langchain): remove upper bound at v1 for core (#32737)
chore(langchain): also bump text splitters (#32722)
chore(langchain): use latest core (#32720)
chore(langchain): revert back to static versioning for now (#32719)
release(langchain): v1.0.0a1 (#32718)
feat(langchain): revamped create_react_agent
(#32705)
chore(langchain): remove untested chains for first alpha (#32710)
chore(langchain): drop Python 3.9 to prep for v1 (#32704)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
docs: update outdated README.md
content (#32540)
fix(tests): add anthropic_proxy
to configurable test parameters (for v1)
chore: formatting across codebase (#32466)
feat(openai): minimal
and verbosity
(#32455)
feat(langchain): add stuff and map reduce chains (#32333)
fix: use new Google model names in examples (#32288)
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
chore(langchain_v1): clean anything uncertain (#32228)
feat(langchain): v1 scaffolding (#32166)
langchain==1.0.0a13
Initial release
chore(langchain_v1): add RemoveMessage
(#33416)
release(langchain_v1): v1.0.0a13 (#33415)
fix(langchain_v1): out of date docstring (#33414)
chore(langchain_v1): update on_tool_call to wrap_tool (#33410)
chore(langchain_v1): update wrap_on_model return (#33408)
feat(langchain_v1): tool emulator (#33357)
feat(langchain_v1): refactoring HITL API (#33397)
style: .. code-block::
admonition translations (#33400)
style: address Sphinx double-backtick snippet syntax (#33389)
chore: update Sphinx links to markdown (#33386)
style: remove more Optional
syntax (#33371)
chore(langchain_v1): rename on_model_call to wrap_model_call (#33370)
chore(langchain_v1): update the uv lock file (#33369)
chore(langchain_v1): replace modify model request with on model call (#33368)
chore(langchain): add unit tests for wrap_tool_call decorator (#33367)
chore(langchain_v1): rename on_tool_call to wrap_tool_call (#33366)
chore(langchain_v1): add runtime and context to model request (#33365)
chore(langchain_v1): update on_tool_call to regular callbacks (#33364)
style: monorepo pass for refs (#33359)
chore(langchain_v1): simplify on model call logic (#33358)
chore: fix dropdown default open admonition in refs (#33354)
chore(langchain_v1): remove unused internal namespace (#33352)
feat(langchain_v1): add on_tool_call middleware hook (#33329)
feat(langchain_v1): on_model_call middleware (#33328)
remove runtime where not needed
fix(langchain_v1): injection logic in tool node (#33344)
chore: enrich pyproject.toml
files with links to new references, others (#33343)
chore: clean up pyproject.toml
files, use core a7 (#33334)
chore(langchain): clean Makefile
(#33335)
fix(langchain_v1): fix edges when there's no middleware (#33321)
release(langchain_v1): 1.0.0a12 (#33314)
chore(langchain_v1): rename model_request
node -> model
(#33310)
release(langchain_v1): 1.0.0a11 (#33307)
chore(langchain_v1): remove support for ToolNode
in create_agent
(#33306)
feat(langchain_v1): simplify to use ONE agent (#33302)
chore(langchain_v1): remove text splitters from langchain v1 namespace (#33297)
chore(langchain_v1): expose rate_limiters from langchain_core (#33305)
fix(langchain_v1): tool selector should use last human message (#33294)
feat(langchain_v1): before_agent
and after_agent
hooks (#33279)
feat(langchain_v1): Implement Context Editing Middleware (#33267)
feat(openai): enable stream_usage when using default base URL and client (#33205)
chore(infra): pdm -> hatchling (#33289)
feat(langchain_v1): Add retry_model_request middleware hook, add ModelFallbackMiddleware (#33275)
fix(langchain_v1): linting fixes for llm tool selector (#33278)
feat(langchain_v1): add llm selection middleware (#33272)
feat(langchain_v1): represent server side tools in modifyModelRequest and update tool handling (#33274)
feat(langchain_v1): Implement PIIMiddleware (#33271)
fix(langchain_v1): dynamic response format (#33273)
chore(langchain_v1): remove union return type in init_embeddings (#33062)
feat(langchain_v1): Add ToolCallLimitMiddleware (#33269)
chore(langchain_v1): change modifyModelRequest back to tools (#33270)
fix(langchain_v1): handle switching resposne format strategy based on model identity (#33259)
feat(langchain_v1): implement nicer devx for dynamic prompt (#33264)
feat(langchain_v1): description generator for HITL middleware (#33195)
chore(core,langchain,langchain_v1)!: remove globals from langchain-v1, update globals in langchain-classic, langchain-core (#33251)
chore(langchain_v1)!: Remove ToolNode from agents (#33250)
feat(langchain): model call limits (#33178)
chore: delete deprecated items (#33192)
chore(langchain_v1): uncomment some optional deps (#33244)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
feat(langchain_v1): update messages namespace (#33207)
feat(langchain): use decorators for jumps instead (#33179)
feat(langchain_v1): add async
support for create_agent
(#33175)
chore(langchain_v1): use list[str] for modifyModelRequest (#33166)
feat(langchain): Using Structured Response as Key in Output Schema for Middleware Agent (#33159)
chore(langchain_v1): expose middleware decorators and selected messages (#33163)
feat(langchain): todo middleware (#33152)
fix(langchain): handle gpt-5
model name in init_chat_model
(#33148)
fix(langchain): add context_management
to Anthropic chat model init (#33150)
fix(langchain): fix response action for HITL (#33131)
chore(langchain_v1): move tool node to tools namespace (#33132)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
docs: correct ported over directives (#33121)
chore: bump ruff version to 0.13 (#33043)
chore: bump locks (#33114)
release(langchain): v1.0.0a9 (#33098)
fix(langchain): extra arg for anthropic caching, __end__
-> end
for jump_to
(#33097)
fix(langchain_v1): version equality check (#33095)
release(langchain): 1.0.0a8 (#33090)
feat(langchain): improvements to anthropic prompt caching (#33058)
style: repo linting pass (#33089)
fix(langchain): need to inject all state for tools registered by middleware (#33087)
chore(langchain): renaming for HITL (#33067)
chore(langchain): simplifying HITL condition (#33065)
fix(langchain_v1): only interrupt if at least one ToolConfig value is True (#33064)
feat(langchain): new decorator pattern for dynamically generated middleware (#33053)
fix(langchain): HITL bug causing dupe interrupt (#33052)
chore: update pyproject.toml
files, remove codespell (#33028)
release(langchain): 1.0.0a6 (#33024)
fix(langchain): use state schema as input schema to middleware nodes (#33023)
feat(langchain): dynamic system prompt middleware (#33006)
feat(langchain): improved HITL patterns (#32996)
chore: restore commented out optional deps (#32971)
chore: bump mypy version to 1.18 (#32914)
release(langchain): v1.0.0a5 (#32917)
fix(langchain): use messages from model request (#32908)
fix(core): resolve mermaid node id collisions when special chars are used (#32857)
revert: "chore: remove ruff target-version" (#32895)
chore: remove ruff target-version (#32880)
chore(docs): update package README
s (#32869)
feat(langchain): support PEP604 ( |
union) in tool node error handlers (#32861)
chore(langchain): add ruff rule E501 in langchain_v1
(#32812)
chore(langchain): add ruff rule UP007 in langchain_v1
(#32811)
chore(langchain): enable ruff docstring-code-format in langchain_v1 (#32855)
chore(core): enable ruff docstring-code-format (#32834)
feat(langchain): middleware support in create_agent
(#32828)
fix(langchain): fix mypy versions in langchain_v1
(#32816)
chore(langchain): cleanup langchain_v1
mypy config (#32809)
chore(langchain): add ruff rules D for langchain_v1
(#32808)
fix(langchain): update init version (#32793)
release(langchain): v1.0.0a3 (#32791)
chore(langchain): rename create_react_agent
-> create_agent
(#32789)
chore(langchain): remove upper bound at v1 for core (#32737)
chore(langchain): also bump text splitters (#32722)
chore(langchain): use latest core (#32720)
chore(langchain): revert back to static versioning for now (#32719)
release(langchain): v1.0.0a1 (#32718)
feat(langchain): revamped create_react_agent
(#32705)
chore(langchain): remove untested chains for first alpha (#32710)
chore(langchain): drop Python 3.9 to prep for v1 (#32704)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
docs: update outdated README.md
content (#32540)
fix(tests): add anthropic_proxy
to configurable test parameters (for v1)
chore: formatting across codebase (#32466)
feat(openai): minimal
and verbosity
(#32455)
feat(langchain): add stuff and map reduce chains (#32333)
fix: use new Google model names in examples (#32288)
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
chore(langchain_v1): clean anything uncertain (#32228)
feat(langchain): v1 scaffolding (#32166)
langchain-anthropic==1.0.0a4
Initial release
release(anthropic): 1.0.0a4 (#33427)
style: llm
-> model
(#33423)
style: .. code-block::
admonition translations (#33400)
fix(anthropic): handle empty AIMessage (#33390)
style: address Sphinx double-backtick snippet syntax (#33389)
chore: update Sphinx links to markdown (#33386)
style: remove more Optional
syntax (#33371)
chore: drop UP045 (#33362)
style: monorepo pass for refs (#33359)
chore: enrich pyproject.toml
files with links to new references, others (#33343)
release(anthropic): 1.0.0a3 (#33317)
fix(core,openai,anthropic): delegate to core implementation on invoke when streaming=True (#33308)
chore(infra): pdm -> hatchling (#33289)
style: drop target-version = "py39"
for OpenAI, Anthropic, HuggingFace (#33287)
fix(anthropic,openai): fix tests (#33257)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
feat: (core, standard-tests) support PDF inputs in ToolMessages (#33183)
release(anthropic): 0.3.21 (#33147)
feat(anthropic): support memory and context management features (#33146)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
chore: bump ruff version to 0.13 (#33043)
style: repo linting pass (#33089)
chore: update pyproject.toml
files, remove codespell (#33028)
docs(anthropic): update documentation links (#32938)
test(anthropic): enable VCR for web fetch test (#32913)
feat(core): allow overriding ls_model_name
from kwargs (#32541)
release(anthropic): 0.3.20 (#32900)
feat(anthropic): web fetch beta (#32894)
revert: "chore: remove ruff target-version" (#32895)
fix(anthropic): remove unneeded beta flags (#32893)
fix(anthropic): update ChatAnthropic
model in tests/doc (#32892)
chore: remove ruff target-version (#32880)
fix(anthropic): remove beta header warning for TTL (#32832)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
release(anthropic): 0.3.19 (#32595)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
fix(anthropic): correct input_token
count for streaming (#32591)
fix(anthropic): clean up null file_id
fields in citations during message formatting (#32592)
revert(anthropic): streaming token counting to defer input tokens until completion (#32587)
fix(anthropic): sanitize tool use block when taking directly from content (#32574)
fix(anthropic): streaming token counting to defer input tokens until completion (#32518)
fix(anthropic): Add proxy (#32409)
feat(anthropic): support cache_control
as a kwarg (#31523)
fix(anthropic): update test model names and adjust token count assertions in integration tests (#32422)
docs(anthropic): add documentation for extended context windows in Claude Sonnet 4 (#32517)
feat: port various nit changes from wip-v0.4
(#32506)
release(anthropic): 0.3.18 (#32292)
refactor(anthropic): AnthropicLLM to use Messages API (#32290)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
fix(anthropic): update integration test models (#32189)
fix(anthropic): fix test (#32145)
ruff: restore stacklevels, disable autofixing (#31919)
ruff: add bugbear across packages (#31917)
huggingface[patch]: ruff fixes and rules (#31912)
anthropic[patch]: ruff fixes and rules (#31899)
ruff: more rules across the board & fixes (#31898)
fix: automatically fix issues with ruff (#31897)
anthropic[patch]: pass back in citations in multi-turn conversations (#31882)
Revert "infra: temporarily skip tests" (#31854)
infra: temporarily skip tests (#31853)
anthropic: release 0.3.17 (#31852)
docs: anthropic formatting cleanup (#31847)
langchain-anthropic[patch]: Add ruff bandit rules (#31789)
anthropic: release 0.3.16 (#31744)
anthropic[patch]: cache clients (#31659)
anthropic[patch]: add benchmark (#31718)
docs: document Anthropic cache TTL count details (#31708)
anthropic[patch]: cache tokens nit (#31484)
infra: relax types-requests version range (#31504)
anthropic[fix]: bump langchain-core dep (#31483)
release[anthropic]: 0.3.15 (#31479)
infra: remove use of --vcr-record=none (#31452)
standard-tests: migrate to pytest-recording (#31425)
standard-tests: add benchmarks (#31302)
anthropic: store cache ttl details on usage metadata (#31393)
anthropic: release 0.3.14 (#31378)
anthropic: support for code execution, MCP connector, files API features (#31340)
anthropic: emit informative error message if there are only system messages in a prompt (#30822)
docs: add web search to anthropic docs (#31169)
anthropic[patch]: split test into two (#31167)
anthropic: release 0.3.13 (#31162)
anthropic: update streaming usage metadata (#31158)
anthropic[patch]: support web search (#31157)
anthropic[patch]: be robust to null fields when translating usage metadata (#31151)
anthropic: Allow kwargs to pass through when counting tokens (#31082)
packaging: remove Python upper bound for langchain and co libs (#31025)
anthropic[patch]: make description optional on AnthropicTool (#30935)
partners: ChatAnthropic supports urls (#30809)
anthropic: release 0.3.12 (#30907)
multiple: permit optional fields on multimodal content blocks (#30887)
anthropic: release 0.3.11 (#30857)
multiple: multi-modal content blocks (#30746)
partners[lint]: run pyupgrade
to get code in line with 3.9 standards (#30781)
infra: handle flaky tests (#30501)
anthropic: release 0.3.10 (#30287)
anthropic: support built-in tools, improve docs (#30274)
core[patch]: update structured output tracing (#30123)
anthropic[patch]: add PDF input example to API reference (#30156)
core, openai, standard-tests: improve OpenAI compatibility with Anthropic content blocks (#30128)
anthropic[patch]: release 0.3.9 (#30103)
anthropic[patch]: allow structured output when thinking is enabled (#30047)
anthropic, mistral: return model_name
in response metadata (#30048)
docs: document anthropic features (#30030)
anthropic[patch]: release 0.3.8 (#29973)
anthropic[patch]: support claude 3.7 sonnet (#29971)
anthropic[patch]: update models for integration tests (#29938)
core: basemessage.text() (#29078)
multiple: fix uv path deps (#29790)
anthropic: release 0.3.7 (#29653)
infra: add UV_FROZEN to makefiles (#29642)
infra: migrate to uv (#29566)
anthropic[patch]: release 0.3.6 (#29606)
anthropic[patch]: support citations in streaming (#29591)
partners/anthropic: release 0.3.5 (#29486)
multiple: structured output tracing standard metadata (#29421)
anthropic[patch]: release 0.3.4 (#29399)
anthropic[patch]: always return content blocks if citations are generated (#29398)
[Doc] Improve api doc (#29324)
anthropic[patch]: update tool choice type (#29276)
anthropic[patch]: release 0.3.2 (#29275)
anthropic[patch]: support parallel_tool_calls
(#29257)
anthropic: pydantic mypy plugin (#29144)
anthropic: pdf integration test (#29142)
multiple: disable socket for unit tests (#29080)
Revert "integrations[patch]: remove non-required chat param defaults" (#29048)
integrations[patch]: remove non-required chat param defaults (#26730)
core,anthropic[patch]: fix with_structured_output typing (#28950)
anthropic: less pydantic for client (#28823)
anthropic: sdk bump (#28820)
partners/anthropic: release 0.3.1 (#28801)
anthropic[patch]: increase timeouts for integration tests (#28767)
anthropic: timeout in tests (10s) (#28488)
multiple: push deprecation removals to 1.0 (#28236)
standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 (#28203)
multiple: langchain-standard-tests -> langchain-tests (#28139)
anthropic[patch]: add examples to API ref (#28065)
anthropic[major]: release 0.3.0 (#28063)
anthropic[major]: support python 3.13 (#27916)
anthropic[patch]: remove retired model from tests (#27965)
integrations[patch]: bump core to 0.3.15 (#27805)
anthropic[patch]: allow multiple sys not at start (#27725)
core[patch]: add convert_to_openai_messages util (#27263)
multiple: rely on asyncio_mode auto in tests (#27200)
[Anthropic] Shallow Copy (#27105)
docs: fix anthropic max_tokens docstring (#27166)
anthropic[patch]: Release 0.2.3 (#27126)
anthropic[patch]: fix input_tokens when cached (#27125)
standard-tests[patch]: fix oai usage metadata test (#27122)
anthropic[patch]: Release 0.2.2 (#27118)
anthropic[patch]: correctly handle tool msg with empty list (#27109)
core,integrations[minor]: Dont error on fields in model_kwargs (#27110)
anthropic[patch]: add usage_metadata details (#27087)
anthropic[patch]: Release 0.2.1 (#26592)
anthropic[patch]: fix tool call and tool res image_url handling (#26587)
docs: anthropic api ref nit (#26591)
partners/anthropic: release 0.2.0 (#26469)
partners/anthropic: release 0.3.0 (#26466)
multiple: pydantic 2 compatibility, v0.3 (#26443)
standard-tests[patch]: add Ser/Des test
all: Improve make lint command (#25344)
core, partners: implement standard tracing params for LLMs (#25410)
core[minor], anthropic[patch]: Upgrade @root_validator usage to be consistent with pydantic 2 (#25457)
anthropic[patch]: Release 0.1.23 (#25394)
patch[Partners] Unified fix of incorrect variable declarations in all check_imports (#25014)
integrations[patch]: release model packages (#24900)
core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641)
core[patch]: introduce ToolMessage.status (#24628)
integration releases (#24725)
all: add release notes to pypi (#24519)
core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417)
anthropic[patch]: Release 0.1.20 (#24204)
integrations[patch]: require core >=0.2.17 (#24207)
core[minor], integrations...[patch]: Support ToolCall as Tool input and ToolMessage as Tool output (#24038)
infra: update mypy 1.10,...
langchain-core==0.3.79
langchain-anthropic==0.3.22
langchain-openai==1.0.0a4
Initial release
release(openai): 1.0.0a4 (#33316)
fix(standard-tests,openai): minor fix for Responses API tests (#33315)
fix(core,openai,anthropic): delegate to core implementation on invoke when streaming=True (#33308)
fix(openai): disable stream_usage in chat completions if OPENAI_BASE_URL is set (#33298)
chore(openai): (v1) fix sort order of mcp call keys (#33295)
feat(openai): enable stream_usage when using default base URL and client (#33205)
chore(infra): pdm -> hatchling (#33289)
style: drop target-version = "py39"
for OpenAI, Anthropic, HuggingFace (#33287)
fix(anthropic,openai): fix tests (#33257)
chore: delete deprecated items (#33192)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
fix(openai): bump min core version (#33188)
feat: (core, standard-tests) support PDF inputs in ToolMessages (#33183)
release(openai): 0.3.34 (#33169)
feat(openai): support openai sdk 2.0 (#33168)
fix(openai): remove future.annotations import from test files (#33144)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
test(openai): raise token limit for o1 test (#33118)
chore: bump ruff version to 0.13 (#33043)
style: repo linting pass (#33089)
fix: lift openai version constraints across packages (#33088)
fix(openai): pin upper bound to prevent Pydantic 2.7.0 issues (#33038)
test: use .get()
for safe ls_params
access (#33034)
chore: update pyproject.toml
files, remove codespell (#33028)
feat(openai): add max_tokens
to AzureChatOpenAI
(#32959)
feat(core): allow overriding ls_model_name
from kwargs (#32541)
revert: "chore: remove ruff target-version" (#32895)
fix(openai): update AzureOpenAIEmbeddings
validation logic for openai_api_base
(#31782)
release(openai): 0.3.33 (#32887)
chore: remove ruff target-version (#32880)
fix(openai): structured output (#32551)
fix(openai): handle AIMessage
s without response_id
in _get_last_messages
(#32824)
fix(openai): Fix Azure OpenAI Responses API model field issue (#32649)
chore(openai): apply formatting changes to AzureChatOpenAI (#32848)
feat(core): add web_search
in OpenAI tools list (#32738)
docs: standardize OllamaLLM
and BaseOpenAI
docstrings (#32758)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
release(openai): 0.3.32 (#32691)
fix(openai): Always add raw response object to OpenAI client errors for invoke (#32655)
docs(docs): fixed typos in documentations (#32661)
release(openai): 0.3.31 (#32646)
fix(openai): allow temperature parameter for gpt-5-chat models (#32624)
fix(openai): construct responses api input (#32557)
fix(openai): Chat Message Annotations
defaults to [ ]
if not list or None (#32614)
release(openai): 0.3.30 (#32515)
feat(openai): officially support verbosity
(#32470)
feat: port various nit changes from wip-v0.4
(#32506)
release(openai): release 0.3.29 (#32463)
chore: formatting across codebase (#32466)
fix(openai): revert some changes (#32462)
feat(openai): minimal
and verbosity
(#32455)
fix(openai): don't crash get_num_tokens_from_messages on gpt-5 (#32451)
feat(openai): custom tools (#32449)
test(openai): add tests for prompt_cache_key
parameter and update docs (#32363)
fix(openai): add in output_text
(#32450)
chore(openai): bump openai sdk (#32322)
fix(openai): add max_retries
parameter to ChatOpenAI for handling 503 capacity errors (#32286)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
release(openai): 0.3.28 (#32015)
fix(openai): support acknowledged safety checks in computer use (#31984)
chore: [openai] bump sdk (#31958)
docs(xai): update for Grok 4 (#31953)
ruff: more rules across the board & fixes (#31898)
fix: automatically fix issues with ruff (#31897)
langchain-openai[patch]: Add ruff bandit rules to linter (#31788)
openai: release 0.3.27 (#31769)
openai[fix]: Correctly set usage metadata for OpenAI Responses API (#31756)
docs: updates from langchain-openai 0.3.26 (#31764)
openai[patch]: update cassette (#31752)
openai[patch]: update test following release of openai 1.92 (#31751)
openai: release 0.3.26 (#31749)
openai[patch]: allow specification of output format for Responses API (#31686)
openai[patch]: fix bug where function call IDs were not populated (#31735)
openai[patch]: add attribute to always use previous_response_id (#31734)
openai[patch]: fix dropping response headers while streaming / Azure (#31580)
openai: release 0.3.25 (#31702)
openai[patch]: fix client caching when request_timeout is specified via httpx.Timeout (#31698)
openai[patch]: Improve error message when response type is malformed (#31619)
openai[patch]: include 'type' key internally when streaming reasoning blocks (#31661)
openai[patch]: route to Responses API if relevant attributes are set (#31645)
openai: release 0.3.24 (#31642)
openai[patch]: add Responses API attributes to BaseChatOpenAI (#30329)
openai[patch]: support Responses streaming in AzureChatOpenAI (#31641)
openai[patch]: refactor handling of Responses API (#31587)
openai: release 0.3.23 (#31604)
openai[patch]: handle annotation change in openai==1.82.0 (#31597)
[OpenAI]: Encoding Model (#31402)
openai: release 0.3.22 (#31542)
openai[patch]: accommodate change in image generation API (#31522)
openai[patch]: VCR some tests (#31524)
openai[release]: 0.3.21 (#31519)
openai[patch]: pass through with_structured_output kwargs (#31518)
openai[patch]: update with_structured_outputs docstring (#31517)
openai: release 0.3.20 (#31515)
openai[patch]: guard against None text completions in BaseOpenAI (#31514)
openai[patch]: clarify docs on api_version in docstring for AzureChatOpenAI (#31502)
openai: release 0.3.19 (#31466)
openai[minor]: add image generation to responses api (#31424)
infra: remove use of --vcr-record=none (#31452)
standard-tests: migrate to pytest-recording (#31425)
infra: drop azure from streaming benchmarks (#31421)
openai: cache httpx client (#31260)
standard-tests: add benchmarks (#31302)
openai[patch]: add test case for code interpreter (#31383)
openai: release 0.3.18 (#31320)
openai[patch]: relax Azure llm streaming callback test (#31319)
openai[patch]: support built-in code interpreter and remote MCP tools (#31304)
openai[patch]: run _tokenize in background thread in async embedding invocations (#31312)
openai[patch]: update tests for strict schemas (#31306)
openai[patch]: reduce tested constraints on strict schema adherence for Responses API (#31290)
openai[patch]: compat with Bedrock Converse (#31280)
openai: release 0.3.17 (#31246)
openai: support runtime kwargs in embeddings (#31195)
openai: ignore function_calls if tool_calls are present (#31198)
partners: (langchain-openai) total_tokens should not add 'Nonetype' t⦠(#31146)
Replace deprecated .dict() with .model_dump() for Pydantic v2 compatibility (#31107)
openai: release 0.3.16 (#31100)
openai[patch]: format system content blocks for Responses API (#31096)
core, openai[patch]: prefer provider-assigned IDs when aggregating message chunks (#31080)
openai[patch]: propagate service_tier to response metadata (#31089)
openai[patch]: release 0.3.15 (#31087)
packaging: remove Python upper bound for langchain and co libs (#31025)
langchain_openai: clean duplicate code for openai embedding. (#30872)
docs: document OpenAI flex processing (#31023)
openai[patch]: add explicit attribute for service tier (#31005)
openai[patch]: delete redundant tests (#31004)
openai: fix streaming reasoning without summaries (#30999)
core, standard-tests: support PDF and audio input in Chat Completions format (#30979)
core, openai: support standard multi-modal blocks in convert_to_openai_messages (#30968)
openai[patch]: remove xfails from image token counting tests (#30963)
Support of openai reasoning summary streaming (#30909)
partners/openai: OpenAIEmbeddings not respecting chunk_size argument (#30757)
openai: release 0.3.14 (#30908)
standard-tests, openai[patch]: add support standard audio inputs (#30904)
multiple: permit optional fields on multimodal content blocks (#30887)
docs: document OpenAI reasoning summaries (#30882)
openai: release 0.3.13 (#30858)
multiple: multi-modal content blocks (#30746)
openai[patch]: update imports in test (#30828)
partners[lint]: run pyupgrade
to get code in line with 3.9 standards (#30781)
Clean up numpy
dependencies and speed up 3.13 CI with numpy>=2.1.0
(#30714)
openai[patch]: make computer test more reliable (#30672)
openai[patch]: upgrade tiktoken and fix test (#30621)
openai: release 0.3.12 (#30616)
openai[patch]: support structured output and tools (#30581)
openai[patch]: ignore file blocks when counting tokens (#30601)
langchain-openai: Support token counting for o-series models in ChatOpenAI (#30542)
docs,langchain-community: Fix typos in docs and code (#30541)
openai: release 0.3.11 (#30503)
openai[patch]: support streaming token counts in AzureChatOpenAI (#30494)
infra: handle flaky tests (#30501)
openai[patch]: attempt to make test less flaky (#30463)
openai[patch]: bump openai sdk (#30461)
openai: release 0.3.10 (#30460)
openai[patch]: support multi-turn computer use (#30410)
openai[patch]: trace strict in structured_output_kwargs (#30425)
Fix typo: change 'ben' to 'be' in comment (#30358)
openai[patch]: release 0.3.9 (#30325)
openai[patch]: support additional Responses API features (#30322)
openai[patch]: support structured output via Responses API (#30265)
openai[patch]: support Responses API (#30231)
standard-tests, openai: bump core (#30202)
openai[patch]: release 0.3.8 (#30164)
core[patch]: update structured output tracing (#30123)
core, openai, standard-tests: improve OpenAI compatibility with Anthropic content blocks (#30128)
docs: Fix typo in code sam...
langchain-core==1.0.0a8
Initial release
release(core): 1.0.0a8 (#33341)
fix(core): add back add_user_message and add_ai_message (#33340)
release(core): 1.0.0a7 (#33309)
fix(core,openai,anthropic): delegate to core implementation on invoke when streaming=True (#33308)
fix(core): fix string content when streaming output_version="v1" (#33261)
chore(infra): pdm -> hatchling (#33289)
style(core): drop python 39
linting target for 3.10 (#33286)
chore(core): docstring nits (#33285)
chore(core,langchain,langchain_v1)!: remove globals from langchain-v1, update globals in langchain-classic, langchain-core (#33251)
feat(core): add optional include_id param to convert_to_openai_messages function (#33242)
chore: delete deprecated items (#33192)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
release(core): 0.3.77 (#33185)
feat: (core, standard-tests) support PDF inputs in ToolMessages (#33183)
chore(core): remove runnable section from README.md
(#33171)
docs(core): remove non-existent param from as_tool
docstring (#33165)
fix(core): Support of 'reasoning' type in 'convert_to_openai_messages' (#33050)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
chore: bump ruff version to 0.13 (#33043)
test(core): resolve pytest marker warning (#33111)
test(core): resolve pydantic_v1
deprecation warning (#33110)
refactor(core): use aadd_documents
in vectorstores unit tests (#33109)
fix(core): use version agnostic get_fields
(#33108)
test(core): use secure hash algorithm in indexing test to eliminate SHA-1 warning (#33107)
test(core): suppress pydantic_v1
deprecation warnings during import tests (#33106)
test(core): don't use deprecated input_variables
param in from_file
(#33105)
refactor(core): don't use deprecated input_variables
param in from_file
(#33104)
test(core): enhance stringify_value test coverage for nested structures (#33099)
test(core): suppress deprecation warnings in PipelinePromptTemplate
(#33102)
fix(core): use secure hash algorithm in indexing test to eliminate SHA-1 warning (#33101)
style(core): typo/docs lint pass (#33093)
chore: update pyproject.toml
files, remove codespell (#33028)
docs(core): fix bugs and improve example code in chat_history.py
(#32994)
docs(core): add type hints to BaseStore example code (#32946)
chore(langchain): Fix typos in core docstrings (#32928)
docs(core): remove duplicate 'the' in indexing/api.py (#32924)
chore(core): test that default values in tool calls are preserved in json schema representation (#32921)
chore: bump mypy version to 1.18 (#32914)
fix(core): resolve mermaid node id collisions when special chars are used (#32857)
fix(core): preserve ordering in RunnableRetry batch/abatch results (#32526)
feat(core): allow overriding ls_model_name
from kwargs (#32541)
fix(core): fix support of Pydantic v1 models in BaseTool.args (#32487)
fix(core): resolve infinite recursion in _dereference_refs_helper
with mixed $ref
objects (#32578)
fix(core): force overwrite additionalProperties to False in strict mode (#32879)
fix(core): AsyncCallbackHandler
docstring cleanup (#32897)
fix(core): raise OutputParserException
for non-dict JSON outputs (#32236)
revert: "chore: remove ruff target-version" (#32895)
feat(core): allow custom Mermaid URL (#32831)
fix(core): preserve ToolMessage.status
field in convert_to_messages
(#32840)
test: Add failing test for BaseCallbackManager.merge
(#32040)
test(core): reactivate commented tests in test_indexing
(#32882)
chore: remove ruff target-version (#32880)
release(core): 0.3.76 (#32877)
fix(core): honor enabled=false
in nested tracing (#31986)
fix(core): ensure InjectedToolCallId
always overrides LLM-generated values (#32766)
chore(docs): update package README
s (#32869)
chore(core): cleanup pyproject.toml
(#32865)
refactor(core): improve beta decorator (#32505)
feat(core): add id
field to Document
passed to filter for InMemoryVectorStore
similarity search (#32688)
feat(core): support AWS Bedrock document
content blocks in msg_content_output
(#32799)
feat(core): support for adding PromptTemplate
s with formats other than f-string
(#32253)
chore(core): add ruff rule PLC0415 (#32351)
chore(core): fix some pydocs to use google-style (#32764)
chore(core): fix some ruff preview rules (#32785)
chore(core): fix some docstrings (from DOC preview rule) (#32833)
refactor(core): use pytest style in TestGetBufferString
(#32786)
chore(core): enable ruff docstring-code-format (#32834)
chore(core): fix some mypy warn_unreachable
issues (#32560)
feat(core): add web_search
in OpenAI tools list (#32738)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
release(core): 0.3.75 (#32693)
feat(core): trace response body on error (#32653)
chore(core): add note about backward compatibility for tool_calls
in additional_kwargs
in JsonOutputKeyToolsParser
docs(docs): fixed typos in documentations (#32661)
chore(core): add mypy pydantic plugin (#32604)
refactor(core): Use duck typing for _StreamingCallbackHandler
(#32535)
fix(core): Support no-args tools by defaulting args to empty dict (#32530)
docs: update outdated README.md
content (#32540)
chore(core): bump lock
feat: port various nit changes from wip-v0.4
(#32506)
fix(core): fix beta decorator for properties (#32497)
chore: formatting across codebase (#32466)
release(core): 0.3.74 (#32454)
feat(openai): custom tools (#32449)
release(core): 0.3.73 (#32446)
feat(core): zero-out token costs for cache hits (#32437)
fix(core): fix index checking when merging lists (#32431)
fix(core): revert "fix: tool call streaming bug with inconsistent indices from Qwen3" (#32307)
fix: lint
fix: tool call streaming bug with inconsistent indices from Qwen3 (#32160)
fix(core): resolve cache validation error by safely converting Generation to ChatGeneration objects (#32156)
chore(core): add test for nested pydantic fields in schemas (#32285)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix(core): track within-batch deduplication in indexing num_skipped count (#32273)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
release(core): 0.3.72 (#32214)
fix(core): Dereference Refs for pydantic schema fails in tool schema generation (#32203)
docs: formatting cleanup (#32188)
release(core): 0.3.71 (#32186)
fix(core): exclude api_key from tracing metadata (#32184)
fix(core): add type key when tracing in some cases (#31825)
feat(core): add sanitize_for_postgres
utility to fix PostgreSQL NUL byte DataError (#32157)
fix(core): fix parse_result
in case of self.first_tool_only with multiple keys matching for JsonOutputKeyToolsParser (#32106)
release(core): 0.3.70 (#32144)
docs(core): move incorrect arg limitation in rate limiter's docstring (#32118)
fix(core): fix docstrings and add sleep to FakeListChatModel._call (#32108)
fix(core): better error message for empty var names (#32073)
fix(core): implement sleep delay in FakeMessagesListChatModel _generate
(#32014)
fix(core): JSON Schema reference resolution for list indices (#32088)
feat(core): update _import_utils.py
to not mask the thrown exception (#32071)
fix: fixing missing Docstring Bug if no Docstring is provided in BaseModel class (#31608)
fix: issue a warning if np.nan
or np.inf
are in _cosine_similarity
argument Matrices (#31532)
release(core): release 0.3.69 (#32056)
feat(core): add an option to make deserialization more permissive (#32054)
chore(core): unpin packaging dependency (#32032)
docs: add deprecation notice for PipelinePromptTemplate (#31999)
fix(core): correct return type hints in BaseChatPromptTemplate (#32009)
feat(core): add ruff rules D to tests except D1 (#32000)
fix[core]: added error message if the query vector or embedding contains NaN values (#31822)
ruff: restore stacklevels, disable autofixing (#31919)
core: docs: clarify where the kwargs in on_tool_start and on_tool_end go (#31909)
ruff: more rules across the board & fixes (#31898)
ollama: thinking, tool streaming, docs, tests (#31772)
fix: fix file open with encoding in chat_history.py (#31884)
core: Cleanup pyproject (#31857)
fix: remove unused type ignore from three_values fixture in TestAsyncInMemoryStore (#31895)
core: Ruff preview fixes (#31877)
core: make ruff rule PLW1510 unfixable (#31868)
core: Bump ruff version to 0.12 (#31846)
core[patch]: Int Combine when Merging Dicts (#31572)
core: release 0.3.68 (#31848)
core: Use parametric tests in test_openai_tools (#31839)
core[path]: Use context manager for FileCallbackHandler (#31813)
core: release 0.3.67 (#31791)
core: expose tool message recognized block types (#31787)
docs: enhance docstring for disable_streaming
parameter in BaseChatModel (#31759)
fix: update import paths for ChatOllama to use langchain_ollama instead of community (#31721)
core[patch]: Add additional hashing options to indexing API, warn on SHA-1 (#31649)
standard-tests: refactoring and fixes (#31703)
core: Use parametrized test in test_correct_get_tracer_project (#31513)
docs: document Anthropic cache TTL count details (#31708)
core[patch]: Improve RunnableWithMessageHistory
init arg types (#31639)
core: fix get_buffer_string
output for structured message content (#31600)
core[patch]: check before removing tags (#31691)
core: release 0.3.66 (#31690)
core[patch]: Returning always 2D Array for cosine_similarity (#31528)
core[patch]: Add doc-strings to tools/base.py (#31684)
core: Cleanup Pydantic models and handle deprecation warnings (#30799)
core and langchain: Remove upper bound restriction langsmith dependency (#31629)
bump langsmith to allow 0.4 (#31594)
core: In LangChainTracer, send only the first token event (#31591)
core: release 0.3.65 (#31557)
core(fix): revert `set...
langchain-anthropic==1.0.0a3
Initial release
release(anthropic): 1.0.0a3 (#33317)
fix(core,openai,anthropic): delegate to core implementation on invoke when streaming=True (#33308)
chore(infra): pdm -> hatchling (#33289)
style: drop target-version = "py39"
for OpenAI, Anthropic, HuggingFace (#33287)
fix(anthropic,openai): fix tests (#33257)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
feat: (core, standard-tests) support PDF inputs in ToolMessages (#33183)
release(anthropic): 0.3.21 (#33147)
feat(anthropic): support memory and context management features (#33146)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
chore: bump ruff version to 0.13 (#33043)
style: repo linting pass (#33089)
chore: update pyproject.toml
files, remove codespell (#33028)
docs(anthropic): update documentation links (#32938)
test(anthropic): enable VCR for web fetch test (#32913)
feat(core): allow overriding ls_model_name
from kwargs (#32541)
release(anthropic): 0.3.20 (#32900)
feat(anthropic): web fetch beta (#32894)
revert: "chore: remove ruff target-version" (#32895)
fix(anthropic): remove unneeded beta flags (#32893)
fix(anthropic): update ChatAnthropic
model in tests/doc (#32892)
chore: remove ruff target-version (#32880)
fix(anthropic): remove beta header warning for TTL (#32832)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
release(anthropic): 0.3.19 (#32595)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
fix(anthropic): correct input_token
count for streaming (#32591)
fix(anthropic): clean up null file_id
fields in citations during message formatting (#32592)
revert(anthropic): streaming token counting to defer input tokens until completion (#32587)
fix(anthropic): sanitize tool use block when taking directly from content (#32574)
fix(anthropic): streaming token counting to defer input tokens until completion (#32518)
fix(anthropic): Add proxy (#32409)
feat(anthropic): support cache_control
as a kwarg (#31523)
fix(anthropic): update test model names and adjust token count assertions in integration tests (#32422)
docs(anthropic): add documentation for extended context windows in Claude Sonnet 4 (#32517)
feat: port various nit changes from wip-v0.4
(#32506)
release(anthropic): 0.3.18 (#32292)
refactor(anthropic): AnthropicLLM to use Messages API (#32290)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
fix(anthropic): update integration test models (#32189)
fix(anthropic): fix test (#32145)
ruff: restore stacklevels, disable autofixing (#31919)
ruff: add bugbear across packages (#31917)
huggingface[patch]: ruff fixes and rules (#31912)
anthropic[patch]: ruff fixes and rules (#31899)
ruff: more rules across the board & fixes (#31898)
fix: automatically fix issues with ruff (#31897)
anthropic[patch]: pass back in citations in multi-turn conversations (#31882)
Revert "infra: temporarily skip tests" (#31854)
infra: temporarily skip tests (#31853)
anthropic: release 0.3.17 (#31852)
docs: anthropic formatting cleanup (#31847)
langchain-anthropic[patch]: Add ruff bandit rules (#31789)
anthropic: release 0.3.16 (#31744)
anthropic[patch]: cache clients (#31659)
anthropic[patch]: add benchmark (#31718)
docs: document Anthropic cache TTL count details (#31708)
anthropic[patch]: cache tokens nit (#31484)
infra: relax types-requests version range (#31504)
anthropic[fix]: bump langchain-core dep (#31483)
release[anthropic]: 0.3.15 (#31479)
infra: remove use of --vcr-record=none (#31452)
standard-tests: migrate to pytest-recording (#31425)
standard-tests: add benchmarks (#31302)
anthropic: store cache ttl details on usage metadata (#31393)
anthropic: release 0.3.14 (#31378)
anthropic: support for code execution, MCP connector, files API features (#31340)
anthropic: emit informative error message if there are only system messages in a prompt (#30822)
docs: add web search to anthropic docs (#31169)
anthropic[patch]: split test into two (#31167)
anthropic: release 0.3.13 (#31162)
anthropic: update streaming usage metadata (#31158)
anthropic[patch]: support web search (#31157)
anthropic[patch]: be robust to null fields when translating usage metadata (#31151)
anthropic: Allow kwargs to pass through when counting tokens (#31082)
packaging: remove Python upper bound for langchain and co libs (#31025)
anthropic[patch]: make description optional on AnthropicTool (#30935)
partners: ChatAnthropic supports urls (#30809)
anthropic: release 0.3.12 (#30907)
multiple: permit optional fields on multimodal content blocks (#30887)
anthropic: release 0.3.11 (#30857)
multiple: multi-modal content blocks (#30746)
partners[lint]: run pyupgrade
to get code in line with 3.9 standards (#30781)
infra: handle flaky tests (#30501)
anthropic: release 0.3.10 (#30287)
anthropic: support built-in tools, improve docs (#30274)
core[patch]: update structured output tracing (#30123)
anthropic[patch]: add PDF input example to API reference (#30156)
core, openai, standard-tests: improve OpenAI compatibility with Anthropic content blocks (#30128)
anthropic[patch]: release 0.3.9 (#30103)
anthropic[patch]: allow structured output when thinking is enabled (#30047)
anthropic, mistral: return model_name
in response metadata (#30048)
docs: document anthropic features (#30030)
anthropic[patch]: release 0.3.8 (#29973)
anthropic[patch]: support claude 3.7 sonnet (#29971)
anthropic[patch]: update models for integration tests (#29938)
core: basemessage.text() (#29078)
multiple: fix uv path deps (#29790)
anthropic: release 0.3.7 (#29653)
infra: add UV_FROZEN to makefiles (#29642)
infra: migrate to uv (#29566)
anthropic[patch]: release 0.3.6 (#29606)
anthropic[patch]: support citations in streaming (#29591)
partners/anthropic: release 0.3.5 (#29486)
multiple: structured output tracing standard metadata (#29421)
anthropic[patch]: release 0.3.4 (#29399)
anthropic[patch]: always return content blocks if citations are generated (#29398)
[Doc] Improve api doc (#29324)
anthropic[patch]: update tool choice type (#29276)
anthropic[patch]: release 0.3.2 (#29275)
anthropic[patch]: support parallel_tool_calls
(#29257)
anthropic: pydantic mypy plugin (#29144)
anthropic: pdf integration test (#29142)
multiple: disable socket for unit tests (#29080)
Revert "integrations[patch]: remove non-required chat param defaults" (#29048)
integrations[patch]: remove non-required chat param defaults (#26730)
core,anthropic[patch]: fix with_structured_output typing (#28950)
anthropic: less pydantic for client (#28823)
anthropic: sdk bump (#28820)
partners/anthropic: release 0.3.1 (#28801)
anthropic[patch]: increase timeouts for integration tests (#28767)
anthropic: timeout in tests (10s) (#28488)
multiple: push deprecation removals to 1.0 (#28236)
standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 (#28203)
multiple: langchain-standard-tests -> langchain-tests (#28139)
anthropic[patch]: add examples to API ref (#28065)
anthropic[major]: release 0.3.0 (#28063)
anthropic[major]: support python 3.13 (#27916)
anthropic[patch]: remove retired model from tests (#27965)
integrations[patch]: bump core to 0.3.15 (#27805)
anthropic[patch]: allow multiple sys not at start (#27725)
core[patch]: add convert_to_openai_messages util (#27263)
multiple: rely on asyncio_mode auto in tests (#27200)
[Anthropic] Shallow Copy (#27105)
docs: fix anthropic max_tokens docstring (#27166)
anthropic[patch]: Release 0.2.3 (#27126)
anthropic[patch]: fix input_tokens when cached (#27125)
standard-tests[patch]: fix oai usage metadata test (#27122)
anthropic[patch]: Release 0.2.2 (#27118)
anthropic[patch]: correctly handle tool msg with empty list (#27109)
core,integrations[minor]: Dont error on fields in model_kwargs (#27110)
anthropic[patch]: add usage_metadata details (#27087)
anthropic[patch]: Release 0.2.1 (#26592)
anthropic[patch]: fix tool call and tool res image_url handling (#26587)
docs: anthropic api ref nit (#26591)
partners/anthropic: release 0.2.0 (#26469)
partners/anthropic: release 0.3.0 (#26466)
multiple: pydantic 2 compatibility, v0.3 (#26443)
standard-tests[patch]: add Ser/Des test
all: Improve make lint command (#25344)
core, partners: implement standard tracing params for LLMs (#25410)
core[minor], anthropic[patch]: Upgrade @root_validator usage to be consistent with pydantic 2 (#25457)
anthropic[patch]: Release 0.1.23 (#25394)
patch[Partners] Unified fix of incorrect variable declarations in all check_imports (#25014)
integrations[patch]: release model packages (#24900)
core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641)
core[patch]: introduce ToolMessage.status (#24628)
integration releases (#24725)
all: add release notes to pypi (#24519)
core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417)
anthropic[patch]: Release 0.1.20 (#24204)
integrations[patch]: require core >=0.2.17 (#24207)
core[minor], integrations...[patch]: Support ToolCall as Tool input and ToolMessage as Tool output (#24038)
infra: update mypy 1.10, ruff 0.5 (#23721)
anthropic[patch]: Release 0.1.19 (#23783)
anthropic[patch]: expose payload (#23291)
anthropic[patch]: release 0.1.18 (#23778)
anthropic[patch]: fix model name in some integration tests (#23779)
anthropic[patch]: tool output parser fix (#23647)
anthropic[patch]: use core output parsers for structured output (#23776)
langchain_anthropic: add stop_reason in ChatAnthropic stream result (#23689)
standard-tests[patch]: add anthropic format integration test (#23717...
langchain==1.0.0a12
Initial release
release(langchain_v1): 1.0.0a12 (#33314)
chore(langchain_v1): rename model_request
node -> model
(#33310)
release(langchain_v1): 1.0.0a11 (#33307)
chore(langchain_v1): remove support for ToolNode
in create_agent
(#33306)
feat(langchain_v1): simplify to use ONE agent (#33302)
chore(langchain_v1): remove text splitters from langchain v1 namespace (#33297)
chore(langchain_v1): expose rate_limiters from langchain_core (#33305)
fix(langchain_v1): tool selector should use last human message (#33294)
feat(langchain_v1): before_agent
and after_agent
hooks (#33279)
feat(langchain_v1): Implement Context Editing Middleware (#33267)
feat(openai): enable stream_usage when using default base URL and client (#33205)
chore(infra): pdm -> hatchling (#33289)
feat(langchain_v1): Add retry_model_request middleware hook, add ModelFallbackMiddleware (#33275)
fix(langchain_v1): linting fixes for llm tool selector (#33278)
feat(langchain_v1): add llm selection middleware (#33272)
feat(langchain_v1): represent server side tools in modifyModelRequest and update tool handling (#33274)
feat(langchain_v1): Implement PIIMiddleware (#33271)
fix(langchain_v1): dynamic response format (#33273)
chore(langchain_v1): remove union return type in init_embeddings (#33062)
feat(langchain_v1): Add ToolCallLimitMiddleware (#33269)
chore(langchain_v1): change modifyModelRequest back to tools (#33270)
fix(langchain_v1): handle switching resposne format strategy based on model identity (#33259)
feat(langchain_v1): implement nicer devx for dynamic prompt (#33264)
feat(langchain_v1): description generator for HITL middleware (#33195)
chore(core,langchain,langchain_v1)!: remove globals from langchain-v1, update globals in langchain-classic, langchain-core (#33251)
chore(langchain_v1)!: Remove ToolNode from agents (#33250)
feat(langchain): model call limits (#33178)
chore: delete deprecated items (#33192)
chore(langchain_v1): uncomment some optional deps (#33244)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
feat(langchain_v1): update messages namespace (#33207)
feat(langchain): use decorators for jumps instead (#33179)
feat(langchain_v1): add async
support for create_agent
(#33175)
chore(langchain_v1): use list[str] for modifyModelRequest (#33166)
feat(langchain): Using Structured Response as Key in Output Schema for Middleware Agent (#33159)
chore(langchain_v1): expose middleware decorators and selected messages (#33163)
feat(langchain): todo middleware (#33152)
fix(langchain): handle gpt-5
model name in init_chat_model
(#33148)
fix(langchain): add context_management
to Anthropic chat model init (#33150)
fix(langchain): fix response action for HITL (#33131)
chore(langchain_v1): move tool node to tools namespace (#33132)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
docs: correct ported over directives (#33121)
chore: bump ruff version to 0.13 (#33043)
chore: bump locks (#33114)
release(langchain): v1.0.0a9 (#33098)
fix(langchain): extra arg for anthropic caching, __end__
-> end
for jump_to
(#33097)
fix(langchain_v1): version equality check (#33095)
release(langchain): 1.0.0a8 (#33090)
feat(langchain): improvements to anthropic prompt caching (#33058)
style: repo linting pass (#33089)
fix(langchain): need to inject all state for tools registered by middleware (#33087)
chore(langchain): renaming for HITL (#33067)
chore(langchain): simplifying HITL condition (#33065)
fix(langchain_v1): only interrupt if at least one ToolConfig value is True (#33064)
feat(langchain): new decorator pattern for dynamically generated middleware (#33053)
fix(langchain): HITL bug causing dupe interrupt (#33052)
chore: update pyproject.toml
files, remove codespell (#33028)
release(langchain): 1.0.0a6 (#33024)
fix(langchain): use state schema as input schema to middleware nodes (#33023)
feat(langchain): dynamic system prompt middleware (#33006)
feat(langchain): improved HITL patterns (#32996)
chore: restore commented out optional deps (#32971)
chore: bump mypy version to 1.18 (#32914)
release(langchain): v1.0.0a5 (#32917)
fix(langchain): use messages from model request (#32908)
fix(core): resolve mermaid node id collisions when special chars are used (#32857)
revert: "chore: remove ruff target-version" (#32895)
chore: remove ruff target-version (#32880)
chore(docs): update package README
s (#32869)
feat(langchain): support PEP604 ( |
union) in tool node error handlers (#32861)
chore(langchain): add ruff rule E501 in langchain_v1
(#32812)
chore(langchain): add ruff rule UP007 in langchain_v1
(#32811)
chore(langchain): enable ruff docstring-code-format in langchain_v1 (#32855)
chore(core): enable ruff docstring-code-format (#32834)
feat(langchain): middleware support in create_agent
(#32828)
fix(langchain): fix mypy versions in langchain_v1
(#32816)
chore(langchain): cleanup langchain_v1
mypy config (#32809)
chore(langchain): add ruff rules D for langchain_v1
(#32808)
fix(langchain): update init version (#32793)
release(langchain): v1.0.0a3 (#32791)
chore(langchain): rename create_react_agent
-> create_agent
(#32789)
chore(langchain): remove upper bound at v1 for core (#32737)
chore(langchain): also bump text splitters (#32722)
chore(langchain): use latest core (#32720)
chore(langchain): revert back to static versioning for now (#32719)
release(langchain): v1.0.0a1 (#32718)
feat(langchain): revamped create_react_agent
(#32705)
chore(langchain): remove untested chains for first alpha (#32710)
chore(langchain): drop Python 3.9 to prep for v1 (#32704)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
docs: update outdated README.md
content (#32540)
fix(tests): add anthropic_proxy
to configurable test parameters (for v1)
chore: formatting across codebase (#32466)
feat(openai): minimal
and verbosity
(#32455)
feat(langchain): add stuff and map reduce chains (#32333)
fix: use new Google model names in examples (#32288)
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
chore(langchain_v1): clean anything uncertain (#32228)
feat(langchain): v1 scaffolding (#32166)
langchain==1.0.0a11
Initial release
release(langchain_v1): 1.0.0a11 (#33307)
chore(langchain_v1): remove support for ToolNode
in create_agent
(#33306)
feat(langchain_v1): simplify to use ONE agent (#33302)
chore(langchain_v1): remove text splitters from langchain v1 namespace (#33297)
chore(langchain_v1): expose rate_limiters from langchain_core (#33305)
fix(langchain_v1): tool selector should use last human message (#33294)
feat(langchain_v1): before_agent
and after_agent
hooks (#33279)
feat(langchain_v1): Implement Context Editing Middleware (#33267)
feat(openai): enable stream_usage when using default base URL and client (#33205)
chore(infra): pdm -> hatchling (#33289)
feat(langchain_v1): Add retry_model_request middleware hook, add ModelFallbackMiddleware (#33275)
fix(langchain_v1): linting fixes for llm tool selector (#33278)
feat(langchain_v1): add llm selection middleware (#33272)
feat(langchain_v1): represent server side tools in modifyModelRequest and update tool handling (#33274)
feat(langchain_v1): Implement PIIMiddleware (#33271)
fix(langchain_v1): dynamic response format (#33273)
chore(langchain_v1): remove union return type in init_embeddings (#33062)
feat(langchain_v1): Add ToolCallLimitMiddleware (#33269)
chore(langchain_v1): change modifyModelRequest back to tools (#33270)
fix(langchain_v1): handle switching resposne format strategy based on model identity (#33259)
feat(langchain_v1): implement nicer devx for dynamic prompt (#33264)
feat(langchain_v1): description generator for HITL middleware (#33195)
chore(core,langchain,langchain_v1)!: remove globals from langchain-v1, update globals in langchain-classic, langchain-core (#33251)
chore(langchain_v1)!: Remove ToolNode from agents (#33250)
feat(langchain): model call limits (#33178)
chore: delete deprecated items (#33192)
chore(langchain_v1): uncomment some optional deps (#33244)
docs: v1 docs updates (#33173)
release: v1.0.0 (#32567)
feat(langchain_v1): update messages namespace (#33207)
feat(langchain): use decorators for jumps instead (#33179)
feat(langchain_v1): add async
support for create_agent
(#33175)
chore(langchain_v1): use list[str] for modifyModelRequest (#33166)
feat(langchain): Using Structured Response as Key in Output Schema for Middleware Agent (#33159)
chore(langchain_v1): expose middleware decorators and selected messages (#33163)
feat(langchain): todo middleware (#33152)
fix(langchain): handle gpt-5
model name in init_chat_model
(#33148)
fix(langchain): add context_management
to Anthropic chat model init (#33150)
fix(langchain): fix response action for HITL (#33131)
chore(langchain_v1): move tool node to tools namespace (#33132)
docs: more standardization (#33124)
docs: standardize .. code-block
directive usage (#33122)
docs: correct ported over directives (#33121)
chore: bump ruff version to 0.13 (#33043)
chore: bump locks (#33114)
release(langchain): v1.0.0a9 (#33098)
fix(langchain): extra arg for anthropic caching, __end__
-> end
for jump_to
(#33097)
fix(langchain_v1): version equality check (#33095)
release(langchain): 1.0.0a8 (#33090)
feat(langchain): improvements to anthropic prompt caching (#33058)
style: repo linting pass (#33089)
fix(langchain): need to inject all state for tools registered by middleware (#33087)
chore(langchain): renaming for HITL (#33067)
chore(langchain): simplifying HITL condition (#33065)
fix(langchain_v1): only interrupt if at least one ToolConfig value is True (#33064)
feat(langchain): new decorator pattern for dynamically generated middleware (#33053)
fix(langchain): HITL bug causing dupe interrupt (#33052)
chore: update pyproject.toml
files, remove codespell (#33028)
release(langchain): 1.0.0a6 (#33024)
fix(langchain): use state schema as input schema to middleware nodes (#33023)
feat(langchain): dynamic system prompt middleware (#33006)
feat(langchain): improved HITL patterns (#32996)
chore: restore commented out optional deps (#32971)
chore: bump mypy version to 1.18 (#32914)
release(langchain): v1.0.0a5 (#32917)
fix(langchain): use messages from model request (#32908)
fix(core): resolve mermaid node id collisions when special chars are used (#32857)
revert: "chore: remove ruff target-version" (#32895)
chore: remove ruff target-version (#32880)
chore(docs): update package README
s (#32869)
feat(langchain): support PEP604 ( |
union) in tool node error handlers (#32861)
chore(langchain): add ruff rule E501 in langchain_v1
(#32812)
chore(langchain): add ruff rule UP007 in langchain_v1
(#32811)
chore(langchain): enable ruff docstring-code-format in langchain_v1 (#32855)
chore(core): enable ruff docstring-code-format (#32834)
feat(langchain): middleware support in create_agent
(#32828)
fix(langchain): fix mypy versions in langchain_v1
(#32816)
chore(langchain): cleanup langchain_v1
mypy config (#32809)
chore(langchain): add ruff rules D for langchain_v1
(#32808)
fix(langchain): update init version (#32793)
release(langchain): v1.0.0a3 (#32791)
chore(langchain): rename create_react_agent
-> create_agent
(#32789)
chore(langchain): remove upper bound at v1 for core (#32737)
chore(langchain): also bump text splitters (#32722)
chore(langchain): use latest core (#32720)
chore(langchain): revert back to static versioning for now (#32719)
release(langchain): v1.0.0a1 (#32718)
feat(langchain): revamped create_react_agent
(#32705)
chore(langchain): remove untested chains for first alpha (#32710)
chore(langchain): drop Python 3.9 to prep for v1 (#32704)
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
docs: update outdated README.md
content (#32540)
fix(tests): add anthropic_proxy
to configurable test parameters (for v1)
chore: formatting across codebase (#32466)
feat(openai): minimal
and verbosity
(#32455)
feat(langchain): add stuff and map reduce chains (#32333)
fix: use new Google model names in examples (#32288)
fix: update bar_model
to use the correct model version claude-3-7-sonnet-20250219
(#32284)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
fix: formatting issues in docstrings (#32265)
feat(docs): improve devx, fix Makefile
targets (#32237)
chore(langchain_v1): clean anything uncertain (#32228)
feat(langchain): v1 scaffolding (#32166)