Skip to content

Commit 7302e65

Browse files
chore(main): release 0.6.0 (#138)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
1 parent f636767 commit 7302e65

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.5.0"
2+
".": "0.6.0"
33
}

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Changelog
22

3+
## [0.6.0](https://github.com/googleapis/go-genai/compare/v0.5.0...v0.6.0) (2025-03-19)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* support duration type and remove NewPartFromVideoMetadata function
9+
* Change *time.Time type to time.Time.
10+
* remove error from the GenerateContentResponse.Text() return values and add more samples(text embedding, tokens, models)
11+
* change GenerateImageConfig.NumberOfImages to value type. And add clearer error message and docstring to other APIs.
12+
* Remove default role to "user" for GenerateContent and GenerateContentStream.
13+
14+
### Features
15+
16+
* Add base steps to EditImageConfig ([e3c8252](https://github.com/googleapis/go-genai/commit/e3c82523429d43684e898a10991fb86161f5f48f))
17+
* Change *time.Time type to time.Time. ([d554a08](https://github.com/googleapis/go-genai/commit/d554a081fff30d0fec4395ef5d8dd936d81a5477))
18+
* change GenerateImageConfig.NumberOfImages to value type. And add clearer error message and docstring to other APIs. ([a75a9ae](https://github.com/googleapis/go-genai/commit/a75a9ae4d7f782c8894b9c8bc7e9c44f93e71fe6))
19+
* enable union type for Schema when calling Gemini API. ([2edcc55](https://github.com/googleapis/go-genai/commit/2edcc5560a89b76542d77566890911bf1a163795))
20+
* Remove default role to "user" for GenerateContent and GenerateContentStream. ([74d4647](https://github.com/googleapis/go-genai/commit/74d46476678813c1888d89b0112c94f6fa0d3a2e))
21+
* remove error from the GenerateContentResponse.Text() return values and add more samples(text embedding, tokens, models) ([1dc5c1c](https://github.com/googleapis/go-genai/commit/1dc5c1c95acb2f207632eeeeb8fa6d4cbb6a7df4))
22+
* support duration type and remove NewPartFromVideoMetadata function ([b2a13ab](https://github.com/googleapis/go-genai/commit/b2a13ab16cfbd6b167d2541128a75ab059ffc044))
23+
* Support global endpoint in go natively ([a29b806](https://github.com/googleapis/go-genai/commit/a29b806d89dd7ebddb44486c23cd51f79864029d))
24+
* Support returned safety attributes for generate_images ([cc2bf1a](https://github.com/googleapis/go-genai/commit/cc2bf1aa581439b2d674966eed55caa580038a83))
25+
26+
27+
### Bug Fixes
28+
29+
* Make month and day optional for PublicationDate. fixes [#141](https://github.com/googleapis/go-genai/issues/141) ([8a61516](https://github.com/googleapis/go-genai/commit/8a615165d2161f5be0efb0d7bf5f77570166b0b0))
30+
* Remove unsupported parameter negative_prompt from Gemini API generate_images ([be2619d](https://github.com/googleapis/go-genai/commit/be2619d6d2304f680ae8f9b2b669a6799929988b))
31+
32+
33+
### Miscellaneous Chores
34+
35+
* release 0.6.0 ([f636767](https://github.com/googleapis/go-genai/commit/f636767b3fdc4c4a186c9465fdc3cb2d950c158b))
36+
337
## [0.5.0](https://github.com/googleapis/go-genai/compare/v0.4.0...v0.5.0) (2025-03-06)
438

539

0 commit comments

Comments
 (0)