Releases: googleapis/go-genai
Releases · googleapis/go-genai
v0.3.0
v0.2.0
v0.1.0
0.1.0 (2025-01-29)
⚠ BREAKING CHANGES
- Make some numeric fields to pointer type and bool fields to value type, and rename ControlReferenceTypeControlType* constants
Features
- [genai-modules][models] Add HttpOptions to all method configs for models. (765c9b7)
- Add Imagen generate_image support for Go SDK (068fe54)
- Add support for audio_timestamp to types.GenerateContentConfig (fixes #132) (cfede62)
- Add support for enhance_prompt to model.generate_image (a35f52a)
- Add ThinkingConfig to generate content config. (ad73778)
- enable Text() and FunctionCalls() quick accessor for GenerateContentResponse (3f3a450)
- Images - Added Image.mime_type (3333511)
- introducing HTTPOptions to Client (e3d1d8e)
- make Part, FunctionDeclaration, Image, and GenerateContentResponse classmethods argument keyword only (f7d1043)
- Make some numeric fields to pointer type and bool fields to value type, and rename ControlReferenceTypeControlType* constants (ee4e5a4)
- support caches create/update/get/update in Go SDK (0620d97)
- support usability constructor functions for Part struct (831b879)
Miscellaneous Chores
- Released as 0.1.0 (e046125)
Code Refactoring
- rename GenerateImage() to GenerateImage(), rename GenerateImageConfig to GenerateImagesConfig, rename GenerateImageResponse to GenerateImagesResponse, rename GenerateImageParameters to GenerateImagesParameters (ebb231f)