Fixed a 400 error during function calling on gemini-3.6-flash where the SDK hardcoded an invalid 'function' role, and corrected structured-output validation to accept both application/json and text/x.enum. Auth now reconnects IndexedDB persistence after pagehide events (fixing Database is closing errors on iPadOS/iOS Safari), falls back to in-memory persistence when storage fails, and wraps storage errors in FirebaseError. Firestore adds Temporal.Instant conversion and fixes undefined fetch connection errors.
firebase-js-sdk
npx @buildinternet/releases get firebase-js-sdkImagen methods and types have been removed from the generative AI SDK. FunctionsError now includes response status in its message and custom data for enhanced debugging.
Fixed a regression where peerDependencies were unbundled in the standalone database-compat bundle. Data Connect now aligns SQL Connect Stream Transport exponential backoff parameters with other platform SDKs and adds a gRPC request header for platform and SDK version to enable cloud monitoring metrics collection.
initializeAppCheck can no longer be called without a provider, and VertexAIBackend is deprecated in favor of AgentPlatformBackend. Text-to-speech for non-Live API models (including Gemini TTS) is now supported, and Firestore's HTTP/2 flow control window was increased from 64 KB to 256 KB.
initializeAppCheck can now be called without a provider — it will auto-configure with ReCAPTCHA Enterprise using a site key from Firebase project config. Fixed a conflict error when both Auth and App Check used ReCAPTCHA Enterprise.
Added initializeDeviceModel() method for explicit on-device model initialization in hybrid mode, and minimum and maximum FieldValue operations for Firestore. Hybrid inference features are now generally available instead of public preview. Fixed several bugs including ChatSession.sendMessageStream() duplicate user turns, IndexedDB persistence fallback issues, App Check limited-use token generation, and messaging delivery metrics flushing.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
What's Changed
@firebase/ai@2.11.1
Patch Changes
-…
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
What's Changed
@firebase/ai@2.10.0
Minor Changes
-…
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
