unstale

npm / @langchain/google-common

@langchain/google-common

What changed in @langchain/google-common 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

4 new APIs and options4 behavior and defaults13 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@langchain/google-common 221 changes

New APIs and options 4

  • Adds the MINIMAL thinking level for Gemini 3 Flash models.

    2.1.27release notes

  • Structured output now supports standard schemas, allowing developers to use them with Google integrations.

    2.1.24release notes

  • Aborted invoke() calls during streaming throw ModelAbortError with accumulated partialOutput when using streaming callback handlers.

    2.1.14release notes

  • Gemini models now support the thinkingLevel parameter.

    2.1.4release notes

Behavior and default changes 4

  • Adds native Gemini event conversion for streamEvents.

    2.2.0release notes

  • Chat model and LLM invocation parameters are now added to traced metadata.

    2.1.28release notes

  • Packages now stamp their version into runnable metadata at construction time, making version information available in LangSmith trace metadata.

    2.1.21release notes

  • Model profiles were updated, which may affect how model capabilities are represented.

    2.1.19release notes

Fixes and other changes 13

  • Fixes the Google tool choice modes sent to Vertex AI.

    2.3.1release notes

  • Fixes endpoint routing and parameter validation for the eu multi-region location.

    2.3.0release notes

  • Automatically sets this flag when a Gemini request mixes server-side built-in tools with function declarations, avoiding an HTTP 400 response.

    2.2.0release notes

  • Guards against plain object ToolMessage content to prevent a crash.

    2.2.0release notes

  • Fixed missing stream usage metadata on Gemini.

    2.1.31release notes

  • Prevents a 400 error when an AIMessage has empty text content.

    2.1.26release notes

  • Google providers now support ContentBlock.Multimodal types.

    2.1.26release notes

  • Internal fields are stripped from text content blocks before they are sent to the Anthropic API.

    2.1.23release notes

  • Fixes empty text blocks from streaming chunks missing an index when using Claude models.

    2.1.22release notes

  • Claude Vertex formatting preserves tool_use blocks from assistant content and deduplicates them when they also appear in tool_calls.

    2.1.21release notes

  • Google models now set the correct _llmType, so code relying on the model type receives the appropriate value.

    2.1.17release notes

  • Google Common and VertexAI provider operations check and propagate abort signals; stream() throws AbortError when aborted, and invoke() supports cancellation during streaming.

    2.1.14release notes

  • Zod-to-Gemini schema conversion now supports nullable object types.

    2.1.14release notes