0.5.0 (2025-03-06)
⚠ BREAKING CHANGES
- change int64, float64 types to int32, unit32, float32 to prevent data loss
- remove ClientConfig.Timeout and add HTTPOptions to ...Config structs
Features
- Add Headers field into HTTPOption struct (5ec9ff4)
- Add response_id and create_time to GenerateContentResponse (f46d996)
- added Models.list() function (6c2eae4)
- enable minItem, maxItem, nullable for Schema type when calling Gemini API. (fb6c8a5)
- enable quick accessor of executable code and code execution result in GenerateContentResponse (21ca251)
- remove ClientConfig.Timeout and add HTTPOptions to ...Config structs (ba6c431)
- Support aspect ratio for edit_image (06d554f)
- support edit image and add sample for imagen (f332cf2)
- Support Models.EmbedContent function (a71f0a7)
Bug Fixes
- change int64, float64 types to int32, unit32, float32 to prevent data loss (af83fa7)
- log warning instead of throwing error for GenerateContentResponse.text() quick accessor when there are mixed types of parts. (006e3af)
Miscellaneous Chores
- release 0.5.0 (14bdd8f)