## langchain-ai/langchainjs — latest…v1-head

_655+ commits._

### Features
- **feat(qdrant): Use Qdrant's built-in MMR search (#8574)** (b1186a5)
- **add title** (3e18bd2)
- **feat: expose maxCompletionTokens parameter, fix tests in IBM Watsonx implementation (#8575)** (21ef810)
- **feat: Use Qdrant's built-in MMR search** (2ed905f)
- **feat: expose maxCompletionTokens parameter** (84e869c)
- **feat: Support Custom Metadata Labels on Vertex AI (#8207)** (379499b)
- **Revert "Support Gemini API too"** (ee663c7)
- **feat: add env test helpers (#8553)** (6e349ee)
- **feat: add env test helpers** (829421c)
- **Support Gemini API too** (c60111b)
- **Merge remote-tracking branch 'upsteam/main' into support-vertexai-labels** (179b59a)
- **feat(mcp): add default tool timeout** (a6b863f)
- **feat(core): add default config for tools** (c8ca258)
- **feat(community): perplexity add web search options (#8328)** (1ff868d)

### Fixes
- **fix(community/clickhouse): support passthrough index param (#8592)** (fa77039)
- **fix(core): extract variables from inside Mustache sections (#8580)** (ff22c45)
- **fix(core): handle tool call chunks without IDs in streaming mode (#8581)** (9212f72)
- **fix(core): handle tool call chunks without IDs in streaming mode** (102a6d6)
- **fix(core): extract variables from inside Mustache sections** (e77c1bf)
- **fix: so we can support string as index params also** (af815eb)
- **fix: ibm-watsonx library** (408f811)
- **fix: bump ibm sdk version** (db2c3db)
- **typo fix** (5bff1c7)
- **fix code** (ba56050)
- **fix: dependecies** (79e4389)
- **fix(anthropic): Handle invalid content blocks from genai func calls (#8565)** (0d55437)
- **fix(anthropic): Update list of built in tools (#8571)** (c53dea7)
- **patch[openai]: use proxy inheritance for AzureChatOpenAI (#8554)** (f7873ce)
- **fix(openai): allow explicit method setting in withStructuredOutput** (6c09ca0)
- **fix(openai): make output method getter overridable** (fd7f9e0)
- **fix(openai): make ChatOpenAI fields optional** (cb365e8)
- **patch[gemini]: Gemini 2 5 Flash-Lite (#8555)** (374fea5)
- **fix(anthropic): dont include server tools in tool_calls (#8559)** (67bc0b6)
- **fix(openai): make instance properties optional** (1eedd5e)
- **fix(pgvector): add skipInitializationCheck option to disable schema c… (#8414)** (ad075c6)
- **fix(anthropic): dont include server tools in tool_calls** (d34c409)
- **fix(openai): remove remaining test-helpers import** (a554431)
- **fix(openai): use proxy inheritance for azure chat classes** (6a8f6bd)
- **fix(test-helpers): use object destructuring** (a6b21a5)
- **patch(mcp): `defaultToolTimeout` (#8536)** (bb4212f)
- **patch(core): add default config for tools (#8535)** (e7ccfa3)
- **fix(openai): Fix ls structured output params (#8529)** (3ada6ac)
- **fix(core): handle tool calls with no args (#8530)** (1bbc76f)
- **fix(core): handle tool calls with no args** (67d7361)
- **Revert "chore(openai): fix non-deterministic test" (#8527)** (b3008cd)
- **Revert "chore(openai): fix non-deterministic test"** (4087da0)
- **fix(openai): thread _getClientOptions (#8523)** (82d6610)
- **fix(openai): Properly pass through structured output params and other fields into callbacks (#8522)** (34db51a)
- **fix(openai): thread _getClientOptions** (f3b58bd)
- **fix(core): Bump LangSmith version to fix deeply nested interop, update run start times to exactly match dotted order (#8516)** (7e00af7)
- **fix(openai): revert to previous model alias (#8512)** (e38e83e)
- **fix(openai): revert openai serializer test** (07959dd)
- **fix(openai): revert to previous model alias** (0d900f2)

### Backend
- **Update mcp_toolbox.mdx** (476398c)
- **resolve comments** (3d45df7)
- **Update docs/core_docs/docs/integrations/toolkits/mcp_toolbox.mdx** (b332175)
- **Update docs/core_docs/docs/integrations/toolkits/mcp_toolbox.mdx** (95d98e3)
- **Update docs/core_docs/docs/integrations/toolkits/mcp_toolbox.mdx** (a84e830)
- **Update docs/core_docs/docs/integrations/toolkits/mcp_toolbox.mdx** (a44e009)
- **Merge branch 'main' into main** (28fb043)
- **Merge branch 'main' into qdrant-mmr** (0099c86)
- **lint** (3f44378)
- **Merge branch 'main' into toolbox-docs** (9144723)
- **Merge branch 'main' into qdrant-mmr** (b787d96)
- **Update mcp_toolbox.mdx** (340b761)
- **update link** (b1ede2b)
- **syntax** (959d304)
- **rename package** (2114d3b)
- **Merge branch 'main' of https://github.com/FilipZmijewski/langchainjs** (bb240fd)
- **Merge branch 'langchain-ai:main' into main** (d6859f9)
- **use langchain packages** (6e35c3c)
- **Merge branch 'main' into toolbox-docs** (cfa3954)
- **release(anthropic): 0.3.25 (#8572)** (905adfc)
- **release(google): 0.2.16 (#8566)** (c285c0a)
- **release(google-genai): 0.2.16** (cdbb261)
- **release(google-vertexai-web): 0.2.16** (cfb9e5e)
- **release(google-vertexai): 0.2.16** (46c4d21)
- **release(google-webauth): 0.2.16** (93662d1)
- **release(google-gauth): 0.2.16** (49c0fe1)
- **release(google-common): 0.2.16** (da1ff2d)
- **release(openai): 0.6.3 (#8562)** (5d74204)
- **release(openai): 0.6.3** (fff8b84)
- **Replace `.optional()` with `.nullish()`** (d1b7db9)
- **Format** (f58d429)
- **Test release version of Gemini 2.5 Flash-Lite.** (c08fff3)
- **Gemini 2.5 Flash Lite now available in more regions, so use the usual one by default.** (014738f)
- **release(mcp-adapters): 0.6.0 (#8543)** (ddb1910)
- **release(mcp-adapters): 0.6.0** (8262308)
- **minor[mcp]: disable disambiguation by default (#8542)** (26de302)
- **minor[mcp]: disable disambiguation by default** (936038d)
- **release(aws): 0.1.12** (00225f8)
- **release(mcp-adapters): 0.5.4** (a17c87f)
- **release(core): 0.3.66 (#8538)** (b915726)
- **release(core): 0.3.66** (61f3533)
- **release(core): 0.3.65 (#8531)** (ca5b9b1)
- **release(core): 0.3.65** (8dfcbfe)
- **release(openai): 0.6.2 (#8526)** (40181d4)
- **release(openai): 0.6.2** (76a3b5f)
- **Properly pass through structured output params and other fields into callbacks when calling OpenAI** (ee66c4d)
- **release(core): 0.3.64 (#8520)** (6779b48)
- **release 2025-07-15 (#8517)** (048023b)
- **release(google-genai): 0.2.15** (71a863f)
- **release(google-vertexai-web): 0.2.15** (4cd022a)
- **release(google-vertexai): 0.2.15** (32ffb63)
- **release(google-webauth): 0.2.15** (bc8d507)
- **release(google-gauth): 0.2.15** (4cf3201)
- **release(google-common): 0.2.15** (6902cfd)
- **release(openai): 0.6.1** (46b4137)
- **release(core): 0.3.63** (a79bc2c)

### Tests
- **test(mongodb): use azure openid when available in tests (#8588)** (f3a9881)
- **test(mongodb): use azure openid when available in tests** (1a7a9b3)
- **test: Fixed mocks** (c9dc3e8)

### Docs
- **docs: fix dynamic few-shot prompt template type error (#8485)** (fd1e8ba)
- **docs: Using MCP Toolbox for Databases with LangchainJS (#8573)** (625c80e)
- **docs: fix a minor grammatical error (#8465)** (9dc5b03)
- **docs: improve SQL QA tutorial notebook (#8462)** (0371fa6)
- **docs: fix RunnableParallel example output (#8493)** (ed987af)
- **docs: fix example code of extraction tutorial (#8560)** (d411f1c)
- **docs: add docs for MCP Toolbox for Databases** (4578f1c)
- **docs: (#8464)** (1f23803)
- **docs: update LangSmith links (#8521)** (a08e097)
- **docs: update LangSmith links** (9d1d8e0)

### Chore
- **chore: remove unused azure-openai dependency** (b8211a5)
- **chore(community): fix format errors** (6dc674f)
- **chore: Bump deps** (41a9b27)
- **chore(deps): bump pbkdf2 from 3.1.2 to 3.1.3 (#8563)** (00bd33b)
- **chore: bump lockfile** (bed68d3)
- **chore(google): update -webauth dep** (7c408fb)
- **chore(google): udpate -gauth dep** (45c4f37)
- **chore(google): update common deps** (2f747fc)
- **chore(deps): bump pbkdf2 from 3.1.2 to 3.1.3** (ba546f8)
- **chore(openai): use original output method defaults** (49d5223)
- **chore(anthropic): remove unnecessary import** (0d21414)
- **chore(openai): use constructor params instead of adding another inheritance layer** (b04c0ce)
- **chore: bump lockfile** (96d3f1f)
- **chore: temporarily inline test helpers** (ea9b6de)
- **chore: add missing devDependencies** (40de52d)
- **chore(mcp): update readme with new defaults** (77115af)
- **chore(release): 2024-07-18 (#8539)** (8a4d22a)
- **chore(mcp): bump lockfile** (47a3e43)
- **chore(mcp): bump core version** (22e965f)
- **chore(mcp): add defaultToolTimeout to readme** (029ead9)
- **chore(openai): fix non-deterministic test** (3f35fa9)
- **chore(openai): rename call options getter** (e5dabb3)
- **chore(openai): hoist default options getter** (d5b199e)
- **chore: bump lockfile** (39a5d64)
- **chore(google): bump webauth dep** (84251a9)
- **chore(google): bump gauth deps** (68780d3)
- **chore(google): bump common dep** (3521fe6)
- **chore(openai): readd modelName serializable key** (7f91464)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/langchain-ai/langchainjs?utm_source=github-action)._