firebase@12.11.0
Breaking Changes📦 firebase-sdkView on GitHub →
⚠ 2 breaking✨ 2 features🐛 1 fixes🔧 41 symbols
Summary
This release introduces new array expression functions for Firestore and adds schema configuration for AI generation, alongside numerous dependency updates across the SDK suite. A breaking change affects Firestore Pipelines API validation timing.
⚠️ Breaking Changes
- Firestore Pipelines API: Defer validation of pipeline user data from initialization to the execute() call. If you were relying on immediate validation during pipeline setup, you must now ensure validation occurs during execution.
- Removed `updateEmulatorBanner()` function across multiple packages. If your code explicitly called this, it will now fail.
Migration Steps
- If using Firestore Pipelines, move any logic that relied on immediate user data validation during pipeline initialization to occur during the `execute()` call instead.
✨ New Features
- Added `responseJsonSchema` option to `GenerationConfig` in @firebase/ai.
- Added support for array expressions in Firestore: `arrayFirst`, `arrayFirstN`, `arrayLast`, `arrayLastN`, `arrayMinimum`, `arrayMinimumN`, `arrayMaximum`, `arrayMaximumN`, `arrayIndexOf`, `arrayLastIndexOf`, and `arrayIndexOfAll`.
🐛 Bug Fixes
- Fixed 'X is not a function' issues observed in server-side rendering APIs within @firebase/firestore.
Affected Symbols
@firebase/aiGenerationConfig@firebase/data-connectupdateEmulatorBanner()firebasearrayFirstarrayFirstNarrayLastarrayLastNarrayMinimumarrayMinimumNarrayMaximumarrayMaximumNarrayIndexOfarrayLastIndexOfarrayIndexOfAll@firebase/firestore@firebase/util@firebase/component@firebase/app@firebase/storage@firebase/auth@firebase/analytics@firebase/app-check@firebase/messaging@firebase/performance@firebase/remote-config@firebase/functions@firebase/app-compat@firebase/installations@firebase/firestore-compat@firebase/functions-compat@firebase/database-compat@firebase/storage-compat@firebase/auth-compat@firebase/analytics-compat@firebase/app-check-compat@firebase/installations-compat@firebase/messaging-compat@firebase/performance-compat@firebase/remote-config-compat