Skip to content

Releases: googleapis/java-genai

v1.52.0

30 Apr 14:07
3f98d71

Choose a tag to compare

1.52.0 (2026-04-30)

Features

  • [Interactions] Add FileCitation.{custom_metadata,media_id,page_number} (a09716e)
  • Add output_info to BatchJob (e337ba9)
  • Add ImageResizeMode for GenerateVideos (e089fcb)
  • Add new Gemini Deep Research agent models (88d7019)
  • Add Vertex Dataset input and output options for batch jobs (612601d)
  • interaction-api: Add grounding tool usage breakdown to Interaction Usage. (bc2f815)
  • introduce enterprise and GOOGLE_GENAI_USE_ENTERPRISE (97adcd9)
  • Replace the more ambiguous rate field with sample_rate. (d762b6e)

Documentation

  • replace Vertex AI with Gemini Enterprise Agent Platform (84c1d43)
  • update doc string to replace Vertex AI with Gemini Enterprise Agent Platform, update method error message to replace Vertex AI with Gemini Enterprise Agent Platform (previously known as Vertex AI), update converter error message to replace Vertex AI with Gemini Enterprise Agent Platform (c5aefa7)
  • update Gemini Enterprise Agent Platform home page url (7b46a6f)

v1.51.0

16 Apr 22:33

Choose a tag to compare

1.51.0 (2026-04-16)

Features

  • Add gemini-3.1-flash-tts-preview model to options (d9a5733)

Bug Fixes

  • ResponseStream fails to parse error message and multi-line SSE data payloads (3a1cb22)

v1.50.0

15 Apr 00:48
0564ed0

Choose a tag to compare

1.50.0 (2026-04-14)

Features

  • [Experimental] Add interactions support. (abc1ee4)
  • Add "eu" as a supported service location for Vertex AI platform. (78e1bc1)
  • Add Live Avatar new fields (8e8146a)
  • Add webhook_config to batches.create() and models.generate_videos() (ac0e49e)

Bug Fixes

  • fix broken javadoc by switching to dokka. (4b76baf)
  • internal workflow change (b80b142)

v1.47.0

08 Apr 19:46
aded34f

Choose a tag to compare

1.47.0 (2026-04-08)

Documentation

  • Remove deprecated product recontext model samples from docstrings (6f73c4a)

v1.46.0

01 Apr 03:40
845defc

Choose a tag to compare

1.46.0 (2026-03-31)

Bug Fixes

  • Fix service_tier enums. (d4641e4)

v1.45.0

28 Mar 03:30
b34864d

Choose a tag to compare

1.45.0 (2026-03-28)

Features

  • Add consent_audio and voice_consent_signature and AsyncSession.setup_complete (959c01b)
  • Add labels field to Veo configs (86f235a)
  • Add model_status to GenerateContentResponse (Gemini API only) (6c35249)
  • Add part_metadata in Part (Gemini API only) (6c35249)
  • Add service tier to GenerateContent. (5f61a16)
  • genai: add TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO to TurnCoverage (dbc4c33)
  • support hyperparameters in distillation tuning (fdedc74)
  • Support rendered_parts in GroundingSupport (6c35249)

Bug Fixes

  • support us region routing (3296bfe)

v1.44.0

18 Mar 12:29
8fe6eff

Choose a tag to compare

1.44.0 (2026-03-18)

Features

  • Support include_server_side_tool_invocations for genai. (d92fdb1)

v1.43.0

12 Mar 17:57
20d5b68

Choose a tag to compare

1.43.0 (2026-03-12)

Features

  • Add inference_generation_config to EvaluationConfig for Tuning (c9632f0)
  • Allow custom endpoints for authentication with Vertex AI in Java (5b38728)
  • enable language code for audio transcription config in Live API for Vertex AI (fb034ff)

v1.42.0

04 Mar 23:45
17e2f74

Choose a tag to compare

1.42.0 (2026-03-04)

Features

  • Update data types from discovery doc. (850d527)

Bug Fixes

  • initialize comprehensive and curated history in constructor (f74a426)

v1.41.0

26 Feb 01:10
e8bd2c8

Choose a tag to compare

1.41.0 (2026-02-26)

Features

  • Add Image Grounding support to GoogleSearch tool (0daefbc)
  • enable server side MCP and disable all other AFC when server side MCP is configured. (498a2c4)

Bug Fixes

  • use NonClosingDelegatingHttpClient (917aee0)

Documentation

  • explain how to run tests (4f6a811)