unstale

npm / @langchain/google-vertexai

@langchain/google-vertexai

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

1 breaking1 new APIs and options1 behavior and defaults4 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@langchain/google-vertexai 26 changes

Breaking changes 1

  • Aborted streaming invocations through invoke() throw ModelAbortError with accumulated partialOutput when streaming callback handlers are used.

    2.1.14release notes

New APIs and options 1

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

    2.3.3release notes

Behavior and default changes 1

  • Runnable construction now stamps package version metadata into traces, making version information available in LangSmith trace metadata.

    2.1.21release notes

Fixes and other changes 3

  • Vertex Express requests now honor custom endpoints.

    2.3.3release notes

  • When a stream is aborted, stream() throws a regular AbortError because chunks have already been yielded to the caller.

    2.1.14release notes

  • Gemini tools now handle unsupported Zod schema features.

    2.1.0release notes

@langchain/google-vertexai 11 changes

Fixes and other changes 1

  • Fixes compatibility with moduleResolution: "node".

    1.0.4release notes