Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
a22398f
chore(core): standard updates
hntrl Aug 25, 2025
22b50c5
feat(core): v0 message contentBlocks property
hntrl Aug 25, 2025
d4eae81
feat(anthropic): adopt contentBlocks
hntrl Aug 25, 2025
4a68d5a
chore(core): move legacy data content logic
hntrl Aug 26, 2025
a5213fe
chore(anthropic): fix some std parse issues
hntrl Aug 26, 2025
9856db6
chore(core): add missing utils
hntrl Aug 26, 2025
827eb03
chore(core): multistep content blocks parsing
hntrl Aug 26, 2025
b4d0181
chore(openai): reorganize input parsing
hntrl Aug 26, 2025
28be3e0
chore(openai): reorganize test
hntrl Aug 26, 2025
70dd057
feat(core): add openai content blocks parser
hntrl Aug 26, 2025
4a75cd0
chroe(core): fix base message content blocks constructor
hntrl Aug 26, 2025
0622d5a
chore(core): add openai tests
hntrl Aug 26, 2025
12576d2
wip(openai): add v1 stubs
hntrl Aug 26, 2025
a30a316
chore(core): add anthropic jsdocs
hntrl Aug 26, 2025
4f005d2
feat(core): output version for chat models
hntrl Aug 26, 2025
d6d8f67
fix(anthropic): some anthropic fixes
hntrl Aug 26, 2025
6c6e054
chore(core): fix openai annotations
hntrl Aug 26, 2025
d7ead5f
chore(anthropic): fix standard annotation handling
hntrl Aug 26, 2025
b439a01
chore(core): iife relocation
hntrl Aug 26, 2025
85499cc
chore(core): interop content block for message content
hntrl Aug 26, 2025
3633fae
chore(core): fix odd merging behavior
hntrl Aug 27, 2025
5bc6048
cr
hntrl Aug 27, 2025
7e38979
chore(core): add tool calls to content blocks array
hntrl Aug 27, 2025
28e5e39
chore(core): rm v1 messages (for now)
hntrl Aug 27, 2025
aa31f50
chore(core): remove occurrences of MessageContentComplex
hntrl Aug 27, 2025
f44e200
cr
hntrl Aug 27, 2025
0c3ac7a
chore(standard-tests): content block assertions
hntrl Aug 27, 2025
fa2f05b
chore(core): add translator stubs
hntrl Aug 27, 2025
cf74ece
chore(langchain) v1 clean up `./agents/*` (#8739)
christian-bromann Aug 27, 2025
0953ad1
chore(core): fix duplicate yield bug
hntrl Aug 27, 2025
e54c690
chore(core): fix content blocks tool call logic
hntrl Aug 27, 2025
07e078c
chore(core): fix serializer build
hntrl Aug 27, 2025
9fb61f6
feat(openai): first pass at openai serializer
hntrl Aug 27, 2025
a811d04
chore(core): add model provider to completions
hntrl Aug 27, 2025
072d719
chore(openai): fix message complex type errors
hntrl Aug 27, 2025
d0837b7
fix(openai): build issues
hntrl Aug 27, 2025
d9acd49
chore(anthropic): fix content block type errors
hntrl Aug 27, 2025
9568fcf
chore(core): ignore type deps in circular check
hntrl Aug 27, 2025
1b686fd
chore(openai): fix lints
hntrl Aug 27, 2025
738a9f7
chore(mcp): use new data content blocks
hntrl Aug 27, 2025
3c508e2
chore(google-common): rm MessageContentComplex
hntrl Aug 27, 2025
1655c36
fix(ci): build @langchain/core
hntrl Aug 27, 2025
fbba488
chore(openai): fix lint
hntrl Aug 27, 2025
4ef26ed
chore(openai): fix circular dep
hntrl Aug 27, 2025
5b3d0ab
chore(openai): fix imports
hntrl Aug 27, 2025
da396d1
chore(openai): fix index barrel
hntrl Aug 27, 2025
08811f2
feat: content blocks with v0 messages (#8778)
hntrl Aug 27, 2025
d6706f8
chore(v1): patch release script for v1
hntrl Aug 27, 2025
1c42611
chore(v1): patch release script for v1 (#8795)
hntrl Aug 27, 2025
bdb4fee
release(core): 1.0.0-alpha.1
hntrl Aug 27, 2025
2e757e8
feat(agents): migrate createReactAgent to core LangChain project (#8789)
christian-bromann Aug 27, 2025
eafb31a
chore(docs): remove orphaned docs
hntrl Aug 28, 2025
998a0a1
chore(docs): fix docs (#8800)
hntrl Aug 28, 2025
dd9233b
chore(docs): fix docs (again)
hntrl Aug 28, 2025
976bd97
chore(docs): remove even more dead links
hntrl Aug 28, 2025
a38e17e
chore(docs): format
hntrl Aug 28, 2025
7c5bc8e
chore(anthropic): rebase main
hntrl Aug 27, 2025
92a832b
chore(anthropic): add bad type assertions
hntrl Aug 27, 2025
53c7411
chore(anthropic): fix silly formatting
hntrl Aug 27, 2025
cd58bd7
chore(openai): rebase main changes
hntrl Aug 27, 2025
8468242
chore: bump lockfile
hntrl Aug 27, 2025
f603528
chore(openai): fix import lints
hntrl Aug 27, 2025
9b17a5c
fix(openai): fix lints
hntrl Aug 27, 2025
af11411
chore(docs): fix docs (again) (#8801)
hntrl Aug 28, 2025
9cf3f3f
chore(anthropic): rebase main (#8799)
hntrl Aug 28, 2025
9620fe4
chore(openai): rebase main changes (#8796)
hntrl Aug 28, 2025
350f9ff
chore(openai): constrain openai core dep
hntrl Aug 28, 2025
ab9e9ec
chore(anthropic): update core dep constraint
hntrl Aug 28, 2025
18af31d
release(openai): 1.0.0-alpha.1
hntrl Aug 28, 2025
4ce8384
release(anthropic): 1.0.0-alpha.1
hntrl Aug 28, 2025
c4acf5a
chore(release): anthropic & openai v1 (#8803)
hntrl Aug 28, 2025
ffd269e
fix(langchain): bump peer dep to core (#8797)
christian-bromann Aug 28, 2025
7e52f45
release(textsplitters): 1.0.0-alpha.1
hntrl Aug 28, 2025
0acdf91
feat(agents): allow createReactAgent to take in a model as string pro…
christian-bromann Aug 28, 2025
627d7a0
fix(langchain) export ToolNode from langchain (#8809)
christian-bromann Aug 28, 2025
1fd0842
fix(langchain): handle tool errors when handleToolErrors is set to `t…
christian-bromann Aug 28, 2025
197cccf
chore(langchain): rebase main changes (#8811)
hntrl Aug 28, 2025
cb4c165
release(langchain): 1.0.0-alpha.1
hntrl Aug 28, 2025
d252a6c
chore(release): [email protected] (#8812)
hntrl Aug 28, 2025
2566b7e
fix(release): use release-it-pnpm (#8813)
christian-bromann Aug 28, 2025
2d1af93
fix(build): remove not needed files (#8802)
christian-bromann Aug 28, 2025
4e97c40
fix(langchain): add support for toolMessageContent (#8818)
christian-bromann Sep 1, 2025
dfcfcdf
fix(langchain): add more message exports (#8828)
christian-bromann Sep 1, 2025
6d6b9f8
fix(langchain): port and export AgentRuntime (#8829)
christian-bromann Sep 2, 2025
fd0252d
fix(langchain): setup message reducer when zod object is provided (#8…
christian-bromann Sep 2, 2025
62743b5
release(langchain): 1.0.0-alpha.2
hntrl Aug 28, 2025
423e9d5
chore: rm changest
hntrl Sep 2, 2025
a55e0fe
Release 1.0.0-alpha.2
hntrl Sep 2, 2025
f2a3128
release(langchain): 1.0.0-alpha.3
hntrl Sep 2, 2025
5a7cae6
release(langchain): 1.0.0-alpha.3 (#8832)
hntrl Sep 2, 2025
3751b91
chore(langchain): rename createReactAgent to createAgent (#8835)
christian-bromann Sep 2, 2025
7fbbd2d
release(langchain): 1.0.0-alpha.4
hntrl Sep 2, 2025
1ae99ec
release(langchain): 1.0.0-alpha.4 (#8836)
hntrl Sep 2, 2025
427c2dd
chore(core): swap default cache key algorithm (#8858)
hntrl Sep 5, 2025
ed18642
feat(langchain) new middleware concept for createAgent (#8851)
christian-bromann Sep 8, 2025
ca979a2
release(langchain): 1.0.0-alpha.5
christian-bromann Sep 8, 2025
d4e20a9
feat(core)!: v1 messages (#8841)
hntrl Sep 8, 2025
8d3c24c
release(core): 1.0.0-alpha.3
hntrl Sep 9, 2025
3d5411a
chore(langchain): bump core dep
hntrl Sep 9, 2025
e938c4e
release(core): 1.0.0-alpha.3 (#8885)
hntrl Sep 9, 2025
688fb6c
chore(langchain): remove constraint on lower core alpha
hntrl Sep 9, 2025
e96a237
chore: watch for updates to range tests
hntrl Sep 9, 2025
b31a503
chore(langchain): remove constraint on lower core alpha (#8886)
hntrl Sep 9, 2025
5e74b51
chore(docs/v1): clean up `README`s (#8888)
hntrl Sep 9, 2025
7a068b6
fix(core/v1): make mustache prompt with nested object working correct…
hntrl Sep 9, 2025
d7ef84c
fix(openai/v1): add streaming support for custom tools (#8875)
christian-bromann Sep 9, 2025
c3e42fb
fix(openai/v1): handle undefined disableStreaming to restore streamin…
christian-bromann Sep 9, 2025
73f14c4
fix(core/v1): prevent tool call chunks from merging incorrectly in AI…
christian-bromann Sep 9, 2025
09ebe6f
fix(langchain/v1): update JSONL loader to support complex json struct…
hntrl Sep 9, 2025
ddad862
chore(ci): harden people.yml (#8568)
eyurtsev Sep 9, 2025
e5c30b0
fix(openai/v1): handle OpenRouter image generation responses (#8879)
christian-bromann Sep 9, 2025
e886005
chore(v1): add codql security config (#8891)
hntrl Sep 9, 2025
44d40f3
fix(@langchain/community) create index aurora dsql (#8892)
christian-bromann Sep 9, 2025
bc1c790
feat(community/v1): add support for advanced metadata filters in simi…
hntrl Sep 9, 2025
938c553
feat(chroma): Add Chroma Cloud support (#8558)
itaismith Aug 12, 2025
9ccfb09
fix(community): URL encode paths in GitHub document loader (#8860)
hntrl Sep 5, 2025
2a2e65a
fix(trimmer): trim last message when `allowPartial: true` and `strate…
schonmann Sep 9, 2025
660317a
feat(community): upgrade lancedb version to 0.19.1 (#8246)
jackye1995 Sep 9, 2025
400b682
fix(redis): handle both numDocs and num_docs in RedisVectorStore (#8142)
UrielCh Sep 9, 2025
5e72584
fix(community): add Claude-compatible mode to ZepMemory (#7808)
raffareis Sep 9, 2025
c86f736
feat(community): Add support for connecting to remote browser via Web…
mikiastilahun Sep 9, 2025
ba5183d
chore(*): zod@4 (#8792)
hntrl Sep 9, 2025
5409b67
fix(community/v1): remove deprecated 'namespace' param (#8898)
hntrl Sep 9, 2025
2efc7d3
chore(@langchain/community/v1): remove Dria retriever (#8897)
christian-bromann Sep 9, 2025
5c7344d
fix(openai): re-enable custom tools (#8901)
hntrl Sep 9, 2025
36e2259
chore: bump core versions for aws + ollama (#8900)
hntrl Sep 9, 2025
69ee655
chore(aws): rebase main changes (#8903)
hntrl Sep 10, 2025
90aa2f9
fix(langchain): use isInstance for messages (#8905)
hntrl Sep 10, 2025
dcf95e4
fix(google-cloud-sql-pg/v1): properly handle explicit metadata column…
hntrl Sep 10, 2025
d3719bc
internal(eslint): create internal Eslint package (#8770)
christian-bromann Sep 10, 2025
cba378f
fix(community/v1): allow any chars in delimited identifiers in hanave…
hntrl Sep 10, 2025
2de069a
chore(community/v1): Deprecate CouchbaseVectorStore and create Couchb…
hntrl Sep 10, 2025
bddb80c
fix(langchain): there is no middlewares (#8912)
christian-bromann Sep 10, 2025
00918b7
feat(openai/v1): encodingFormat support for embeddings (#8919)
hntrl Sep 10, 2025
caf9ccc
chore(langchain): remove dependency to openai provider package (#8920)
christian-bromann Sep 11, 2025
774491d
chore(community/v1): rm deprecated couchbase integration (#8926)
hntrl Sep 11, 2025
c1de188
fix(groq/v1): Support generic messages in messageToGroqRole (#8918)
christian-bromann Sep 11, 2025
2d0515d
fix(langchain): prevent ConfigurableModel mutation when using withStr…
christian-bromann Sep 11, 2025
bb4bd41
fix(anthropic/v1): unhandled tool choice 'none' (#8933)
hntrl Sep 11, 2025
025c559
fix(google-genai/v1): compute per-chunk token deltas while streaming …
hntrl Sep 11, 2025
68cd755
fix(@langchain/core): replace drawMermaidPng with drawMermaidImage (#…
christian-bromann Sep 11, 2025
e85cc7b
feat(@langchain/community): add sagemaker endpoint - embedding suppor…
christian-bromann Sep 11, 2025
441bbc9
fix(@langchain/cerebras/v1): recognize ToolMessage responses (#8924)
christian-bromann Sep 11, 2025
63099c6
feat(langchain-community): add custom schema option for neon vector s…
christian-bromann Sep 11, 2025
667cd75
fix(anthropic/v1): unhandled tool choice 'none' (#8935)
hntrl Sep 11, 2025
e59723d
chore(ollama): remove tool choice error (#8936)
hntrl Sep 11, 2025
791f1c6
chore(langchain): add integration tests for prepareModelRequest hook …
christian-bromann Sep 11, 2025
ad2e731
fix(langchain): actually verify cache control values in usage response
christian-bromann Sep 12, 2025
f56805b
Fix toolbar formatting for TypeDoc's CSS pages (#8942)
ritorhymes Sep 12, 2025
d309186
fix(core/v1): handle message coercion of RemoveMessage (#8946)
hntrl Sep 12, 2025
4e08fa1
fix(community/v1): add column type configuration to PrismaVectorStore…
christian-bromann Sep 13, 2025
f7538fa
fix(google-common): fix 400 Bad Request error for external image URLs…
christian-bromann Sep 13, 2025
3a2ea33
fix(community/v1): improve TogetherAI error handling for chat models …
hntrl Sep 13, 2025
f8bd2c1
fix(core/v1): handle backticks in structured output (#8958)
hntrl Sep 13, 2025
e4f6bee
chore(core): inline zod-to-json-schema (#8961)
hntrl Sep 15, 2025
0cd491f
fix(langchain/v1): infer mistral in `initChatModel` (#8968)
hntrl Sep 15, 2025
eb309bf
fix(azure-cosmosdb/v1): missing init while retrieving context (#8969)
hntrl Sep 15, 2025
dcf1dc3
chore(weaviate/v1): Adds invalid metadata integration test (#8973)
hntrl Sep 15, 2025
8b4455c
chore(release): version alpha packages (#8975)
hntrl Sep 15, 2025
cd13abd
fix(docs) Update README.md to fix broken link (#8984)
piorot Sep 16, 2025
15dbbf4
fix(v1): use `keyEncoder` instead of insecure cache key getter (#8978…
hntrl Sep 16, 2025
0e51fb9
chore(core): breakout mock utils (#8988)
hntrl Sep 16, 2025
5aa4153
chore: remove console logs in test files (#8998)
hntrl Sep 17, 2025
0e41595
fix(langchain): remove MemorySaver re-export (#8996)
christian-bromann Sep 18, 2025
b7d8c8c
fix(openai/v1): fix streaming in openai (#9003)
christian-bromann Sep 18, 2025
582d0f9
fix(core/v1): patch tool call chunk changes (#9005)
hntrl Sep 18, 2025
cffe4e2
chore: rm core_docs in top level test
hntrl Sep 18, 2025
389a83c
feat(langchain): add dynamic prompt built-in middleware (#8993)
christian-bromann Sep 18, 2025
67a589c
release(core): 1.0.0-alpha.5 (#9008)
hntrl Sep 18, 2025
3bb670f
feat(core): add server tool blocks to standard (#9000)
hntrl Sep 18, 2025
b647c28
feat(langchain): refine `reactAgent` (#8972)
christian-bromann Sep 18, 2025
3f0069c
fix(core): change response metadata type mismatch (#9010)
hntrl Sep 18, 2025
cbd6ce3
chore(aws): adapt message changes for aws (#9011)
hntrl Sep 19, 2025
c315736
feat(aws): standard content support (#9013)
hntrl Sep 19, 2025
4ab99be
feat(google/core): standard content support (#9024)
hntrl Sep 22, 2025
83e2769
fix(labgchain/createAgent): grab last AIMessage from list instead of …
christian-bromann Sep 23, 2025
96e8b67
feat(community): add new filters and search options for ChatPerplexit…
anadi45 Sep 23, 2025
baa6c74
fix(langchain/agents): remove llm prop from middleware agent (#9017)
christian-bromann Sep 23, 2025
8166101
fix(langchain/createAgent): rename toolConfigs to interruptOn (#9034)
christian-bromann Sep 24, 2025
0584fdd
fix(@langchain/mistralai): Added logic to ensure toolCalls have corre…
Zozman Sep 24, 2025
0eed9e5
feat(langchain/createAgent): add unsupportedModelBehavior prop to ant…
christian-bromann Sep 25, 2025
1597074
fix(langchain/createAgent): add graph support for jumps that are stat…
christian-bromann Sep 25, 2025
d823370
fix(langchain/createAgent): improve structured output handling (#9033)
christian-bromann Sep 25, 2025
5d5e24e
fix(openai): updated OpenAI doc link - refs #9043
christian-bromann Sep 26, 2025
94ad4c2
fix(langchain/createAgent): improve interop between Zod v3 and v4 (#9…
christian-bromann Sep 26, 2025
7c77c48
fix(langchain/createAgent): systemPrompt everywhere (#9045)
christian-bromann Sep 26, 2025
96cef9f
feat(langchain/createAgent): allow middleware to define tools (#9046)
christian-bromann Sep 26, 2025
3b4d86b
feat(langchain/createAgent): llmToolSelectorMiddleware implementation…
christian-bromann Sep 26, 2025
4149e38
feat(langchain/createAgent): add todo middleware (#9051)
christian-bromann Sep 26, 2025
521e24c
release(langchain): 1.0.0-alpha.7 (#9056)
hntrl Sep 26, 2025
20ba57c
fix(langchain): Bind schemas for other types of pulled hub prompts (#…
jacoblee93 Sep 26, 2025
02ce0b4
feat: Add Perplexity support to universal chat model
christian-bromann Sep 26, 2025
93e293d
docs: Update qa_chat_history tutorial to use non-deprecated method (#…
jet-isnt-haha Sep 29, 2025
505f67b
add embeddingColumnType and export indexes (#9009)
urakozz Sep 29, 2025
dfc9d24
fix(langchain/createAgent): minor adjustments to planning middleware …
christian-bromann Sep 30, 2025
c8baf46
fix(vscode): remove experimental `useTsgo` setting (#9075)
pokey Sep 30, 2025
36cc3f6
fix(langchain): only create tools node for client tools (#9074)
pokey Sep 30, 2025
ad0bde5
fix(langchain/createAgent): improve input types to support a bigger r…
christian-bromann Sep 30, 2025
2d20a26
feat: adopt server tool blocks (#9025)
hntrl Oct 1, 2025
4a850ba
feat(langchain/createAgent): add piiRedactionMiddleware (#9058)
christian-bromann Oct 2, 2025
d9ffdd7
fix(langchain/createAgent): don't modify messages in PromptCachingMid…
christian-bromann Oct 2, 2025
cde0fa9
fix(langchain/createAgent): export all symbols so TypeScript can prop…
christian-bromann Oct 2, 2025
722311e
chore(*): remove docs (#9101)
hntrl Oct 3, 2025
3ace0dc
feat: `@langchain/classic` (#9063)
hntrl Oct 3, 2025
417e3ba
fix(CONTRIBUTING.md): update directory path for langchain-core build …
pokey Oct 3, 2025
f4f14cb
chore(classic): fix CI (#9113)
hntrl Oct 3, 2025
226309b
feat(langchain-mcp-adapters): Interceptors for tool calls + per-call …
christian-bromann Oct 4, 2025
2cb50a6
feat(langchain/createAgent): allow to pass in a description factory f…
christian-bromann Oct 4, 2025
4066305
fix(langchain/createAgent): tools in ModelRequest back to tool instan…
christian-bromann Oct 5, 2025
e1b32fd
feat(langchain/createAgent): introduce call counts through private st…
christian-bromann Oct 5, 2025
9241c07
fix(langchain/createAgent): fix LangGraph integration (#9117)
christian-bromann Oct 5, 2025
191e22a
fix(langchain/createAgent): update implementation of LLMToolSelector …
christian-bromann Oct 6, 2025
b2832bd
feat(langchain/createAgent): implement retry model request hook in mi…
christian-bromann Oct 6, 2025
3f75418
feat(langchain/createAgent): port toolCallLimit middleware (#9121)
christian-bromann Oct 6, 2025
c63029d
feat(langchain/createAgent): add contextEditing middleware (#9118)
christian-bromann Oct 6, 2025
875c828
release(langchain): 1.0.0-alpha.8
christian-bromann Oct 7, 2025
fd3ed79
fix(anthropic): add support for container upload block type in messag…
pokey Oct 7, 2025
402305e
fix(langchain/createAgent): merge middleware agent with original reac…
christian-bromann Oct 8, 2025
9ec980b
fix(langchain/createAgent): various agent cleanups (#9135)
christian-bromann Oct 8, 2025
1997ff6
fix(openai): Convert OpenAI responses API usage to tracing format (#9…
jacoblee93 Oct 11, 2025
fc2302e
Merge `modifyModelRequest` and `retryModelRequest` into `wrapModelReq…
christian-bromann Oct 12, 2025
6224efe
chore(langchain): port hitl updates (#9148)
eyurtsev Oct 12, 2025
bdc19e8
fix(langchain): don't re-export toolnode (#9156)
christian-bromann Oct 12, 2025
a94c928
chore(anthropic/v1): patch changes (#9149)
hntrl Oct 13, 2025
54debd8
chore(*): remove deprecations (#9102)
hntrl Oct 14, 2025
775a976
feat(langchain/createAgent): add before/after agent hooks (#9161)
christian-bromann Oct 14, 2025
073e977
fix(anthropic): Add execution tool response block types (#9108)
pokey Oct 14, 2025
0ea1111
feat(anthropic): Add support for container reuse for code execution (…
pokey Oct 14, 2025
d1eddaf
fix(langchain/createAgent): fix naming wrapModelRequest -> wrapModelC…
christian-bromann Oct 14, 2025
aac6abc
fix(anthropic): Add integration test for Anthropic multi-step code ex…
pokey Oct 14, 2025
1fddf7d
fix(core/v1): create tool calls when standard content is initialized …
hntrl Oct 14, 2025
be5dfc6
fix(openai/v1): better responses multimodal handling (#9169)
hntrl Oct 14, 2025
f212784
chore(core/v1): patch changes (#9172)
hntrl Oct 14, 2025
ce0a2d6
chore(langchain/v1): patch changes (#9171)
hntrl Oct 14, 2025
4f4d19e
chore(community/v1): patch changes (#9181)
hntrl Oct 14, 2025
436a656
fix(anthropic/v1): better multimodal handling (#9168)
hntrl Oct 14, 2025
aa938e0
chore(cerebras): patch changes (#9183)
hntrl Oct 14, 2025
47f6d20
chore: release packages (#9182)
hntrl Oct 14, 2025
9460e8c
fix(langchain): rename planning middleware to todolist (#9187)
christian-bromann Oct 14, 2025
8f7b824
chore(cohere/v1): patch changes (#9184)
hntrl Oct 14, 2025
81daf47
chore(google-genai/v1): patch changes (#9185)
hntrl Oct 14, 2025
7b606e9
chore(groq/v1): patch changes (#9186)
hntrl Oct 14, 2025
9da64a2
chore(mongodb/v1): patch changes (#9188)
hntrl Oct 14, 2025
c98f246
chore(ollama/v1): patch changes (#9189)
hntrl Oct 14, 2025
5b8d02d
chore(weaviate/v1): patch changes (#9191)
hntrl Oct 14, 2025
499ca4d
chore(openai/v1): patch changes (#9193)
hntrl Oct 14, 2025
ce73741
chore(redis/v1): patch changes (#9190)
hntrl Oct 14, 2025
8013da5
chore: update project files (#9195)
hntrl Oct 15, 2025
9709279
chore: release packages (#9196)
hntrl Oct 15, 2025
d7ba6f0
Add Semantic Text Splitter
promentol Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .changeset/afraid-paws-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

update chunk concat logic to match on missing ID fields
9 changes: 9 additions & 0 deletions .changeset/angry-ads-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@langchain/azure-cosmosdb": patch
"@langchain/cloudflare": patch
"@langchain/community": patch
"@langchain/redis": patch
"langchain": patch
---

use `keyEncoder` instead of insecure cache key getter
5 changes: 5 additions & 0 deletions .changeset/bright-apes-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

feat(@langchain/community): add sagemaker endpoint - embedding support
5 changes: 5 additions & 0 deletions .changeset/brown-hounds-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/openai": patch
---

fix(openai): Convert OpenAI responses API usage to tracing format
5 changes: 5 additions & 0 deletions .changeset/chubby-guests-sink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

chore(couchbase): Deprecate CouchbaseVectorStore and create CouchbaseSearchVectorStore
5 changes: 5 additions & 0 deletions .changeset/clever-jars-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

fix(@langchain/core/v1): prevent tool call chunks from merging incorrectly in AIMessageChunk.concat()
5 changes: 5 additions & 0 deletions .changeset/curly-kings-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

fix(langchain): prevent ConfigurableModel mutation when using withStructuredOutput or bindTools
5 changes: 5 additions & 0 deletions .changeset/curly-spoons-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/azure-cosmosdb": patch
---

Fix missing init while retrieving context in AzureCosmsosDBNoSQLChatMessageHistory
5 changes: 5 additions & 0 deletions .changeset/dry-ears-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

feat(langchain-community): add custom schema option for neon vector store
5 changes: 5 additions & 0 deletions .changeset/fair-scissors-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

inline zod-to-json-schema
6 changes: 6 additions & 0 deletions .changeset/fast-plants-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@langchain/openai": patch
"@langchain/core": patch
---

support base64 embeddings format
5 changes: 5 additions & 0 deletions .changeset/fruity-llamas-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

fix(astra): replace deprecated 'namespace' param name
5 changes: 5 additions & 0 deletions .changeset/green-squids-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

feat: Add Perplexity support to universal chat model
5 changes: 5 additions & 0 deletions .changeset/happy-emus-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/eslint": patch
---

internal(eslint): create internal Eslint package and upgrade to Eslint v9
5 changes: 5 additions & 0 deletions .changeset/honest-hats-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

omit tool call chunks without tool call id
8 changes: 8 additions & 0 deletions .changeset/honest-tips-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@langchain/community": patch
"@langchain/azure-cosmosdb": patch
"@langchain/cloudflare": patch
"@langchain/redis": patch
---

add support for advanced metadata filters in similarity search
5 changes: 5 additions & 0 deletions .changeset/hot-terms-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/groq": patch
---

fix(groq/v1): Support generic messages in messageToGroqRole
7 changes: 7 additions & 0 deletions .changeset/incorrect-boat-rider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@langchain/core": patch
"@langchain/community": patch
"langchain": patch
---

remove insecureHash function
5 changes: 5 additions & 0 deletions .changeset/kind-tickle-bear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

create index aurora dsql
5 changes: 5 additions & 0 deletions .changeset/lazy-kids-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fake-scope/fake-pkg": patch
---

recognize ToolMessage responses
5 changes: 5 additions & 0 deletions .changeset/lemon-boats-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

chore(@langchain/community/v1): remove Dria retriever
5 changes: 5 additions & 0 deletions .changeset/metal-camels-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/openai": patch
---

fix(openai): fix streaming in openai
5 changes: 5 additions & 0 deletions .changeset/mighty-moments-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/mongodb": minor
---

Updates the mongodb vector search, memory, and chat history modules to append client metadata
5 changes: 5 additions & 0 deletions .changeset/modern-melons-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

fix(community): improve TogetherAI error handling for chat models
5 changes: 5 additions & 0 deletions .changeset/nervous-houses-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

feat(langchain) new middleware concept for createAgent
5 changes: 5 additions & 0 deletions .changeset/perfect-seas-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/google-genai": patch
---

compute per-chunk token deltas while streaming
5 changes: 5 additions & 0 deletions .changeset/poor-buses-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

chore(langchain): rename createReactAgent to createAgent
5 changes: 5 additions & 0 deletions .changeset/real-dogs-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/mistralai": patch
---

Added logic to ensure toolCalls have corresponding toolResponses when sending messages to the Mistral API
5 changes: 5 additions & 0 deletions .changeset/rotten-rockets-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

update JSONL loader to support complex json structures
5 changes: 5 additions & 0 deletions .changeset/serious-yaks-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/google-common": patch
---

fix(google-common): fix 400 Bad Request error for external image URLs in Vertex AI
5 changes: 5 additions & 0 deletions .changeset/seven-papayas-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

fix(community): add column type configuration to PrismaVectorStore for proper SQL casting (#8583)
5 changes: 5 additions & 0 deletions .changeset/silver-dingos-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

fix(langchain): Bind schemas for other types of pulled hub prompts
5 changes: 5 additions & 0 deletions .changeset/sixty-items-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/ollama": patch
---

Add think Field to ChatOllama for Controlling Thought Process in Responses
5 changes: 5 additions & 0 deletions .changeset/slow-clouds-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/weaviate": patch
---

Make flattenObjectForWeaviate more resilient
5 changes: 5 additions & 0 deletions .changeset/spotty-cherries-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

Fix deserialization of RemoveMessage if represented as a plain object
5 changes: 5 additions & 0 deletions .changeset/strong-worms-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

make mustache prompt with nested object working correctly
5 changes: 5 additions & 0 deletions .changeset/stupid-cows-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/community": patch
---

allow any chars in delimited identifiers in hanavector
5 changes: 5 additions & 0 deletions .changeset/tame-impalas-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/google-cloud-sql-pg": patch
---

properly handle explicit metadata columns in PostgresVectorStore (#8334)
5 changes: 5 additions & 0 deletions .changeset/thick-lamps-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/core": patch
---

handle backticks in structured output
12 changes: 12 additions & 0 deletions .changeset/three-cats-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
langchain: patch
"@langchain/mcp-adapters": patch
---

Further refinements and improvements to createAgent with middleware:

- updated createAgent symbol documentation
- improved type handling for invoke and stream invocation parameter
- acknowledge middleware context schema's that are optional or have default values as actually optional
- improvements to HITL middleware: support for multiple tool interrupts at the same time
- updates `@langchain/mcp-adapters` examples to use the new createAgent primitive from langchain
5 changes: 5 additions & 0 deletions .changeset/tiny-falcons-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/anthropic": patch
---

fix(anthropic): add support for container upload block type in message formatting
5 changes: 5 additions & 0 deletions .changeset/two-cameras-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@langchain/anthropic": patch
---

fix unhandled tool choice 'none'
5 changes: 5 additions & 0 deletions .changeset/wet-bikes-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"langchain": patch
---

infer mistralai models
12 changes: 0 additions & 12 deletions .codecov.yml

This file was deleted.

38 changes: 18 additions & 20 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1.1.0-20",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next"
]
}
}
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1.1.0-20",
"customizations": {
"vscode": {
"extensions": ["ms-vscode.vscode-typescript-next"]
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pnpm install",

// Configure tool-specific properties.
// "customizations": {},
// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
26 changes: 13 additions & 13 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ body:
attributes:
value: |
Thank you for taking the time to file a bug report.

Use this to report BUGS in LangChain.js. For usage questions, feature requests and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).

Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
if there's another way to solve your problem:

Expand Down Expand Up @@ -45,19 +45,19 @@ body:
label: Example Code
description: |
Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.

If a maintainer can copy it, run it, and see it right away, there's a much higher chance that you'll be able to get help.

**Important!**

* Use code tags (e.g., ```typescript ... ```) to correctly [format your code](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
* INCLUDE the language label (e.g. `typescript`) after the first three backticks to enable syntax highlighting. (e.g., ```typescript rather than ```).
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.

placeholder: |
The following code:

```typescript
import { RunnableLambda } from "@langchain/core/runnables"

Expand Down Expand Up @@ -98,18 +98,18 @@ body:
label: System Info
description: |
Please share your system info with us.
"yarn info langchain"

"pnpm info langchain"
platform (windows / linux / mac)
Node version
yarn version
pnpm --version
placeholder: |
"yarn info langchain"
"pnpm info langchain"
platform
Node version
yarn version
pnpm --version

These will only surface LangChain.js packages, don't forget to include any other relevant
packages you're using (if you're not sure what's relevant, you can paste the entire output of `yarn info`).
packages you're using (if you're not sure what's relevant, you can paste the entire output of `pnpm info`).
validations:
required: true
Loading