Skip to content

Releases: googleapis/java-genai

v1.36.0

22 Jan 01:01
500b895

Choose a tag to compare

1.36.0 (2026-01-22)

Features

  • Add ModelArmorConfig support for prompt and response sanitization via the Model Armor service (9c77a8f)

v1.35.0

15 Jan 02:43
efae0ed

Choose a tag to compare

1.35.0 (2026-01-14)

Features

v1.34.0

08 Jan 23:06
10a0185

Choose a tag to compare

1.34.0 (2026-01-08)

Features

  • Add gemini-3-pro-preview support for local tokenizer (40480f4)

Documentation

  • Update Virtual Try-On model id in samples and docstrings (e349635)

v1.33.0

07 Jan 22:10
4b5b52f

Choose a tag to compare

1.33.0 (2026-01-07)

Note: The artifacts for this version were not published to Maven. Please upgrade directly to version 1.34.0.

v1.32.0

17 Dec 03:05
08f5470

Choose a tag to compare

1.32.0 (2025-12-17)

Features

  • Add minimal and medium thinking levels. (ecfadfe)
  • Add PersonGeneration to ImageConfig for Vertex Gempix (d8a4c43)
  • Add ultra high resolution to the media resolution in Parts. (7c9b7f6)
  • support multi speaker for Vertex AI (c50e47b)

v1.31.0

11 Dec 17:59
690813c

Choose a tag to compare

1.31.0 (2025-12-11)

Features

  • Add enableEnhancedCivicAnswers feature in GenerateContentConfig (0570478)
  • Add IMAGE_RECITATION and IMAGE_OTHER enum values to FinishReason (26c3c35)
  • Add voice activity detection signal. (d1ca685)

Documentation

  • Add an example for ClientOptions usage (0a8a26e)

v1.30.0

08 Dec 23:58
39f2bc9

Choose a tag to compare

1.30.0 (2025-12-08)

Features

  • Add ProxyOptions in ClientOptions for configuring proxies (eafdf79)
  • Ephemeral token for Gemini Live API support in Java (4ce094b)
  • Support ReplicatedVoiceConfig (dbe314d)

v1.29.0

03 Dec 18:21
0d928ac

Choose a tag to compare

1.29.0 (2025-12-03)

Features

  • Add empty response for tunings.cancel() (57218f5)

Bug Fixes

  • Match the versions of the Java Protobuf and Google API Common dependencies (com.google.protobuf:protobuf-java:3.25.5 & com.google.api:api-common:2.45.0) with Google Cloud Java SDKs. (6c37f58)

Documentation

  • Recommend using response_json_schema in error messages and docstrings. (6b952e9)

v1.28.0

18 Nov 06:13
1cf913b

Choose a tag to compare

1.28.0 (2025-11-17)

Features

  • add display name to FunctionResponseBlob (8db8c57)
  • add display name to FunctionResponseFileData (f5ee8b7)
  • Add generate_content_config.thinking_level (a47df92)
  • Add image output options to ImageConfig for Vertex (3eac0b8)
  • Add part.media_resolution (a47df92)
  • support Function call argument streaming for all languages (f310452)
  • support upload to file search stores (7862ce3)

v1.27.0

13 Nov 02:47
9809a28

Choose a tag to compare

1.27.0 (2025-11-12)

Features

  • Add images() convenience method to GenerateImagesResponse (155df8d)
  • Add EvaluationConfig support to tune() in Java (795cf73)
  • Automatically set response type in FunctionDeclaration during the AFC (5ce99df)
  • Support overriding the max read length in the JSON parser (29d2fca)

Bug Fixes

  • Add missing fields to the model types (7b7b41f)
  • Fix base_steps parameter for recontext_image (85aaa79)
  • Fix models.list() filter parameter (123ada5)

Documentation

  • Add README for Files API (6d206aa)