Gen AI SDK (JS) 2.31.0
Google · SDK / library · v2.31.0 · Released
View official release notes ↗ Copy link
2.31.0 (2026-10-22)
Features
- Add
storetoGenerateContentConfig(Gemini Developer API only) andlabelstoLiveConnectConfig. (0b52aa5) - add base_voice to PromptedVoice in GAOS SDK (d62820b)
- Add generation_output_config to GenerateContentConfig (e82a75a)
- Add Live API in-session context updates (
send_context_update) and types across GenAI SDKs. (177ee68) - include AudioContent, DocumentContent, and VideoContent in FunctionResultSubContent (aeaed4e)
- sdks: enable
fixes.openSingleValueEnumsOct2026across all SDKs (0059474) - update discovery doc (40d6e98)
Bug Fixes
- genai: raise mid-stream SSE errors and dropped connections consistently across SDKs; add continuation conformance tests (38f6ebc)
- interactions: sync InteractionSseEventInteractionStatus enum with InteractionStatus (be6aa9f)
- triggers: fix agent triggers OpenAPI overlays, numeric fields, and SDK patches (0e9031d)
Source: Google's official Gen AI SDK (JS) release notes at github.com. Text reproduced from the source for reference; all rights belong to Google. Patchwire is not affiliated with Google.
← Older: v2.30.0Newer: v2.32.0 →
Get new Gen AI SDK (JS) releases by email
Every AI dev-tool release, including Gen AI SDK (JS), in one short email each morning. Free. The digest is launching soon; join the list to get it from day one.
By subscribing you agree to our Terms and Privacy Policy. Unsubscribe anytime.
Nearby Gen AI SDK (JS) releases
- v2.32.0 · Oct 29, 2026
- v2.30.0 · Oct 14, 2026
- v2.29.1 · Oct 13, 2026
- v2.29.0 · Oct 13, 2026
- v2.28.0 · Oct 7, 2026
Full Gen AI SDK (JS) changelog →
More from Google
Other Google changelogs: Gemini API · Gemini CLI · Gemini app & news · Gen AI SDK (Python). All Google releases →