Packages

@google/genai

3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @google/genai From 2.32.0 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.32.0Latest3.6.1
  1. 2.32.0yours
  2. 3.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Release by release

  1. 3.0.0

    Migration needed6 Nov 20269 new · 4 fixes
    • Breaking

      Default Gemini Developer API version is now v1 (was v1beta)

    • Breaking

      Minimum supported Node.js version is now 22 (was 20)

    • Breaking

      interactions: CodeExecutionResultStep.result is now typed as Array<Content> | string (CodeExecutionResultStepResult) instead of string (b36ce99). The JSON and runtime value for text-only results are still a plain string, but TypeScript code reading step.result as a string may need to narrow the union (typeof step.result === 'string').

    • Breaking

      Drop support for Node 20; Node.js >=22 is now required

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.