Firebase Auth
Backend & InfraFirebase Javascript SDK
Release History
firebase@12.9.02 fixes4 featuresThis release introduces new AI session handling capabilities with `LiveServiceGoingAwayNotice`, adds support for regex pipeline expressions in Firestore, and updates internal dependencies across the SDK.
firebase@12.8.05 featuresThis release introduces support for AbortSignal across AI services and features Firestore Pipelines for Enterprise in public preview. It also updates the default hybrid-in-cloud model to gemini-2.5-flash-lite.
firebase@12.7.03 fixesThis release updates several Firebase SDK packages, most notably upgrading the peer dependency requirement for react-native-async-storage in @firebase/auth to v2+. Several minor bug fixes and link updates were also included across AI and Firestore.
firebase@12.6.01 fix1 featureThis release introduces support for server prompt templates across the AI and core Firebase packages, alongside a critical fix in @firebase/data-connect regarding subscription unsubscription handling.
firebase@12.5.02 fixes4 featuresThis release introduces new real-time sending methods to LiveSession, adds support for audio transcriptions, and exposes inference source information in AI responses. Several methods related to media sending are deprecated.
firebase@12.4.0Breaking2 fixes4 featuresThis release introduces GA status for Imagen Generation and the Gemini Developer API, adds URL context tool support, and includes a breaking change requiring function calling handlers to return Promises.
firebase@12.3.02 fixes3 featuresThis release introduces Realtime Remote Config support for the web and the Code Execution feature. It also enhances AI inference capabilities with a new hybrid mode and includes bug fixes for Firestore connection stability.
firebase@12.2.11 fixThis patch release updates dependencies, specifically incorporating the fix for the accidental 'factory' export removal in @firebase/ai v2.2.1.
firebase@12.2.05 fixes3 featuresThis release introduces significant new features for AI capabilities, including Gemini Live API support and App Check integration, alongside various bug fixes across Firestore and Functions.
firebase@12.1.01 fix1 featureThe Firebase SDKs received minor updates, primarily adding hybrid inference options to the AI SDK and patching an issue in the Performance SDK related to long element names.
firebase@12.0.0Breaking2 fixes4 featuresThis major release (v12.0.0 for firebase, v2.0.0 for @firebase/ai) removes deprecated VertexAI APIs and GroundingAttribution, introduces support for anyOf schemas, and raises the minimum required Node.js version to 20.
firebase@11.10.01 fix2 featuresThis release (v11.10.0) introduces significant feature enhancements for Firestore regarding SSR/CSR hydration via JSON serialization and deprecates \`totalBillableCharacters\` in the AI package. Numerous underlying dependencies were also updated.
firebase@11.9.12 fixesThis release primarily contains patch updates across Firebase Auth and Storage packages to fix issues related to cookie handling and CORS errors when interacting with Firebase Studio.
firebase@11.9.01 fix2 featuresThis release introduces new schema building capabilities for AI features and includes a critical fix for cleaning up leaked WebChannel instances in Firestore.
firebase@11.8.12 fixesThis patch release primarily reverts a previous fix concerning scroll behavior and updates the logic for displaying the emulator connection banner across multiple Firebase SDK packages.
firebase@11.8.01 fixThis is an out-of-band release (version 11.7.3 for the firebase package) fixing an issue where the standard versioning workflow failed due to hardcoding the branch target.
firebase@11.7.31 fixThis is an out-of-band release (version 11.7.3 for the firebase package) fixing an issue where the standard versioning workflow failed due to hardcoding the branch to "main".
firebase@11.7.21 fixThis is an out-of-band release addressing a workflow issue where version bumping was incorrectly tied to the main branch. The main firebase package is now version 11.7.2.
firebase@11.7.11 fixThis patch release primarily reverts a previous change across several Firebase SDK packages, including @firebase/app and @firebase/app-check.
firebase@11.7.03 fixes1 featureThis release primarily updates internal dependencies across the SDK suite and introduces a minor change to default automaticDataCollectionEnabled to true in several core packages.
firebase@11.6.16 fixesThis release primarily focuses on bug fixes across several Firebase SDK components, including Auth, Firestore, and DataConnect, addressing issues related to URL parsing, filter handling, persistence errors, and fatal error reporting.
firebase@11.6.02 fixes2 featuresThis release introduces `Persistence.COOKIE` for synchronized authentication state management across front and backend, alongside several patch updates and bug fixes across various Firebase SDK components.
firebase@11.5.03 fixes4 featuresFirebase JavaScript SDK v11.5.0 brings minor updates including new enum values for Vertex AI and dependency updates across the suite. Patch fixes improve retry robustness and App Check error handling.
firebase@11.4.04 fixes8 featuresThis release introduces new features like modality-based token count support and Imagen 3 generation (Public Preview), alongside fixes for repeated emulator connection calls and dependency updates across multiple SDKs.
firebase@11.3.11 fixThis patch release primarily reverts a performance-impacting change related to UTF-8 encoding in string comparisons across several Firebase packages.
firebase@11.3.03 fixes4 featuresThis release introduces SSR compatibility improvements for App Check initialization and adds support for collecting Web Vitals metrics. It also deprecates ActionCodeSettings.dynamicLinkDomain in favor of ActionCodeSettings.linkDomain.
firebase@11.2.01 fix4 featuresThis release introduces support for custom signal targeting in Remote Config and updates several internal dependencies, including replacing a custom UUID function with crypto.randomUUID in App Check.
Common Errors
QuotaExceededError1 report`QuotaExceededError` in Firebase Auth often arises when browser storage (like localStorage or IndexedDB) used for persisting authentication state is full, especially with large user data or excessive caching. Fix this by reducing the data stored in localStorage/IndexedDB—clear unnecessary data periodically using `localStorage.removeItem()` or `indexedDB.deleteDatabase()`, and consider using shorter persistence times for authentication data with `firebase.auth().setPersistence()`.
FirebaseAuthError1 reportFirebaseAuthError often arises from clock skew issues between the client/server and Google's authentication servers, or from using an outdated Firebase SDK. Ensure your device/server time is properly synchronized using NTP and update your Firebase SDK to the latest version to prevent token verification failures due to library bugs or protocol changes. Consider implementing token refresh if the issue persists, or checking JWT audience configuration.
FirebaseAuthException1 reportFirebaseAuthException often arises from insufficient permissions, particularly related to email sending. Resolve this by ensuring your Firebase project is on the Blaze plan and that email sending is enabled and properly configured within the Firebase Authentication settings. Also, confirm your project has the necessary permissions to send emails through the configured method (e.g., using a verified sender identity if using a custom SMTP server).
UnknownHostException1 reportUnknownHostException in firebase-auth usually indicates a DNS resolution problem, meaning your application can't translate the Firebase server's hostname into an IP address. Ensure your device or emulator has a stable internet connection and that your network allows DNS lookups. You can also try switching to a public DNS server (like Google's 8.8.8.8) in your network settings to resolve potential DNS server issues.
DataConnectError1 reportThe "DataConnectError" in firebase-auth often arises from type mismatches or missing properties when working with user data, especially custom claims. Ensure the data you're passing to `setCustomUserClaims` adheres strictly to the expected type definitions, and that all required properties are present and correctly formatted according to your Firebase setup. Specifically, double-check the types of your custom claims and use the `as` keyword to properly typecast the user data when accessing properties.
StacklessClosedChannelException1 reportThe "StacklessClosedChannelException" in firebase-auth often stems from prematurely closing or interrupting streams/channels used for communication, especially during asynchronous operations like network requests. To fix this, ensure proper management of resources by verifying that streams/channels are fully open before use and only closed after completion of all associated tasks, using try-finally blocks or appropriate stream handling mechanisms to guarantee closure even in error scenarios; also consider increasing timeouts.
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