Packages

@google/genai

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

Upgrading @google/genai From 1.2.0 to 1.52.0

53 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.0Latest3.6.1
  1. 1.2.0yours
  2. 42 releases
  3. 1.43.0breaking
  4. 2 releases
  5. 1.46.0breaking
  6. 6 releases
  7. 1.52.0target

Before you upgrade

Tick each one off as you go
  • Breaking1.46.0
  • Breaking1.46.0
  • Breaking1.46.0
  • Breaking1.43.0

Release by release

  1. 1.52.0

    4 May 20261 new
    • New

      Multimodal file search

  2. 1.51.0

    29 Apr 20269 new
    • New

      Add FileCitation.{custom_metadata,media_id,page_number}

    • New

      Add output_info to BatchJob

    • New

      Add gemini-3.1-flash-tts-preview model to options

    • New

      Add ImageResizeMode for GenerateVideos

  3. 1.50.1

    14 Apr 20262 fixes
    • Fixed

      Refactor Webhook types in GenAI SDKs for easier useage

    • Fixed

      Rename webhooks.retrieve to webhooks.get.

  4. 1.50.0

    13 Apr 20267 new
    • New

      Add "eu" as a supported service location for Vertex AI platform.

    • New

      Add DeepResearchAgentConfig fields

    • New

      Add Live Avatar new fields

    • New

      Add support for new audio MIME types: opus, alaw, and mulaw

    • New

      Add webhook and webhookConfig for js and python sdk

    • New

      Add webhook_config to batches.create() and models.generate_videos()

    • New

      Wire the webhook into python and js client.

  5. 1.49.0

    8 Apr 20261 new
    • New

      Introduce TYPE_L16 audio content and optional fields.

  6. 1.48.0

    1 Apr 20261 new · 1 fix
    • New

      Support dedicated TextAnnotationDelta for streaming tool responses

    • Fixed

      Fix service_tier enums.

  7. 1.47.0

    28 Mar 202612 new · 1 fix
    • New

      Add custom_metadata to FileSearchResult.

    • New

      Add labels field to Veo configs

    • New

      Add mime type for Audio content

    • New

      Add model_status to GenerateContentResponse (Gemini API only)

  8. 1.46.0

    Migration needed18 Mar 20263 new · 1 fix
    • Breaking

      Breaking change to Interactions API to refactor TextContent annotations to use specific citation types

    • Breaking

      Breaking change for Interactions, rename ContentDelta unions.

    • Breaking

      Breaking change to Interactions API to rename rendered_content to search_suggestions

    • New

      Add and update 'signature' fields for tool call/result content types.

    • New

      Support Google Maps in Interactions

    • New

      Support include_server_side_tool_invocations for genai.

    • Fixed

      Quote functionResponses key in LiveClientMessage

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.