dependabot[bot] opened a new pull request, #29607:
URL: https://github.com/apache/camel/pull/29607

   Bumps 
[com.google.genai:google-genai](https://github.com/googleapis/java-genai) from 
1.75.0 to 2.0.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/googleapis/java-genai/releases";>com.google.genai:google-genai's
 releases</a>.</em></p>
   <blockquote>
   <h2>v2.0.0</h2>
   <h2><a 
href="https://github.com/googleapis/java-genai/compare/v1.80.0...v2.0.0";>2.0.0</a>
 (2026-11-06)</h2>
   <h3>⚠ BREAKING CHANGES</h3>
   <ul>
   <li>
   <p><strong>Default Gemini Developer API version is now <code>v1</code> (was 
<code>v1beta</code>)</strong> (<a 
href="https://github.com/googleapis/java-genai/commit/88bc413b83d969a04f9677d1d6024b453eb90720";>88bc413</a>)</p>
   <ul>
   <li>Clients targeting the <strong>Gemini Developer API</strong> now default 
to API version <code>v1</code> instead of <code>v1beta</code>.</li>
   <li><strong>No effect on Gemini Enterprise (Vertex AI) defaults:</strong> 
Clients with <code>.enterprise(true)</code> are <strong>unaffected</strong> by 
this default change and continue to default to <code>v1beta1</code>.</li>
   <li><strong>Some model aliases are not available on <code>v1</code>, 
notably:</strong> <code>gemini-flash-latest</code>, 
<code>gemini-flash-lite-latest</code> and <code>gemini-pro-latest</code>. They 
exist only on <code>v1beta</code>. To keep using them, use a specific model 
version, or switch back to <code>v1beta</code> as shown below.</li>
   <li><strong>How to configure or restore the previous default via environment 
variable:</strong> Set <code>GOOGLE_GENAI_API_VERSION</code> (works for both 
Gemini Developer API and Enterprise / Vertex AI clients when no version is set 
in code):
   <pre lang="bash"><code># Restores the beta default ('v1beta' on Gemini 
Developer API, 'v1beta1' on Enterprise / Vertex AI)
   export GOOGLE_GENAI_API_VERSION=beta
   <h1>Or set an explicit API version string on either platform (e.g. 'v1', 
'v1beta', 'v1beta1')</h1>
   <p>export GOOGLE_GENAI_API_VERSION=v1beta<br />
   </code></pre></p>
   </li>
   <li><strong>How to set the API version in code:</strong> Pass 
<code>HttpOptions</code> when building the <code>Client</code> (takes 
precedence over <code>GOOGLE_GENAI_API_VERSION</code>):
   <pre lang="java"><code>import com.google.genai.Client;
   import com.google.genai.types.HttpOptions;
   <p>Client client =<br />
   Client.builder()<br />
   
.httpOptions(HttpOptions.builder().apiVersion(&quot;v1beta&quot;).build())<br />
   .build();<br />
   </code></pre></p>
   </li>
   </ul>
   </li>
   <li>
   <p><strong>interactions:</strong> 
<code>CodeExecutionResultStep.result</code> changed from <code>String</code> to 
the <code>CodeExecutionResultStepResult</code> union (<a 
href="https://github.com/googleapis/java-genai/commit/e551d17cfbb37e9f38e73edbd65683497e83b73e";>e551d17</a>)</p>
   <ul>
   <li>The wire JSON for text-only results is unchanged, but Java code 
constructing or reading <code>CodeExecutionResultStep.result()</code> must now 
use <code>CodeExecutionResultStepResult</code>:
   <ul>
   <li><strong>Constructing:</strong> Use 
<code>CodeExecutionResultStepResult.of(&quot;...&quot;)</code> (or 
<code>CodeExecutionResultStepResult.of(contentList)</code> for multimodal 
outputs).</li>
   <li><strong>Reading:</strong> Use 
<code>step.result().flatMap(CodeExecutionResultStepResult::string)</code> for a 
string result, or 
<code>step.result().flatMap(CodeExecutionResultStepResult::arrayOfContent)</code>
 for multimodal <code>List&lt;Content&gt;</code> output.</li>
   </ul>
   </li>
   </ul>
   </li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>Add <code>source_text</code> to <code>AudioTranscriptionConfig</code> 
and <code>SmartTranscriptionMode</code>. (<a 
href="https://github.com/googleapis/java-genai/commit/04a5b93ed28ae10a3c0b4a2bf45d695ae6d11f90";>04a5b93</a>)</li>
   <li>Add MALFORMED_RESPONSE to FinishReason (<a 
href="https://github.com/googleapis/java-genai/commit/f96561b3a9cf814c9a65873573fe133d4a589745";>f96561b</a>),
 refs <a 
href="https://redirect.github.com/googleapis/java-genai/issues/2937";>#2937</a></li>
   <li><strong>cli:</strong> use gemini-3.5-transcribe as default model for 
