@google/genai
3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @google/genai From 2.17.0 to 2.32.0
17 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 54
- new
- 26
- fixes
Before you upgrade
Tick each one off as you go- Deprecated2.18.0
Release by release
- New
Add support for continuation_token and requires_continuation status
- New
Add video upscale task parameter
- New
interactions: add automatic_continuation to interactions.create in the TypeScript SDK
- New
interactions: declare continuation_ids on Interaction
- New
Support video understanding in Gemini Developer API
- Fixed
interactions: align SDK User-Agent and x-goog-api-client headers
- New
- New
Add
storetoGenerateContentConfig(Gemini Developer API only) andlabelstoLiveConnectConfig. - New
Add base_voice to PromptedVoice in GAOS SDK
- New
Add generation_output_config to GenerateContentConfig
- New
Add Live API in-session context updates (
send_context_update) and types across GenAI SDKs.
- New
- New
interactions: add gemini-4-argon to Model enum
- Fixed
Clear continuation state and preserve prompt feedback when continuation hop returns no candidates
- Fixed
Fix the grounding metadata merging for automatic continuation in generate content and generate content stream
- Fixed
Make continuation streams retry dropped hops, stop on prompt_feedback, and keep real errors in generate_content
- Fixed
Type GeminiNextGen signatures with public, importable names
- New
- Fixed
Concatenate output_text across multi-step model responses in a turn
- Fixed
- New
Accumulate streaming continuation usage metadata and expose initialPromptTokenCount
- New
Add
continuation_tokento the Interactionsinteraction.status_updateevent. - New
Add a CONTINUATION_REQUIRED Interaction status
- New
Add billable token counts fields
- New
- New
Support
"allowlist": "disabled"in environment network config.
- New
- New
Add
lyria-3.5,gemini-omni-1.1-flash, andgemini-omni-flash-previewto InteractionsModelenum - New
Support continuation_token in Interactions
- New
- New
Support continuation_token in GenerateContent
- New
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.