firebase@11.10.0
📦 firebase-sdk
✨ 4 features🐛 2 fixes⚡ 1 deprecations🔧 8 symbols
Summary
Firebase JS SDK v11.10.0 introduces Firestore serialization support for SSR/CSR hydration and deprecates totalBillableCharacters in the AI package. It also improves React Native compatibility and internal IndexedDB handling.
Migration Steps
- In @firebase/ai, replace usage of `totalBillableCharacters` with `totalTokens` to prepare for future removal.
✨ New Features
- Added support for Firestore result types to be serialized with `toJSON` and deserialized with `fromJSON` methods.
- Added support to resume `onSnapshot` listeners in the Client-Side Rendering (CSR) phase using serialized snapshots from the Server-Side Rendering (SSR) phase.
- Added a "react-native" entry point to @firebase/app.
- Added rollup configuration to generate modular typings for google3.
🐛 Bug Fixes
- Fixed an issue where @firebase/app lacked a specific React Native entry point (#8988).
- Updated internal listener registration for IndexedDB 'versionchange' events in Firestore.
🔧 Affected Symbols
toJSONfromJSONonSnapshotDataSnapshotQuerySnapshottotalBillableCharacterstotalTokens@firebase/app⚡ Deprecations
- The `totalBillableCharacters` property in @firebase/ai is deprecated. Use `totalTokens` instead.