Change8

firebase@12.18.0

📦 firebase-sdkView on GitHub →
1 features🐛 2 fixes🔧 5 symbols

Summary

This release removes Imagen methods and types due to model shutdown, offering Gemini Image models as a replacement. It also enhances `FunctionsError` with more details and fixes an App Check token recognition issue.

Migration Steps

  1. Migrate your apps to use Gemini Image models (the "Nano Banana" models) as a replacement for Imagen models.

✨ New Features

  • Added more details to `FunctionsError`, including HTTP status code to the `message` field and `url` to `customData`.

🐛 Bug Fixes

  • Fixed incorrect detection of LanguageModel that prevented usage of on-device models in Chrome Extensions.
  • Fixed issue preventing App Check tokens from being properly recognized when sent in Firebase SQL Connect Realtime requests.

Affected Symbols