Skip to content

fix(deps): update dependency @langchain/openai to v1#740

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/langchain-openai-1.x
Open

fix(deps): update dependency @langchain/openai to v1#740
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/langchain-openai-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 18, 2025

This PR contains the following updates:

Package Change Age Confidence
@langchain/openai (source) ^0.6.0^1.0.0 age confidence

Release Notes

langchain-ai/langchainjs (@​langchain/openai)

v1.4.1

Compare Source

Patch Changes

v1.4.0

Compare Source

Minor Changes
  • #​10509 5552999 Thanks @​hntrl! - feat(openai): add support for phase parameter on Responses API messages
    • Extract phase from message output items and surface it on text content blocks
    • Support phase in streaming via response.output_item.added events
    • Round-trip phase through both raw provider and standard content paths
    • Move phase into extras dict in the core standard content translator
Patch Changes

v1.3.1

Compare Source

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]:

v1.3.0

Compare Source

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

v1.2.13

Compare Source

Patch Changes

v1.2.12

Compare Source

Patch Changes

v1.2.11

Compare Source

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]:

v1.2.10

Patch Changes
  • #​10143 62ba83e Thanks @​topliceanurazvan! - fix(openai): emit handleLLMNewToken callback for usage chunk in Completions API streaming

    The final usage chunk in _streamResponseChunks was only yielded via the async generator but did not call runManager.handleLLMNewToken(). This meant callback-based consumers (e.g. LangGraph's StreamMessagesHandler) never received the usage_metadata chunk. Added the missing handleLLMNewToken call to match the behavior of the main streaming loop.

  • Updated dependencies [10a876c, b46d96a]:

v1.2.8

Compare Source

Patch Changes
  • #​10077 05396f7 Thanks @​christian-bromann! - feat(core): add ContextOverflowError, raise in anthropic and openai

  • #​10081 5a6f26b Thanks @​hntrl! - feat(core): add namespace-based symbol branding for error class hierarchies

    Introduces createNamespace utility for hierarchical symbol-based branding of class hierarchies.
    All LangChain error classes now use this pattern, replacing hand-rolled duck-type isInstance checks
    with reliable cross-realm Symbol.for-based identity.

    • New LangChainError base class that all LangChain errors extend
    • New createNamespace / Namespace API in @langchain/core/utils/namespace
    • Refactored ModelAbortError, ContextOverflowError to use namespace branding
    • Added ContextOverflowError.fromError() static factory method
    • Deprecated addLangChainErrorFields in favor of LangChainError subclasses
    • Migrated Google provider errors (GoogleError, ConfigurationError, etc.) to namespace branding
    • Updated Anthropic and OpenAI providers to use ContextOverflowError.fromError()
  • #​10078 7be50a7 Thanks @​christian-bromann! - chore(*): update model profiles

v1.2.7

Patch Changes

v1.2.6

Patch Changes

v1.2.5

Compare Source

Patch Changes

v1.2.4

Compare Source

Patch Changes
  • #​9887 1fa865b Thanks @​Muhammad-Kamran-Khan! - Fix validation to allow file_url and file_id without filename metadata in Responses API, and prevent sending filename when not allowed.

  • #​9873 28efb57 Thanks @​hntrl! - Add reasoningEffort call option as a convenience shorthand for reasoning.effort

    • Adds reasoningEffort to BaseChatOpenAICallOptions for easier configuration of reasoning models
    • Automatically coalesces reasoningEffort into reasoning.effort when calling reasoning models (o1, o3, etc.)
    • If both reasoningEffort and reasoning.effort are provided, reasoning.effort takes precedence
    • Marked as @deprecated to encourage use of the full reasoning.effort option
  • #​9876 4e42452 Thanks @​sflanker! - fix(openai): pass runManager to responses._generate function in ChatOpenAI

  • #​9900 a9b5059 Thanks @​hntrl! - Improved abort signal handling for chat models:

    • Added ModelAbortError class in @langchain/core/errors that contains partial output when a model invocation is aborted mid-stream
    • invoke() now throws ModelAbortError with accumulated partialOutput when aborted during streaming (when using streaming callback handlers)
    • stream() throws a regular AbortError when aborted (since chunks are already yielded to the caller)
    • All provider implementations now properly check and propagate abort signals in both _generate() and _streamResponseChunks() methods
    • Added standard tests for abort signal behavior
  • #​9900 a9b5059 Thanks @​hntrl! - fix(providers): add proper abort signal handling for invoke and stream operations

    • Added early abort check (signal.throwIfAborted()) at the start of _generate methods to immediately throw when signal is already aborted
    • Added abort signal checks inside streaming loops in _streamResponseChunks to return early when signal is aborted
    • Propagated abort signals to underlying SDK calls where applicable (Google GenAI, Google Common/VertexAI, Cohere)
    • Added standard tests for abort signal behavior in @langchain/standard-tests

    This enables proper cancellation behavior for both invoke and streaming operations, and allows fallback chains to correctly proceed to the next runnable when the previous one is aborted.

v1.2.3

Compare Source

Patch Changes

v1.2.2

Compare Source

Patch Changes

v1.2.1

Compare Source

Patch Changes

v1.2.0

Minor Changes
Patch Changes

v1.1.3

Patch Changes

v1.1.2

Compare Source

Patch Changes

v1.1.1

Patch Changes

v1.1.0

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Oct 18, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: eolang@0.0.0
npm error Found: @langchain/core@0.3.80
npm error node_modules/@langchain/core
npm error   @langchain/core@"^0.3.55" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @langchain/core@"^1.1.38" from @langchain/openai@1.4.1
npm error node_modules/@langchain/openai
npm error   @langchain/openai@"^1.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-03-31T05_31_48_708Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-03-31T05_31_48_708Z-debug-0.log

@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch 2 times, most recently from 05004fb to f24b247 Compare November 14, 2025 02:13
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch 2 times, most recently from cddc75b to 3db2472 Compare November 24, 2025 16:51
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch from 3db2472 to 0c40457 Compare December 3, 2025 17:36
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch from 0c40457 to 6ba04ee Compare December 13, 2025 02:38
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch from 6ba04ee to a2899a7 Compare December 23, 2025 03:31
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch 2 times, most recently from 806c43b to 42fdad0 Compare January 6, 2026 05:54
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch from 42fdad0 to 43dbc0a Compare January 8, 2026 16:43
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch from 43dbc0a to de8ac7c Compare January 31, 2026 01:01
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch 2 times, most recently from 4fe306b to a5bb756 Compare February 20, 2026 21:12
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch 2 times, most recently from ca01159 to d040467 Compare March 4, 2026 01:13
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch 2 times, most recently from 922aeab to 52364a8 Compare March 17, 2026 10:08
@renovate renovate bot changed the title fix(deps): update dependency @langchain/openai to v1 Update dependency @langchain/openai to v1 Mar 22, 2026
@renovate renovate bot changed the title Update dependency @langchain/openai to v1 fix(deps): update dependency @langchain/openai to v1 Mar 22, 2026
@renovate renovate bot force-pushed the renovate/langchain-openai-1.x branch from 52364a8 to 17256b7 Compare March 24, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants