Skip to content

Releases: googleapis/go-genai

v0.3.0

12 Feb 16:36
e6f1e4d
Compare
Choose a tag to compare

0.3.0 (2025-02-12)

Features

  • Enable Media resolution for Gemini API. (a22788b)
  • support property_ordering in response_schema (fixes #236) (ac45038)

v0.2.0

05 Feb 15:36
db84d4c
Compare
Choose a tag to compare

0.2.0 (2025-02-05)

Features

  • Add enhanced_prompt to GeneratedImage class (449f0fb)
  • Add labels for GenerateContent requests (98231e5)

Bug Fixes

  • remove unsupported parameter from Gemini API (39c8868)
  • Use camel case for Go function parameters (94765e6)

v0.1.0

29 Jan 18:47
379c6ab
Compare
Choose a tag to compare

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

Code Refactoring

  • rename GenerateImage() to GenerateImage(), rename GenerateImageConfig to GenerateImagesConfig, rename GenerateImageResponse to GenerateImagesResponse, rename GenerateImageParameters to GenerateImagesParameters (ebb231f)

v0.0.1

10 Jan 19:29
bb8ebdc
Compare
Choose a tag to compare

0.0.1 (2025-01-10)

Features

  • enable response_logprobs and logprobs for Google AI (#17) (51f2744)
  • Go SDK Live module implementation for GoogleAI backend (f88e65a)
  • Go SDK Live module initial implementation for VertexAI. (4d82dc0)

Bug Fixes

  • change string type to numeric types (bfdc94f)
  • fix README typo (5ae8aa6)