[PR #373] [MERGED] build(deps): bump @langchain/openai from 1.2.7 to 1.3.1 #405

Closed
opened 2026-06-05 17:22:58 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/373
Author: @dependabot[bot]
Created: 3/25/2026
Status: Merged
Merged: 3/25/2026
Merged by: @hntrl

Base: mainHead: dependabot/npm_and_yarn/langchain/openai-1.3.1


📝 Commits (1)

  • 2729355 build(deps): bump @langchain/openai from 1.2.7 to 1.3.1

📊 Changes

1 file changed (+94 additions, -108 deletions)

View changed files

📝 pnpm-lock.yaml (+94 -108)

📄 Description

Bumps @langchain/openai from 1.2.7 to 1.3.1.

Release notes

Sourced from @​langchain/openai's releases.

@​langchain/openai@​1.3.1

Patch Changes

  • #10481 478652c Thanks @​hnustwjj! - fix(openai): detect DeepSeek context overflow errors as ContextOverflowError

    DeepSeek returns maximum context length in 400 error messages when the context limit is exceeded. These are now recognized by wrapOpenAIClientError, so downstream code (e.g. summarization middleware fallback) can handle them correctly.

  • #10507 52e501b Thanks @​App-arently! - fix(openai): guard JSON.parse in streaming json_schema when text is empty

  • Updated dependencies [bbbfea1]:

    • @​langchain/core@​1.1.36

@​langchain/openai@​1.3.0

Minor Changes

  • #10317 af9bbd3 Thanks @​hntrl! - feat(openai): support tool search and defer_loading
    • Add tools.toolSearch() factory for the OpenAI Responses API tool_search built-in tool, supporting both server-executed and client-executed modes.
    • Propagate defer_loading from LangChain tool extras through bindTools() and into the Responses API payload, enabling on-demand tool discovery.
    • Handle tool_search_call and tool_search_output response items in both streaming and non-streaming converters.
    • Add core block translator support to convert tool_search_callserver_tool_call and tool_search_outputserver_tool_call_result.

Patch Changes

@​langchain/openai@​1.2.13

Patch Changes

@​langchain/openai@​1.2.12

Patch Changes

@​langchain/openai@​1.2.11

Patch Changes

  • #10106 9f30267 Thanks @​hntrl! - Add package version metadata to runnable traces. Each package now stamps its version in this.metadata.versions at construction time, making version info available in LangSmith trace metadata.

  • #10151 f298a9b Thanks @​hntrl! - Bump openai SDK to ^6.24.0, fix ChatCompletionTool type narrowing for new union type, add file input converter tests for newly supported document types (docx, pptx, xlsx, csv)

  • Updated dependencies [9f30267, 403a99f, 3b1fd54, 77bd982]:

... (truncated)

Commits
  • d2a0c2d chore: version packages (#10508)
  • bbbfea1 fix(core): fix _mergeLists id-only fallback and SystemMessage.concat lc_kwarg...
  • 478652c fix(openai): detect DeepSeek context overflow errors as ContextOverfl… (#10481)
  • 3d35eb1 fix(langchain): add "aws" alias to MODEL_PROVIDER_CONFIG for Bedrock hub prom...
  • 52e501b fix(openai): guard JSON.parse in streaming json_schema when text is empty (#1...
  • ae4122f Align Zod Importation For 'libs/langchain/src/agents/nodes/utils.ts' (#10258)
  • 443253b chore: version packages (#10469)
  • 005d4a1 chore(deps-dev): bump fast-xml-parser from 5.5.6 to 5.5.7 (#10473)
  • 63b7268 fix(@​langchain/google) Duplicate function call (#10493)
  • 75e9d56 fix: support structured output (providerStrategy) for Google Gemini models in...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagentsjs/pull/373 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 3/25/2026 **Status:** ✅ Merged **Merged:** 3/25/2026 **Merged by:** [@hntrl](https://github.com/hntrl) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/langchain/openai-1.3.1` --- ### 📝 Commits (1) - [`2729355`](https://github.com/langchain-ai/deepagentsjs/commit/2729355ed68bf9ff501ea682cb4207c6a11e45ef) build(deps): bump @langchain/openai from 1.2.7 to 1.3.1 ### 📊 Changes **1 file changed** (+94 additions, -108 deletions) <details> <summary>View changed files</summary> 📝 `pnpm-lock.yaml` (+94 -108) </details> ### 📄 Description Bumps [@langchain/openai](https://github.com/langchain-ai/langchainjs) from 1.2.7 to 1.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases"><code>@​langchain/openai</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​langchain/openai</code><a href="https://github.com/1"><code>@​1</code></a>.3.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10481">#10481</a> <a href="https://github.com/langchain-ai/langchainjs/commit/478652c01cdae0703415febd250b6c2656b36410"><code>478652c</code></a> Thanks <a href="https://github.com/hnustwjj"><code>@​hnustwjj</code></a>! - fix(openai): detect DeepSeek context overflow errors as <code>ContextOverflowError</code></p> <p>DeepSeek returns <code>maximum context length</code> in 400 error messages when the context limit is exceeded. These are now recognized by <code>wrapOpenAIClientError</code>, so downstream code (e.g. summarization middleware fallback) can handle them correctly.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10507">#10507</a> <a href="https://github.com/langchain-ai/langchainjs/commit/52e501b44ee54ace1889ec9149a3617c4409db51"><code>52e501b</code></a> Thanks <a href="https://github.com/App-arently"><code>@​App-arently</code></a>! - fix(openai): guard JSON.parse in streaming json_schema when text is empty</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/bbbfea185c0777ae06df2b24a1a84f941d499c2a"><code>bbbfea1</code></a>]:</p> <ul> <li><code>@​langchain/core</code><a href="https://github.com/1"><code>@​1</code></a>.1.36</li> </ul> </li> </ul> <h2><code>@​langchain/openai</code><a href="https://github.com/1"><code>@​1</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10317">#10317</a> <a href="https://github.com/langchain-ai/langchainjs/commit/af9bbd3f48d96de8963f492ebbf75ca0762f7e57"><code>af9bbd3</code></a> Thanks <a href="https://github.com/hntrl"><code>@​hntrl</code></a>! - feat(openai): support tool search and defer_loading <ul> <li>Add <code>tools.toolSearch()</code> factory for the OpenAI Responses API <code>tool_search</code> built-in tool, supporting both server-executed and client-executed modes.</li> <li>Propagate <code>defer_loading</code> from LangChain tool <code>extras</code> through <code>bindTools()</code> and into the Responses API payload, enabling on-demand tool discovery.</li> <li>Handle <code>tool_search_call</code> and <code>tool_search_output</code> response items in both streaming and non-streaming converters.</li> <li>Add core block translator support to convert <code>tool_search_call</code> → <code>server_tool_call</code> and <code>tool_search_output</code> → <code>server_tool_call_result</code>.</li> </ul> </li> </ul> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/6db417b03ecb5e2ace413389d982294e0ac88433"><code>6db417b</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/d69dfcca97503cf1c0b7e70ccf5fb7d507c60982"><code>d69dfcc</code></a>]: <ul> <li><code>@​langchain/core</code><a href="https://github.com/1"><code>@​1</code></a>.1.33</li> </ul> </li> </ul> <h2><code>@​langchain/openai</code><a href="https://github.com/1"><code>@​1</code></a>.2.13</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10311">#10311</a> <a href="https://github.com/langchain-ai/langchainjs/commit/aacbe872014a6e089c188336520d91dcac2f0287"><code>aacbe87</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@​christian-bromann</code></a>! - fix(openai): add gpt-5.4 to profiles</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/26488b596f01b7b7fe2f1d97d07164e52365ade5"><code>26488b5</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/ca826f6fecae6087bf0dee7781ee80b587396ec1"><code>ca826f6</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/a602c42db75d7e7e01cab38b12e0b65b9c0cce95"><code>a602c42</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/db7d017f7ce13cb937147aabcbfa3847d80bde9d"><code>db7d017</code></a>]:</p> <ul> <li><code>@​langchain/core</code><a href="https://github.com/1"><code>@​1</code></a>.1.32</li> </ul> </li> </ul> <h2><code>@​langchain/openai</code><a href="https://github.com/1"><code>@​1</code></a>.2.12</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10205">#10205</a> <a href="https://github.com/langchain-ai/langchainjs/commit/3682a8d4e0ed0855a5283f26bcfd1c0415dde075"><code>3682a8d</code></a> Thanks <a href="https://github.com/colifran"><code>@​colifran</code></a>! - feat(openai): add standard schema support for structured output</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/96c630dfd009f2546d5bc36f5067ff868bb4067f"><code>96c630d</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/a8b9ccca5a85984a5a30008acd09f9991e591638"><code>a8b9ccc</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/a1f22bba907731a18dca23c31cec5333444a3f55"><code>a1f22bb</code></a>]:</p> <ul> <li><code>@​langchain/core</code><a href="https://github.com/1"><code>@​1</code></a>.1.30</li> </ul> </li> </ul> <h2><code>@​langchain/openai</code><a href="https://github.com/1"><code>@​1</code></a>.2.11</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10106">#10106</a> <a href="https://github.com/langchain-ai/langchainjs/commit/9f30267e95a2a42fac71f1d3674b84c5a190dbbc"><code>9f30267</code></a> Thanks <a href="https://github.com/hntrl"><code>@​hntrl</code></a>! - Add package version metadata to runnable traces. Each package now stamps its version in <code>this.metadata.versions</code> at construction time, making version info available in LangSmith trace metadata.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/10151">#10151</a> <a href="https://github.com/langchain-ai/langchainjs/commit/f298a9bdedff7bc2b0eb7f6b5e6b52fd3042a7b7"><code>f298a9b</code></a> Thanks <a href="https://github.com/hntrl"><code>@​hntrl</code></a>! - Bump openai SDK to ^6.24.0, fix ChatCompletionTool type narrowing for new union type, add file input converter tests for newly supported document types (docx, pptx, xlsx, csv)</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/langchain-ai/langchainjs/commit/9f30267e95a2a42fac71f1d3674b84c5a190dbbc"><code>9f30267</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/403a99fd826383f30300809ae077e1c967023520"><code>403a99f</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/3b1fd5458a4aa29c398122829f383f21b5ac39da"><code>3b1fd54</code></a>, <a href="https://github.com/langchain-ai/langchainjs/commit/77bd98274a885e947d76f7a9c6dd0b3763453218"><code>77bd982</code></a>]:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d2a0c2d5b5a23a60791d01c98874c53f555ed5d8"><code>d2a0c2d</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10508">#10508</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/bbbfea185c0777ae06df2b24a1a84f941d499c2a"><code>bbbfea1</code></a> fix(core): fix _mergeLists id-only fallback and SystemMessage.concat lc_kwarg...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/478652c01cdae0703415febd250b6c2656b36410"><code>478652c</code></a> fix(openai): detect DeepSeek context overflow errors as ContextOverfl… (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10481">#10481</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/3d35eb112b46b36aea80cebe0147e315d03a1d8e"><code>3d35eb1</code></a> fix(langchain): add &quot;aws&quot; alias to MODEL_PROVIDER_CONFIG for Bedrock hub prom...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/52e501b44ee54ace1889ec9149a3617c4409db51"><code>52e501b</code></a> fix(openai): guard JSON.parse in streaming json_schema when text is empty (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/1">#1</a>...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/ae4122f9523904423504e5a92c134c625977261d"><code>ae4122f</code></a> Align Zod Importation For 'libs/langchain/src/agents/nodes/utils.ts' (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10258">#10258</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/443253bd5336597d3619f2e21a8d5a814202997e"><code>443253b</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10469">#10469</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/005d4a15222b636702fe8d04fc4ea2d8b84d9b06"><code>005d4a1</code></a> chore(deps-dev): bump fast-xml-parser from 5.5.6 to 5.5.7 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10473">#10473</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/63b72689a1f245037aaa7d910ea4b881ead84856"><code>63b7268</code></a> fix(<code>@​langchain/google</code>) Duplicate function call (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/10493">#10493</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/75e9d56926988dc355c9e5cf63af05a4b378cdf2"><code>75e9d56</code></a> fix: support structured output (providerStrategy) for Google Gemini models in...</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/openai@1.2.7...@langchain/openai@1.3.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@langchain/openai&package-manager=npm_and_yarn&previous-version=1.2.7&new-version=1.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 17:22:58 -04:00
yindo closed this issue 2026-06-05 17:22:58 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#405