Skip to content

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

Merged
parse merged 1 commit into
mainfrom
dependabot/npm_and_yarn/google/genai-2.8.0
Jun 15, 2026
Merged

build(deps): bump @google/genai from 1.52.0 to 2.8.0#211
parse merged 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 a Dependabot-generated major version bump of @google/genai from 1.52.0 to 2.8.0. The v2.0.0 release notes explicitly state that breaking changes are only in the Interactions API (GenerateContent usage is unaffected), and this codebase exclusively uses models.generateContent along with the GoogleGenAI, FinishReason, ThinkingLevel, and ThinkingConfig exports — all of which remain stable.

  • packages/core/package.json: Range updated from ^1.52.0 to ^2.8.0; no source-code changes required because the consumed API surface (generateContent, ThinkingLevel, ThinkingConfig, FinishReason) is unaffected by the major-version breaking changes.
  • package-lock.json: Lock file pinned to 2.8.0 with the updated integrity hash; no transitive dependency changes observed.

Confidence Score: 5/5

Safe to merge — the major-version jump does not affect the API surface this codebase uses.

Google's own release notes for v2.0.0 explicitly call out that breaking changes are limited to the Interactions API, and the codebase touches only models.generateContent, GoogleGenAI, FinishReason, ThinkingLevel, and ThinkingConfig — all of which are unchanged. No source files required modification, and the existing tests continue to cover the full provider behavior.

No files require special attention.

Important Files Changed

Filename Overview
packages/core/package.json Bumps @google/genai from ^1.52.0 to ^2.8.0; the only breaking changes in v2.0.0 are in the Interactions API, which this package does not use.
package-lock.json Lock file updated to resolve @google/genai at 2.8.0 with the correct integrity hash; no other dependency changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["GeminiProvider"] -->|"models.generateContent()"| B["@google/genai v2.8.0\n(was v1.52.0)"]
    B --> C["Gemini API"]
    A -->|"imports"| D["GoogleGenAI\nFinishReason\nThinkingLevel\nThinkingConfig"]
    D -->|"unaffected by v2 breaking changes"| E["✅ GenerateContent API\n(stable across v1→v2)"]
    B -.->|"breaking changes ONLY in"| F["❌ Interactions API\n(not used by this codebase)"]
Loading

Reviews (6): 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 2 times, most recently from b1da8af to 005a95c Compare June 10, 2026 17:39
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/google/genai-2.8.0 branch 2 times, most recently from 65cff90 to c63029b Compare June 15, 2026 08:33
@parse

parse commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

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 c63029b to 68e89eb Compare June 15, 2026 08:37
@parse parse merged commit 06d647e into main Jun 15, 2026
3 checks passed
@parse parse deleted the dependabot/npm_and_yarn/google/genai-2.8.0 branch June 15, 2026 08:38
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.

1 participant