fix(deps): update dependency @langchain/core to v1.2.9 - #369
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @langchain/core to v1.2.9#369renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
3 times, most recently
from
June 22, 2026 18:02
0f4c495 to
b460e93
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
from
July 9, 2026 10:52
b460e93 to
5c348ee
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
2 times, most recently
from
July 14, 2026 23:06
1fb5153 to
b7c4df5
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
2 times, most recently
from
July 24, 2026 15:07
271b947 to
5e74057
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
2 times, most recently
from
July 30, 2026 23:03
fd372e4 to
024dbba
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
from
August 6, 2026 00:51
024dbba to
6a1e19e
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
2 times, most recently
from
August 12, 2026 21:41
0627fc6 to
945623c
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
from
August 13, 2026 22:52
945623c to
b47ad3b
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
from
August 14, 2026 22:46
b47ad3b to
9cea600
Compare
renovate
Bot
force-pushed
the
renovate/langchain-core-1.x
branch
from
August 20, 2026 02:10
9cea600 to
3fff732
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1.41→1.2.9Release Notes
langchain-ai/langchainjs (@langchain/core)
v1.2.9Compare Source
Patch Changes
43e4396Thanks @thushanth-bengre-langchain! - Fix ChatVertexAI/ChatGoogle content blocks: includetool_callblocks frommessage.tool_callsand skip spurious emptytextblocks incontentBlocks.v1.2.8Compare Source
Patch Changes
#11369
d6ad973Thanks @hntrl! - fix(langchain): use unified endpoint for gateway#11342
3b0e4c4Thanks @thushanth-bengre-langchain! - feat(core): mark errors as retryable or not, and stop retrying the ones that aren'tRetry middleware retried every failure up to
maxRetries, including deterministic ones like a bad API key or an unknown model. Retries also nest, so a single such failure could cost dozens of API calls.@langchain/core/errorsaddsstampRetryable(error, retryable)andgetRetryable(error). Marking an error leaves its class and shape untouched, so a provider SDK error can be classified without breakinginstanceof.getRetryablereturnsundefinedfor errors nobody classified, and both are exported so tool authors can mark their own failures.modelRetryMiddlewareandtoolRetryMiddlewarenow respect the mark by default, and retries stop as soon as one is found rather than each layer spending its own budget. Aborted calls, context overflow, and oversized payloads are marked non-retryable out of the box.Models accept a per-call
maxRetriesso a surrounding retry loop can take over.Behavior change: errors marked non-retryable now fail on the first attempt. Unclassified errors — including any from third-party integrations or custom tools — retry exactly as before. Pass
retryOn: () => trueto restore the old default. A customonFailedAttemptreplaces the built-in handler and opts out of marking.v1.2.7Compare Source
Patch Changes
c068bbfThanks @hntrl! - fix(core,langchain): patch and release core, update peer dependenciesv1.2.6Compare Source
Patch Changes
#11344
f08e0c6Thanks @hntrl! - fix: apply [Symbol.hasInstance] method to all comparable properties using .isInstance()We have some internal schemas that rely on
z.instanceof(). This uses a strictinstanceofcheck which can conflict if there are multiple versions of core installed. This overrides the Symbol.hasInstance method to use the same logic as.isInstance()to compare objects at runtime.v1.2.5Compare Source
Patch Changes
#11305
e654022Thanks @jacoblee93! - Add LangSmith Gateway environment configuration to OpenAI, Anthropic, and Fireworks chat models.#11295
1a1b347Thanks @vladislav-nechakhin! - fix(core): pass the mustache escape override per render callv1.2.4Compare Source
Patch Changes
#11190
9654bdeThanks @pawel-twardziak! - Coalesce nested LangChain tracer callbacks that share run bookkeeping.#11153
84ce6d6Thanks @parveshsaini! - fix(core): bind splitText when trimMessages receives a TextSplitter instancev1.2.3Compare Source
Patch Changes
#11200
08e5888Thanks @hntrl! - fix(aws): normalize and safely replay Bedrock reasoning blocksEmit standard reasoning blocks with preserved signatures, omit incomplete signature-only reasoning during replay, and retain compatibility with legacy and redacted Bedrock reasoning.
v1.2.2Compare Source
Patch Changes
#11171
82bef01Thanks @christian-bromann! - fix(core): coerce string v1 AIMessage content to text blocksPrevent
contentBlocks.push is not a functionwhen constructing anAIMessagewithresponse_metadata.output_version === "v1"and stringcontent(common in serialized LangGraph stream payloads).v1.2.1Compare Source
Patch Changes
#10674
f017708Thanks @christian-bromann! - fix: classify provider 429s before retrying#11092
7918bbdThanks @aolsenjazz! - fix(core): only treat arrays of content blocks as ToolMessage contentFix tool outputs that are arrays of plain objects being forwarded as malformed message content. An array is now only treated as message content blocks when every element is an object with a
type; otherwise it is JSON-stringified.v1.2.0Minor Changes
348c37cThanks @christian-bromann! - feat(langchain): allow to set strict tag manually in providerStrategy #9578v1.1.48Compare Source
Patch Changes
#10832
1b24369Thanks @info-arnav! - fix(core, openrouter): make CJS default re-exports callable#10666
2bb55b0Thanks @hnustwjj! - feat(openrouter): surface reasoning content as v1 standard content blocksconvertOpenRouterResponseToBaseMessageandconvertOpenRouterDeltaToBaseMessageChunknow copy OpenRouter'sreasoning(flat string) andreasoning_details(structured array) fieldsonto
additional_kwargs.reasoning_content/additional_kwargs.reasoning_details.A new
ChatOpenRouterTranslatoris registered in@langchain/coreunderthe
"openrouter"provider key soAIMessage.contentBlocksemits standard{type: "reasoning"}blocks alongside text and tool calls.Previously, reasoning text returned by reasoning-capable models routed
through OpenRouter (DeepSeek R1, Minimax M2, Claude extended thinking,
o-series, etc.) was silently dropped: only the
reasoning_tokenscountwas preserved via
usage_metadata. Consumers using standard content blocks(including the frontend agent UI patterns shown in the docs) could not
display the model's chain of thought.
#10918
3999fabThanks @christian-bromann! - fix(openai): stream custom tool calls through Responses API chunksv1.1.47Compare Source
Patch Changes
#10906
f61b345Thanks @hntrl! - feat(core): add uuid v6 utility supportAdd
v6UUID generation support to@langchain/core/utils/uuidby vendoring the upstream uuidjsv6implementation and itsv1ToV6helper, exportingv6from the UUID utils index, and adding tests for deterministic generation, buffer/offset behavior, validation/versioning, and ordering.#10872
a640079Thanks @hntrl! - chore(deps): remove redundant @types/uuid declarationsRemove
@types/uuidfrom package manifests that rely on@langchain/core/utils/uuidor do not require uuid type stubs directly, and refresh the lockfile entries accordingly.#10792
3682268Thanks @Genmin! - fix(core): apply v1 message casting after implicit streaming aggregation#10901
f26fc4aThanks @christian-bromann! - fix(testing): share fakeModel invocation state across bindTools instancesv1.1.46Patch Changes
#10847
1659e7dThanks @hntrl! - chore(core): reduce transitive dependency exposure and tighten release hygieneRemove direct runtime dependencies on
ansi-styles,camelcase, anddecamelizeby inlining equivalent logic in core internals, and enable npm provenance in the
release workflow.
#10790
ef78bc6Thanks @Genmin! - fix(core): keep different content block types separate when merging chunksConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.