Skip to content

build(deps): Bump @google/genai from 2.32.0 to 3.0.0 - #121

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/google/genai-3.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/google/genai-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps @google/genai from 2.32.0 to 3.0.0.

Release notes

Sourced from @​google/genai's releases.

v3.0.0

3.0.0 (2026-11-06)

⚠ BREAKING CHANGES

  • Default Gemini Developer API version is now v1 (was v1beta) (3f477bf)

    • Clients targeting the Gemini Developer API now default to API version v1 instead of v1beta.
    • No effect on Gemini Enterprise (Vertex AI) defaults: Clients with vertexai: true are unaffected by this default change and continue to default to v1beta1.
    • Some model aliases are not available on v1, notably: gemini-flash-latest, gemini-flash-lite-latest and gemini-pro-latest. They exist only on v1beta. To keep using them, use a specific model version, or switch back to v1beta as shown below.
    • How to configure or restore the previous default via environment variable (Node.js): Set GOOGLE_GENAI_API_VERSION (works for both Gemini Developer API and Enterprise / Vertex AI clients when no version is set in code):
      # Restores the beta default ('v1beta' on Gemini Developer API, 'v1beta1' on Enterprise / Vertex AI)
      export GOOGLE_GENAI_API_VERSION=beta
      Or set an explicit API version string on either platform (e.g. 'v1', 'v1beta', 'v1beta1')
      export GOOGLE_GENAI_API_VERSION=v1beta

    • How to set the API version in code: Pass apiVersion (or httpOptions.apiVersion) to GoogleGenAI (takes precedence over GOOGLE_GENAI_API_VERSION):
      import { GoogleGenAI } from '@google/genai';
      const ai = new GoogleGenAI({
      apiVersion: 'v1beta',
      });

  • Minimum supported Node.js version is now 22 (was 20) (7b9fbf0)

    • Following Node.js 20 reaching end-of-life (2026-04-30), package.json engines.node now requires >=22.0.0.
    • There are no runtime API or bundle changes resulting from this bump, and both CommonJS and ESM bundles continue to be published.
    • Users who must remain on Node.js 20 should pin to @google/genai@^2 (or ignore engine checks if supported by their environment).
  • interactions: CodeExecutionResultStep.result is now typed as Array<Content> | string (CodeExecutionResultStepResult) instead of string (b36ce99). The JSON and runtime value for text-only results are still a plain string, but TypeScript code reading step.result as a string may need to narrow the union (typeof step.result === 'string').

Features

  • Add source_text to AudioTranscriptionConfig and SmartTranscriptionMode. (ddb5158)
  • Add MALFORMED_RESPONSE to FinishReason (032d50c), refs #2937
  • cli: use gemini-3.5-transcribe as default model for transcribe command (df29944)
  • default Gemini API version to v1 instead of v1beta across SDKs (3f477bf)
  • Disable GenerateVideos for Gemini API, update tests/READMEs (3f65d02)
  • drop support for Node 20; Node.js >=22 is now required (7b9fbf0)
  • interactions: add Office and OpenDocument MIME types (b24cfc2)
  • interactions: support multimodal content in CodeExecutionResultStep.result (b36ce99)
  • support GOOGLE_GENAI_API_VERSION environment variable across SDKs (3f477bf)
  • update discovery doc (8be9344)

Bug Fixes

  • Raise protobufjs and ws minimums to patched versions (71827d0), refs #1611

... (truncated)

Changelog

Sourced from @​google/genai's changelog.

3.0.0 (2026-11-06)

⚠ BREAKING CHANGES

  • Default Gemini Developer API version is now v1 (was v1beta) (3f477bf)

    • Clients targeting the Gemini Developer API now default to API version v1 instead of v1beta.
    • No effect on Gemini Enterprise (Vertex AI) defaults: Clients with vertexai: true are unaffected by this default change and continue to default to v1beta1.
    • How to configure or restore the previous default via environment variable (Node.js): Set GOOGLE_GENAI_API_VERSION (works for both Gemini Developer API and Enterprise / Vertex AI clients when no version is set in code):
      # Restores the beta default ('v1beta' on Gemini Developer API, 'v1beta1' on Enterprise / Vertex AI)
      export GOOGLE_GENAI_API_VERSION=beta
      Or set an explicit API version string on either platform (e.g. 'v1', 'v1beta', 'v1beta1')
      export GOOGLE_GENAI_API_VERSION=v1beta

    • How to set the API version in code: Pass apiVersion (or httpOptions.apiVersion) to GoogleGenAI (takes precedence over GOOGLE_GENAI_API_VERSION):
      import { GoogleGenAI } from '@google/genai';
      const ai = new GoogleGenAI({
      apiVersion: 'v1beta',
      });

  • Minimum supported Node.js version is now 22 (was 20) (7b9fbf0)

    • Following Node.js 20 reaching end-of-life (2026-04-30), package.json engines.node now requires >=22.0.0.
    • There are no runtime API or bundle changes resulting from this bump, and both CommonJS and ESM bundles continue to be published.
    • Users who must remain on Node.js 20 should pin to @google/genai@^2 (or ignore engine checks if supported by their environment).
  • interactions: CodeExecutionResultStep.result is now typed as Array<Content> | string (CodeExecutionResultStepResult) instead of string (b36ce99). The JSON and runtime value for text-only results are still a plain string, but TypeScript code reading step.result as a string may need to narrow the union (typeof step.result === 'string').

Features

  • Add source_text to AudioTranscriptionConfig and SmartTranscriptionMode. (ddb5158)
  • Add MALFORMED_RESPONSE to FinishReason (032d50c), refs #2937
  • cli: use gemini-3.5-transcribe as default model for transcribe command (df29944)
  • default Gemini API version to v1 instead of v1beta across SDKs (3f477bf)
  • Disable GenerateVideos for Gemini API, update tests/READMEs (3f65d02)
  • drop support for Node 20; Node.js >=22 is now required (7b9fbf0)
  • interactions: add Office and OpenDocument MIME types (b24cfc2)
  • interactions: support multimodal content in CodeExecutionResultStep.result (b36ce99)
  • support GOOGLE_GENAI_API_VERSION environment variable across SDKs (3f477bf)
  • update discovery doc (8be9344)

Bug Fixes

  • Raise protobufjs and ws minimums to patched versions (71827d0), refs #1611
  • Reject Live.connect() when the WebSocket errors or closes before setup completes (04eaa81), refs #1257

... (truncated)

Commits
  • eb7d723 chore(main): release 3.0.0 (#2125)
  • 90f7274 chore: switch example model from gemini-flash-latest to gemini-3.8-flash
  • ecef580 docs: update remaining documentation links from ai.google.dev to aistudio.goo...
  • 50d37d1 docs: Explain Gemini Developer API vs. Gemini Enterprise Agent Platform in th...
  • 70a03f6 chore: update Speakeasy OpenAPI generator to v2.959.1
  • 71827d0 fix: Raise protobufjs and ws minimums to patched versions
  • 032d50c feat: Add MALFORMED_RESPONSE to FinishReason
  • 3121716 chore: Make the deprecated Value response_format field internal-only and up...
  • 50a46bc build: Remove the no-op preinstall hook from the published manifest
  • 04eaa81 fix: Reject Live.connect() when the WebSocket errors or closes before setup c...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [@google/genai](https://github.com/googleapis/js-genai) from 2.32.0 to 3.0.0.
- [Release notes](https://github.com/googleapis/js-genai/releases)
- [Changelog](https://github.com/googleapis/js-genai/blob/main/CHANGELOG.md)
- [Commits](googleapis/js-genai@v2.32.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@google/genai"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants