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

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

Copy link
Copy Markdown
Contributor

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

greptile-apps Bot commented Jun 4, 2026

Copy link
Copy Markdown

Greptile Summary

This is an automated dependency bump of @google/genai from 1.52.0 to 2.8.0, touching only packages/core/package.json and the root package-lock.json.

  • The v2.0.0 release notes explicitly state that breaking changes are confined to the Interactions API (Beta) and that GenerateContent usage is unaffected — the codebase uses only generateContent, FinishReason, ThinkingLevel, and ThinkingConfig, all of which remain stable across this version range.
  • Versions 2.1–2.8 add additive features (Gemini 3.5 Flash model names, Agent/Environment APIs, Skill Registry, reinforcement tuning, live translation) with no removals relevant to this integration.

Confidence Score: 5/5

Safe to merge — the major-version bump does not affect any API surface used by this codebase.

The only code that consumes @google/genai is packages/core/src/providers/gemini/provider.ts, which uses generateContent, FinishReason, ThinkingLevel, and ThinkingConfig. The v2.0.0 release notes explicitly limit breaking changes to the Interactions Beta API, leaving GenerateContent entirely unaffected. Versions 2.1–2.8 are purely additive. No usage sites need updating.

No files require special attention.

Important Files Changed

Filename Overview
packages/core/package.json Bumps @google/genai peer dependency from ^1.52.0 to ^2.8.0; no other changes.
package-lock.json Lock file updated to resolve @google/genai 2.8.0 with its updated integrity hash; no transitive dependency changes visible.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["GeminiProvider"] -->|"calls"| B["client.models.generateContent()"]
    B -->|"@google/genai 1.52 → 2.8"| C["Gemini API"]
    C --> D["response.candidates / response.text"]
    D --> E{"FinishReason check"}
    E -->|"SAFETY"| F["ErodeError: PROVIDER_SAFETY_BLOCK"]
    E -->|"MAX_TOKENS"| G["ErodeError: PROVIDER_INVALID_RESPONSE"]
    E -->|"OK"| H["Return text"]
    B -.->|"ThinkingConfig\nThinkingLevel\n(unchanged in v2)"| B
Loading

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

@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
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 b1da8af to 005a95c Compare June 10, 2026 17:39
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