← 输入框|github.com|刷新
Skip to content

chore(deps): bump google.golang.org/genai from 1.73.0 to 1.79.1 in /apps/api - #463

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/apps/api/google.golang.org/genai-1.79.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/apps/api/google.golang.org/genai-1.79.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Bumps google.golang.org/genai from 1.73.0 to 1.79.1.

Release notes

Sourced from google.golang.org/genai's releases.

v1.79.1

1.79.1 (2026-11-18)

Bug Fixes

v1.79.0

1.79.0 (2026-11-18)

Features

  • sdk: Add tool retrieval and function result schemas in public SDK (25bf4e8)

Bug Fixes

  • send SDK User-Agent and x-goog-api-client headers on the Live WebSocket handshake (99f48a5), refs #1045

v1.78.0

1.78.0 (2026-11-17)

⚠ BREAKING CHANGES

  • Default Gemini Developer API version is now v1 (was v1beta) (402dc81)
    • Clients targeting the Gemini Developer API (the default backend, genai.BackendGeminiAPI) now default to API version v1 instead of v1beta.

      Note for Go users: Although this default change is a runtime breaking change, we are shipping it in a minor v1.x release rather than v2.0.0 as the less disruptive of the two options. In Go, a v2 major version bump changes the module path to google.golang.org/genai/v2, which breaks every user and downstream library by forcing import rewrites across the ecosystem—even though no Go types or function signatures changed. Shipping in v1.x keeps existing imports and builds working, leaves most code unaffected, and lets anyone who needs the previous v1beta behavior restore it with a single config field or environment variable (see below).

    • No effect on Gemini Enterprise (Vertex AI) defaults: Clients using genai.BackendVertexAI (or GOOGLE_GENAI_USE_VERTEXAI=true) are unaffected by this default change and continue to default to v1beta1.
    • Some models are not available on v1, notably: the gemini-flash-latest, gemini-flash-lite-latest, and gemini-pro-latest aliases, some -preview models, and models that depend on v1beta-only features (such as TTS models). They exist only on v1beta. To keep using them, use a specific stable model version, or switch back to v1beta as shown below.
    • Some APIs are not available on v1: The Live API (client.Live), context caching (client.Caches), and beta platform services (client.Agents, client.Decisions, client.Webhooks) are served only on v1beta in the Gemini Developer API. To keep using them, switch back to v1beta as shown below.
    • How to configure or restore the previous default via environment variable: 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: Set APIVersion in HTTPOptions (takes precedence over GOOGLE_GENAI_API_VERSION):
      import (
      	"context"
      "google.golang.org/genai"
      
      )
      client, err := genai.NewClient(context.Background(), &genai.ClientConfig{
      HTTPOptions: genai.HTTPOptions{APIVersion: "v1beta"},
      })

... (truncated)

Changelog

Sourced from google.golang.org/genai's changelog.

1.79.1 (2026-11-18)

Bug Fixes

1.79.0 (2026-11-18)

Features

  • sdk: Add tool retrieval and function result schemas in public SDK (25bf4e8)

Bug Fixes

  • send SDK User-Agent and x-goog-api-client headers on the Live WebSocket handshake (99f48a5), refs #1045

1.78.0 (2026-11-17)

⚠ BREAKING CHANGES

  • Default Gemini Developer API version is now v1 (was v1beta) (402dc81)
    • Clients targeting the Gemini Developer API (the default backend, genai.BackendGeminiAPI) now default to API version v1 instead of v1beta.

      Note for Go users: Although this default change is a runtime breaking change, we are shipping it in a minor v1.x release rather than v2.0.0 as the less disruptive of the two options. In Go, a v2 major version bump changes the module path to google.golang.org/genai/v2, which breaks every user and downstream library by forcing import rewrites across the ecosystem—even though no Go types or function signatures changed. Shipping in v1.x keeps existing imports and builds working, leaves most code unaffected, and lets anyone who needs the previous v1beta behavior restore it with a single config field or environment variable (see below).

    • No effect on Gemini Enterprise (Vertex AI) defaults: Clients using genai.BackendVertexAI (or GOOGLE_GENAI_USE_VERTEXAI=true) are unaffected by this default change and continue to default to v1beta1.
    • Some models are not available on v1, notably: the gemini-flash-latest, gemini-flash-lite-latest, and gemini-pro-latest aliases, some -preview models, and models that depend on v1beta-only features (such as TTS models). They exist only on v1beta. To keep using them, use a specific stable model version, or switch back to v1beta as shown below.
    • Some APIs are not available on v1: The Live API (client.Live), context caching (client.Caches), and beta platform services (client.Agents, client.Decisions, client.Webhooks) are served only on v1beta in the Gemini Developer API. To keep using them, switch back to v1beta as shown below.
    • How to configure or restore the previous default via environment variable: 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: Set APIVersion in HTTPOptions (takes precedence over GOOGLE_GENAI_API_VERSION):
      import (
      	"context"
      "google.golang.org/genai"
      
      )
      client, err := genai.NewClient(context.Background(), &genai.ClientConfig{
      HTTPOptions: genai.HTTPOptions{APIVersion: "v1beta"},
      })

... (truncated)

Commits
  • c2b9798 chore(main): release 1.79.1 (#1140)
  • 9b0a57d fix: update sdk enum
  • 5f935b2 chore(main): release 1.79.0 (#1137)
  • 99f48a5 fix: send SDK User-Agent and x-goog-api-client headers on the Live WebSocket ...
  • 25bf4e8 feat(sdk): Add tool retrieval and function result schemas in public SDK
  • 5a5716b chore(main): release 1.78.0 (#1053)
  • 313f3a6 chore: add a load-only mode to the Go and Java table tests
  • 8196457 chore: explicitly use v1beta for Gemini API caching and Live tests
  • eeafe6c feat(environments): introduce self-hosted BYOS mode, system_instruction, cust...
  • cd9801b test: run the shared gemini-embedding-001 Vertex test in us-central1
  • 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.golang.org/genai](https://github.com/googleapis/go-genai) from 1.73.0 to 1.79.1.
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](googleapis/go-genai@v1.73.0...v1.79.1)

---
updated-dependencies:
- dependency-name: google.golang.org/genai
  dependency-version: 1.79.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dependabot @github

dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Looks like google.golang.org/genai is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 23, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/apps/api/google.golang.org/genai-1.79.1 branch November 23, 2026 03:16
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants