Packages

@google/genai

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

Your version

0.10.0

23 Apr 2025Where it was published

0.15.0 is the newest release of 0.10.x.

In short

6 new2 fixed

Release note

Features

  • Add additional realtime input fields

  • Add helper function GenerateContentResponse.data to return concatenation of all inline data parts.

  • Allow users to set AbortSignal inside per request config to cancel http request

  • Support default field in Schema when users call Gemini API

  • Support setting the default base URL in clients via setDefaultBaseUrls()

  • Use ws:// for websockets established over http base URLs.

Bug Fixes

  • Return actual error text from streaming response (808e0b5), closes #346

  • Update _api_client to parse and throw errors during processing stream responses (fixes #461)

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.