Packages

@google/genai

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

Upgrading @google/genai From 0.9.0 to 3.6.1

108 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.9.0Newest 0.x0.15.0
  1. 0.9.0yours
  2. 0.10.0major
  3. 0.11.0major
  4. 0.12.0major
  5. 0.13.0major
  6. 0.14.0major
  7. 1 release
  8. 0.15.0major
  9. 1.0.0major
  10. 56 releases
  11. 2.0.0major
  12. 35 releases
  13. 3.0.0major
  14. 6 releases
  15. 3.6.1target

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking1.46.0
  • Breaking1.46.0
  • Breaking1.46.0

Release by release

  1. 3.6.1

    18 Nov 20261 fix
    • Fixed

      Update sdk enum

  2. 3.6.0

    18 Nov 20261 new
    • New

      sdk: Add tool retrieval and function result schemas in public SDK

  3. 3.5.0

    18 Nov 20263 new · 1 fix
    • New

      environments: introduce self-hosted BYOS mode, system_instruction, custom_config, and environment_key in SDKs and CLI

    • New

      Generate Live Interactions types and auth-token client in the public SDKs.

    • New

      interactions: add experimental Live Interactions (WebSocket and WebRTC) SDK support

    • Fixed

      Return GenerateContentResponse instances for batch inlined responses (3ee5c10), refs #1433

  4. 3.4.0

    16 Nov 20263 new · 1 fix
    • New

      Add tool search types to the Interactions SDKs

    • New

      interactions: expose static file processing options

    • New

      Support batch inputs and usage metadata for Gemini embedding models on Gemini Enterprise API

    • Fixed

      Keep the SDK version bump in release imports

  5. 3.3.0

    12 Nov 20263 new
    • New

      Add XHIGH and xhigh to ThinkingLevel across GenAI SDKs and CLI.

    • New

      Add missing enum values to FinishReason and ReinforcementTuningThinkingLevel

    • New

      interactions: add gemini-4-hydrogen to Model enum

  6. 3.2.0

    11 Nov 20261 new
    • New

      Add the Decisions API (client.decisions.create) to the GenAI SDKs

  7. 3.1.0

    10 Nov 20265 new
    • New

      Add gemini-omni-1.2-flash and make it the gemini-api video default

    • New

      Add proactive_video to ProactivityConfig for the Live API.

    • New

      Add xhigh thinking level to Interactions ThinkingLevel

    • New

      Add usage_metadata (including traffic_type) and truncated to EmbedContentResponse for Gemini Enterprise API

    • New

      interactions: add gemini-4-carbon and gemini-omni-1.2-flash to Model enum

  8. 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

6 internal lines (docs, tests, tooling) left out.

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.