Releases: googleapis/java-genai
Releases · googleapis/java-genai
v1.12.0
v1.11.0
1.11.0 (2025-08-06)
Features
- Add image_size field for Gemini Developer API Imagen 4 generation (c50c755)
- enable responseId for Gemini Developer API (4912ff4)
- support extraBody in HttpOptions class (036bac8)
- Support image recontext on Vertex (e7de8c8)
- Support new enum types for UrlRetrievalStatus (cb27222)
- support response headers in Go for all methods. (222b41e)
Bug Fixes
- Remove duplicate JavaTimeModule in JsonSerializable (a7dbd4c)
Documentation
v1.10.0
1.10.0 (2025-07-23)
Features
- Add image_size field for Vertex Imagen 4 generation (950c0c6)
- Support API keys for VertexAI mode for Java SDK (826c0dc)
- Support http headers in GenerateContentResponse (5282774)
Bug Fixes
- Defer loading ADC when credentials is provided explicitly in Live API (a540614)
- live: Enhance security by moving api key from query parameters to header (e48c7f1)
- Pager throws an exception if list request returns nothing(correct behavior is returning a Pager without any items in it) (0a2301b)
Documentation
- Update README with latest features in Client (dcf70cc)
v1.9.0
v1.8.0
v1.7.0
v1.6.0
1.6.0 (2025-06-25)
Features
- Add compressionQuality enum for generate_videos (b0e665b)
- Add enhance_input_image and image_preservation_factor fields for upscale_image (94a329a)
- allow users to access headers for generateContent method and generateContentStream (0315357)
- Batches support in Java (5ce13e9)
- configure release-please to automatically update package version across all files during releases. (9131ac2)
- expose the responseJsonSchema in GenerateContentConfig (9d9acdb)
- support client.caches.update method (345c2b9)
Documentation
v1.5.0
1.5.0 (2025-06-19)
Features
- Add a default 5 minutes timeout to the Java SDK. (d80d23b)
- enable json schema for controlled output and function declaration. (35d93d8)
- Parametrize model ID in Java genai samples and set hardcoded model IDs as default values if model ID not passed in by user. (c1b0948)
- resolve deep conditional nesting in Live API examples for better readability. (aa71865)
Documentation
- fix small typo in comments (a6bfe36)
v1.4.1
v1.4.0
⚠️ IMPORTANT: DO NOT UPGRADE TO VERSION 1.4.0 ⚠️
Version 1.4.0 contains an unexpected breaking change in generateVideos. Please upgrade to 1.4.1 or higher to avoid breaking your existing code.
1.4.0 (2025-06-12)
Features
- Add datastore_spec field for VertexAISearch (8c8b47a)
- Add support for Veo frame interpolation and video extension (94f5e41)
- RAG - Introducing context storing for Gemini Live API. (d63d625)
- Support maxConnections and maxConnectionsPerHost in Client instantiation (7a4a8ac)
- Support passing builder classes to setter methods (996c994)
- Support passing builder varargs to setter methods (0b08524)
- Support varargs in Enum setter methods (cd63fd0)
- Support varargs in setter methods (0b08524)
Documentation
- Add javadoc for setter methods in types classes (996c994)