transcribe command (<a 
href="https://github.com/googleapis/java-genai/commit/bc3779fb69dc1946ee19b6a375253bde23c80db9";>bc3779f</a>)</li>
   <li>default Gemini API version to v1 instead of v1beta across SDKs (<a 
href="https://github.com/googleapis/java-genai/commit/88bc413b83d969a04f9677d1d6024b453eb90720";>88bc413</a>)</li>
   <li>Disable GenerateVideos for Gemini API, update tests/READMEs (<a 
href="https://github.com/googleapis/java-genai/commit/30cb9455fe107147d24a5304bc9d7c24a0013771";>30cb945</a>)</li>
   <li><strong>interactions:</strong> add Office and OpenDocument MIME types 
(<a 
href="https://github.com/googleapis/java-genai/commit/e8448b2de3b7f4929b2228b1d014d9385ded0c7a";>e8448b2</a>)</li>
   <li><strong>interactions:</strong> support multimodal content in 
CodeExecutionResultStep.result (<a 
href="https://github.com/googleapis/java-genai/commit/e551d17cfbb37e9f38e73edbd65683497e83b73e";>e551d17</a>)</li>
   <li>support GOOGLE_GENAI_API_VERSION environment variable across SDKs (<a 
href="https://github.com/googleapis/java-genai/commit/88bc413b83d969a04f9677d1d6024b453eb90720";>88bc413</a>)</li>
   <li>update discovery doc (<a 
href="https://github.com/googleapis/java-genai/commit/9bd8ae3fdb974845710493a1f38d5eeef4f993c5";>9bd8ae3</a>)</li>
   </ul>
   <h3>Bug Fixes</h3>
   <ul>
   <li>refresh the access token on every HTTP attempt so retries and queued 
async calls do not send an expired token (<a 
href="https://github.com/googleapis/java-genai/commit/eb3a674362ed5a4e34948c174d728a88b87ca7a0";>eb3a674</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/googleapis/java-genai/blob/main/CHANGELOG.md";>com.google.genai:google-genai's
 changelog</a>.</em></p>
   <blockquote>
   <h2><a 
href="https://github.com/googleapis/java-genai/compare/v1.80.0...v2.0.0";>2.0.0</a>
 (2026-11-06)</h2>
   <h3>⚠ BREAKING CHANGES</h3>
   <ul>
   <li>
   <p><strong>Default Gemini Developer API version is now <code>v1</code> (was 
<code>v1beta</code>)</strong> (<a 
href="https://github.com/googleapis/java-genai/commit/88bc413b83d969a04f9677d1d6024b453eb90720";>88bc413</a>)</p>
   <ul>
   <li>Clients targeting the <strong>Gemini Developer API</strong> now default 
to API version <code>v1</code> instead of <code>v1beta</code>.</li>
   <li><strong>No effect on Gemini Enterprise (Vertex AI) defaults:</strong> 
Clients with <code>.vertexAI(true)</code> are <strong>unaffected</strong> by 
this default change and continue to default to <code>v1beta1</code>.</li>
   <li><strong>How to configure or restore the previous default via environment 
variable:</strong> Set <code>GOOGLE_GENAI_API_VERSION</code> (works for both 
Gemini Developer API and Enterprise / Vertex AI clients when no version is set 
in code):
   <pre lang="bash"><code># Restores the beta default ('v1beta' on Gemini 
Developer API, 'v1beta1' on Enterprise / Vertex AI)
   export GOOGLE_GENAI_API_VERSION=beta
   <h1>Or set an explicit API version string on either platform (e.g. 'v1', 
'v1beta', 'v1beta1')</h1>
   <p>export GOOGLE_GENAI_API_VERSION=v1beta<br />
   </code></pre></p>
   </li>
   <li><strong>How to set the API version in code:</strong> Pass 
<code>HttpOptions</code> when building the <code>Client</code> (takes 
precedence over <code>GOOGLE_GENAI_API_VERSION</code>):
   <pre lang="java"><code>import com.google.genai.Client;
   import com.google.genai.types.HttpOptions;
   <p>Client client =<br />
   Client.builder()<br />
   
.httpOptions(HttpOptions.builder().apiVersion(&quot;v1beta&quot;).build())<br />
   .build();<br />
   </code></pre></p>
   </li>
   </ul>
   </li>
   <li>
   <p><strong>interactions:</strong> 
<code>CodeExecutionResultStep.result</code> changed from <code>String</code> to 
the <code>CodeExecutionResultStepResult</code> union (<a 
href="https://github.com/googleapis/java-genai/commit/e551d17cfbb37e9f38e73edbd65683497e83b73e";>e551d17</a>)</p>
   <ul>
   <li>The wire JSON for text-only results is unchanged, but Java code 
constructing or reading <code>CodeExecutionResultStep.result()</code> must now 
use <code>CodeExecutionResultStepResult</code>:
   <ul>
   <li><strong>Constructing:</strong> Use 
<code>CodeExecutionResultStepResult.of(&quot;...&quot;)</code> (or 
<code>CodeExecutionResultStepResult.of(contentList)</code> for multimodal 
outputs).</li>
   <li><strong>Reading:</strong> Use 
