@google/genai
3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed
0.15.0 is the newest release of 0.4.x.
In short
1 breaking4 new
- Breaking
Remove the createPartFromVideoMetadata usability function.
Release note
Breaking changes
- Breaking
Remove the createPartFromVideoMetadata usability function.
Features
Enable union type for Schema when calling Gemini API.
Provide a better error message when trying to use VertexAI in browsers.
Support returned safety attributes for generate_images
Throw exception when given method is not supported in Gemini API or Vertex AI
Bug Fixes
Remove the createPartFromVideoMetadata usability function.
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.