Reposen Monogram
Reposenreposen.se
/llm.txtGitHub Repo
googleapis icon

googleapis/js-genai

v3.0.0

Curated ai tools / ai-sdk / backend / ecosystem repository (googleapis/js-genai) tracked via conditional GitHub .atom polling.

BREAKING
What is googleapis/js-genai?

The Google GenAI JavaScript and TypeScript SDK provides a streamlined interface for interacting with Gemini models and AI services. This major release shifts default API behaviors and raises runtime engine prerequisites.

BACKENDnpm:@google/genaiTypeScriptreleases.atom
۱٬۷۰۵+۱۲ ★ (24h)
#ai-sdk#js-genai
AI Executive Summary & Artifact Size Impact

Summaries, compatibility signals, and upgrade commands on this page are generated automatically by AI without human editorial review on an "as-is" basis. Verify against official upstream GitHub release notes before upgrading, see Legal Disclaimer or Report an Error.

Quick Summary: What Changed · What To Do · Upgrade Effort

Default API version is v1 and Node.js >=22 required. Update Node.js and configure API version. Migration: High.

Semver: MAJOR·Manifest: package.json
Artifact Size Impactunavailable
Size Unavailable
Telemetry unmeasured for pre-release or source-only registry build
Breaking Changes, Release Highlights & Migration Snippet

Key Release Highlights (v3.0.0)

  • Default Gemini Developer API version changed from v1beta to v1, requiring explicit configuration if using beta model aliases.
  • Minimum required Node.js runtime version bumped from 20 to 22.
  • CodeExecutionResultStep.result type updated to Array<Content> | string requiring type narrowing in TypeScript.
  • Added GOOGLE_GENAI_API_VERSION environment variable support to globally control API versions.

Breaking Changes (Action Required)

  • Default API version for Gemini Developer API is now v1 instead of v1beta.
  • Minimum Node.js requirement increased to >=22.0.0.
  • CodeExecutionResultStep.result type changed from string to Array<Content> | string.
Copy-Paste Upgrade / Migration Snippet
import { GoogleGenAI } from '@google/genai';

const ai = new GoogleGenAI({
  apiVersion: 'v1beta',
});

Ecosystem Compatibility Matrix & Detected Graph Signals

Node.js >=22incompatible, Node.js version requirement bumped to >=22.0.0 following Node.js 20 EOL.
TypeScript >=5.0compatible, TypeScript typings updated for new union return types and configuration options.

Zero-Noise Historical Release Timeline (2)

Format: [Core Change] + [Required Action] + [Migration Effort]
v3.0.0BREAKING⚖️ Size Unavailable

Default API version is v1 and Node.js >=22 required. Update Node.js and configure API version. Migration: High.

v2.32.0COMPATIBLE⚖️ Size Unavailable

Add support for continuation_token and requires_continuati. Drop-in upgrade. Migration: None.

Upgrade & Migration Q&A (googleapis/js-genai v3.0.0)

Direct Answers for Engineers & AI Agents

Is googleapis/js-genai v3.0.0 safe to upgrade in production?

googleapis/js-genai v3.0.0 is classified as BREAKING (MAJOR release). Default API version is v1 and Node.js >=22 required. Update Node.js and configure API version. Migration: High.

What breaking changes or compatibility risks exist in googleapis/js-genai v3.0.0?

Default API version for Gemini Developer API is now v1 instead of v1beta. Minimum Node.js requirement increased to >=22.0.0. CodeExecutionResultStep.result type changed from string to Array<Content> | string.

What is the bundle size impact of @google/genai v3.0.0?

Measured bundle size telemetry is currently unavailable for @google/genai v3.0.0; verify build output locally before deploying.

How do I upgrade @google/genai to v3.0.0?

Upgrade @google/genai to v3.0.0 by running "npm install @google/genai@3.0.0" and applying the migration steps: import { GoogleGenAI } from '@google/genai'; const ai = new GoogleGenAI({ apiVersion: 'v1beta', });

Featured in Daily Cortex Briefs (1)

Browse All Daily Briefs →
DATA, STATE & UI PRIMITIVES · v3.0.0Edition 2026-11-09

styled-components/styled-components (styled-components@7.0.0-prerelease-20261106173006) & googleapis/js-genai (v3.0.0) — State, Data & UI Evolution

Default API version is v1 and Node.js >=22 required. Update Node.js and configure API version. Migration: High.