Releases: googleapis/go-genai
Releases · googleapis/go-genai
v1.9.0
v1.8.0
v1.7.0
v1.6.0
1.6.0 (2025-05-19)
Features
- add
time range filter
to Google Search Tool (02bec9d) - Add basic support for async function calling. (514cf37)
- add live proactivity_audio and enable_affective_dialog (a72f5ce)
- add multi-speaker voice config (aae87a9)
- Add support for lat/long in search. (0e2ba95)
- Add Video FPS, and enable start/end_offset for MLDev (fa403ac)
- support customer-managed encryption key in cached content (a8a6dc2)
- Support Url Context Retrieval tool (7bf9acc)
Bug Fixes
v1.5.0
v1.4.0
v1.3.0
1.3.0 (2025-04-30)
Features
- add models.delete and models.update to manage tuned models (6f5bbed)
- add NewPartFromFile for File type convenience. Related to #281 (2ac0429)
- add support for live grounding metadata (9ce2ed9)
- make min_property, max_property, min_length, max_length, example, patter fields available for Schema class when calling Gemini API (b487724)
- Populate X-Server-Timeout header when a request timeout is set. (8f446a0)
- Support setting the default base URL in clients via SetDefaultBaseURLs() (f465a20)
Bug Fixes
v1.2.0
v1.1.0
1.1.0 (2025-04-16)
Features
- Add converters to support continuous sessions with a sliding window (97bbba4)
- add support for model_selection_config to GenerateContentConfig (a44a6c7)
- Add types for configurable speech detection (658c17a)
- Support audio transcription in Vertex Live API (f09dfab)
- Support RealtimeInputConfig, and language_code in SpeechConfig in python (f90a0ec)
- Update VertexRagStore (62d582c)
Bug Fixes
v1.0.0
1.0.0 (2025-04-09)
⚠ BREAKING CHANGES
- Support SendClientContent/SendRealtimeInput/SendToolResponse methods in Session struct and remove Send method
- Merge GenerationConfig to LiveConnectConfig. GenerationConfig is removed.
- Change NewContentFrom... functions role param type from string to Role and miscs docstring improvements
- Change some pointer to value type and value to pointer type
Features
- Add domain to Web GroundingChunk (183ac49)
- Add generationComplete notification to Live ServerContent (9a038b9)
- Add session resumption to Live module (4a92461)
- add session resumption. (507137b)
- Add support for Chats streaming in Go SDK (9ee0523)
- Add thinking_budget to ThinkingConfig for Gemini Thinking Models (f811ee4)
- Add traffic type to GenerateContentResponseUsageMetadata (601add2)
- Add types for configurable speech detection (f4e1b11)
- Add types to support continuous sessions with a sliding window (5d4f5d7)
- Add UsageMetadata to LiveServerMessage (4286c6b)
- expose generation_complete, input/output_transcription & input/output_audio_transcription to SDK for Vertex Live API (0dbbc82)
- Merge GenerationConfig to LiveConnectConfig. GenerationConfig is removed. (65b7c1c)
- Remove experimental warnings for generate_videos and operations (2e4bb0b)
- Support files delete, get, list, download/ (8e7b3fd)
- Support files upload method (ce790dd)
- support media resolution (825c81d)
- Support SendClientContent/SendRealtimeInput/SendToolResponse methods in Session struct and remove Send method (c8ecaf4)
- use io.Reader in Upload function and add a new convenience function UploadFromPath. fixes #222 (1c064e3)