firebase@12.14.0
📦 firebase-sdkView on GitHub →
✨ 4 features🐛 5 fixes⚡ 1 deprecations🔧 7 symbols
Summary
This release introduces new APIs for FCM registration and on-device model initialization, promotes hybrid inference features to public status, and includes numerous bug fixes across Firestore, Messaging, and App Check.
Migration Steps
- Use the new API for creating and deleting FCM registration in @firebase/messaging instead of the old API.
✨ New Features
- Added initializeDeviceModel() method to @firebase/ai and firebase to allow explicit initialization of on-device model in hybrid mode.
- Hybrid inference features tags changed from "beta" (public preview) to "public" (generally available) across @firebase/ai and firebase.
- Added minimum and maximum FieldValue operations in @firebase/firestore and firebase.
- Added new API for creating and deleting FCM registration in @firebase/messaging.
🐛 Bug Fixes
- Fixed a bug in @firebase/ai where ChatSession.sendMessageStream() and TemplateChatSession.sendMessageStream() sent duplicate user turns in the request.
- Updated _isAvailable() in @firebase/auth and @firebase/auth-compat to use retry logic for the initial IndexedDB availability check, preventing incorrect fallbacks to in-memory persistence.
- Improved robustness and logging in query listen stream creation and re-creation in @firebase/firestore.
- Fixed delivery metrics Firelog flushing when BigQuery export is enabled in @firebase/messaging by adjusting flush scheduling and processing logic.
- Fixed a bug in @firebase/app-check where getLimitedUseToken() did not correctly get a limited use token because it did not send the limited_use param.
Affected Symbols
⚡ Deprecations
- Old API for creating and deleting FCM registration in @firebase/messaging is deprecated in favor of a new API.