Skip to content

Releases: googleapis/js-genai

v2.0.0

07 May 19:56
9ff16b3

Choose a tag to compare

2.0.0 (2026-05-07)

⚠ BREAKING CHANGES - Interactions Only

Note: The breaking changes are only in interactions. GenerateContent usage in unaffected.
Refer to https://ai.google.dev/gemini-api/docs/interactions-breaking-changes-may-2026 for details

  • Add steps for interactions (c0814c4)
  • Deprecate legacy response_format and publish new polymorphic field. (68a6809)
  • Rename SSE events to interaction.created and interaction.completed (d1b836b)

Bug Fixes

  • timeout not functioning (850f680)

v1.52.0

04 May 22:48
e8c8c44

Choose a tag to compare

1.52.0 (2026-05-04)

Features

  • [Python] Multimodal file search (e626bef)
  • Multimodal file search (54caf6b)

v1.51.0

29 Apr 23:05
61013d6

Choose a tag to compare

1.51.0 (2026-04-29)

Features

  • [Interactions] Add FileCitation.{custom_metadata,media_id,page_number} (9e08ba9)
  • Add output_info to BatchJob (5327c60)
  • Add gemini-3.1-flash-tts-preview model to options (35c941b)
  • Add ImageResizeMode for GenerateVideos (faa1088)
  • Add new Gemini Deep Research agent models (6f83a05)
  • Add Vertex Dataset input and output options for batch jobs (6aa848e)
  • interaction-api: Add grounding tool usage breakdown to Interaction Usage. (e1c31ad)
  • introduce enterprise flag and GOOGLE_GENAI_USE_ENTERPRISE env var (cf7ad52)
  • Replace the more ambiguous rate field with sample_rate. (6c80464)

v1.50.1

14 Apr 21:46
aeb5cd3

Choose a tag to compare

1.50.1 (2026-04-14)

Bug Fixes

  • Refactor Webhook types in GenAI SDKs for easier useage (5100abc)
  • Rename webhooks.retrieve to webhooks.get. (db6e771)

v1.50.0

13 Apr 20:06
53829c4

Choose a tag to compare

1.50.0 (2026-04-13)

Caution

CRITICAL WARNING: Do not use this version if you are implementing or relying on webhooks. This release contains known issues regarding webhook sdk. Please use v1.51.0 or later.

Features

  • Add "eu" as a supported service location for Vertex AI platform. (2493f9c)
  • Add DeepResearchAgentConfig fields (3615ca2)
  • Add Live Avatar new fields (6a0ff96)
  • Add support for new audio MIME types: opus, alaw, and mulaw (7137f13)
  • add webhook and webhookConfig for js and python sdk (0f89605)
  • Add webhook_config to batches.create() and models.generate_videos() (894bc93)
  • Wire the webhook into python and js client. (b6c5d18)

v1.49.0

08 Apr 19:02
9deedb7

Choose a tag to compare

1.49.0 (2026-04-08)

Features

  • Introduce TYPE_L16 audio content and optional fields. (c62cb9a)

v1.48.0

01 Apr 03:41
ef91dab

Choose a tag to compare

1.48.0 (2026-03-31)

Features

  • Support dedicated TextAnnotationDelta for streaming tool responses (89552ba)

Bug Fixes

  • Fix service_tier enums. (9bdc2ae)

v1.47.0

28 Mar 03:28
585c177

Choose a tag to compare

1.47.0 (2026-03-27)

Features

  • Add custom_metadata to FileSearchResult. (083a1e3)
  • Add labels field to Veo configs (930c9c3)
  • Add mime type for Audio content (1ad80c6)
  • Add model_status to GenerateContentResponse (Gemini API only) (5e1110d)
  • Add part_metadata in Part (Gemini API only) (5e1110d)
  • Add service tier for interactions. (406de38)
  • Add service tier to GenerateContent. (0bfe800)
  • Add support for more image and audio MIME types in Interactions content (baadbfd)
  • Add supported models to the ModelOptions (94642b6)
  • genai: add TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO to TurnCoverage (fdacac2)
  • support hyperparameters in distillation tuning (716e021)
  • Support rendered_parts in GroundingSupport (5e1110d)

Bug Fixes

  • support us region routing (d391cff)

v1.46.0

18 Mar 04:36
b9d4b88

Choose a tag to compare

1.46.0 (2026-03-17)

Breaking changes

  • [Interactions] Breaking change to Interactions API to refactor TextContent annotations to use specific citation types (9fa8b1d)
  • [Interactions] Breaking change for Interactions, rename ContentDelta unions. (917f24f)
  • [Interactions] Breaking change to Interactions API to rename rendered_content to search_suggestions (cc6bd38)

Features

  • [Interactions] Add and update 'signature' fields for tool call/result content types. (e73ca5b)
  • [Interactions] Support Google Maps in Interactions (d0593e3)
  • Support include_server_side_tool_invocations for genai. (c627d6f)

Bug Fixes

  • Quote functionResponses key in LiveClientMessage (9740426)

v1.45.0

12 Mar 19:18
2d82de4

Choose a tag to compare

1.45.0 (2026-03-12)

Features

  • Add inference_generation_config to EvaluationConfig for Tuning (b4ac722)
  • enable language code for audio transcription config in Live API for Vertex AI (67f39ec)