Skip to content

build(deps): bump @google/genai from 1.52.0 to 2.8.0#211

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

build(deps): bump @google/genai from 1.52.0 to 2.8.0#211
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/google/genai-2.8.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Bumps @google/genai from 1.52.0 to 2.8.0.

Release notes

Sourced from @​google/genai's releases.

v2.8.0

2.8.0 (2026-06-03)

Features

  • Add Agent Platform MCP support to async generate_content (baeaeaa)
  • Add transcription language code. (d2981d6)
  • Add TranslationConfig for live translation. (8c44240)
  • Support ReinforcementTuning in GenAI SDK including ValidateReward API method. (36f0bfb)

v2.7.0

2.7.0 (2026-05-27)

Features

  • Add Skill Registry ListSkills and DeleteSkill to SDK (d75582a)
  • additional computer_use field support for vertex. (54a692b)
  • interaction-api: Allow "text/csv" as a supported document mime type for Interaction API. (3cc830e)
  • interaction-api: Enable BigQuery tool in Deep Research config. (58c8c7e)
  • Support Reinforcement Tuning in GenAI SDK (418cc35)

v2.6.0

2.6.0 (2026-05-21)

Features

  • add enable_prompt_injection_detection for Computer Use feature for the Gemini API. (f780f3c)
  • Add budget_exceeded status (1e97bd0)
  • Add gemini-3.5-flash (1e97bd0)
  • add new fields (b78eeee)

v2.5.0

2.5.0 (2026-05-20)

Features

  • Add Gemini 3.5 Flash model to options (fcf26e3)

v2.4.0

2.4.0 (2026-05-17)

Features

  • support Agent and Environment APIs. (b0d9d2b)

... (truncated)

Changelog

Sourced from @​google/genai's changelog.

2.8.0 (2026-06-03)

Features

  • Add Agent Platform MCP support to async generate_content (baeaeaa)
  • Add transcription language code. (d2981d6)
  • Add TranslationConfig for live translation. (8c44240)
  • Support ReinforcementTuning in GenAI SDK including ValidateReward API method. (36f0bfb)

2.7.0 (2026-05-27)

Features

  • Add Skill Registry ListSkills and DeleteSkill to SDK (d75582a)
  • additional computer_use field support for vertex. (54a692b)
  • interaction-api: Allow "text/csv" as a supported document mime type for Interaction API. (3cc830e)
  • interaction-api: Enable BigQuery tool in Deep Research config. (58c8c7e)
  • Support Reinforcement Tuning in GenAI SDK (418cc35)

2.6.0 (2026-05-21)

Features

  • add enable_prompt_injection_detection for Computer Use feature for the Gemini API. (f780f3c)
  • Add budget_exceeded status (1e97bd0)
  • Add gemini-3.5-flash (1e97bd0)
  • add new fields (b78eeee)

2.5.0 (2026-05-20)

Features

  • Add Gemini 3.5 Flash model to options (fcf26e3)

2.4.0 (2026-05-17)

Features

  • support Agent and Environment APIs. (b0d9d2b)

Bug Fixes

  • output_text for turns that don't end with text. (1a3d94f)

... (truncated)

Commits
  • ea0dd60 chore(main): release 2.8.0 (#1646)
  • 36f0bfb feat: Support ReinforcementTuning in GenAI SDK including ValidateReward API m...
  • d2981d6 feat: Add transcription language code.
  • 98ac90d chore: deprecate Google Maps grounding widget API fields
  • 8c44240 feat: Add TranslationConfig for live translation.
  • baeaeaa feat: Add Agent Platform MCP support to async generate_content
  • c1d3cb7 chore: Internal cleanup
  • bd78ed3 chore: Fix relative import path in pagers.ts.
  • 2821346 chore(main): release 2.7.0 (#1630)
  • 54a692b feat: additional computer_use field support for vertex.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 4, 2026 02:38
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 4, 2026

Greptile Summary

This PR bumps @google/genai from 1.52.0 to 2.8.0, a major version jump driven by Dependabot, with corresponding package-lock.json updates.

  • The v2.0.0 release notes confirm that breaking changes are limited to the Interactions API only; GenerateContent usage is explicitly listed as unaffected — and the codebase exclusively uses client.models.generateContent.
  • The imports used by provider.ts (GoogleGenAI, FinishReason, ThinkingLevel, ThinkingConfig) are all stable, non-Interactions APIs that carry over unchanged from v1.x.

Confidence Score: 5/5

Safe to merge — the only breaking changes in v2.0.0 are isolated to the Interactions API, which this codebase does not use.

The codebase relies solely on generateContent and a handful of enums/types (FinishReason, ThinkingLevel, ThinkingConfig). The v2.0.0 release explicitly states that GenerateContent usage is unaffected by the breaking changes introduced in that major bump, and no Interactions API surface is touched anywhere in the repo. All subsequent minor releases (2.1–2.8) are additive features only.

No files require special attention.

Important Files Changed

Filename Overview
packages/core/package.json Bumps @google/genai peer dependency range from ^1.52.0 to ^2.8.0; no other changes.
package-lock.json Lockfile updated to resolve @google/genai at 2.8.0 with the new integrity hash; dependency graph otherwise unchanged.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["GeminiProvider"] -->|"client.models.generateContent()"| B["@google/genai v2.8.0\nGenerateContent API\n(unaffected by v2 breaking changes)"]
    B --> C["GoogleGenAI"]
    B --> D["FinishReason"]
    B --> E["ThinkingLevel"]
    B --> F["ThinkingConfig"]
    G["Interactions API\n(v2.0.0 breaking changes)"] -.->|"NOT used by codebase"| B
Loading

Reviews (2): Last reviewed commit: "build(deps): bump @google/genai from 1.5..." | Re-trigger Greptile

Bumps [@google/genai](https://github.com/googleapis/js-genai) from 1.52.0 to 2.8.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@v1.52.0...v2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/google/genai-2.8.0 branch from f04b4d0 to b1da8af Compare June 4, 2026 02:48
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