Packages

@langchain/google-common

2.3.7 · 20 Nov 2026MIT724.4k / weekRepositoryHomepagenpmAtom feed

Your version

107 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.3.7

    20 Nov 2026
    • Set finish_reason and normalized_finish_reason in response_metadata on invoke and streamed results, and emit them on message-finish. SAFETY, PROHIBITED_CONTENT and BLOCKLIST normalize to refusal, MALFORMED_FUNCTION_CALL and MALFORMED_RESPONSE to error, and unmapped values to other.

  3. 2.3.6

    9 Nov 2026
    • Only route Google chat models through the LangSmith gateway when no credentials are passed. Explicit apiKey, authOptions, credentials, or googleAuthOptions now go straight to Google.

  4. 2.3.5

    6 Nov 2026
    • Preserve streamed Claude tool-call arguments on replay and system prompt cache-control blocks on Vertex AI.

  5. 2.3.4

    20 Oct 2026

    No changes in this release.

  6. 2.3.3

    20 Oct 2026
    • Backport LangSmith gateway routing to ChatVertexAI in 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.

  7. 2.3.2

    12 Sep 2026
  8. 2.3.1

    9 Sep 2026
    • Fix Google tool choice modes sent to Vertex AI

  9. 2.3.0

    20 Aug 2026
    • Fixes endpoint routing and parameter validation for the "eu" multi-region location.

  10. 2.2.0

    17 Jun 2026
    • google-common: Add native Gemini streamEvents event conversion

    • Auto-set toolConfig.includeServerSideToolInvocations when 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

  11. 2.1.31

    18 May 2026
    • Fix missing stream usage metadata on Gemini

  12. 2.1.29 – 2.1.302 releases without a noteShow each
  13. 2.1.28

    22 Apr 2026
    • core: Add chat model and llm invocation params to traced metadata

  14. 2.1.27

    15 Apr 2026
    • Add MINIMAL thinking level for Gemini 3 Flash models

  15. 2.1.26

    17 Mar 2026
    • google-common: Prevent 400 error when AIMessage has empty text content

    • google: Add support for ContentBlock.Multimodal types in Google providers

  16. 2.1.25

    11 Mar 2026

    Only updates a dependency:@langchain/core 1.1.32

  17. 2.1.24

    3 Mar 2026
    • google-common: Implement standard schema support for structured output

  18. 2.1.23

    2 Mar 2026
    • google: Strip internal fields from text content blocks before sending to Anthropic API

  19. 2.1.22

    28 Feb 2026
    • google: Streaming chunks missing index produces empty text blocks when using ChatVertexAI with Claude models

  20. 2.1.21

    26 Feb 2026
    • Add package version metadata to runnable traces. Each package now stamps its version in this.metadata.versions at 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_use blocks from assistant content and deduplicating tool_use entries when they also appear in tool_calls.

      Add regression tests for Anthropic formatting with multi-turn/tool message flows.

  21. 2.1.18 – 2.1.203 releases with no change for you1 dependency update, 2 without a note@langchain/core 1.1.25Show each
  22. 2.1.17

    11 Feb 2026
    • Set the correct _llmType for Google models

  23. 2.1.15 – 2.1.162 releases with no change for you1 dependency update, 1 without a note@langchain/core 1.1.19Show each
  24. 2.1.14

    30 Jan 2026
    • Improved 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

  25. 2.1.5 – 2.1.139 releases with no change for you6 dependency updates, 3 without a note@langchain/core 1.1.16Show each
  26. 2.1.4

    6 Jan 2026
    • google-common: Support thinkingLevel parameter for Gemini models

  27. 2.1.1 – 2.1.33 releases with no change for you2 dependency updates, 1 without a note@langchain/core 1.1.8Show each
  28. 2.1.0

    13 Dec 2025
    • Add jsonSchema method support to withStructuredOutput in langchain-google-common and VertexAI

    • google-common: Handle unsupported Zod schema features for Gemini tools

  29. 2.0.0 – 2.0.45 releases with no change for you4 dependency updates, 1 without a note@langchain/core 1.1.4Show each
  30. 1.x
  31. 1.0.4

    24 Nov 2025
    • Security

      Update polynomial regex to mitigate ReDoS vulnerability in SseStream

    • Fix 'moduleResultion: "node"' compatibility

  32. 1.0.1 – 1.0.33 releases without a noteShow each

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.