firebase@11.4.0
📦 firebase-sdk
✨ 5 features🐛 4 fixes🔧 6 symbols
Summary
Firebase JS SDK v11.4.0 introduces Imagen 3 support in Vertex AI, SSR hydration for Remote Config, and fixes idempotent emulator connection issues.
Migration Steps
- If using SSR, implement initial state hydration using the new Remote Config support.
- Optionally configure the SDK using the FIREBASE_WEBAPP_CONFIG environment variable during installation.
✨ New Features
- Added support for modality-based token count in Vertex AI.
- Added support for initial state hydration from SSR contexts in Remote Config.
- Added support for the FIREBASE_WEBAPP_CONFIG environment variable at install time.
- Public Preview: Added support for generating images using the Imagen 3 model in Vertex AI.
- Created Node CJS and ESM bundles for @firebase/vertexai.
🐛 Bug Fixes
- Fixed an error caused by invoking connectDatabaseEmulator multiple times with the same parameters.
- Fixed an error caused by invoking connectAuthEmulator multiple times with the same parameters.
- Filtered out empty text parts from streaming responses in Vertex AI.
- Fixed a bug in App Check that caused an error to be thrown when the debug exchange failed.
🔧 Affected Symbols
connectDatabaseEmulatorconnectAuthEmulatorFIREBASE_WEBAPP_CONFIG@firebase/vertexai@firebase/remote-config@firebase/app-check