Skip to content

Releases: googleapis/java-genai

v1.55.0

22 May 01:10
4dff18a

Choose a tag to compare

1.55.0 (2026-05-21)

Features

  • add enable_prompt_injection_detection for Computer Use feature for the Gemini API. (1a496a7)
  • add new fields (d4b0867)

v1.54.0

20 May 19:59
8d16feb

Choose a tag to compare

1.54.0 (2026-05-20)

⚠ BREAKING CHANGES

  • Remove the experimental Interactions module. This feature will be supported in the future.

Features

  • Add more details to the ApiResponse error message (c429c2b)
  • support Blocking FunctionCall in Live API in AgentPlatform (Vertex) (0d1cc9c)

Bug Fixes

  • Missing jackson-module-kotlin in classpath (0849b86)
  • request level timeout is ignored in favor of client level timeout (c9464b5)
  • request URL is incorrectly rewritten when baseUrl is configured as a proxy address (400776d)

Documentation

v1.53.0

05 May 00:19
28d25c9

Choose a tag to compare

1.53.0 (2026-05-05)

Features

  • [Python] Multimodal file search (b12cd29)
  • Multimodal file search (aaf0c40)

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)