stack.pulse
#stacks/langchainjs/ai

LangChain.js release notes, breaking changes, and upgrade notes.

Build context-aware reasoning applications in JavaScript StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.

releases
20
breaking
0
security
0
deprecated
0
migrations
3

Get source-linked upgrade notes and occasional sponsor recommendations. No GitHub login required.

what stackpulse tracks

LangChain.js releases from GitHub

StackPulse watches LangChain.js release notes and keeps the original source link close to every summary.

upgrade risk

Breaking changes and deprecations

Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.

migration notes

Source-backed next steps

Migration steps and recommended actions are only shown when the upstream release notes support them.

# latest_releases

source-backed
langchain@1.5.2lowfeatureJun 23, 2026

langchain@1.5.2

This patch release fixes an issue with decoupling strict tools from strict structured output responses in the OpenAI integration.

affected

Users relying on strict tools and structured output responses in the OpenAI integration may be affected.

action

Update to this version if you encounter issues with strict tools and structured output responses.

view source on github->
@langchain/openrouter@0.4.3lowJun 23, 2026

@langchain/openrouter@0.4.3

This patch release updates internal dependencies to the latest versions.

view source on github->
@langchain/xai@1.4.3lowmigrationJun 23, 2026

@langchain/xai@1.4.3

This patch release updates the dependency on @langchain/openai to version 1.5.3.

view source on github->
@langchain/openai@1.5.3lowfeatureJun 23, 2026

@langchain/openai@1.5.3

This patch release fixes an issue with strict tools being incorrectly coupled with strict structured output responses.

affected

Users relying on strict tools and strict structured output responses may be affected.

action

Update to this version if you use strict tools and structured output responses.

view source on github->
@langchain/together-ai@0.2.3lowmigrationJun 23, 2026

@langchain/together-ai@0.2.3

This patch updates dependencies, specifically upgrading @langchain/openai to version 1.5.3.

view source on github->
@langchain/openrouter@0.4.2mediumfeatureJun 22, 2026

@langchain/openrouter@0.4.2

Patch release that fixes error handling for provider rate limits (429 errors) before retrying, along with dependency updates.

affected

Users experiencing rate limits from providers may see improved error handling behavior.

view source on github->
@langchain/openai@1.5.2mediumfeatureJun 22, 2026

@langchain/openai@1.5.2

This patch release fixes several issues related to OpenAI API integration, including handling of empty fields in Responses API input and proper routing of URL file blocks.

affected

Users leveraging OpenAI's Responses API through LangChain.js may have encountered errors with empty fields or incorrect content arrays; this release resolves those issues.

action

Update to version 1.5.2 to ensure compatibility with OpenAI's API requirements and avoid potential errors.

view source on github->
@langchain/xai@1.4.2lowJun 22, 2026

@langchain/xai@1.4.2

This release includes updates to dependencies without adding new features or breaking changes.

view source on github->
@langchain/together-ai@0.2.2lowJun 22, 2026

@langchain/together-ai@0.2.2

This release includes dependency updates with no new features or breaking changes mentioned.

view source on github->
langchain@1.5.1mediumfeatureJun 22, 2026

langchain@1.5.1

Fixed an issue where tool interrupts caused unhandled rejections in HITL runs.

affected

Users relying on interrupt functionality in HITL runs are affected.

action

Upgrade to version 1.5.1 to avoid crashes from unhandled rejections.

view source on github->
langchain@1.5.0mediumfeatureJun 18, 2026

langchain@1.5.0

This release introduces subagent support in the agent stream transformer, allowing v3 runs to expose named nested agents with detailed run information.

affected

Users working with agent tools and subagents will benefit from enhanced run information.

action

Consider updating agent implementations to utilize the new subagent stream transformer.

release_signals
+Added native subagent stream transformer to expose named nested agents in v3 runs
view source on github->
@langchain/openai@1.5.1lowfeatureJun 18, 2026

@langchain/openai@1.5.1

This release focuses on improving error handling for the Responses API stream iteration by wrapping errors with the existing OpenAI client error handling.

affected

Users utilizing the Responses API stream iteration in the OpenAI client may experience improved error handling.

view source on github->
@langchain/together-ai@0.2.1lowJun 18, 2026

@langchain/together-ai@0.2.1

Minor patch release updating dependencies.

view source on github->
@langchain/xai@1.4.1lowJun 18, 2026

@langchain/xai@1.4.1

This release primarily updates dependencies, including a patch to @langchain/openai@1.5.1.

affected

Users relying on @langchain/openai dependencies may be affected by the update.

action

Ensure compatibility with @langchain/openai@1.5.1 if used in your project.

view source on github->
@langchain/openrouter@0.4.1lowmigrationJun 18, 2026

@langchain/openrouter@0.4.1

This release primarily updates dependencies, specifically upgrading `@langchain/openai` to version 1.5.1.

affected

Users relying on `@langchain/openrouter` may need to ensure compatibility with the updated `@langchain/openai` dependency.

action

Review the changes in `@langchain/openai@1.5.1` to ensure compatibility.

view source on github->
@langchain/xai@1.4.0mediumfeatureJun 17, 2026

@langchain/xai@1.4.0

This release adds native completions and response stream events functionality.

affected

Users who need streaming event functionality in completions and responses will benefit from this update.

release_signals
+Added native completions and responses streamEvents events
view source on github->
@langchain/perplexity@0.3.0mediumfeatureJun 17, 2026

@langchain/perplexity@0.3.0

Added native completions streamEvents events to the perplexity integration.

affected

Users of the perplexity integration who need streaming events will benefit from this update.

action

Update to version 0.3.0 to utilize the new streaming events feature.

release_signals
+Added native completions streamEvents events
view source on github->
@langchain/together-ai@0.2.0mediumfeatureJun 17, 2026

@langchain/together-ai@0.2.0

Added native OpenAI-compatible streamEvents support and updated dependencies.

affected

Users utilizing streaming features with Together AI will benefit from enhanced compatibility.

action

Update to this version if you require native OpenAI-compatible streaming events.

release_signals
+Enable native OpenAI-compatible streamEvents events for better streaming compatibility
view source on github->
@langchain/openrouter@0.4.0mediumfeatureJun 17, 2026

@langchain/openrouter@0.4.0

Added native streamEvents event conversion for OpenRouter and updated dependencies.

affected

Users of OpenRouter streaming events may need to update their code to use the new native conversion.

action

Update to version 0.4.0 to take advantage of the new streamEvents feature.

release_signals
+Added native streamEvents event conversion for OpenRouter
view source on github->
langchain@1.4.6mediumfeatureJun 17, 2026

langchain@1.4.6

Added dynamic interrupt skipping for human-in-the-loop middleware and introduced prompt caching middleware for AWS Bedrock.

affected

Developers using human-in-the-loop middleware or AWS Bedrock may want to update to access new features.

action

Update to version 1.4.6 to utilize the new middleware features.

release_signals
+Added `when` predicate to human-in-the-loop middleware for dynamic interrupt skipping
+Added bedrockPromptCachingMiddleware for AWS Bedrock prompt caching
view source on github->