Change8

Migrating to Firebase SDK firebase@12.12.0

Version firebase@12.12.0 introduces 1 breaking change. This guide details how to update your code.

Released: 4/9/2026

1
Breaking Changes
2
Migration Steps
11
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

Imagen models`topK``temperature``responseSchema``responseJsonSchema``@react-native-async-storage/async-storage``Type` string union`startChat()``TemplateGenerativeModel`timestamp expressionstimegranularity values

Breaking Changes

Issue #1

Beta API Breaking Change: The `Type` string union has been changed to be a raw string in the main Firebase package.

Solution

Review usages of `Type` string union and update to use raw strings if necessary.

Migration Steps

  1. 1
    Migrate your apps to use Gemini Image models (the "Nano Banana" models) as Imagen models are deprecated.
  2. 2
    Update usages of timestamp expression parameters to use lowercase timegranularity values.

Release Summary

This release introduces streaming support for Data Connect, new expression capabilities for Pipelines, and deprecates all Imagen models. It also fixes several bugs related to model responses and dependency compatibility.

Need More Details?

View the full release notes and all changes for Firebase SDK firebase@12.12.0.

View Full Changelog