unstale

npm / @langchain/google-common

@langchain/google-common

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

1 breaking2 security12 new APIs and options4 behavior and defaults1 tooling19 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@langchain/google-common 228 changes

Breaking changes 1

  • Google chat models use the LangSmith gateway only when no credentials are passed; explicit credentials route requests straight to Google.

    2.3.6release notes

New APIs and options 6

  • LangSmith gateway routing now covers ChatVertexAI in the Node and web packages, including streaming, custom gateway URLs, and explicit regional project configuration.

    2.3.3release notes

  • 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

  • withStructuredOutput now supports the jsonSchema method, allowing structured output to be defined with JSON Schema.

    2.1.0release 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 17

  • Streamed Claude tool-call arguments are preserved on replay.

    2.3.5release notes

  • System prompt cache-control blocks are preserved on Vertex AI.

    2.3.5release notes

  • Vertex Express requests now honor custom endpoints.

    2.3.3release notes

  • 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

  • Gemini tools now handle unsupported Zod schema features.

    2.1.0release notes

@langchain/google-common 12 changes

Security 1

  • Updated the polynomial regex to mitigate a ReDoS vulnerability in SseStream.

    1.0.4release notes

Fixes and other changes 1

  • Fixed compatibility with moduleResolution set to node.

    1.0.4release notes

@langchain/google-common 0.33 changes

Security 1

  • A fix for CVE-2025-12735 was included in this release.

    0.3.58release notes

Tooling 1

Fixes and other changes 1

  • The default temperature option for v0/anthropic was fixed.

    0.3.58release notes

@langchain/google-common 0.16 changes

New APIs and options 6

  • Adds an endpoint to list organization teams with workspace, parent-team, identity, and pagination filters; results are name-ordered and include a cursor for the next page.

    0.1.0docs

  • Adds an endpoint to get a team in the organization. Organization-scoped teams require organization:teams:read; workspace-scoped teams require workspaces:teams:read in their workspace.

    0.1.0docs

  • Adds an endpoint to list workspace identities for a workspace-scoped team's members, with cursor pagination and required team-read permissions.

    0.1.0docs

  • Adds a POST endpoint to grant an organization-wide team a role in a workspace. The grant requires workspace_id and role_id and needs organization:teams:manage-grants.

    0.1.0docs

  • Adds a GET endpoint to retrieve an organization-wide team's grant in one workspace, requiring organization:teams:read or workspaces:teams:read in that workspace.

    0.1.0docs

  • Adds an endpoint to attach an existing organization access policy to a team, optionally limiting an organization-wide team's policy to one workspace.

    0.1.0docs