Repository navigation
Releases
langchain==1.5.3.dev1
Changes since langchain==1.5.2
release(langchain): 1.5.3.dev1
release(langchain): 1.6.0a1
refactor(langchain): drop loading="auto" from tool search
Merge byhow/langchain/tool-search-5-per-user-tools into ccurme/langchain/tool-search-8-native
Merge byhow/langchain/tool-search-4-search-only into byhow/langchain/tool-search-5-per-user-tools
Merge byhow/langchain/tool-search-3-dispatch into byhow/langchain/tool-search-4-search-only
Merge byhow/langchain/tool-search-2-embeddings into byhow/langchain/tool-search-3-dispatch
fix(langchain): stop widening embedding search below the score threshold
Merge byhow/langchain/tool-search-5-per-user-tools into ccurme/langchain/tool-search-8-native
fix(langchain): treat static searchable tool objects as names
Merge byhow/langchain/tool-search-5-per-user-tools into ccurme/langchain/tool-search-8-native
Merge byhow/langchain/tool-search-3-dispatch into byhow/langchain/tool-search-4-search-only
Merge byhow/langchain/tool-search-4-search-only into byhow/langchain/tool-search-5-per-user-tools
fix(langchain): name call_tool in the dispatch-mode search description
Merge byhow/langchain/tool-search-5-per-user-tools into ccurme/langchain/tool-search-8-native
Merge byhow/langchain/tool-search-1-core into byhow/langchain/tool-search-2-embeddings
Merge byhow/langchain/tool-search-3-dispatch into byhow/langchain/tool-search-4-search-only
Merge byhow/langchain/tool-search-4-search-only into byhow/langchain/tool-search-5-per-user-tools
Merge byhow/langchain/tool-search-2-embeddings into byhow/langchain/tool-search-3-dispatch
Merge origin/master into byhow/langchain/tool-search-1-core
test(langchain,langchain-classic): expect anthropic_auth_token in model dumps (#42251)
chore(langchain): merge upstream-only Anthropic snapshot
chore(langchain): merge upstream-only Anthropic snapshot
chore(langchain): merge upstream-only Anthropic snapshot
chore(langchain): merge upstream-only Anthropic snapshot
chore(langchain): merge upstream-only Anthropic snapshot
revert(langchain): leave the Anthropic snapshot fix to upstream
chore(langchain): merge unified catalog into native tool search
refactor(langchain): use one callable tool catalog
chore(langchain): merge refreshed dynamic tool search
test(langchain): run sync tool search outside the event loop
chore(langchain): merge refreshed search-only tool search
chore(langchain): merge refreshed dispatch tool search
chore(langchain): merge refreshed embedding tool search
chore(langchain): merge refreshed tool search core
test(langchain): expect the Anthropic auth token field
chore(langchain): merge upstream into tool search core
test(langchain): share provider-side tool search cases across modes
refactor(langchain): use graph runtime for searchable tool callbacks
feat(langchain): support custom search-only results
feat(langchain): support custom search results in dispatch mode
feat(langchain): merge scored search and support shared embedding indexes
feat(langchain): add scored tool search and result customization
feat(langchain): add native and automatic tool search modes
feat(langchain): customize tool search results and tool name
feat(langchain): return SearchHit from tool retrievers
fix(langchain): share the per-call tool search catalog
feat(core): give every BaseMessage an id by default (#42073)
test(langchain): decouple configurable model tests from token defaults (#42227)
feat(langchain): search tools added per user in ToolSearchMiddleware
feat(langchain): add search-only loading to tool search
fix(langchain): let call_tool run a searchable tool that no search returned
fix(langchain): mark rejected call_tool calls as tool errors
feat(langchain): add dispatch loading to tool search
feat(langchain): add score_threshold to EmbeddingToolRetriever
fix(langchain): allow a searchable tool to be missing from one request
feat(langchain): add embedding retriever for tool search
fix(langchain): score a tool's name and description together in BM25ToolRetriever
docs(langchain): note what tool search hides and what it doesn't
feat(langchain): add client-side tool search middleware
fix(core,langchain,langchain-classic,anthropic,openrouter): replace retiring Claude 4.5 models (#42053)
release(standard-tests): 1.2.0 (#41996)
release(text-splitters): 1.2.0 (#41998)
chore(langchain): require langgraph 1.2.16 or newer (#41959)
langchain-openai==1.8.7
langchain-core==1.9.1
langchain-anthropic==1.9.0
Changes since langchain-anthropic==1.8.0
release(anthropic): 1.9.0 (#42276)
feat(anthropic): add stream_chunk_timeout to ChatAnthropic (#42254)
fix(anthropic): respect custom http client timeout and accept anthropic.Timeout (#42253)
feat(anthropic): forward credentials and auth_token to the anthropic client (#40338)
langchain-openai==1.8.6
Changes since langchain-openai==1.8.5
release(openai): 1.8.6 (#42244)
fix(openai): keep structured output refusal check in the parser step (#42224)
chore(model-profiles): refresh model profile data (#42230)
chore(model-profiles): refresh model profile data (#42214)
feat(core): expose prompt-cache policies in model profiles (#42204)
chore(model-profiles): refresh model profile data (#42107)
chore(model-profiles): refresh model profile data (#42062)
release(standard-tests): 1.2.0 (#41996)
langchain-core==1.9.0
â ïļ Behavior change: messages get an id by default
Every BaseMessage now gets an lc_<uuid4> id when it's created, instead of id=None (#42073). The type of id is unchanged (str | None); only the default value changed. This keeps message ids stable when a LangGraph run is replayed, so RemoveMessage, edits and forks still find their message.
What you might notice
repr,str,model_dump(),dumps()andconvert_to_openai_messages(include_id=True)now include the auto id. Snapshot tests and tests that assertmsg.id is Nonewill fail.==ignores auto ids, soHumanMessage("x") == HumanMessage("x")is stillTrue. Ids you set yourself must still match.model_copy()keeps the id, so a copy appended throughadd_messagesreplaces the original. Passupdate={"id": None}if you want a new message.- Model replies still use the provider's id or
lc_run-<run id>. - Loading saved messages (
load,messages_from_dict,convert_to_messages) doesn't assign ids.
Updating tests
Use langchain_core.messages.messages_equal_ignoring_ids(a, b) (#42069), or pass id=None explicitly where a test needs an id-less message.
Changes since langchain-core==1.8.5
release(core): 1.9.0 (#42242)
feat(core): give every BaseMessage an id by default (#42073)
feat(core): prepare message ids for an auto-generated default (#42069)
fix(core): standardize more content block shapes in content_blocks (#42205)
fix(core): resolve block translators for hyphenated provider names (#42225)
feat(core): expose prompt-cache policies in model profiles (#42204)
release(core): 1.8.6 (#42190)
fix(core,langchain,langchain-classic,anthropic,openrouter): replace retiring Claude 4.5 models (#42053)
fix(core): decode JSON Pointer escapes in dereference_refs (#42189)
langchain-anthropic==1.8.0
Changes since langchain-anthropic==1.7.13
chore(anthropic): update test cassettes following removal of sonnet 4.5 from model profiles (#42245)
release(anthropic): 1.8.0 (#42243)
feat(anthropic): add AnthropicPauseTurnMiddleware to finish paused turns (#41639)
chore(model-profiles): refresh model profile data (#42214)
feat(core): expose prompt-cache policies in model profiles (#42204)
fix(core,langchain,langchain-classic,anthropic,openrouter): replace retiring Claude 4.5 models (#42053)
langchain-core==1.8.5
Changes since langchain-core==1.8.4
release(core): 1.8.5 (#42103)
fix(core): reuse provider message id on later stream chunks (#42050)
docs(core): clarify v3 runtime warning behavior (#42040)
docs(core): clarify supported streaming event APIs (#42038)
release(standard-tests): 1.2.0 (#41996)
release(text-splitters): 1.2.0 (#41998)
chore(deps): bump mistune from 3.3.3 to 3.3.4 in /libs/core (#41968)
langchain-anthropic==1.7.13
langchain-text-splitters==1.2.0
Changes since langchain-text-splitters==1.1.3
release(text-splitters): 1.2.0 (#41998)
chore(text-splitters): bump mistune from 3.3.3 to 3.3.4 in /libs/text-splitters (#42006)
chore(infra): update vulnerable development dependencies (#41933)
feat: Remove EOL'd Python 3.10 from text_splitters, model_profiles and standard-tests (#41343)
build(text-splitters): constrain setuptools to patched releases (#41485)
revert: patch vulnerable integration dependencies (#41481)
build(deps): patch vulnerable integration dependencies (#41473)
chore(deps): bump nbconvert from 7.17.1 to 7.17.2 in /libs/text-splitters (#41421)
chore(infra): relax third-party dependency upper bounds (#41407)
chore(text-splitters): bump certifi to 2026.10.19 (#41393)
chore(deps): bump fsspec from 2025.9.0 to 2026.6.0 in /libs/text-splitters (#41089)
chore(deps): bump notebook from 7.5.7 to 7.6.3 in /libs/text-splitters (#41055)
chore(deps): bump notebook from 7.5.6 to 7.5.7 in /libs/text-splitters (#40990)