@langchain/google-common
2.3.7 · 20 Nov 2026MIT724.4k / weekRepositoryHomepagenpmAtom feed
107 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.3.7
20 Nov 2026Set
finish_reasonandnormalized_finish_reasoninresponse_metadataoninvokeand streamed results, and emit them onmessage-finish.SAFETY,PROHIBITED_CONTENTandBLOCKLISTnormalize torefusal,MALFORMED_FUNCTION_CALLandMALFORMED_RESPONSEtoerror, and unmapped values toother.
2.3.6
9 Nov 2026Only route Google chat models through the LangSmith gateway when no credentials are passed. Explicit
apiKey,authOptions,credentials, orgoogleAuthOptionsnow go straight to Google.
2.3.5
6 Nov 2026Preserve streamed Claude tool-call arguments on replay and system prompt cache-control blocks on Vertex AI.
2.3.4
20 Oct 2026No changes in this release.
2.3.3
20 Oct 2026Backport LangSmith gateway routing to
ChatVertexAIin the Node and web packages through@langchain/google-common, including streaming, custom gateway URLs, and explicit regional project configuration. Honor custom endpoints in Vertex Express requests.
2.3.2
12 Sep 20262.3.1
9 Sep 2026Fix Google tool choice modes sent to Vertex AI
2.3.0
20 Aug 2026Fixes endpoint routing and parameter validation for the "eu" multi-region location.
2.2.0
17 Jun 2026google-common: Add native Gemini streamEvents event conversion
Auto-set
toolConfig.includeServerSideToolInvocationswhen a Gemini request mixes server-side built-in tools (e.g.googleSearch,codeExecution) with function declarations. The Gemini API requires this flag in that case and returns HTTP 400 without it.google-common: Add Array.isArray guard in toolMessageToContent to prevent crash on plain object ToolMessage content
2.1.31
18 May 2026Fix missing stream usage metadata on Gemini
Patch Changes
Fix missing stream usage metadata on Gemini
2.1.28
22 Apr 2026core: Add chat model and llm invocation params to traced metadata
Patch Changes
core: Add chat model and llm invocation params to traced metadata
2.1.27
15 Apr 2026Add MINIMAL thinking level for Gemini 3 Flash models
Patch Changes
Add MINIMAL thinking level for Gemini 3 Flash models
2.1.26
17 Mar 2026google-common: Prevent 400 error when AIMessage has empty text content
google: Add support for ContentBlock.Multimodal types in Google providers
Patch Changes
google-common: Prevent 400 error when AIMessage has empty text content
google: Add support for ContentBlock.Multimodal types in Google providers
2.1.25
11 Mar 2026Only updates a dependency:@langchain/core 1.1.32
2.1.24
3 Mar 2026google-common: Implement standard schema support for structured output
Patch Changes
google-common: Implement standard schema support for structured output
2.1.23
2 Mar 2026google: Strip internal fields from text content blocks before sending to Anthropic API
2.1.22
28 Feb 2026google: Streaming chunks missing index produces empty text blocks when using ChatVertexAI with Claude models
2.1.21
26 Feb 2026Add package version metadata to runnable traces. Each package now stamps its version in
this.metadata.versionsat construction time, making version info available in LangSmith trace metadata.google-common: Preserve anthropic tool_use blocks and avoid duplicates in Claude Vertex formatting
Improve Anthropic message conversion in the Vertex Claude path by preserving
tool_useblocks from assistant content and deduplicatingtool_useentries when they also appear intool_calls.Add regression tests for Anthropic formatting with multi-turn/tool message flows.
Patch Changes
Add package version metadata to runnable traces. Each package now stamps its version in
this.metadata.versionsat construction time, making version info available in LangSmith trace metadata.google-common: Preserve anthropic tool_use blocks and avoid duplicates in Claude Vertex formatting
Improve Anthropic message conversion in the Vertex Claude path by preserving
tool_useblocks from assistant content and deduplicatingtool_useentries when they also appear intool_calls.Add regression tests for Anthropic formatting with multi-turn/tool message flows.
2.1.18 – 2.1.203 releases with no change for you1 dependency update, 2 without a note@langchain/core 1.1.25Show each
- 2.1.2020 Feb 2026no note
- 2.1.1917 Feb 2026@langchain/core 1.1.25
- 2.1.1812 Feb 2026no note
2.1.17
11 Feb 2026Set the correct
_llmTypefor Google models
Patch Changes
Set the correct
_llmTypefor Google models
2.1.15 – 2.1.162 releases with no change for you1 dependency update, 1 without a note@langchain/core 1.1.19Show each
- 2.1.169 Feb 2026no note
- 2.1.154 Feb 2026@langchain/core 1.1.19
2.1.14
30 Jan 2026Improved abort signal handling for chat models:
providers: Add proper abort signal handling for invoke and stream operations
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.
Support nullable object types in zod to gemini schema conversion
Patch Changes
Improved abort signal handling for chat models:
Added
ModelAbortErrorclass in@langchain/core/errorsthat contains partial output when a model invocation is aborted mid-streaminvoke()now throwsModelAbortErrorwith accumulatedpartialOutputwhen aborted during streaming (when using streaming callback handlers)stream()throws a regularAbortErrorwhen aborted (since chunks are already yielded to the caller)All provider implementations now properly check and propagate abort signals in both
_generate()and_streamResponseChunks()methodsAdded standard tests for abort signal behavior
providers: Add proper abort signal handling for invoke and stream operations
Added early abort check (
signal.throwIfAborted()) at the start of_generatemethods to immediately throw when signal is already abortedAdded abort signal checks inside streaming loops in
_streamResponseChunksto return early when signal is abortedPropagated 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.
Support nullable object types in zod to gemini schema conversion
2.1.5 – 2.1.139 releases with no change for you6 dependency updates, 3 without a note@langchain/core 1.1.16Show each
- 2.1.1324 Jan 2026no note
- 2.1.1222 Jan 2026no note
- 2.1.1120 Jan 2026@langchain/core 1.1.16
- 2.1.1014 Jan 2026@langchain/core 1.1.15
- 2.1.914 Jan 2026no note
- 2.1.813 Jan 2026@langchain/core 1.1.13
- 2.1.78 Jan 2026@langchain/core 1.1.12
- 2.1.67 Jan 2026@langchain/core 1.1.11
- 2.1.56 Jan 2026@langchain/core 1.1.10
2.1.4
6 Jan 2026google-common: Support thinkingLevel parameter for Gemini models
Patch Changes
google-common: Support thinkingLevel parameter for Gemini models
2.1.1 – 2.1.33 releases with no change for you2 dependency updates, 1 without a note@langchain/core 1.1.8Show each
- 2.1.322 Dec 2025@langchain/core 1.1.8
- 2.1.218 Dec 2025no note
- 2.1.116 Dec 2025@langchain/core 1.1.6
2.1.0
13 Dec 2025Add jsonSchema method support to withStructuredOutput in langchain-google-common and VertexAI
google-common: Handle unsupported Zod schema features for Gemini tools
Minor Changes
Add jsonSchema method support to withStructuredOutput in langchain-google-common and VertexAI
Patch Changes
google-common: Handle unsupported Zod schema features for Gemini tools
2.0.0 – 2.0.45 releases with no change for you4 dependency updates, 1 without a note@langchain/core 1.1.4Show each
- 2.0.45 Dec 2025@langchain/core 1.1.4
- 2.0.35 Dec 2025@langchain/core 1.1.3
- 2.0.23 Dec 2025@langchain/core 1.1.2
- 2.0.12 Dec 2025@langchain/core 1.1.1
- 2.0.024 Nov 2025no note
- 1.x
1.0.4
24 Nov 2025- Security
Update polynomial regex to mitigate ReDoS vulnerability in SseStream
Fix 'moduleResultion: "node"' compatibility
Patch Changes
Fix 'moduleResultion: "node"' compatibility
- Security
Update polynomial regex to mitigate ReDoS vulnerability in SseStream
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.