@langchain/google-common
2.3.7 · 20 Nov 2026MIT724.4k / weekRepositoryHomepagenpmAtom feed
Upgrading @langchain/google-common From 0.0.10 to 2.3.7
96 releases in betweennotes for 36
Security
- 1.0.4
Update polynomial regex to mitigate ReDoS vulnerability in SseStream
Release by release
- Fixed
Set
finish_reasonandnormalized_finish_reasoninresponse_metadataoninvokeand streamed results, and emit them onmessage-finish.SAFETY,PROHIBITED_CONTENTandBLOCKLISTnormalize torefusal,MALFORMED_FUNCTION_CALLandMALFORMED_RESPONSEtoerror, and unmapped values toother.
- Fixed
- Fixed
Only route Google chat models through the LangSmith gateway when no credentials are passed. Explicit
apiKey,authOptions,credentials, orgoogleAuthOptionsnow go straight to Google.
- Fixed
- Fixed
Preserve streamed Claude tool-call arguments on replay and system prompt cache-control blocks on Vertex AI.
- Fixed
2.3.4nothing new or fixed in the note
- Fixed
Backport LangSmith gateway routing to
ChatVertexAIin 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.
- Fixed
2.3.2no release note
- Fixed
Fix Google tool choice modes sent to Vertex AI
- Fixed
- Fixed
Fixes endpoint routing and parameter validation for the "eu" multi-region location.
- Fixed
3 other lines we could not sort, mostly version bumps
- 2.1.14
invoke()now throwsModelAbortErrorwith accumulatedpartialOutputwhen aborted during streaming (when using streaming callback handlers) - 2.1.14
stream()throws a regularAbortErrorwhen 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
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.