@google/genai
3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @google/genai From 0.3.1 to 0.4.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 4
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.4.0
Release by release
- Breaking
Remove the createPartFromVideoMetadata usability function.
- New
Enable union type for Schema when calling Gemini API.
- New
Provide a better error message when trying to use VertexAI in browsers.
- New
Support returned safety attributes for generate_images
- New
Throw exception when given method is not supported in Gemini API or Vertex AI
- Breaking
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.