Packages

@google/genai

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

Your version

2.31.0

23 Oct 2026Where it was published

2.32.0 is the newest release of 2.x.

Summary· from the note as AI read it

No actionNothing to change: 5 new, 3 fixed.

New

  • Add store to GenerateContentConfig (Gemini Developer API only) and labels to LiveConnectConfig.
  • add base_voice to PromptedVoice in GAOS SDK
  • Add generation_output_config to GenerateContentConfig
  • Add Live API in-session context updates (send_context_update) and types across GenAI SDKs.
  • include AudioContent, DocumentContent, and VideoContent in FunctionResultSubContent

In short

6 new3 fixed1 internal

Release note

Features

  • Add store to GenerateContentConfig (Gemini Developer API only) and labels to LiveConnectConfig.

  • Add base_voice to PromptedVoice in GAOS SDK

  • Add generation_output_config to GenerateContentConfig

  • Add Live API in-session context updates (send_context_update) and types across GenAI SDKs.

  • Include AudioContent, DocumentContent, and VideoContent in FunctionResultSubContent

  • sdks: enable fixes.openSingleValueEnumsOct2026 across all SDKs

  • Update discovery doc

Bug Fixes

  • genai: raise mid-stream SSE errors and dropped connections consistently across SDKs; add continuation conformance tests

  • interactions: sync InteractionSseEventInteractionStatus enum with InteractionStatus

  • triggers: fix agent triggers OpenAPI overlays, numeric fields, and SDK patches

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.