<code>step.result().flatMap(CodeExecutionResultStepResult::string)</code> for a 
string result, or 
<code>step.result().flatMap(CodeExecutionResultStepResult::arrayOfContent)</code>
 for multimodal <code>List&lt;Content&gt;</code> output.</li>
   </ul>
   </li>
   </ul>
   </li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>Add <code>source_text</code> to <code>AudioTranscriptionConfig</code> 
and <code>SmartTranscriptionMode</code>. (<a 
href="https://github.com/googleapis/java-genai/commit/04a5b93ed28ae10a3c0b4a2bf45d695ae6d11f90";>04a5b93</a>)</li>
   <li>Add MALFORMED_RESPONSE to FinishReason (<a 
href="https://github.com/googleapis/java-genai/commit/f96561b3a9cf814c9a65873573fe133d4a589745";>f96561b</a>),
 refs <a 
href="https://redirect.github.com/googleapis/java-genai/issues/2937";>#2937</a></li>
   <li><strong>cli:</strong> use gemini-3.5-transcribe as default model for 
transcribe command (<a 
href="https://github.com/googleapis/java-genai/commit/bc3779fb69dc1946ee19b6a375253bde23c80db9";>bc3779f</a>)</li>
   <li>default Gemini API version to v1 instead of v1beta across SDKs (<a 
href="https://github.com/googleapis/java-genai/commit/88bc413b83d969a04f9677d1d6024b453eb90720";>88bc413</a>)</li>
   <li>Disable GenerateVideos for Gemini API, update tests/READMEs (<a 
href="https://github.com/googleapis/java-genai/commit/30cb9455fe107147d24a5304bc9d7c24a0013771";>30cb945</a>)</li>
   <li><strong>interactions:</strong> add Office and OpenDocument MIME types 
(<a 
href="https://github.com/googleapis/java-genai/commit/e8448b2de3b7f4929b2228b1d014d9385ded0c7a";>e8448b2</a>)</li>
   <li><strong>interactions:</strong> support multimodal content in 
CodeExecutionResultStep.result (<a 
href="https://github.com/googleapis/java-genai/commit/e551d17cfbb37e9f38e73edbd65683497e83b73e";>e551d17</a>)</li>
   <li>support GOOGLE_GENAI_API_VERSION environment variable across SDKs (<a 
href="https://github.com/googleapis/java-genai/commit/88bc413b83d969a04f9677d1d6024b453eb90720";>88bc413</a>)</li>
   <li>update discovery doc (<a 
href="https://github.com/googleapis/java-genai/commit/9bd8ae3fdb974845710493a1f38d5eeef4f993c5";>9bd8ae3</a>)</li>
   </ul>
   <h3>Bug Fixes</h3>
   <ul>
   <li>refresh the access token on every HTTP attempt so retries and queued 
async calls do not send an expired token (<a 
href="https://github.com/googleapis/java-genai/commit/eb3a674362ed5a4e34948c174d728a88b87ca7a0";>eb3a674</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/0379a6a08555066e9568e867dbb466ef9d0b5944";><code>0379a6a</code></a>
 chore(main): release 2.0.0 (<a 
href="https://redirect.github.com/googleapis/java-genai/issues/1377";>#1377</a>)</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/6f06afec98f22106db6b43b7bed1c94c312d5a65";><code>6f06afe</code></a>
 chore: set version to 2.0.0</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/4d8b034d15861d59319f41f852b4f066ac01f24a";><code>4d8b034</code></a>
 chore: switch example model from gemini-flash-latest to gemini-3.8-flash</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/17d87f431f895120f3510bd03015438a6baabfd6";><code>17d87f4</code></a>
 docs: update remaining documentation links from ai.google.dev to 
aistudio.goo...</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/20aa7393473b5e1d2ac9f1a6523115e9ce28f189";><code>20aa739</code></a>
 chore: update Speakeasy OpenAPI generator to v2.959.1</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/f96561b3a9cf814c9a65873573fe133d4a589745";><code>f96561b</code></a>
 feat: Add MALFORMED_RESPONSE to FinishReason</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/fd5b460d65e5dbf8e7c0e012298546cb0c591142";><code>fd5b460</code></a>
 chore: Make the deprecated <code>Value response_format</code> field 
internal-only and up...</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/e551d17cfbb37e9f38e73edbd65683497e83b73e";><code>e551d17</code></a>
 feat(interactions)!: support multimodal content in 
CodeExecutionResultStep.re...</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/9bd8ae3fdb974845710493a1f38d5eeef4f993c5";><code>9bd8ae3</code></a>
 feat: update discovery doc</li>
   <li><a 
href="https://github.com/googleapis/java-genai/commit/524d7c8ca1ef0d8eb63efb11496f9b1a7499d489";><code>524d7c8</code></a>
 fix: stop Vertex replay clients from fetching real OAuth tokens</li>
   <li>Additional commits viewable in <a 
href="https://github.com/googleapis/java-genai/compare/v1.75.0...v2.0.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.genai:google-genai&package-manager=maven&previous-version=1.75.0&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to