firebase@11.3.0
📦 firebase-sdk
✨ 4 features🐛 3 fixes⚡ 1 deprecations🔧 8 symbols
Summary
This release introduces App Check token support for FirebaseServerApp in SSR, adds web vital metrics collection to Performance, and updates ActionCodeSettings for better link domain customization.
Migration Steps
- Update code using ActionCodeSettings.dynamicLinkDomain to use the new ActionCodeSettings.linkDomain property.
- For SSR environments, transition FirebaseServerApp initialization to provide an App Check token directly if App Check SDK initialization is not possible.
✨ New Features
- FirebaseServerApp can now be initialized with an App Check token directly, enabling App Check enforced products in SSR environments where the SDK cannot be initialized.
- Added ActionCodeSettings.linkDomain to customize Firebase Hosting link domains for mobile out-of-band email flows.
- Firebase Performance now collects web vital metrics (INP, CLS, LCP) as part of the page load event.
- Added custom request headers to Data Connect requests to identify the calling SDK type (JS/TS, React, Angular, etc.).
🐛 Bug Fixes
- Fixed a potential negative offset in heartbeat/reconnect calculations that caused lengthy delays in @firebase/database.
- Fixed a mismatch between the server and SDK regarding unicode string sorting.
- Modified heartbeat storage logic to discard the earliest heartbeat once the limit of 30 is reached.
🔧 Affected Symbols
FirebaseServerAppActionCodeSettings.linkDomainActionCodeSettings.dynamicLinkDomain@firebase/app@firebase/auth@firebase/performance@firebase/data-connect@firebase/database⚡ Deprecations
- Deprecated ActionCodeSettings.dynamicLinkDomain in favor of ActionCodeSettings.linkDomain.