Skip to content

Conversation

@gloomcheng
Copy link

snyk-top-banner

Snyk has created this PR to upgrade @google/genai from 1.34.0 to 1.35.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: @google/genai
  • 1.35.0 - 2026-01-08

    1.35.0 (2026-01-07)

    Features

    • [Python] add RegisterFiles so gcs files can be used with genai. (1bf555c)
    • Add PersonGeneration to ImageConfig for Vertex Gempix (b0753d7)
  • 1.34.0 - 2025-12-17

    1.34.0 (2025-12-16)

    Features

    • Add minimal and medium thinking levels. (19f8969)
    • Add support for Struct in ToolResult Content. (750a4f7)
    • Add ultra high resolution to the media resolution in Parts. (fa9a99e)
    • Add ULTRA_HIGH MediaResolution and new ThinkingLevel enums (b8a7d8c)
    • Define and use DocumentMimeType for DocumentContent (c2f118d)
    • support multi speaker for Vertex AI (94d681b)
from @google/genai GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @google/genai from 1.34.0 to 1.35.0.

See this package in npm:
@google/genai

See this project in Snyk:
https://app.snyk.io/org/gloomcheng-BkHF6KwHwFPaf8ACEZRqCi/project/4c325e06-fa1b-4e85-b5ef-b18f7c4133ce?utm_source=github&utm_medium=referral&page=upgrade-pr
Copilot AI review requested due to automatic review settings January 30, 2026 15:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the @google/genai dependency in the packages/visionqa package from version 1.34.0 to 1.35.0 (a minor version update). The upgrade includes new features such as PersonGeneration for ImageConfig and RegisterFiles functionality, with no breaking changes identified.

Changes:

  • Updated @google/genai dependency version constraint from ^1.15.0 to ^1.35.0 in package.json
  • Updated resolved package version from 1.34.0 to 1.35.0 in package-lock.json with new integrity hash

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/visionqa/package.json Updates the @google/genai dependency version constraint from ^1.15.0 to ^1.35.0
packages/visionqa/package-lock.json Updates the resolved @google/genai version from 1.34.0 to 1.35.0 with updated integrity hash; removes "peer": true flag from @types/node (normal lockfile format change)
Files not reviewed (1)
  • packages/visionqa/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

},
"dependencies": {
"@google/genai": "^1.15.0"
"@google/genai": "^1.35.0"
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a discrepancy between the PR description and the actual change in package.json. The PR description states this upgrades from 1.34.0 to 1.35.0, but package.json shows the version constraint changing from ^1.15.0 to ^1.35.0. This is a much larger version jump in the declared dependency range.

While package-lock.json shows 1.34.0 to 1.35.0 (which matches the PR description and indicates that ^1.15.0 was resolving to 1.34.0), the package.json change represents updating the minimum supported version from 1.15.0 to 1.35.0, which is a significant jump of 20 minor versions.

This should be reviewed to ensure:

  1. The project doesn't need to maintain compatibility with versions between 1.15.0 and 1.35.0
  2. All features used in the codebase are compatible with this version range
  3. The PR description accurately reflects the scope of this change

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants