Skip to content

Releases: langchain-ai/langchain-google

libs/genai/v3.1.0

18 Nov 17:04
1f82c4e

Choose a tag to compare

Changes since libs/genai/v3.0.3

feat(genai): support gemini 3 (#1365)
chore(genai): update URLs for image tests (#1363)
feat(genai): store thought signatures in additional_kwargs (#1358)
fix(genai, vertexai): thought signature handling (#1354)
chore(genai)!: delete Attributed Question Answer (AQA) service interfaces (#1343)
chore(genai): mark google_vector_store module deprecated (#1350)
fix(genai): delete dead functions (#1346)
docs(genai): add example for get_num_tokens (#1345)
chore(genai): clean up pyproject.toml (#1344)
refactor(genai): additional tests work (#1328)
refactor(genai): tests (#1327)

libs/community/v3.0.1

13 Nov 18:01
3ade79a

Choose a tag to compare

Changes since libs/community/v3.0.0

release(community): 3.0.1 (#1335)
chore(community): allow Python 3.14, update deps (#1334)
chore: fix links (#1311)
chore(vertexai,genai,community): update project URLs in pyproject.toml and README.md files (#1308)
fix(vertexai,community): bump google-cloud-storage constraint to <4.0.0 (#1303)
chore: cleanup (#1290)
docs(community): update docstrings for reference docs #1237 (#1255)
style: more refs styling work (#1272)
style: refs pass, model names (#1270)

libs/genai/v3.0.3

12 Nov 21:01
3f6c418

Choose a tag to compare

Changes since libs/genai/v3.0.2

release(genai): 3.0.3 (#1326)
feat(genai): support GEMINI_API_KEY env var (#1324)
refactor(genai): replace hardcoded API keys with a fake API key constant in unit tests (#1325)
chore(genai): bump lock (#1321)
feat(genai): add validation for gRPC API endpoints (#1313)

libs/vertexai/v3.0.3

10 Nov 23:33
75020cb

Choose a tag to compare

  • Fix import blocking I/O in async contexts #1267
  • Bump google-cloud-storage constraint to <4.0.0 #1303
  • Add transport as an alias of api_transport and fix some base_url behavior #1293

Changes since libs/vertexai/v3.0.2

chore: fix links (#1311)
release(vertexai): 3.0.3 (#1310)
chore(vertexai,genai,community): update project URLs in pyproject.toml and README.md files (#1308)
chore(genai,vertexai): nits (#1307)
fix(vertexai,community): bump google-cloud-storage constraint to <4.0.0 (#1303)
fix(vertexai): test robustness improvement (#1301)
fix: base_url behavior, and improve checks and docstrings for base_url and api_transport behavior (#1293)
fix(vertexai): resolve blocking I/O in async contexts (#1267)
chore: cleanup (#1290)

libs/genai/v3.0.2

10 Nov 23:40
75020cb

Choose a tag to compare

  • Add support for Gemini's improved structured output #1288
  • Add validation for empty contents in Gemini API requests #1298
  • Fix blocking operation on import #1292
  • Fix base_url #1293
  • Fix embeddings task_type usage #1302

Changes since libs/genai/v3.0.1

chore: fix links (#1311)
release(genai): 3.0.2 (#1309)
feat(genai): improved structured output (#1288)
chore(vertexai,genai,community): update project URLs in pyproject.toml and README.md files (#1308)
chore(genai,vertexai): nits (#1307)
revert: "extract and include metadata" (#1306)
fix(genai): resolve blocking I/O in async contexts (#1264)
fix(genai): Add validation for empty contents in Gemini API requests (#1298)
refactor(genai): update thinking model test to use parameterized inputs (#1219)
fix(genai): use task_type_to_use variable in embed_query methods (#1302)
fix: base_url behavior, and improve checks and docstrings for base_url and api_transport behavior (#1293)
docs(genai): enhance Jupyter notebook example for image generation (#1300)
test(genai): enhance assertions for structured output in chat model tests (#1295)
docs(genai): update invoke docstring to clarify code_execution parameter (#1296)
fix(genai): move importlib.metadata.version into module scope (#1292)
chore: cleanup (#1290)

libs/vertexai/v3.0.2

04 Nov 05:06
092286e

Choose a tag to compare

  • Fix issue where thinking params were not being surfaced in traces

Changes since libs/vertexai/v3.0.1

release(vertex): 3.0.2 (#1284)
feat: Add base_url support (#1278)
test(vertex): use new claude model (#1273)
fix(vertex): make thinking params available for langsmith tracing (#1276)
test: fix fetching (#1281)
chore: bump langchain-tests (#1277)
style: more refs styling work (#1272)
style: refs pass, model names (#1270)

libs/genai/v3.0.1

04 Nov 05:06
092286e

Choose a tag to compare

Adds new functionality for video processing optimization and API endpoint customization, along with important bug fixes for thinking.

  • MediaResolution parameter support (#1259) - Added media_resolution configuration to ChatGoogleGenerativeAI for optimizing video understanding. Setting MediaResolution.MEDIA_RESOLUTION_LOW can reduce input token usage by 3x+ for video processing tasks.
  • Base URL customization (#1278) - Added base_url parameter as an alias for configuring custom API endpoints. This parameter maps to client_options['api_endpoint'].
  • Extended thinking signature handling (#1269) - Fixed thought signature extraction during v1 content translation. The conversion function now properly decodes and preserves base64-encoded thought signatures from text blocks.

Changes since libs/genai/v3.0.0

release(genai): 3.0.1 (#1283)
feat: Add base_url support (#1278)
test: fix fetching (#1281)
chore: bump langchain-tests (#1277)
style: more refs styling work (#1272)
style: refs pass, model names (#1270)
fix(genai): catch thought signatures in v1 translation (#1269)
feat(genai): MediaResolution parameter support (#1259)

libs/vertexai/v3.0.1

23 Oct 20:25
ee60a4e

Choose a tag to compare

Changes since libs/vertexai/v3.0.0

release(vertex): release 3.0.1 (#1262)
fix(vertex): Clean streaming metadata from ToolMessages in ChatAnthropicVertex (#1263)
feat(vertex): support for long context for Anthropic (#1261)
feat(infra): MCP server for langchain docs (#1257)

libs/vertexai/v3.0.0

17 Oct 17:33
8449567

Choose a tag to compare

Changes since libs/vertexai/v2.1.2

release(vertex): 3.0.0 (#1250)
release: 3.0.0 (langchain-v1) (genai, vertexai, community) (#1194)
docs: fix Griffe warnings (#1236)
fix(vertex): skip tests for retired models (#1247)
fix(vertex): ToolMessage is translated to function role which does not exist . (#1238)
feat(vertex): migrated embeddings to the new SDK (#1229)
test: use gemini-flash-lite-latest (#1230)
chore(genai): update from gemini-1.5-flash to gemini-2.5-flash (#1221)
chore: bump lockfiles, resolve linting (genai, vertex, community) (#1203)
feat(vertex): add additional args for vertex ai vector search (#1198)
chore(vertex): add migration TODOs, suppress warning (#1196)
fix(vertex): honor max_retries=0 and disable GAPIC retries (#1185)
fix(vertex): update model version check for text embedding (#1184)
genai, vertex: nits (#1173)
fix: use .invoke() instead of __call__ for LLMs (#1172)

libs/genai/v3.0.0

17 Oct 18:12
88553a4

Choose a tag to compare

Changes since libs/genai/v2.1.12

release(genai): 3.0.0 (#1249)
release: 3.0.0 (langchain-v1) (genai, vertexai, community) (#1194)
docs: fix Griffe warnings (#1236)
test: use gemini-flash-lite-latest (#1230)
chore(genai): update from gemini-1.5-flash to gemini-2.5-flash (#1221)
fix(genai): Fix outdated doc for max_output_tokens default value (#1209)
fix(genai): preserve field descriptions and enum values for Union types with None in function schemas (#1092)
chore: bump lockfiles, resolve linting (genai, vertex, community) (#1203)
refactor(genai): test_chat_models.py (#1202)
feat(genai): handle all finish messages for AQA (#1201)
fix(genai): extract and include metadata (#941)
fix(genai): defer async client init for embeddings; avoid eager loop creation (#1183)
fix(genai): update json_mode to json_schema for structured output methods (#1188)
chore(genai): update model names in tests (#1187)
docs(genai): enhance structured output methods docstring (#1186)
test(genai): add test for ChatGoogleGenerativeAI class transport check (#831)