NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4157 most downloaded on npm
Firebase JavaScript library for web and Node.js
Latest stable
13.2.0
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
4232 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
3da3c2b, fe5dd06, 3a5d6a0, 0079975]:fe5dd06]:3da3c2b #10535 - Update the on-demand ID token expiration buffer (Buffer.TOKEN_REFRESH) from 30 seconds to 5 minutes to match User.getIdToken() documentation and the proactive refresh offset.
0079975 #10393 - - Fix an unhandled exception when a popup or redirect operation (e.g., signInWithPopup) is cancelled by a second call before the first operation finishes initializing.
Fix an unhandled promise rejection during initial IndexedDB cache population if the page navigates away or is backgrounded while loading.
Fix an uncatchable unhandled promise rejection when background reCAPTCHA Enterprise token verification fails during initializeRecaptchaConfig or signInWithPhoneNumber.
3a5d6a0]:Your coding agent can read these notes before it upgrades. Set up the MCP server →
Updated the on-demand ID token expiration buffer ( Buffer.TOKEN_REFRESH ) from 30 seconds to 5 minutes to match User.getIdToken() documentation and the proactive refresh offset. See GitHub Issue #10530 .
Fixed an unhandled exception when a popup or redirect operation (for example, signInWithPopup ) is cancelled by a second call before the first operation finishes initializing.
Fixed an unhandled promise rejection during initial IndexedDB cache population if the page navigates away or is backgrounded while loading.
Fixed an uncatchable unhandled promise rejection when background reCAPTCHA Enterprise token verification fails during initializeRecaptchaConfig or signInWithPhoneNumber .
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
d7bb0e1 #10200 - Added DML stages (delete, update, insert, upsert) and the literals source stage to Pipelines, and added the atomic option to PipelineExecuteOptions for executing a pipeline in a single transaction.76123a4, d7bb0e1]:d7bb0e1 #10200 - Added DML stages (delete, update, insert, upsert) and the literals source stage to Pipelines, and added the atomic option to PipelineExecuteOptions for executing a pipeline in a single transaction.76123a4 #10462 (fixes #10438) - Only clear the persisted user during Auth initialization when the initial user reload fails with a user invalidation error (auth/user-token-expired or auth/user-disabled), preserving the session across transient server errors such as HTTP 5xx UNAVAILABLE.76123a4]:d7bb0e1]:Nothing published for this version
Nothing published for this version
Nothing published for this version
`f83cc32` #10392 - Removed APIs that were previously deprecated.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
42ce99c #10380 - Refactored TemplateGenerativeModel.generateContent and TemplateGenerativeModel.generateContentStream to accept a unified TemplateRequest object ({ templateId, templateVariables, toolConfig? }) as the first parameter.
Made templateVariables required in both TemplateRequest and StartTemplateChatParams.
f83cc32 #10392 - Removed APIs that were previously deprecated.
Removed the previously deprecated VertexAIBackend (and BackendType.VERTEX_AI). Use AgentPlatformBackend (and BackendType.AGENT_PLATFORM) instead.
The only difference for AgentPlatformBackend is the default
location for accessing the model.
The default location for AgentPlatformBackend is global, whereas the default location for VertexAIBackend was us-central1. To use us-central1 with AgentPlatformBackend, specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1.
Updated default hybrid-in-cloud model to gemini-3.5-flash-lite.
b70fa6f #10398 - Refactored Part into a discriminated union with explicit type properties, introduced UnknownPart for raw wire and user-provided inputs, stripped type discriminators on wire egress, and ensured defensive deep copying for chat history.
87adc59 #10362 - Deprecated candidateCount, temperature, topP, topK, presencePenalty, and frequencyPenalty in both GenerationConfig and LiveGenerationConfig. These parameters are unsupported in Gemini 3.x and later models.
565da23 #10334 - Exported a ChatSession interface instead of the ChatSession class.
Cleaned up AI Logic doc comments.
42ce99c #10380 - Refactored TemplateGenerativeModel.generateContent and TemplateGenerativeModel.generateContentStream to accept a unified TemplateRequest object ({ templateId, templateVariables, toolConfig? }) as the first parameter.
Made templateVariables required in both TemplateRequest and StartTemplateChatParams.
f83cc32 #10392 - Removed APIs that were previously deprecated.
Removed the previously deprecated VertexAIBackend (and BackendType.VERTEX_AI). Use AgentPlatformBackend (and BackendType.AGENT_PLATFORM) instead.
The only difference for AgentPlatformBackend is the default
location for accessing the model.
The default location for AgentPlatformBackend is global, whereas the default location for VertexAIBackend was us-central1. To use us-central1 with AgentPlatformBackend, specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1.
Updated default hybrid-in-cloud model to gemini-3.5-flash-lite.
b70fa6f #10398 - Refactored Part into a discriminated union with explicit type properties, introduced UnknownPart for raw wire and user-provided inputs, stripped type discriminators on wire egress, and ensured defensive deep copying for chat history.
87adc59 #10362 - Deprecated candidateCount, temperature, topP, topK, presencePenalty, and frequencyPenalty in both GenerationConfig and LiveGenerationConfig. These parameters are unsupported in Gemini 3.x and later models.
565da23 #10334 - Exported a ChatSession interface instead of the ChatSession class.
Cleaned up AI Logic doc comments.
a034f68 #10384 (fixes #9426) - Suppress false-positive CONFIG_UPDATE_STREAM_ERROR events emitted by onConfigUpdated when the application enters the background, stop recording a connection backoff penalty for these expected closes, and reconnect if the application returns to the foreground before the connection finishes closing.
Updated dependencies [410d620, 87adc59, 42ce99c, f83cc32, 5ab2fc6, a034f68, 565da23, b70fa6f, 46ae308, 142b409, ac44c69, 9b3d815]:
5ab2fc6 #7887 - UpdateData<T> allows indexed types or Record<X, T> for T.
142b409 #10367 - Include Temporal namespace declaration in global_index.d.ts.
410d620 #10418 (fixes #10402) - Preserve the persisted user during Auth initialization when the initial user reload fails due to a transient quota (auth/quota-exceeded) or rate-limit (auth/too-many-requests) error.410d620]:
a034f68 #10384 (fixes #9426) - Suppress false-positive CONFIG_UPDATE_STREAM_ERROR events emitted by onConfigUpdated when the application enters the background, stop recording a connection backoff penalty for these expected closes, and reconnect if the application returns to the foreground before the connection finishes closing.a034f68]:
87adc59, 42ce99c, f83cc32, a034f68, 565da23, b70fa6f, 46ae308]:
9b3d815 #10388 - Migrate test suite to Vitest, catch unhandled emulator ping, and update type-only re-exports.9b3d815]:
Breaking change : Refactored TemplateGenerativeModel.generateContent and TemplateGenerativeModel.generateContentStream to accept a unified TemplateRequest object ( { templateId, templateVariables, toolConfig? } ) as the first parameter, and made templateVariables required in both TemplateRequest and StartTemplateChatParams .
Breaking change : Removed the previously deprecated VertexAIBackend (and BackendType.VERTEX_AI ). Use AgentPlatformBackend (and BackendType.AGENT_PLATFORM ) instead.
The only difference for AgentPlatformBackend is the default location for accessing the model . The default location for AgentPlatformBackend is global , whereas the default location for VertexAIBackend was us-central1 . To use us-central1 with AgentPlatformBackend , specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1 .
Breaking change : Updated the default hybrid in-cloud model to gemini-3.5-flash-lite .
Breaking change : Removed previously deprecated APIs, including AI.location (use AI.backend.location ), LiveSession.sendMediaChunks() and LiveSession.sendMediaStream() (use sendTextRealtime() , sendAudioRealtime() , and sendVideoRealtime() ), LanguageModelCreateCoreOptions.topK and LanguageModelCreateCoreOptions.temperature , GoogleMaps.enableWidget , GroundingMetadata.retrievalQueries (use groundingSupports ), and CountTokensResponse.totalBillableCharacters (use totalTokens ).
Breaking change : Refactored Part into a discriminated union with explicit type properties, introduced UnknownPart for raw wire and user-provided inputs, stripped type discriminators on wire egress, and ensured defensive deep copying for chat history.
Breaking change : Exported a ChatSession interface instead of the ChatSession class.
Deprecated candidateCount , temperature , topP , topK , presencePenalty , and frequencyPenalty in both GenerationConfig and LiveGenerationConfig . These parameters are unsupported in Gemini 3.x and later models.
Added support for BSON types.
Updated UpdateData<T> to allow indexed types or Record<X, T> for T . See GitHub issue #7813 and GitHub issue #10283 .
Added the Temporal namespace declaration to global_index.d.ts .
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
6b17ef5 #10319 - Fixed the issue where the SDK hardcodes invalid 'function' role, causing 400 errors during function calling on gemini-3.6-flash6f86596 #10320 - Fixed a client-side validation guardrail that incorrectly blocked text/x.enum when responseSchema or responseJsonSchema was provided. The SDK now correctly accepts both application/json and text/x.enum for structured outputs.6b17ef5 #10319 - Fixed the issue where the SDK hardcodes invalid 'function' role, causing 400 errors during function calling on gemini-3.6-flash8676365, 8316986, b74b53c, 0e8554b, 50213a1, 6b17ef5, 392bce0, 6f86596]:50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.50213a1]:8676365 #10325 (fixes #10318) - Allow IndexedDB persistence reconnection on demand after pagehide events, fixing Database is closing errors during signInWithPopup authentication on iPadOS and iOS Safari.
8316986 #10326 (fixes #10311) - Gracefully fall back to in-memory persistence when persistence initialization fails or storage is inaccessible, preventing initialization deadlocks and ensuring authStateReady() resolves.
b74b53c #10335 - Wrap storage and persistence errors in FirebaseError (auth/internal-error) during current user updates, ensuring error.code is always defined and attaching the underlying exception under error.customData.originalError.
50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.
0e8554b #10301 - feat(firestore): support conversion and serialization for Temporal.Instant to Firestore's Timestamp
50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.
392bce0 #10340 - Fixes fetch connection error messages that were undefined.
50213a1 #10233 - Update api-extractor and documentation pipeline. Includes some fixes to documentation comments and links.50213a1]:Fixed an issue where the SDK hardcoded an invalid function role, causing 400 errors during function calling on newer Gemini models like gemini-3.6-flash .
Fixed client-side validation logic that incorrectly blocked text/x.enum when responseSchema or responseJsonSchema was provided. The SDK now correctly accepts both application/json and text/x.enum for structured outputs.
Allowed IndexedDB persistence reconnection on demand after pagehide events, fixing "Database is closing" errors during signInWithPopup authentication on iPadOS and iOS Safari. See GitHub issue #10318 .
Added a graceful fallback to in-memory persistence when persistence initialization fails or storage is inaccessible, preventing initialization deadlocks and ensuring authStateReady() resolves. See GitHub issue #10311 .
Wrapped storage and persistence errors in FirebaseError ( auth/internal-error ) during current user updates, ensuring error.code is always defined and attaching the underlying exception under error.customData.originalError .
Added support for conversion and serialization between Temporal.Instant and Firestore's Timestamp .
Fixed an issue where fetch connection error messages were displayed as undefined.
Nothing published for this version
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
d4b83fd #10267 - Imagen methods and types have been removed due to Imagen models being shut down. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models).7fc34cb #10248 - Fixed incorrect detection of LanguageModel that prevented usage of on-device models in Chrome Extensions.
Updated dependencies [589b24b]:
f52201b #9942 (fixes #9807) - Add more details to FunctionsError. Add HTTP status code to the message field and add url to customData.
d4b83fd #10267 - Imagen methods and types have been removed due to Imagen models being shut down. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models).
72632ee #10270 - Fix issue preventing App Check tokens from being properly recognized when sent in Firebase SQL Connect Realtime requests
Updated dependencies [d80fb9a, 589b24b, 44d336b, 981204d, f52201b, d4b83fd, 2e22761, 72632ee, 7fc34cb]:
f52201b #9942 (fixes #9807) - Add more details to FunctionsError. Add HTTP status code to the message field and add url to customData.Updated dependencies [589b24b]:
f52201b #9942 (fixes #9807) - Add more details to FunctionsError. Add HTTP status code to the message field and add url to customData.Updated dependencies [589b24b, f52201b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
d80fb9a #10262 - Updated App Check debug token log message to include Firebase CLI commands, Firebase Console registration link, and debug token guide.
Updated dependencies [589b24b]:
Updated dependencies [d80fb9a, 589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
44d336b #10300 (fixes #10264) - Fix issue where signInWithPopup and other background tab operations fail with "Database is closing/hidden" by removing the visibilitychange listener from IndexedDBLocalPersistence.
Updated dependencies [589b24b]:
Updated dependencies [589b24b, 44d336b]:
Updated dependencies [589b24b]:
981204d #10256 - Update WebSocket URL path for SQL Connect server affinity, to improve server resource usage efficiency and performance
72632ee #10270 - Fix issue preventing App Check tokens from being properly recognized when sent in Firebase SQL Connect Realtime requests
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
2e22761 #10250 - Fix the cross-database document reference log naming the referenced document rather than the document that contains the reference.
Updated dependencies [589b24b]:
Updated dependencies [589b24b, 2e22761]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Updated dependencies [589b24b]:
Imagen methods and types have been removed due to Imagen models being shut down. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models) .
Fixed incorrect detection of LanguageModel that prevented usage of on-device models in Chrome Extensions.
Updated the WebSocket URL path for SQL Connect server affinity, to improve server resource usage efficiency and performance.
Fixed an issue preventing App Check tokens from being properly recognized when sent in Firebase SQL Connect Realtime requests.
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
79d7011 #10221 - Align SQL Connect Stream Transport exponential backoff parameters with other platform SDKs. No need for public release note.
b0e23db #10217 - Add grpc request header for platform name and sdk version to enable metrics collection in cloud monitoring.
993e8a6 #10243 (fixes #10242) - Fix regression causing peerDeps to be unbundled in standalone bundle.Nothing published for this version
`736fa3f` #10146 - Fix ReDoS vulnerability in FirebaseError template replacement
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
7c5e6e5 #10145 - Added support for text-to-speech capabilities (both single- and multi-speaker configurations) for non-Live API models (for example, Gemini TTS models).
178daf7 #10184 - Deprecated VertexAIBackend in favor of AgentPlatformBackend to reflect the renaming of Vertex AI to Gemini Enterprise Agent Platform.
The only difference for AgentPlatformBackend is the default location for accessing the model. The default location for AgentPlatformBackend is global, whereas the default location for VertexAIBackend is us-central1. To use us-central1 with AgentPlatformBackend, specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1.
736fa3f]:
80a285d #10182 - Add more detailed error when initializeApp() is called a second time with different options or config, that prints the different options or config.
Updated dependencies [736fa3f]:
736fa3f]:
7c5e6e5 #10145 - Added support for text-to-speech capabilities (both single- and multi-speaker configurations) for non-Live API models (for example, Gemini TTS models).
d2d89d2 #10116 - Changed the HTTP/2 flow control window size from 64 KB to 256 KB, and added a grpcFlowControlWindow configuration option to FirestoreSettings. This change is only applicable to Node environments.
177f08d #10210 - Remove ability to call initializeAppCheck without a provider.
178daf7 #10184 - Deprecated VertexAIBackend in favor of AgentPlatformBackend to reflect the renaming of Vertex AI to Gemini Enterprise Agent Platform.
The only difference for AgentPlatformBackend is the default location for accessing the model. The default location for AgentPlatformBackend is global, whereas the default location for VertexAIBackend is us-central1. To use us-central1 with AgentPlatformBackend, specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1.
736fa3f, 7c5e6e5, d2d89d2, 80a285d, 0fe3bbc, 8a9ad3a, 177f08d, 2894e91, 178daf7, 1d24e5f]:
d2d89d2 #10116 - Changed the HTTP/2 flow control window size from 64 KB to 256 KB, and added a grpcFlowControlWindow configuration option to FirestoreSettings. This change is only applicable to Node environments.736fa3f #10146 - Fix ReDoS vulnerability in FirebaseError template replacement
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f, 177f08d]:
736fa3f, 80a285d, 177f08d]:
8a9ad3a #10123 (fixes #10041) - Prevent null hydration / unexpected sign-out on pagehide or reload when using IndexedDB persistence.
Updated dependencies [736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f, 8a9ad3a]:
736fa3f]:
1d24e5f #10133 - Refactor data connect streaming tests and revert to 15 second idle timeout for streaming connections (doesn't need a public release note)
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f, d2d89d2, 2894e91]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
736fa3f]:
0fe3bbc #10097 - Added "@firebase/app" as a peerDependency of compat packages.
Updated dependencies [736fa3f]:
Added a more detailed error when initializeApp() is called a second time with different options or config. The new error prints the new and previous configs to make it easier to identify the difference.
Added @firebase/app as a peerDependency of compat packages. This may address some errors and warnings from modern package managers such as pnpm and Yarn PnP.
Added support for text-to-speech capabilities (both single- and multi-speaker configurations) for non-Live API models (for example, Gemini TTS models).
Deprecated VertexAIBackend in favor of AgentPlatformBackend to reflect the renaming of Vertex AI to Gemini Enterprise Agent Platform.
The only difference for AgentPlatformBackend is the default location for accessing the model . The default location for AgentPlatformBackend is global , whereas the default location for VertexAIBackend is us-central1 . To use us-central1 with AgentPlatformBackend , specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1 .
Changed the HTTP/2 flow control window size from 64 KB to 256 KB, and added a grpcFlowControlWindow configuration option to FirestoreSettings . This change is only applicable to Node.js environments.
Fixed a ReDoS vulnerability in FirebaseError template replacement.
Nothing published for this version
Nothing published for this version
Nothing published for this version
`f47bebf` #10106 - Support realtime for Remote Config rollouts
Nothing published for this version
Nothing published for this version
`9bef5ab` #10035 - Deprecated GoogleMaps.enableWidget, following the announcement by the Grounding for Google Maps service.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
420156e #10023 - Add ability to call initializeAppCheck without a provider. If no provider is passed to initializeAppCheck, App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config.420156e #10023 - Add ability to call initializeAppCheck without a provider. If no provider is passed to initializeAppCheck, App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config.e389f70 #9991 (fixes #9405) - Fix error causing Auth and AppCheck conflict when both are using ReCAPTCHA Enterprise.043c0ab #9929 - Merge offline pipeline implementation with one minor API change
420156e #10023 - Add ability to call initializeAppCheck without a provider. If no provider is passed to initializeAppCheck, App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config.
043c0ab, e389f70, 420156e, 9bef5ab, 33521f2, 6a9d3d1, 712091c]:9bef5ab #10035 - Deprecated GoogleMaps.enableWidget, following the announcement by the Grounding for Google Maps service.
6a9d3d1 #10026 (fixes #9006) - Wrap params.systemInstruction with formatSystemInstruction() in the ChatSession constructor.
420156e]:e389f70 #9991 (fixes #9405) - Fix error causing Auth and AppCheck conflict when both are using ReCAPTCHA Enterprise.
712091c #10049 - Update referrer policy for auth API requests from no-referrer to strict-origin-when-cross-origin to support HTTP Referrer-restricted API keys in browser environments.
712091c #10049 - Update referrer policy for auth API requests from no-referrer to strict-origin-when-cross-origin to support HTTP Referrer-restricted API keys in browser environments.
@firebase/auth@1.13.3
043c0ab]:33521f2]:Fixed a bug where systemInstruction text strings passed to startChat() caused an error when making a request. See GitHub issue #9006 .
Deprecated GoogleMaps.enableWidget , following the announcement by the Grounding for Google Maps service.
Added ability to call initializeAppCheck() without a provider. If no provider is passed to initializeAppCheck() , App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config passed to initializeApp() . Note: Backend support for this capability is not yet available, but it's coming soon.
Fixed a bug that caused a conflict between Authentication and App Check when both were using reCAPTCHA Enterprise. See GitHub issue #9405 .
Fixed a bug that caused a conflict between Authentication and App Check when both were using reCAPTCHA Enterprise. See GitHub issue #9405 .
Updated referrer policy for Authentication API requests from no-referrer to strict-origin-when-cross-origin to support API keys restricted by HTTP Referrer.
Nothing published for this version
Nothing published for this version
Nothing published for this version
`3b337b9` #9917 - Add new API and deprecate old API for creating and deleting fcm registration
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
f0752a0 #9800 - Add initializeDeviceModel() method to allow explicit initialization of on-device model in hybrid mode.
bd08cae #9926 - Change "beta" (public preview) tags to "public" (generally available) for all hybrid inference features.
bd2644b #9956 (fixes #9938) - Fix a bug that caused ChatSession.sendMessageStream() and TemplateChatSession.sendMessageStream() to send duplicate user turns in the request.3b337b9 #9917 - Add new API and deprecate old API for creating and deleting fcm registration
f0752a0 #9800 - Add initializeDeviceModel() method to allow explicit initialization of on-device model in hybrid mode.
d5b0f61 #9913 - Added minimum and maximum FieldValue operations
bd08cae #9926 - Change "beta" (public preview) tags to "public" (generally available) for all hybrid inference features.
2697919 #9845 (fixes #9732) - Updated _isAvailable() to use retry logic for the initial IndexedDB availability check, preventing incorrect fallbacks to in-memory persistence in environments where transactions may occasionally drop on startup.
Updated dependencies [3b337b9, bd2644b, 2697919, f0752a0, d5b0f61, 4d3f71a, 85f6f4e, d675580, bd08cae, 51e93fc, a1a2455]:
@firebase/messaging@0.13.0
@firebase/app@0.14.13
@firebase/ai@2.13.0
@firebase/auth@1.13.2
@firebase/auth-compat@0.6.7
@firebase/firestore@4.15.0
@firebase/remote-config@0.8.4
@firebase/app-check@0.11.4
@firebase/data-connect@0.7.1
@firebase/messaging-compat@0.2.27
@firebase/functions@0.13.5
@firebase/app-compat@0.5.13
@firebase/firestore-compat@0.4.10
@firebase/remote-config-compat@0.2.25
@firebase/app-check-compat@0.4.4
@firebase/functions-compat@0.4.5
a1a2455 #9916 - Fix delivery metrics Firelog flushing when BigQuery export is enabled: schedule the first flush immediately (next timer tick) instead of waiting a full LOG_INTERVAL_IN_MS, start processing only when there are queued events (so enabling export with an empty queue does not arm a day-long idle timer that blocks later stageLog flushes), and ensure staging a log starts the service when needed. When export is disabled, clear any queued events and cancel pending flush timers immediately (rather than waiting for the background loop).
Updated dependencies [3b337b9]:
@firebase/messaging-interop-types@0.2.5
d675580 #9987 - Fix a bug where getLimitedUseToken() did not correctly get a limited use token because it did not send the limited_use param.d675580]:2697919 #9845 (fixes #9732) - Updated _isAvailable() to use retry logic for the initial IndexedDB availability check, preventing incorrect fallbacks to in-memory persistence in environments where transactions may occasionally drop on startup.2697919 #9845 (fixes #9732) - Updated _isAvailable() to use retry logic for the initial IndexedDB availability check, preventing incorrect fallbacks to in-memory persistence in environments where transactions may occasionally drop on startup.
Updated dependencies [2697919]:
@firebase/auth@1.13.2
51e93fc #9936 - Eliminated the 1-minute delay before closing idle backend connections to save resources.3b337b9]:4d3f71a]:The hybrid inference feature using the Chrome Prompt API is now generally available.
Added initializeDeviceModel() method, which must be called explicitly to initialize the on-device model before making any on-device inference calls.
Fixed a bug that caused ChatSession.sendMessageStream() and TemplateChatSession.sendMessageStream() to send duplicate user turns in the request.
Added minimum and maximum FieldValue operations.
Improved robustness and logging in query listen stream creation and re-creation. See GitHub PR #9985 .
Nothing published for this version
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
ffa39f6 #9795 - Added LiveSession.resumeSession() to allow resuming a previous LiveSession. Also added contextWindowCompression feature.
86dc0db #9819 - Added support for ImageConfig (aspect ratio and size).
Expanded FinishReason values to include all currently available values provided by the models.
345c5f6 #9458 - AI Logic : Feature : Added support for Grounding with Google Maps.
Updated dependencies [8e384c9]:
@firebase/app-check-interop-types@0.3.4
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
714b41d #9905 - Hardened the Firebase SQL Connect streaming transport with intelligent reconnection, query de-duplication, and resume optimizations.Updated dependencies [8e384c9]:
@firebase/auth-interop-types@0.2.5
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
ffa39f6 #9795 - Added LiveSession.resumeSession() to allow resuming a previous LiveSession. Also added contextWindowCompression feature.
714b41d #9905 - Hardened the Firebase SQL Connect streaming transport with intelligent reconnection, query de-duplication, and resume optimizations.
86dc0db #9819 - Added support for ImageConfig (aspect ratio and size).
Expanded FinishReason values to include all currently available values provided by the models.
345c5f6 #9458 - AI Logic : Feature : Added support for Grounding with Google Maps.
Updated dependencies [96e81ff, ffa39f6, 402b1f0, 8e384c9, 714b41d, 86dc0db, 345c5f6]:
@firebase/firestore@4.14.1
@firebase/ai@2.12.0
@firebase/auth-compat@0.6.6
@firebase/analytics@0.10.22
@firebase/analytics-compat@0.2.28
@firebase/app@0.14.12
@firebase/app-check@0.11.3
@firebase/app-check-compat@0.4.3
@firebase/app-compat@0.5.12
@firebase/app-types@0.9.5
@firebase/auth@1.13.1
@firebase/data-connect@0.7.0
@firebase/database@1.1.3
@firebase/database-compat@2.1.4
@firebase/firestore-compat@0.4.9
@firebase/functions@0.13.4
@firebase/functions-compat@0.4.4
@firebase/installations@0.6.22
@firebase/installations-compat@0.2.22
@firebase/messaging@0.12.26
@firebase/messaging-compat@0.2.26
@firebase/performance@0.7.12
@firebase/performance-compat@0.2.25
@firebase/remote-config@0.8.3
@firebase/remote-config-compat@0.2.24
@firebase/storage@0.14.3
@firebase/storage-compat@0.4.3
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/installations@0.6.22
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/analytics@0.10.22
@firebase/analytics-types@0.8.4
@firebase/component@0.7.3
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/app-check@0.11.3
@firebase/app-check-types@0.5.4
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/app@0.14.12
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/auth@1.13.1
@firebase/auth-types@0.13.1
@firebase/component@0.7.3
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/app-check-interop-types@0.3.4
@firebase/auth-interop-types@0.2.5
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/database@1.1.3
@firebase/database-types@1.0.20
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/app-types@0.9.5
@firebase/util@1.15.1
96e81ff #9884 - Added search stage support for languageCode, offset, limit, and retrievalDepth
402b1f0 #9842 - fix(firestore): Assertion ID: ca9 (pendingResponses less than 0) caused by target creation race condition
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/util@1.15.1
@firebase/webchannel-wrapper@1.0.6
@firebase/firestore@4.14.1
@firebase/component@0.7.3
@firebase/firestore-types@3.0.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/app-check-interop-types@0.3.4
@firebase/auth-interop-types@0.2.5
@firebase/component@0.7.3
@firebase/messaging-interop-types@0.2.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/functions@0.13.4
@firebase/functions-types@0.6.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/installations@0.6.22
@firebase/installations-types@0.5.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/installations@0.6.22
@firebase/messaging-interop-types@0.2.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/messaging@0.12.26
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/installations@0.6.22
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/performance@0.7.12
@firebase/performance-types@0.2.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/installations@0.6.22
@firebase/logger@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/logger@0.5.1
@firebase/remote-config@0.8.3
@firebase/remote-config-types@0.5.1
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/component@0.7.3
@firebase/storage@0.14.3
@firebase/storage-types@0.8.4
@firebase/util@1.15.1
Updated dependencies [8e384c9]:
@firebase/template-types@0.2.4
Added support for Grounding with Google Maps.
Added LiveSession.resumeSession() to allow resuming a previous LiveSession .
Added contextWindowCompression configuration to LiveGenerationConfig .
Added support for ImageConfig (aspect ratio and size).
Expanded FinishReason response values to align them with the values the currently supported models may return.
Added search stage support for languageCode , offset , limit , and retrievalDepth .
Fixed a race condition that caused "ca9: pendingResponses less than 0" assertions.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
23ab5b9 #9817 - Update code execution and URL context features to reflect that they are generally available and no longer public preview.
6db5af4 #9840 (fixes #9832) - Fix TemplateChatSession type so it does not error on TypeScript build. See Github issue #9832.
Fixed the TemplateChatSession type so it does not error on TypeScript build. See GitHub Issue #9832 .
Update code execution and URL context features to reflect that they are generally available and no longer public preview.
Nothing published for this version
`0e343c8` #9725 - Beta API Breaking Change: Change Type string union to be a raw string.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
cccb6d0 #9771 - [deprecated] All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models).
6cbe865 #9816 - Deprecate topK and temperature properties for hybrid inference mode.
9c8e864 #9763 - Add startChat() for TemplateGenerativeModel.
9c8e864 #9763 - Add automatic function calling and chat history for server prompt templates.
f87c15e #9791 (fixes #9792) - Fixed a bug that causes the model to error if the user specifies responseSchema or responseJsonSchema.715c042 #9740 (fixes #9739) - Updated the peer dependency range for @react-native-async-storage/async-storage to support both v2 and v334c63bf #9822 - Fix header names for auth and app check tokens over streaming
87d5cc1 #9809 - Add streaming support for Firebase Data Connect.
cccb6d0 #9771 - [deprecated] All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models).
5cd6509 #9728 - Add support for timestamp_trunc, timestamp_diff and timestamp_extract expressions
34c63bf #9822 - Fix header names for auth and app check tokens over streaming
715c042 #9740 (fixes #9739) - Updated the peer dependency range for @react-native-async-storage/async-storage to support both v2 and v3
6cbe865 #9816 - Deprecate topK and temperature properties for hybrid inference mode.
31bddcd #9734 - Added public preview support for full-text and geo search in Pipelines.
44ad4cc #9702 - Add support for logical expressions nor and switchOn.
e8f14eb #9753 - Add support for pipeline expressions ifNull and coalesce.
9c8e864 #9763 - Add startChat() for TemplateGenerativeModel.
9c8e864 #9763 - Add automatic function calling and chat history for server prompt templates.
87d5cc1 #9809 - Add streaming support for Firebase Data Connect.
0e343c8 #9725 - Beta API Breaking Change: Change Type string union to be a raw string.
dd10ed7 #9750 - Refactor the parameters for timestamp expressions and change all timegranularity value to lowercase
Updated dependencies [cccb6d0, 44c234c, 5cd6509, b2c4646, 34c63bf, 715c042, 6cbe865, 31bddcd, dd10ed7, 44ad4cc, e8f14eb, f87c15e, 9c8e864, 9c8e864, 4e99d4b, 334b266, cecd028, 87d5cc1, 0e343c8]:
@firebase/ai@2.11.0
@firebase/app@0.14.11
@firebase/firestore@4.14.0
@firebase/app-types@0.9.4
@firebase/data-connect@0.6.0
@firebase/auth@1.13.0
@firebase/app-compat@0.5.11
@firebase/firestore-compat@0.4.8
@firebase/auth-compat@0.6.5
@firebase/database-compat@2.1.3
5cd6509 #9728 - Add support for timestamp_trunc, timestamp_diff and timestamp_extract expressions
31bddcd #9734 - Added public preview support for full-text and geo search in Pipelines.
44ad4cc #9702 - Add support for logical expressions nor and switchOn.
e8f14eb #9753 - Add support for pipeline expressions ifNull and coalesce.
0e343c8 #9725 - Beta API Breaking Change: Change Type string union to be a raw string.
dd10ed7 #9750 - Refactor the parameters for timestamp expressions and change all timegranularity value to lowercase
4e99d4b #9752 - Read user data when using internal pipeline proto serialization.
334b266 #9765 - Read user data from pipeline in union stage. Fixes GitHub Issue #9764
715c042]:b2c4646]:Caution: This version introduced a regression in AI Logic that may cause TypeScript builds to fail. Upgrade to 12.12.1 or later.
Added startChat() and automatic function calling capability to TemplateGenerativeModel .
All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models) .
Deprecated the topK and temperature properties for on-device usage in hybrid inference mode.
Fixed a bug that caused the model to error if the user specifies responseSchema or responseJsonSchema .
Added support for the following expressions: parent , timestamp_trunc , timestamp_diff , timestamp_extract , nor , switchOn , ifNull , and coalesce .
Added public preview support for full-text and geo search in Pipelines.
Added subquery support to Pipelines.
Beta API Breaking Change : Change the isType parameter Type from a type union to a raw string. (Applies to the Pipelines API only.)
Refactored the parameters for timestamp expressions and changed all TimeGranularity string values to lowercase. (Applies to the Pipelines API only.)
Fixed a bug affecting union queries in Pipelines. See GitHub Issue #9764 .
Nothing published for this version
Nothing published for this version
Nothing published for this version
`54ff05e` #9715 - Beta API Breaking change: Defer pipeline user data validation from initialization to execute(). This breaking change is allowed in a…
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
2f7f426]:
9d33dd6 #9614 - Add validateArgsWithOptions() to Data Connect (internal change, no need to add to public release notes).2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)
Updated dependencies [2f7f426]:
9d33dd6 #9614 - Add validateArgsWithOptions() to Data Connect (internal change, no need to add to public release notes).
843a8d7 #9693 (fixes #9625) - Added responseJsonSchema to GenerationConfig.
78384d3 #9492 - Add support for array expressions arrayFirst, arrayFirstN,arrayLast,arrayLastN,arrayMinimum,arrayMinimumN,arrayMaximum,arrayMaximumN,arrayIndexOf, arrayLastIndexOf and arrayIndexOfAll
54ff05e, 9d33dd6, 843a8d7, a383770, 78384d3, 2f7f426]:
78384d3 #9492 - Add support for array expressions arrayFirst, arrayFirstN,arrayLast,arrayLastN,arrayMinimum,arrayMinimumN,arrayMaximum,arrayMaximumN,arrayIndexOf, arrayLastIndexOf and arrayIndexOfAll54ff05e #9715 - Beta API Breaking change: Defer pipeline user data validation from initialization to execute(). This breaking change is allowed in a non-major release since the Firestore Pipelines API is currently in Public Preview.
a383770 #9622 - Fixed X is not a function issues observed in server side rendering APIs.
2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)
Updated dependencies [2f7f426]:
2f7f426]:
2f7f426]:
Update SDK_VERSION.
Updated dependencies [2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)
Updated dependencies [2f7f426]:
2f7f426]:
2f7f426]:
2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)
Updated dependencies [2f7f426]:
2f7f426]:
2f7f426]:
54ff05e, a383770, 78384d3, 2f7f426]:
2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)
Updated dependencies [2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426]:
2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)
Updated dependencies [2f7f426]:
2f7f426]:
Added support for array expressions arrayFirst , arrayFirstN , arrayLast , arrayLastN , arrayMinimum , arrayMinimumN , arrayMaximum , arrayMaximumN , arrayIndexOf , arrayLastIndexOf and arrayIndexOfAll .
Beta API Breaking Change: Pipeline validation now occurs during execution rather than initialization. Action required: Update your error handling to catch user data validation errors on execute() instead of during pipeline initialization.
Fixed "X is not a function" issues observed in server side rendering APIs.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
eebba69]:eebba69]:14d9745 #9483 - Support added for mapSet, mapValues, mapEntries, mapKeys Pipelines expressions.
47f8521 #9489 - Added automatic function calling capability when using ChatSession.
f8996c4 #9479 - Support added for the following string Pipeline expressions: stringRepeat, stringReplaceOne, stringReplaceAll, stringIndexOf, ltrim, rtrim.
eebba69 #9439 - Add Memory-Based caching to Queries in Firebase Data Connect.
659d9bb #9576 - Add support for first, last, array_agg and array_agg_distinct expressions
852162b #9498 - Add support for rand and trunc pipeline expressions
6041509 #9484 - feat(firestore): Support added for the isType Pipeline expression.
14d9745, 47f8521, f8996c4, eebba69, 659d9bb, 852162b, 6041509]:14d9745 #9483 - Support added for mapSet, mapValues, mapEntries, mapKeys Pipelines expressions.
f8996c4 #9479 - Support added for the following string Pipeline expressions: stringRepeat, stringReplaceOne, stringReplaceAll, stringIndexOf, ltrim, rtrim.
659d9bb #9576 - Add support for first, last, array_agg and array_agg_distinct expressions
852162b #9498 - Add support for rand and trunc pipeline expressions
6041509 #9484 - feat(firestore): Support added for the isType Pipeline expression.
eebba69]:eebba69]:eebba69]:Update SDK_VERSION.
Updated dependencies [eebba69]:
@firebase/util@1.14.0
@firebase/component@0.7.1
eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:14d9745, f8996c4, eebba69, 659d9bb, 852162b, 6041509]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:eebba69]:Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.