Packages

@langchain/google-common

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

Upgrading @langchain/google-common From 0.1.2 to 2.3.7

76 releases in betweennotes for 36

Other targets from 0.1.2Newest 0.x0.2.18
2.0.0, 1.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 0.1.2yours
  2. 6 releases
  3. 0.2.0major
  4. 18 releases
  5. 1.0.0major
  6. 3 releases
  7. 1.0.4security
  8. 2.0.0major
  9. 44 releases
  10. 2.3.7target
?
changes to make
0
advisories fixed
10+
new
18+
fixes

Counted from 36 of 76 release notes. Advisories are counted from the advisory database, in full.

Security

  • Update polynomial regex to mitigate ReDoS vulnerability in SseStream

    1.0.4

Release by release

  1. 2.3.7

    20 Nov 20261 fix
    • Fixed

      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.

  2. 2.3.6

    9 Nov 20261 fix
    • Fixed

      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.

  3. 2.3.5

    6 Nov 20261 fix
    • Fixed

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

  4. 2.3.4nothing new or fixed in the note

  5. 2.3.3

    20 Oct 20261 fix
    • Fixed

      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.

  6. 2.3.2no release note

  7. 2.3.1

    9 Sep 20261 fix
    • Fixed

      Fix Google tool choice modes sent to Vertex AI

  8. 2.3.0

    20 Aug 20261 fix
    • Fixed

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

3 other lines we could not sort, mostly version bumps
  • invoke() now throws ModelAbortError with accumulated partialOutput when aborted during streaming (when using streaming callback handlers)

    2.1.14
  • stream() throws a regular AbortError when aborted (since chunks are already yielded to the caller)

    2.1.14
  • All provider implementations now properly check and propagate abort signals in both _generate() and _streamResponseChunks() methods

    2.1.14

27 internal lines (docs, tests, tooling) left out.

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.