Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
bde214f
chore: Automate closing of stale issues
amirh Jul 30, 2025
2562f09
chore: Add test coverage check to unit tests
jaycee-li Jul 30, 2025
be3e50e
docs: mark Client as thread safe and Chat as not thread safe
jaycee-li Jul 31, 2025
f937dd1
feat: allow methods in batch to return headers in sdk_http_response b…
wanlin31 Jul 31, 2025
a7dbd4c
Copybara import of the project:
vorburger Jul 31, 2025
139a011
Copybara import of the project:
jrauber Jul 31, 2025
a2eccaf
docs: Add latest models features in README
jaycee-li Jul 31, 2025
e7de8c8
feat: Support image recontext on Vertex
matthew29tang Jul 31, 2025
4912ff4
feat: enable responseId for Gemini Developer API
hkt74 Jul 31, 2025
cc0a0aa
docs: Add Imagen and Veo to README
jaycee-li Aug 1, 2025
036bac8
feat: support extraBody in HttpOptions class
qiaodev Aug 1, 2025
c50c755
feat: Add image_size field for Gemini Developer API Imagen 4 generation
matthew29tang Aug 1, 2025
cb27222
feat: Support new enum types for UrlRetrievalStatus
Annhiluc Aug 6, 2025
1c7b26a
chore(main): release 1.11.0 (#444)
release-please[bot] Aug 6, 2025
1b80317
chore(main): release 1.12.0-SNAPSHOT (#470)
release-please[bot] Aug 7, 2025
2e180cc
Copybara import of the project:
release-please[bot] Aug 7, 2025
393045a
No public description
MarkDaoust Aug 7, 2025
c498c8b
docs: Remove no-op PRs from changelog.
MarkDaoust Aug 7, 2025
b2472b3
chore: Add new types from discovery doc
sararob Aug 7, 2025
255e739
chore: Add more comments to explain function calling and schema examples
jaycee-li Aug 7, 2025
94ab84d
chore: internal
yinghsienwu Aug 7, 2025
49e1e80
chore: Exclude `fromJson` and `builder()` from code coverage report
jaycee-li Aug 7, 2025
5e5d140
chore: Add computerUse back to avoid breaking changes
jaycee-li Aug 8, 2025
8273922
feat: support document name in grounding metadata
yinghsienwu Aug 11, 2025
e49d350
feat: enable continuous fine-tuning on a pre-tuned model in the SDK.
speedstorm1 Aug 12, 2025
7c0bb19
feat: Add evaluation support to Vertex tuning
sararob Aug 13, 2025
e975d28
feat: Support exclude_domains in Google Search and Enterprise Web Search
jaycee-li Aug 13, 2025
bee4e3e
feat: add an _exclude_fields characteristic in the config for unused …
speedstorm1 Aug 13, 2025
39c4f54
chore: Trim stale generated types in the Java generator to remove unu…
speedstorm1 Aug 13, 2025
0e1a396
chore(main): release 1.12.0 (#471)
release-please[bot] Aug 14, 2025
0b0c8f9
Copybara import of the project:
release-please[bot] Aug 14, 2025
7e8b71b
feat: Return response headers for all methods (except streaming methods)
jaycee-li Aug 14, 2025
35d783b
feat: expose JsonSerializable.stringToJsonNode to help user better us…
wanlin31 Aug 14, 2025
e2a561b
feat: Support Imagen image segmentation on Vertex
matthew29tang Aug 14, 2025
2f5580f
feat: Support Veo 2 Reference Images to Video Generation on Vertex
matthew29tang Aug 18, 2025
2cccdb4
chore: fix segment_image Java replay tests
matthew29tang Aug 18, 2025
0a2fed6
chore(main): release 1.13.0 (#483)
release-please[bot] Aug 18, 2025
48eba7f
docs: update TokensInfo docstring
qiaodev Aug 18, 2025
2413a42
Copybara import of the project:
release-please[bot] Aug 18, 2025
35ef424
chore(main): release 1.14.0-SNAPSHOT (#495)
release-please[bot] Aug 19, 2025
5aacbc0
feat: Add add_watermark field for recontext_image (Virtual Try-On, Pr…
matthew29tang Aug 19, 2025
5aae52b
chore: Created standalone converters for the Operations module.
IvanLH Aug 21, 2025
eb40c5f
fix: Fix the bug that files.create doesn't return the upload URL corr…
jaycee-li Aug 22, 2025
66dc94d
chore(main): release 1.14.0 (#496)
release-please[bot] Aug 22, 2025
3257bc6
chore(main): release 1.15.0-SNAPSHOT (#503)
release-please[bot] Aug 22, 2025
b8d668a
Copybara import of the project:
release-please[bot] Aug 22, 2025
53caa4a
Copybara import of the project:
release-please[bot] Aug 22, 2025
c26af63
feat: Support GenerateVideosSource for Veo GenerateVideos
matthew29tang Aug 25, 2025
4be038d
feat: add `sdkHttpResponse.headers` to *Delete responses.
wanlin31 Aug 25, 2025
dacd787
docs: Refactor model IDs into a Constants class
jaycee-li Aug 26, 2025
6c1d1c5
chore: Add a script to run all examples
jaycee-li Aug 26, 2025
4bb8680
feat: Add VALIDATED mode into FunctionCallingConfigMode
jaycee-li Aug 26, 2025
b2a5b3f
feat: add the response body for generateContent
wanlin31 Aug 26, 2025
7649467
feat: Add output_gcs_uri to Imagen upscale_image
matthew29tang Aug 26, 2025
6e28ab4
feat: add the response body for generateContent
wanlin31 Aug 26, 2025
9982251
feat: support tunings.cancel in the genai SDK for Python, Java, JS, a…
speedstorm1 Aug 27, 2025
df9d910
feat: Add VideoGenerationReferenceType enum for generate_videos
matthew29tang Aug 27, 2025
b6fdea2
chore(main): release 1.15.0 (#504)
release-please[bot] Aug 27, 2025
eaedfd3
chore(main): release 1.16.0-SNAPSHOT (#515)
release-please[bot] Aug 27, 2025
d71ddb6
Copybara import of the project:
release-please[bot] Aug 27, 2025
01c579f
Copybara import of the project:
release-please[bot] Aug 27, 2025
a011580
feat: add the response body for generateContent
wanlin31 Aug 28, 2025
2470101
docs: Refactor/update docstrings for Imagen and Veo
matthew29tang Aug 29, 2025
eec410c
feat: Add resolution field for Gemini Developer API Veo 3 generation
matthew29tang Sep 2, 2025
b41fe36
chore(main): release 1.16.0 (#516)
release-please[bot] Sep 3, 2025
4609b3b
chore(main): release 1.17.0-SNAPSHOT (#522)
release-please[bot] Sep 3, 2025
41cb6fa
Copybara import of the project:
release-please[bot] Sep 3, 2025
d774185
feat: java local tokenizer
qiaodev Sep 4, 2025
cad8df9
fix: update Live API audio example with better interruption handling
google-genai-bot Sep 5, 2025
38703c7
feat: generate the function_call class's converters
wanlin31 Sep 8, 2025
a76ec37
chore: Support _self key in request object config
matthew29tang Sep 8, 2025
12ddfce
feat: [Python] Implement async embedding batches for MLDev.
MarkDaoust Sep 9, 2025
d401d3c
feat: Support Veo 2 Editing on Vertex
matthew29tang Sep 9, 2025
3773fe7
fix: Enable `id` field in `FunctionCall` for Vertex AI.
wanlin31 Sep 9, 2025
695e17a
feat: Add labels to create tuning job config
sararob Sep 9, 2025
166daa0
Copybara import of the project:
release-please[bot] Sep 10, 2025
e5c8277
feat: Add `VideoGenerationMaskMode` enum for Veo 2 Editing
matthew29tang Sep 12, 2025
5bc4873
feat: Add 'turn_complete_reason' and 'waiting_for_input' fields.
MarkDaoust Sep 16, 2025
cce9a37
chore(main): release 1.17.0 (#523)
release-please[bot] Sep 16, 2025
7ade5e7
chore(main): release 1.18.0-SNAPSHOT (#545)
release-please[bot] Sep 17, 2025
c1e7da1
Copybara import of the project:
MarkDaoust Sep 17, 2025
b31c940
Copybara import of the project:
release-please[bot] Sep 17, 2025
dedcedc
chore: fix that LiveSendRealtimeInputParameters.media is not treated …
jaycee-li Sep 17, 2025
ec323d1
chore: Sort the converters alphabetically
jaycee-li Sep 17, 2025
b5eed8d
feat: Support Imagen 4 Ingredients on Vertex
matthew29tang Sep 18, 2025
e3a235e
chore: create lightweight set of tests designed for api-level SDK ver…
speedstorm1 Sep 19, 2025
609e1d5
chore: Separate request construction and response processing logic in…
jaycee-li Sep 22, 2025
de3b453
chore: Implement asyncRequest(truly non-blocking call) in api clients
jaycee-li Sep 22, 2025
f0aebc2
feat: Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFu…
hkt74 Sep 23, 2025
cf8b8b6
feat: Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFu…
google-genai-bot Sep 23, 2025
88ad768
chore: Enable configuration option to skip converters for SDK fields …
speedstorm1 Sep 23, 2025
ea954d3
feat: Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFu…
hkt74 Sep 24, 2025
99b50a6
feat: Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFu…
google-genai-bot Sep 24, 2025
5cb18fd
fix: Make async generateContent and generateContentStream truly non-b…
jaycee-li Sep 24, 2025
9b2861b
fix: only run unit tests in github action
hkt74 Sep 25, 2025
c293633
fix: initialization of `pre_tuned_model_checkpoint_id` from tuning co…
speedstorm1 Sep 25, 2025
1a24bed
feat: Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFu…
hkt74 Sep 25, 2025
c5b4fdf
fix: Expose `JOB_STATE_RUNNING` and `JOB_STATE_EXPIRED` for Gemini Ba…
yinghsienwu Sep 25, 2025
fbfbe6a
chore(main): release 1.18.0 (#546)
release-please[bot] Sep 25, 2025
872842c
chore(main): release 1.19.0-SNAPSHOT (#561)
release-please[bot] Sep 25, 2025
c7192db
Copybara import of the project:
matthew29tang Sep 25, 2025
6b7d413
Copybara import of the project:
release-please[bot] Sep 25, 2025
16259ea
Copybara import of the project:
shmishra99 Sep 29, 2025
b6d5389
feat: expose session id in Live API
yinghsienwu Sep 29, 2025
8893b77
chore: support InlinedRequest.systemInstruction in batches module
qiaodev Sep 30, 2025
4bbba2b
feat: rename ComputerUse tool (early access)
hkt74 Sep 30, 2025
02d5635
chore(main): release 1.19.0 (#562)
release-please[bot] Sep 30, 2025
47c3795
chore(main): release 1.20.0-SNAPSHOT (#574)
release-please[bot] Sep 30, 2025
a7cac44
Copybara import of the project:
release-please[bot] Sep 30, 2025
be4636c
Copybara import of the project:
release-please[bot] Sep 30, 2025
6fb5eba
feat: Add `ImageConfig` to `GenerateContentConfig`
matthew29tang Oct 1, 2025
6210214
chore(main): release 1.20.0 (#575)
release-please[bot] Oct 1, 2025
3ea43e1
chore(main): release 1.21.0-SNAPSHOT (#580)
release-please[bot] Oct 1, 2025
95099f3
Copybara import of the project:
release-please[bot] Oct 2, 2025
fcc40b5
chore: Enable VeoTuningSpec in tuning module
speedstorm1 Oct 2, 2025
274c21d
feat: Add thinking_config for live
MarkDaoust Oct 2, 2025
3389756
Copybara import of the project:
release-please[bot] Oct 2, 2025
206dc88
fix: Ensure Live server message are properly converted
yinghsienwu Oct 2, 2025
6b00c0b
feat: Add `NO_IMAGE` enum value to `FinishReason`
matthew29tang Oct 2, 2025
2909871
chore: Remove no-op converters
jaycee-li Oct 3, 2025
4c42e65
feat: Enable R2V and Advanced Controls for Veo on Gemini Developer API
matthew29tang Oct 6, 2025
f2b0569
chore: Narrow Java logic for skipping multi-step table tests
speedstorm1 Oct 7, 2025
e69cf68
feat: Add labels field to Imagen configs
matthew29tang Oct 7, 2025
af16a4c
feat: Add utility methods for creating `FunctionResponsePart` and cre…
hkt74 Oct 8, 2025
fdfb167
chore: Reorder module constructor fields initialization
hkt74 Oct 8, 2025
845d814
chore(main): release 1.21.0 (#581)
release-please[bot] Oct 8, 2025
3e367cf
chore(main): release 1.22.0-SNAPSHOT (#596)
release-please[bot] Oct 8, 2025
7945d4c
Copybara import of the project:
qiaodev Oct 8, 2025
77bba74
Copybara import of the project:
release-please[bot] Oct 8, 2025
a4baf3c
feat: Enable Google Maps tool for Genai.
MarkDaoust Oct 10, 2025
aefbd5c
feat: Support enableWidget feature in GoogleMaps
jaycee-li Oct 10, 2025
17033b3
feat: Support Gemini batch inline request's metadata and add test cov…
yinghsienwu Oct 10, 2025
ac12c4c
chore(main): release 1.22.0 (#597)
release-please[bot] Oct 10, 2025
b1d3f92
chore(main): release 1.23.0-SNAPSHOT (#600)
release-please[bot] Oct 13, 2025
6a728ff
Copybara import of the project:
release-please[bot] Oct 13, 2025
e3cd015
Copybara import of the project:
release-please[bot] Oct 14, 2025
b398509
feat: Support video extension for Veo on Gemini Developer API
matthew29tang Oct 15, 2025
7d7e3ff
chore(main): release 1.23.0 (#604)
release-please[bot] Oct 15, 2025
92f7d92
chore(main): release 1.24.0-SNAPSHOT (#606)
release-please[bot] Oct 15, 2025
9e96fe6
Copybara import of the project:
release-please[bot] Oct 15, 2025
68aedeb
Copybara import of the project:
release-please[bot] Oct 15, 2025
f2ae75a
fix: Make async methods in Batches module truly non-blocking
jaycee-li Oct 16, 2025
db56239
fix: Make async methods in Caches, Tuning, and Operations modules tru…
jaycee-li Oct 17, 2025
684a2c5
chore: Use both Gemini and Vertex discovery docs in the generator
jaycee-li Oct 17, 2025
c205d01
fix: Make async methods in Models module truly non-blocking
jaycee-li Oct 20, 2025
8947f6f
feat: support createEmbeddings in Batches.java
qiaodev Oct 21, 2025
3dab40b
feat: support jailbreak in HarmCategory and BlockedReason
yinghsienwu Oct 21, 2025
308f64e
Copybara import of the project:
release-please[bot] Oct 21, 2025
2427e37
chore(main): release 1.25.0-SNAPSHOT (#607)
release-please[bot] Oct 21, 2025
290e905
Revert "chore(main): release 1.25.0-SNAPSHOT (#607)" (#623)
yinghsienwu Oct 22, 2025
9d15f09
chore: Update tuning tests and the Tuning validation dataset field co…
speedstorm1 Oct 22, 2025
64fd2a1
chore(main): release 1.24.0
yinghsienwu Oct 22, 2025
219d8e8
chore(main): release 1.24.0 (#624)
release-please[bot] Oct 22, 2025
f75fe66
chore(main): release 1.25.0-SNAPSHOT (#626)
release-please[bot] Oct 22, 2025
c99d9af
Copybara import of the project:
release-please[bot] Oct 22, 2025
53b7c24
chore: internal change to support conditionally mapped type converters.
speedstorm1 Oct 22, 2025
5d037af
Copybara import of the project:
release-please[bot] Oct 22, 2025
5f94569
chore: Skip unnecessary conversion of training dataset object passed …
speedstorm1 Oct 22, 2025
7a03dac
docs: Add docstring for classes and fields that are not supported in …
jaycee-li Oct 22, 2025
f9028a7
feat: support default global location when not using api key with ver…
qiaodev Oct 24, 2025
ee0f653
chore: Update Veo tests to use Veo 3.1 when applicable
matthew29tang Oct 24, 2025
830a12f
docs: Add docstring for enum classes that are not supported in Gemini…
jaycee-li Oct 24, 2025
5ecbabc
chore: Clean up internal configurations
jaycee-li Oct 24, 2025
3d5de00
feat: Support retries in API requests
jaycee-li Oct 27, 2025
081a9a6
feat: Pass file name to the backend when uploading with a file path
hkt74 Oct 27, 2025
c81fbf1
chore: clean up pom file
jaycee-li Oct 27, 2025
4fbcf51
docs: Add documentation for the retry behavior
jaycee-li Oct 27, 2025
df17167
chore: Clean up internal configurations
jaycee-li Oct 27, 2025
485229f
chore: internal
yinghsienwu Oct 28, 2025
7259f5f
chore: Clean up internal configurations
jaycee-li Oct 28, 2025
09a8075
feat: Add safety_filter_level and person_generation for Imagen upscaling
matthew29tang Oct 28, 2025
c1dc32f
feat: Added Operations.get which is a generic method which will handl…
hkt74 Oct 28, 2025
90d5e30
chore: Clean up internal configurations
jaycee-li Oct 29, 2025
5d4123c
feat: Add support for preference optimization tuning in the SDK.
speedstorm1 Oct 29, 2025
4552440
chore(main): release 1.25.0 (#627)
release-please[bot] Oct 29, 2025
f6033ad
chore(main): release 1.26.0-SNAPSHOT (#645)
release-please[bot] Oct 29, 2025
1b38168
Copybara import of the project:
release-please[bot] Oct 29, 2025
dfd9ccf
Copybara import of the project:
release-please[bot] Oct 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow warns and then closes issues that have had no activity for a specified amount of time.
name: Mark and close stale issues

on:
schedule:
# Scheduled to run at 1:30 UTC everyday
- cron: '30 1 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 7
days-before-issue-close: 2
stale-issue-label: "status:stale"
close-issue-reason: not_planned
any-of-labels: "status:awaiting user response"
remove-stale-when-updated: true
labels-to-remove-when-unstale: 'status:awaiting user response,status:stale'
stale-issue-message: >
This issue has been marked as stale because it has been open for 7 days with no activity. It will be closed in 2 days if no further activity occurs.
close-issue-message: >
This issue was closed because it has been inactive for 9 days.
Please post a new issue if you need further assistance. Thanks!
# Label that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
5 changes: 3 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
strategy:
matrix:
java: [8, 11, 17, 21]
testgroup: ['**/*']
# Only run unit tests.
testgroup: ["**/*Test"]
fail-fast: false
name: unit-test (${{matrix.java}})
steps:
Expand All @@ -25,4 +26,4 @@ jobs:
java-version: ${{matrix.java}}
cache: 'maven'
- name: Java Unit Tests
run: mvn clean test -Dtest=${{matrix.testgroup}}
run: mvn clean test -Dtest=${{matrix.testgroup}} -Djacoco.skip=true
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.10.0"
".": "1.25.0"
}
208 changes: 208 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,213 @@
# Changelog

## [1.25.0](https://github.com/googleapis/java-genai/compare/v1.24.0...v1.25.0) (2025-10-29)


### Features

* Add safety_filter_level and person_generation for Imagen upscaling ([09a8075](https://github.com/googleapis/java-genai/commit/09a80754b202fdf903039341f5266f62d9b879cb))
* Add support for preference optimization tuning in the SDK. ([5d4123c](https://github.com/googleapis/java-genai/commit/5d4123c0391d443e94bb1e81524ccae8779462d7))
* Added Operations.get which is a generic method which will handle all Operation types. ([c1dc32f](https://github.com/googleapis/java-genai/commit/c1dc32f84d0e4d14a16345dcb404c8b2bef05338))
* Pass file name to the backend when uploading with a file path ([081a9a6](https://github.com/googleapis/java-genai/commit/081a9a6a67d1ba542edb1d1330dfa56579204a43))
* support default global location when not using api key with vertexai backend ([f9028a7](https://github.com/googleapis/java-genai/commit/f9028a71d4e736a8dc97daa54e6e4275b5016abd))
* Support retries in API requests ([3d5de00](https://github.com/googleapis/java-genai/commit/3d5de000277eb0da172d6b19795c6f2d4b88c213))


### Documentation

* Add docstring for classes and fields that are not supported in Gemini or Vertex API ([7a03dac](https://github.com/googleapis/java-genai/commit/7a03dac0a4e3388f98be199765794fcf511bfe83))
* Add docstring for enum classes that are not supported in Gemini or Vertex API ([830a12f](https://github.com/googleapis/java-genai/commit/830a12f3dcbb8beb1dd5ff3ff82f6b19ebb2af93))
* Add documentation for the retry behavior ([4fbcf51](https://github.com/googleapis/java-genai/commit/4fbcf514321fdc2cbee1393fc6babe33fd0e5e74))

## [1.24.0](https://github.com/googleapis/java-genai/compare/v1.23.0...v1.24.0) (2025-10-22)


### Features

* Add enable_enhanced_civic_answers in GenerationConfig ([684a2c5](https://github.com/googleapis/java-genai/commit/684a2c5b582fa4ca13cb9cfe819ef759778101b0))
* support createEmbeddings in Batches.java ([8947f6f](https://github.com/googleapis/java-genai/commit/8947f6fc20fbdd90a7d17071dee1bd2e5bea0c3e))
* support jailbreak in HarmCategory and BlockedReason ([3dab40b](https://github.com/googleapis/java-genai/commit/3dab40bc367168ed48d8d1acfb278f5bc6edb83f))


### Bug Fixes

* Make async methods in Batches module truly non-blocking ([f2ae75a](https://github.com/googleapis/java-genai/commit/f2ae75ac364702f483c376e458a120d1ffa93b17))
* Make async methods in Caches, Tuning, and Operations modules truly non-blocking ([db56239](https://github.com/googleapis/java-genai/commit/db56239bbebbfe3cb95e00d2d3eac253b76f22fe))
* Make async methods in Models module truly non-blocking ([c205d01](https://github.com/googleapis/java-genai/commit/c205d0172ca40e01f7d8de17a3bc9d38eeb5fc21))

## [1.23.0](https://github.com/googleapis/java-genai/compare/v1.22.0...v1.23.0) (2025-10-15)


### Features

* Support video extension for Veo on Gemini Developer API ([b398509](https://github.com/googleapis/java-genai/commit/b398509697a3e9aa27bad5e804382c5a4db333ab))

## [1.22.0](https://github.com/googleapis/java-genai/compare/v1.21.0...v1.22.0) (2025-10-10)


### Features

* Enable Google Maps tool for Genai. ([a4baf3c](https://github.com/googleapis/java-genai/commit/a4baf3c610ddcb1ed36c1501fcb2248b5a6bd610))
* Support enableWidget feature in GoogleMaps ([aefbd5c](https://github.com/googleapis/java-genai/commit/aefbd5c1519f453cd2fe158a2765c195a9454322))
* Support Gemini batch inline request's metadata and add test coverage to safety setting ([17033b3](https://github.com/googleapis/java-genai/commit/17033b38a93d6952b29699f5a4c79ed9dd862976))

## [1.21.0](https://github.com/googleapis/java-genai/compare/v1.20.0...v1.21.0) (2025-10-08)


### Features

* Add `NO_IMAGE` enum value to `FinishReason` ([6b00c0b](https://github.com/googleapis/java-genai/commit/6b00c0b7dc8c85fcefc5aac643c3588048317614))
* Add labels field to Imagen configs ([e69cf68](https://github.com/googleapis/java-genai/commit/e69cf68583ca581f1a7fad89b04292036433cdb4))
* Add thinking_config for live ([274c21d](https://github.com/googleapis/java-genai/commit/274c21d34310e630b9b4ad296b4c8314a4249d0c))
* Add utility methods for creating `FunctionResponsePart` and creating FunctionResponse `Part` with `FunctionResponseParts` ([af16a4c](https://github.com/googleapis/java-genai/commit/af16a4c994e0cc4e6fbc2cdbda825246df9aa253))
* Enable Ingredients to Video and Advanced Controls for Veo on Gemini Developer API (Early Access Program) ([4c42e65](https://github.com/googleapis/java-genai/commit/4c42e6527a7fe43c0b534e381d65b5d9650e8709))


### Bug Fixes

* Ensure Live server message are properly converted ([206dc88](https://github.com/googleapis/java-genai/commit/206dc88e3b220a875f784a507fc9470bc411de36))

## [1.20.0](https://github.com/googleapis/java-genai/compare/v1.19.0...v1.20.0) (2025-10-01)


### Features

* Add `ImageConfig` to `GenerateContentConfig` ([6fb5eba](https://github.com/googleapis/java-genai/commit/6fb5eba0e916ada8f300dd5ad333f269e9044ea3))

## [1.19.0](https://github.com/googleapis/java-genai/compare/v1.18.0...v1.19.0) (2025-09-30)


### Features

* expose session id in Live API ([b6d5389](https://github.com/googleapis/java-genai/commit/b6d5389899bd1443d5c508776dfe5909eb1d7400))
* rename ComputerUse tool (early access) ([4bbba2b](https://github.com/googleapis/java-genai/commit/4bbba2b53eedec0b28a5d98d7fc193683c565f50))

## [1.18.0](https://github.com/googleapis/java-genai/compare/v1.17.0...v1.18.0) (2025-09-25)


### Features

* Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFunctions ([1a24bed](https://github.com/googleapis/java-genai/commit/1a24bedc752851236b0a7239a7dba7090e4ac4e8))
* Support Imagen 4 Ingredients on Vertex ([b5eed8d](https://github.com/googleapis/java-genai/commit/b5eed8d1323a3d37b53c1d8c5c5557392ce7ed44))


### Bug Fixes

* Expose `JOB_STATE_RUNNING` and `JOB_STATE_EXPIRED` for Gemini Batches states ([c5b4fdf](https://github.com/googleapis/java-genai/commit/c5b4fdf58b9d0d74efdd2c7e740bed8b6b661c99))
* initialization of `pre_tuned_model_checkpoint_id` from tuning config. ([c293633](https://github.com/googleapis/java-genai/commit/c293633a8fe298668f030ba3b257347a8fd0eedf))
* Make async generateContent and generateContentStream truly non-blocking ([5cb18fd](https://github.com/googleapis/java-genai/commit/5cb18fd4f07f9b1f21efb82fe961e473325f6257))
* only run unit tests in github action ([9b2861b](https://github.com/googleapis/java-genai/commit/9b2861bb79d50c10c152aa010bedf0bc48a04ad8))

## [1.17.0](https://github.com/googleapis/java-genai/compare/v1.16.0...v1.17.0) (2025-09-16)


### Features

* Add 'turn_complete_reason' and 'waiting_for_input' fields. ([5bc4873](https://github.com/googleapis/java-genai/commit/5bc48732fd9281162942b158de34173343d7b179))
* Add `VideoGenerationMaskMode` enum for Veo 2 Editing ([e5c8277](https://github.com/googleapis/java-genai/commit/e5c82778586dfee4ed7d04a9eabb2a4d8eac6185))
* Add labels to create tuning job config ([695e17a](https://github.com/googleapis/java-genai/commit/695e17a7b1adebbccb1651d30b768d27f81c3977))
* generate the function_call class's converters ([38703c7](https://github.com/googleapis/java-genai/commit/38703c726606cbe1b6f5f5f4eb809310b0df94a8))
* java local tokenizer ([d774185](https://github.com/googleapis/java-genai/commit/d7741856cafd3b8e05803f7b452335fbc4ce8977))
* Support Veo 2 Editing on Vertex ([d401d3c](https://github.com/googleapis/java-genai/commit/d401d3cf6a5f9ef3d2a76a548eed9d218169170e))


### Bug Fixes

* Enable `id` field in `FunctionCall` for Vertex AI. ([3773fe7](https://github.com/googleapis/java-genai/commit/3773fe75007b9ce83692de0031853f0f607bff3e))
* update Live API audio example with better interruption handling ([cad8df9](https://github.com/googleapis/java-genai/commit/cad8df9c4edaf0806a641869fef6379ed05f0189))

## [1.16.0](https://github.com/googleapis/java-genai/compare/v1.15.0...v1.16.0) (2025-09-02)


### Features

* Add resolution field for Gemini Developer API Veo 3 generation ([eec410c](https://github.com/googleapis/java-genai/commit/eec410c5b68de471e9a824e61f0efb819841dfe6))
* add the response body for generateContent ([a011580](https://github.com/googleapis/java-genai/commit/a0115804e438bac120d5155c91ece53c79ada677))


### Documentation

* Refactor/update docstrings for Imagen and Veo ([2470101](https://github.com/googleapis/java-genai/commit/24701018feb91d147bf1817b04752e2595bf40ab))

## [1.15.0](https://github.com/googleapis/java-genai/compare/v1.14.0...v1.15.0) (2025-08-27)


### Features

* add `sdkHttpResponse.headers` to *Delete responses. ([4be038d](https://github.com/googleapis/java-genai/commit/4be038de86c782d103d21258db51055f35e5af21))
* Add output_gcs_uri to Imagen upscale_image ([7649467](https://github.com/googleapis/java-genai/commit/76494678d3937229778c5063b4f4ff340f977bba))
* add the response body for generateContent ([6e28ab4](https://github.com/googleapis/java-genai/commit/6e28ab4236565be61fb11e79ca9f2f31a2013598))
* add the response body for generateContent ([b2a5b3f](https://github.com/googleapis/java-genai/commit/b2a5b3f5a6ef7a8bb4d011980d90ffdc3c745603))
* Add VALIDATED mode into FunctionCallingConfigMode ([4bb8680](https://github.com/googleapis/java-genai/commit/4bb868046199d3249f75ede213ef7d77e0b7783f))
* Add VideoGenerationReferenceType enum for generate_videos ([df9d910](https://github.com/googleapis/java-genai/commit/df9d910537ec7de6188f777801b4d50e84cd91e7))
* Support GenerateVideosSource for Veo GenerateVideos ([c26af63](https://github.com/googleapis/java-genai/commit/c26af6396002cf21c0ed272290d44b09b6a41840))
* support tunings.cancel in the genai SDK for Python, Java, JS, and Go ([9982251](https://github.com/googleapis/java-genai/commit/9982251d2dd80d3151aefb4462d9e4864d8e064e))


### Documentation

* Refactor model IDs into a Constants class ([dacd787](https://github.com/googleapis/java-genai/commit/dacd7875d41f810e50f2655e5d0e62f031197e61))

## [1.14.0](https://github.com/googleapis/java-genai/compare/v1.13.0...v1.14.0) (2025-08-22)


### Features

* Add add_watermark field for recontext_image (Virtual Try-On, Product Recontext) ([5aacbc0](https://github.com/googleapis/java-genai/commit/5aacbc06435fb36fffde0c3641b3077493f13577))


### Bug Fixes

* Fix the bug that files.create doesn't return the upload URL correctly ([eb40c5f](https://github.com/googleapis/java-genai/commit/eb40c5f7f255b46a7a820da044e210127c7aac18))


### Documentation

* update TokensInfo docstring ([48eba7f](https://github.com/googleapis/java-genai/commit/48eba7fcb369537ca4266ec61107e016f7c242ed))

## [1.13.0](https://github.com/googleapis/java-genai/compare/v1.12.0...v1.13.0) (2025-08-18)


### Features

* expose JsonSerializable.stringToJsonNode to help user better use *JsonSchema fields. ([35d783b](https://github.com/googleapis/java-genai/commit/35d783b5d1655b6f0d52afefa633c608f39d4e01))
* Return response headers for all methods (except streaming methods) ([7e8b71b](https://github.com/googleapis/java-genai/commit/7e8b71b0769362a728e2bf9b93738563113a4edc))
* Support Imagen image segmentation on Vertex ([e2a561b](https://github.com/googleapis/java-genai/commit/e2a561b11b53f3a7cc30aacb4a0dcf6a26e01645))
* Support Veo 2 Reference Images to Video Generation on Vertex ([2f5580f](https://github.com/googleapis/java-genai/commit/2f5580fd1e78d6e8e4f371f291dacf98c7c617ef))

## [1.12.0](https://github.com/googleapis/java-genai/compare/v1.11.0...v1.12.0) (2025-08-13)


### Features

* enable continuous fine-tuning on a pre-tuned model in the SDK. ([e49d350](https://github.com/googleapis/java-genai/commit/e49d3509355f717d391a88b6ff1a6f4f6d83fddc))
* support document name in grounding metadata ([8273922](https://github.com/googleapis/java-genai/commit/8273922ebfbce4ffafa8993bcc6928b47b5ff821))
* Support exclude_domains in Google Search and Enterprise Web Search ([e975d28](https://github.com/googleapis/java-genai/commit/e975d284f78e0c9a3cd2199d304b4739bad36fe1))

## [1.11.0](https://github.com/googleapis/java-genai/compare/v1.10.0...v1.11.0) (2025-08-06)


### Features

* Add image_size field for Gemini Developer API Imagen 4 generation ([c50c755](https://github.com/googleapis/java-genai/commit/c50c755c08efbed5a62e1006890b1d0bd9956702))
* enable responseId for Gemini Developer API ([4912ff4](https://github.com/googleapis/java-genai/commit/4912ff421d6d3bc40edd70a939f71f5f33f58597))
* support extraBody in HttpOptions class ([036bac8](https://github.com/googleapis/java-genai/commit/036bac89fda15022ec4d9c5c73ba81ad0a6cc9be))
* Support image recontext on Vertex ([e7de8c8](https://github.com/googleapis/java-genai/commit/e7de8c83bbd2e7e37c2198c3501e2d5bee58c0a2))
* Support new enum types for UrlRetrievalStatus ([cb27222](https://github.com/googleapis/java-genai/commit/cb27222a7f7cdf442a7d6b61496709f7cf084a91))
* support response headers in Go for all methods. ([222b41e](https://github.com/googleapis/java-genai/commit/222b41e196afc13775cc22292a58567d7b4859fa))


### Bug Fixes

* Remove duplicate JavaTimeModule in JsonSerializable ([a7dbd4c](https://github.com/googleapis/java-genai/commit/a7dbd4c527456f20aa5d154bde14f74f6e66d174))


### Documentation

* Add Imagen and Veo to README ([cc0a0aa](https://github.com/googleapis/java-genai/commit/cc0a0aa28cae618acf617ab92819df78d80afea5))
* Add latest models features in README ([a2eccaf](https://github.com/googleapis/java-genai/commit/a2eccafae5c6c9b82341a148b572bf9bc80f241b))
* mark Client as thread safe and Chat as not thread safe ([be3e50e](https://github.com/googleapis/java-genai/commit/be3e50e4217780329c0636fd7f8a1b743e7f9597))

## [1.10.0](https://github.com/googleapis/java-genai/compare/v1.9.0...v1.10.0) (2025-07-23)


Expand Down
Loading