Firebase SDK
Backend & InfraFirebase Javascript SDK
Release History
firebase@12.10.07 featuresThis release introduces significant enhancements to Firestore Pipeline expressions, including map, string manipulation, aggregation, and type checking functions. It also adds automatic function calling support for ChatSession and memory-based caching for Data Connect queries.
firebase@12.9.02 fixes4 featuresThis release introduces new AI session handling capabilities with `LiveServiceGoingAwayNotice` and adds support for regex pipeline expressions in Firestore. Documentation tags for code execution and URL context have also been cleaned up.
firebase@12.8.01 fix5 featuresThis release introduces support for AbortSignal across several packages, enables specification of thinking levels in AI configurations, and launches Firestore Pipelines for Enterprise in public preview. Dependency updates were also applied across the SDKs.
firebase@12.7.0Breaking3 fixes2 featuresThis release updates the root firebase package to v12.7.0, featuring a major peerDependency bump for React Native storage and various bug fixes across AI and Firestore modules.
firebase@12.6.01 fix1 featureThis release introduces support for server prompt templates in the AI module and fixes a subscription lifecycle bug in Data Connect.
firebase@12.5.01 fix5 featuresThis release updates the Firebase JS SDK with significant enhancements to the AI Live API, including new real-time media methods and audio transcription support, while also exposing new Auth features and error codes.
firebase@12.4.0Breaking2 fixes5 featuresThis release promotes Imagen and Gemini Developer APIs to General Availability and introduces the URL context tool. It also includes a breaking change to the Live API's function calling handler to support asynchronous responses.
firebase@12.3.03 fixes4 featuresThis release introduces Realtime Remote Config for web, a new cloud-preferring hybrid inference mode for AI, and critical bug fixes for Firestore's WebChannel communication.
firebase@12.2.1Breaking1 fixThis patch release primarily addresses a cleanup in the @firebase/ai package by removing an accidental 'factory' export and updates the main firebase package to include this fix.
firebase@12.2.04 fixes4 featuresThis release introduces Gemini Live API support and new AI convenience methods, while fixing critical bugs in Firestore transactions and Functions emulator CORS handling.
firebase@12.1.01 fix1 featureThis release introduces hybrid inference options to the Firebase AI SDK and fixes a bug in the Performance SDK related to capturing long target element names.
firebase@12.0.0Breaking1 fix4 featuresFirebase JS SDK v12 introduces breaking changes to the AI module, including the removal of VertexAI APIs and GroundingAttribution, while adding support for Google Search grounding and Node 20.
firebase@11.10.02 fixes4 featuresFirebase 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.
firebase@11.9.12 fixesThis patch release addresses cookie handling and CORS issues within Firebase Studio for the Auth and Storage modules.
firebase@11.9.01 fix2 featuresFirebase 11.9.0 introduces enhanced Schema builder capabilities for AI features and fixes a WebChannel memory leak in Firestore.
firebase@11.8.12 fixesThis patch release reverts a scroll behavior fix and refines the logic for displaying emulator banners across Auth, Database, Firestore, Functions, and Storage modules.
firebase@11.8.01 fixFirebase JS SDK version 11.7.3 is an out-of-band manual release to bypass a CI/CD workflow limitation regarding branch hardcoding.
firebase@11.7.31 fixFirebase JS SDK version 11.7.3 is an out-of-band manual release to bypass a CI/CD workflow limitation regarding branch hardcoding.
firebase@11.7.2Firebase JavaScript SDK version 11.7.2 is a manual out-of-band release triggered to address workflow issues with the app version bump step.
firebase@11.7.11 fixThis patch release primarily reverts changes introduced in a previous PR (#8999) across the core Firebase app and App Check packages to maintain stability.
firebase@11.7.03 fixes2 featuresFirebase JS SDK v11.7.0 updates the default data collection behavior and provides several fixes for Firebase Studio integration, specifically regarding Auth redirects and SSL.
firebase@11.6.15 fixes1 featureThis release includes several bug fixes for Firestore filters and persistence, Auth URL parsing, and improved error reporting for Firestore.
firebase@11.6.01 fix2 featuresThis release introduces cookie-based authentication persistence for better frontend/backend synchronization and improves error reporting in VertexAI and Data Connect.
firebase@11.5.0Breaking3 fixes4 featuresFirebase JS SDK v11.5.0 introduces enhancements to Vertex AI token counting, improves AppCheck error reporting, and updates Data Connect to v1 backend endpoints.
firebase@11.4.04 fixes5 featuresFirebase JS SDK v11.4.0 introduces Imagen 3 support in Vertex AI, SSR hydration for Remote Config, and fixes idempotent emulator connection issues.
firebase@11.3.11 fixThis patch release reverts a UTF-8 encoding change in Firestore string comparisons to resolve a reported performance regression.
firebase@11.3.03 fixes4 featuresThis 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.
firebase@11.2.0Breaking1 fix2 featuresFirebase 11.2.0 introduces custom signal targeting for Remote Config and migrates Data Connect to native Promises. It also improves security in App Check by utilizing the native Web Crypto API for UUID generation.
Common Errors
FirebaseAuthException1 reportFirebaseAuthException usually indicates issues with your Firebase Authentication setup, such as disabled providers or incorrect configuration. Enable the necessary sign-in methods (email/password, Google, etc.) in the Firebase console under Authentication -> Sign-in method. Also, double-check your project's billing plan is active and verify your domain if using custom email templates to allow email sending.
QuotaExceededError1 reportThe QuotaExceededError in Firebase typically occurs when the browser's local storage or IndexedDB is full due to excessive data storage, often from caching or persistent storage of large datasets. To fix this, regularly clear unnecessary data stored locally by Firebase, or implement a more efficient storage strategy, for example, by only storing necessary data or offloading data storage to the backend. Consider implementing data deletion/expiration policies to automatically remove obsolete entries.
DataConnectError1 reportThe "DataConnectError" in firebase-sdk often arises from TypeScript compilation issues when `skipLibCheck` is disabled, particularly due to incompatible or outdated type definitions within your project or its dependencies. To resolve this, try updating all firebase-related packages to their latest versions using `npm update` or `yarn upgrade`, and ensure your `tsconfig.json` includes a compatible TypeScript version. Consider enabling `skipLibCheck` as a temporary diagnostic step or if a full type check isn't strictly necessary.
StacklessClosedChannelException1 reportThe "StacklessClosedChannelException" in firebase-sdk often arises from premature closing of gRPC channels used for communication, especially during emulator interactions or during stream handling. Ensure proper error handling within your code to avoid closing channels before operations are complete and consider implementing retry mechanisms with exponential backoff for transient network issues. Review your emulator setup to ensure proper resource allocation and avoid overwhelming the system with concurrent tasks.
UnknownHostException1 reportThe "UnknownHostException" typically arises when the Firebase SDK cannot resolve the hostname it's trying to connect to, usually due to network connectivity issues or DNS resolution problems. Ensure your device or emulator has a stable internet connection and that your DNS settings are correctly configured. You can also try clearing your DNS cache or switching to a different DNS server (like Google's 8.8.8.8) to resolve the issue.
FirebaseAuthError1 reportFirebaseAuthError often indicates an issue with the Firebase project configuration or the token itself. Ensure the Firebase project ID and API key in your application match the Firebase project where the token was generated, and that the token hasn't been tampered with. Refresh the Firebase configuration within your application and regenerate a new ID token to rule out cached or corrupted tokens. Lastly, check for clock skew between the client and server by looking at 'iat' and 'exp' fields to ensure validity.
Related Backend & Infra Packages
Production-Grade Container Scheduling and Management
Node.js JavaScript runtime ✨🐢🚀✨
Promise based HTTP client for the browser and node.js
A modern runtime for JavaScript and TypeScript.
Deliver web apps with confidence 🚀
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Subscribe to Updates
Get notified when new versions are released