Packages

@google/genai

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

Your version

1.6.0

21 Jun 2025Where it was published

1.52.0 is the newest release of 1.x.

In short

4 new1 fixed

Release note

Features

  • Allow users to access headers for generateContent method and generateContentStream

  • Enable json schema for controlled output and function declaration.

  • Include status code and export HTTP errors

  • Support extra_body in HttpOptions

Bug Fixes

  • Fix build errors when the mcp package is not installed.

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.