firebase@12.17.0
Breaking Changes📦 firebase-authView on GitHub →
⚠ 1 breaking✨ 2 features🐛 2 fixes⚡ 1 deprecations🔧 5 symbols
Summary
This release introduces text-to-speech capabilities and updates the AI backend naming convention. It also includes a change to Firestore's HTTP/2 flow control and removes the ability to initialize App Check without a provider.
⚠️ Breaking Changes
- The ability to call `initializeAppCheck` without a `provider` has been removed. You must now provide a provider when initializing App Check.
Migration Steps
- When initializing App Check, ensure you provide a `provider` to `initializeAppCheck`.
✨ New Features
- Added support for text-to-speech capabilities (both single- and multi-speaker configurations) for non-Live API models (e.g., Gemini TTS models).
- Changed the HTTP/2 flow control window size from 64 KB to 256 KB and added a `grpcFlowControlWindow` configuration option to `FirestoreSettings`. This change is only applicable to Node environments.
🐛 Bug Fixes
- Fixed ReDoS vulnerability in FirebaseError template replacement.
- Added more detailed error when `initializeApp()` is called a second time with different options or config, printing the different options or config.
Affected Symbols
⚡ Deprecations
- `VertexAIBackend` has been deprecated in favor of `AgentPlatformBackend`. This reflects the renaming of Vertex AI to Gemini Enterprise Agent Platform. The default location for `AgentPlatformBackend` is `global`, while `VertexAIBackend` defaulted to `us-central1`. To use `us-central1` with `AgentPlatformBackend`, specify `getAI(app, { backend: new AgentPlatformBackend('us-central1') })`. Note that most new Gemini models do not support `us-central1`.