mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-07 22:54:06 -05:00
chore(deps): bump @langchain/core and @langchain/google-genai in /docs/en/getting-started/quickstart/js/langchain (#2232)
Bumps [@langchain/core](https://github.com/langchain-ai/langchainjs) to 1.1.8 and updates ancestor dependency [@langchain/google-genai](https://github.com/langchain-ai/langchainjs). These dependencies need to be updated together. Updates `@langchain/core` from 1.1.0 to 1.1.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases"><code>@langchain/core</code>'s releases</a>.</em></p> <blockquote> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.8</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9707">#9707</a> <a href="e5063f9c6e"><code>e5063f9</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - add security hardening for <code>load</code></p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9684">#9684</a> <a href="89966470e8"><code>8996647</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - fix(core): document purpose of name in base message</p> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9668">#9668</a> <a href="a7b2a7db5e"><code>a7b2a7d</code></a> Thanks <a href="https://github.com/bracesproul"><code>@bracesproul</code></a>! - fix: Cannot merge two undefined objects error</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9657">#9657</a> <a href="a496c5fc64"><code>a496c5f</code></a> Thanks <a href="https://github.com/dqbd"><code>@dqbd</code></a>! - fix(core): avoid writing to TransformStream in EventStreamCallbackHandler when underlying ReadableStream is closed</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9658">#9658</a> <a href="1da1325aea"><code>1da1325</code></a> Thanks <a href="https://github.com/dqbd"><code>@dqbd</code></a>! - fix(core): ensure streaming test chat models respect AbortSignal</p> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.5</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9641">#9641</a> <a href="005c72903b"><code>005c729</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - fix(community/core): various security fixes</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/7907">#7907</a> <a href="ab78246275"><code>ab78246</code></a> Thanks <a href="https://github.com/jasonphillips"><code>@jasonphillips</code></a>! - fix(core): handle subgraph nesting better in graph_mermaid</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9589">#9589</a> <a href="8cc81c7cee"><code>8cc81c7</code></a> Thanks <a href="https://github.com/nathannewyen"><code>@nathannewyen</code></a>! - test(core): add test for response_metadata in streamEvents</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9644">#9644</a> <a href="f32e4991d0"><code>f32e499</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - add bindTools to FakeListChatModel</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9508">#9508</a> <a href="a28d83d49d"><code>a28d83d</code></a> Thanks <a href="https://github.com/shubham-021"><code>@shubham-021</code></a>! - Fix toFormattedString() to properly display nested objects in tool call arguments instead of [object Object]</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9165">#9165</a> <a href="2e5ad70d16"><code>2e5ad70</code></a> Thanks <a href="https://github.com/pawel-twardziak"><code>@pawel-twardziak</code></a>! - fix(mcp-adapters): preserve timeout from RunnableConfig in MCP tool calls</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9647">#9647</a> <a href="e456c661aa"><code>e456c66</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - handle missing parent runs in tracer to prevent LangSmith 400 errors</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9597">#9597</a> <a href="1cfe603e97"><code>1cfe603</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - use uuid7 for run ids</p> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9575">#9575</a> <a href="0bade90ed4"><code>0bade90</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - bin p-retry</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9574">#9574</a> <a href="6c40d00e92"><code>6c40d00</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - Revert "fix(<code>@langchain/core</code>): update and bundle dependencies (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9534">#9534</a>)"</p> </li> </ul> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9534">#9534</a> <a href="bd2c46e09e"><code>bd2c46e</code></a> Thanks <a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>! - fix(<code>@langchain/core</code>): update and bundle <code>p-retry</code>, <code>ansi-styles</code>, <code>camelcase</code> and <code>decamelize</code> dependencies</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9544">#9544</a> <a href="487378bf14"><code>487378b</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - fix tool chunk concat behavior (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9450">#9450</a>)</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9505">#9505</a> <a href="138e7fb628"><code>138e7fb</code></a> Thanks <a href="https://github.com/chosh-dev"><code>@chosh-dev</code></a>! - feat: replace btoa with toBase64Url for encoding in drawMermaidImage</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="de32b32b0b"><code>de32b32</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9697">#9697</a>)</li> <li><a href="e5063f9c6e"><code>e5063f9</code></a> fix!(core/langchain): hardening for <code>load</code> (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9707">#9707</a>)</li> <li><a href="8b3e611a6c"><code>8b3e611</code></a> chore(turbopuffer): rollback version (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9698">#9698</a>)</li> <li><a href="89966470e8"><code>8996647</code></a> fix(core): document purpose of name in base message (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9684">#9684</a>)</li> <li><a href="8df6264efe"><code>8df6264</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9676">#9676</a>)</li> <li><a href="df9c42b3ab"><code>df9c42b</code></a> feat(core): usage_metadata in extra.metadata (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9686">#9686</a>)</li> <li><a href="4ea3a52f86"><code>4ea3a52</code></a> fix(ci): use appropriate path for core PR labels (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9696">#9696</a>)</li> <li><a href="ffb24026cd"><code>ffb2402</code></a> feat(langchain): <code>context</code> (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/9673">#9673</a>)</li> <li><a href="8d2982bb94"><code>8d2982b</code></a> feat(core): Make runnable transform trace in a single payload in LangChainTra...</li> <li><a href="2b36431bab"><code>2b36431</code></a> fix(mcp-adapters): bump <code>@modelcontextprotocol/sdk</code> to address CVE-2025-66414 (...</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/aws@1.1.0...@langchain/core@1.1.8">compare view</a></li> </ul> </details> <br /> Updates `@langchain/google-genai` from 2.0.0 to 2.1.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases"><code>@langchain/google-genai</code>'s releases</a>.</em></p> <blockquote> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.1.3</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="e5063f9c6e"><code>e5063f9</code></a>, <a href="89966470e8"><code>8996647</code></a>]: <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.8</li> </ul> </li> </ul> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.1.1</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="a7b2a7db5e"><code>a7b2a7d</code></a>, <a href="a496c5fc64"><code>a496c5f</code></a>, <a href="1da1325aea"><code>1da1325</code></a>]: <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.6</li> </ul> </li> </ul> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.1.0</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/8327">#8327</a> <a href="89a79097ac"><code>89a7909</code></a> Thanks <a href="https://github.com/caspherola"><code>@caspherola</code></a>! - support of adding custom headers on ChatGoogleGenerativeAI <a href="https://redirect.github.com/langchain-ai/langchainjs/issues/6648">#6648</a></p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9584">#9584</a> <a href="f4ef9a1dc9"><code>f4ef9a1</code></a> Thanks <a href="https://github.com/encodedz"><code>@encodedz</code></a>! - safe access around custom content parts</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/9583">#9583</a> <a href="5b27f38581"><code>5b27f38</code></a> Thanks <a href="https://github.com/maslo55555"><code>@maslo55555</code></a>! - fix(google-genai): support custom agent names in createAgent</p> </li> <li> <p>Updated dependencies [<a href="005c72903b"><code>005c729</code></a>, <a href="ab78246275"><code>ab78246</code></a>, <a href="8cc81c7cee"><code>8cc81c7</code></a>, <a href="f32e4991d0"><code>f32e499</code></a>, <a href="a28d83d49d"><code>a28d83d</code></a>, <a href="2e5ad70d16"><code>2e5ad70</code></a>, <a href="e456c661aa"><code>e456c66</code></a>, <a href="1cfe603e97"><code>1cfe603</code></a>]:</p> <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.5</li> </ul> </li> </ul> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.0.4</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="0bade90ed4"><code>0bade90</code></a>, <a href="6c40d00e92"><code>6c40d00</code></a>]: <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.4</li> </ul> </li> </ul> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.0.3</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="bd2c46e09e"><code>bd2c46e</code></a>, <a href="487378bf14"><code>487378b</code></a>, <a href="138e7fb628"><code>138e7fb</code></a>]: <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.3</li> </ul> </li> </ul> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.0.2</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="833f57834d"><code>833f578</code></a>]: <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.2</li> </ul> </li> </ul> <h2><code>@langchain/google-genai</code><a href="https://github.com/2"><code>@2</code></a>.0.1</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="636b99459b"><code>636b994</code></a>, <a href="38f0162b7b"><code>38f0162</code></a>]: <ul> <li><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.1.1</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain-ai/langchainjs/commits/@langchain/google-genai@2.1.3">compare view</a></li> </ul> </details> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/googleapis/genai-toolbox/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -45,9 +45,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@langchain/core": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@langchain/core/-/core-1.1.0.tgz",
|
||||
"integrity": "sha512-yJ6JHcU9psjnQbzRFkXjIdNTA+3074dA+2pHdH8ewvQCSleSk6JcjkCMIb5+NASjeMoi1ZuntlLKVsNqF38YxA==",
|
||||
"version": "1.1.8",
|
||||
"resolved": "https://registry.npmjs.org/@langchain/core/-/core-1.1.8.tgz",
|
||||
"integrity": "sha512-kIUidOgc0ZdyXo4Ahn9Zas+OayqOfk4ZoKPi7XaDipNSWSApc2+QK5BVcjvwtzxstsNOrmXJiJWEN6WPF/MvAw==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
@@ -56,10 +56,9 @@
|
||||
"camelcase": "6",
|
||||
"decamelize": "1.2.0",
|
||||
"js-tiktoken": "^1.0.12",
|
||||
"langsmith": "^0.3.64",
|
||||
"langsmith": ">=0.4.0 <1.0.0",
|
||||
"mustache": "^4.2.0",
|
||||
"p-queue": "^6.6.2",
|
||||
"p-retry": "^7.0.0",
|
||||
"uuid": "^10.0.0",
|
||||
"zod": "^3.25.76 || ^4"
|
||||
},
|
||||
@@ -67,25 +66,44 @@
|
||||
"node": ">=20"
|
||||
}
|
||||
},
|
||||
"node_modules/@langchain/core/node_modules/p-retry": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/p-retry/-/p-retry-7.1.0.tgz",
|
||||
"integrity": "sha512-xL4PiFRQa/f9L9ZvR4/gUCRNus4N8YX80ku8kv9Jqz+ZokkiZLM0bcvX0gm1F3PDi9SPRsww1BDsTWgE6Y1GLQ==",
|
||||
"node_modules/@langchain/core/node_modules/langsmith": {
|
||||
"version": "0.4.2",
|
||||
"resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.4.2.tgz",
|
||||
"integrity": "sha512-BvBeFgSmR9esl8x5wsiDlALiHKKPybw2wE2Hh6x1tgSZki46H9c9KI9/06LARbPhyyDu/TZU7exfg6fnhdj1Qg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"is-network-error": "^1.1.0"
|
||||
"@types/uuid": "^10.0.0",
|
||||
"chalk": "^4.1.2",
|
||||
"console-table-printer": "^2.12.1",
|
||||
"p-queue": "^6.6.2",
|
||||
"semver": "^7.6.3",
|
||||
"uuid": "^10.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
"peerDependencies": {
|
||||
"@opentelemetry/api": "*",
|
||||
"@opentelemetry/exporter-trace-otlp-proto": "*",
|
||||
"@opentelemetry/sdk-trace-base": "*",
|
||||
"openai": "*"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
"peerDependenciesMeta": {
|
||||
"@opentelemetry/api": {
|
||||
"optional": true
|
||||
},
|
||||
"@opentelemetry/exporter-trace-otlp-proto": {
|
||||
"optional": true
|
||||
},
|
||||
"@opentelemetry/sdk-trace-base": {
|
||||
"optional": true
|
||||
},
|
||||
"openai": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@langchain/google-genai": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@langchain/google-genai/-/google-genai-2.0.0.tgz",
|
||||
"integrity": "sha512-PaAWkogQdF+Y2bhhXWXUrC2nO7sTgWLtobBbZl/0V8Aa1F/KG2wrMECie3S17bAdFu/6VmQOuFFrlgSMwQC5KA==",
|
||||
"version": "2.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@langchain/google-genai/-/google-genai-2.1.3.tgz",
|
||||
"integrity": "sha512-ZdlFK/N10GyU6ATzkM01Sk1rlHBoy36Q/MawGD1SyXdD2lQxZxuQZjFWewj6uzWQ2Nnjj70EvU/kmmHVPn6sfQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@google/generative-ai": "^0.24.0",
|
||||
@@ -95,7 +113,7 @@
|
||||
"node": ">=20"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@langchain/core": "1.1.0"
|
||||
"@langchain/core": "1.1.8"
|
||||
}
|
||||
},
|
||||
"node_modules/@langchain/google-genai/node_modules/uuid": {
|
||||
@@ -814,18 +832,6 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/is-network-error": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.0.tgz",
|
||||
"integrity": "sha512-6oIwpsgRfnDiyEDLMay/GqCl3HoAtH5+RUKW29gYkL0QA+ipzpDLA16yQs7/RHCSu+BwgbJaOUqa4A99qNVQVw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/isexe": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
||||
|
||||
Reference in New Issue
Block a user