fix(deps): update dependency @langchain/core to v1.2.2#369
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @langchain/core to v1.2.2#369renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
0f4c495 to
b460e93
Compare
b460e93 to
5c348ee
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.2Release Notes
langchain-ai/langchainjs (@langchain/core)
v1.2.2Compare Source
Patch Changes
3efe79cThanks @christian-bromann! - fix(core): properly elevate reasoning tokensv1.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.