NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4157 most downloaded on npm
Firebase JavaScript library for web and Node.js
Last release 3 days ago
01 Oct 2026
Ships on a steady schedule
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
15 years old
4220 releases · first in 2012
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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.
06ab5c4 #9236 - Added a new InferenceMode option for the hybrid on-device capability: prefer_in_cloud. When this mode is selected, the SDK will attempt to use a cloud-hosted model first. If the call to the cloud-hosted model fails with a network-related error, the SDK will fall back to the on-device model, if it's available.
c123766 #9253 - Change documentation tags for hybrid inference from "EXPERIMENTAL" to "public preview".
06ab5c4 #9236 - Added a new InferenceMode option for the hybrid on-device capability: prefer_in_cloud. When this mode is selected, the SDK will attempt to use a cloud-hosted model first. If the call to the cloud-hosted model fails with a network-related error, the SDK will fall back to the on-device model, if it's available.
120a308 #9221 - Added support for Realtime Remote Config for the web. This feature introduces a new onConfigUpdate API and allows web applications to receive near-instant configuration updates without requiring periodic polling.
06ab5c4, a4848b4, 120a308, 9b8ab02, c123766, 43276b0]:120a308 #9221 - Added support for Realtime Remote Config for the web. This feature introduces a new onConfigUpdate API and allows web applications to receive near-instant configuration updates without requiring periodic polling.120a308 #9221 - Added support for Realtime Remote Config for the web. This feature introduces a new onConfigUpdate API and allows web applications to receive near-instant configuration updates without requiring periodic polling.43276b0 #9242 - Increased the buffering-proxy detection timeout to minimize the false-positive rate. Updating WebChannel to ignore duplicate messages received from the server. Fix for https://github.com/firebase/firebase-js-sdk/issues/8250.
Updated dependencies [43276b0]:
@firebase/webchannel-wrapper@1.0.5
43276b0]:120a308]:43276b0 #9242 - Increased the buffering-proxy detection timeout to minimize the false-positive rate. Updating WebChannel to ignore duplicate messages received from the server. Fix for https://github.com/firebase/firebase-js-sdk/issues/8250.Added support for the code execution tool . Enabling this tool lets the model generate and run Python code to help it perform complex tasks like solving mathematical equations or visualizing data.
Added support for PREFER_IN_CLOUD mode when using hybrid on-device inference . This mode allows the SDK to fall back to the on-device model if the cloud-hosted model isn't available (for example, if the device is offline).
Updated the hybrid on-device inference feature from "experimental" to "public preview" status.
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
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.
095c098]: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
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.
9b63cd6 #9192 - Add thoughtSummary() convenience method to EnhancedGenerateContentResponse.
02280d7 #9201 - Add App Check limited use token option to getAI().
84b8bed #9222 - Fixed an issue where AIError messages were too long after including an entire response body.
c5f08a9 #9216 - Add 'includeSafetyAttributes' field to Predict request payloads.
cbef6c6 #9225 - Exclude ChromeAdapterImpl code from Node entry point.
9b63cd6 #9192 - Add thoughtSummary() convenience method to EnhancedGenerateContentResponse.
02280d7 #9201 - Add App Check limited use token option to getAI().
984086b, 9b63cd6, 84b8bed, c5f08a9, 02280d7, 2058432, 5501791, cbef6c6]:2058432 #9177 (fixes #9147) - Fixed a bug where a rejected promise with an empty message in a transaction would cause a timeout.2058432]:5501791 #9204 - Fixed issue where Firebase Functions SDK caused CORS errors when connected to emulators in Firebase Studio5501791]:Add support for the Gemini Live API.
Add thoughtSummary() convenience method to EnhancedGenerateContentResponse .
Add support for limited-use tokens with Firebase App Check. These limited-use tokens are required for an upcoming optional feature called replay protection . We recommend enabling the usage of limited-use tokens now so that when replay protection becomes available, you can enable it sooner because more of your users will be on versions of your app that send limited-use tokens.
Fixed an issue where AIError messages were too long after including an entire response body.
Added 'includeSafetyAttributes' field to Predict request payloads.
Excluded ChromeAdapterImpl code from Node entry point.
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.
e25317f, a4897a6]:a4897a6 #9178 (fixes #9136) - Fixed errors thrown when capturing long target element names for the out-of-the-box metrics.a4897a6]: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
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.
a4ccd25 #9068 - Add support for Grounding with Google Search.
25b60fd #9128 - Update node "engines" version to a minimum of Node 20.
ae976d0 #8948 (fixes #8944) - Fix typings for functionDeclaration.parameters.
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
e59cd7d #9137 - Convert TS enums exports in Firebase AI into const variables.
25b60fd #9128 - Update node "engines" version to a minimum of Node 20.
a4ccd25 #9068 - Add support for Grounding with Google Search.
d91169f #9151 (fixes #8863) - initializeServerApp now supports auto-initialization for Firebase App Hosting.
a4ccd25, 5200f7b, f11b552, 6ab4e13, 9771bff, 3d44792, ae976d0, e59cd7d, cb19688, f18b25f, d91169f, ec5f374, a029ce3, 25b60fd]:d91169f #9151 (fixes #8863) - initializeServerApp now supports auto-initialization for Firebase App Hosting.
25b60fd #9128 - Update node "engines" version to a minimum of Node 20.
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/app-check@0.11.0
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/app@0.14.0
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/auth@1.11.0
@firebase/util@1.13.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/database@1.1.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/database-types@1.0.16
f11b552 #9162 - Revert fix for issue where Firestore would produce undefined for document snapshot if "clear site data" button was pressed in the web browser. This fix was introduced in v11.6.1 but inadvertantly caused issues for some customers (https://github.com/firebase/firebase-js-sdk/issues/9056).
9771bff #9168 - Fixed a regression where the SDK did not re-connect to IndexedDb after disconnect (#9087)
a029ce3 #9143 - Further improved performance of UTF-8 string ordering logic, which had degraded in v11.3.0, was reverted in v11.3.1, and was re-introduced with some improvements in v11.5.0.
@firebase/webchannel-wrapper@1.0.4
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
Updated dependencies [f11b552, 9771bff, f18b25f, a029ce3, 25b60fd]:
@firebase/firestore@4.9.0
@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/functions@0.13.0
@firebase/util@1.13.0
a4ccd25, 5200f7b, 6ab4e13, 91fa484, e59cd7d, cb19688, d91169f, ec5f374, 25b60fd]:@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/storage@0.14.0
@firebase/util@1.13.0
@firebase/installations@0.6.19
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/analytics@0.10.18
@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/installations@0.6.19
@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/installations@0.6.19
@firebase/component@0.7.0
@firebase/util@1.13.0
@firebase/component@0.7.0
@firebase/messaging@0.12.23
@firebase/util@1.13.0
3d44792 #9120 (fixes #9067) - Fix bug where events are not sent if they exceed sendBeacon payload limit
@firebase/installations@0.6.19
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/performance@0.7.8
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/installations@0.6.19
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
@firebase/remote-config@0.6.6
@firebase/component@0.7.0
@firebase/logger@0.5.0
@firebase/util@1.13.0
Updated Node.js "engines" version to require a minimum of Node 20.
Updated the SDK to use ES2020. Developers whose apps are not using ES2020 or higher may need to update their tooling or configuration.
Removed the firebase/vertexai import alias. All the functionality is still available under the new name: firebase/ai , although some methods may be renamed (see AI Logic notes below).
Removed methods and symbols with the VertexAI name in them such as getVertexAI or VertexAIError . These were deprecated in 11.8.0 and were just wrappers on the newly introduced methods with the AI name, such as getAI or AIError .
Added support for Grounding with Google Search.
Added support for the Thinking Budget feature.
Added support for anyOf schemas.
Converted each enum export to a combination of a const map and a string literal type. This makes the constants available to non-TypeScript users and allows tree-shaking of unused variables.
Removed GroundingAttribution , which had previously been deprecated.
Fixed typings for functionDeclaration.parameters to prevent the use of optionalProperties when using an object literal.
Reverted a fix for an issue where Cloud Firestore would send undefined for a document snapshot if the "clear site data" button was pressed in the web browser. This fix was introduced in v11.6.1 but inadvertently caused IndexedDB issues for some customers. See GitHub Issue #9165 .
Further improved performance of UTF-8 string ordering logic, which had degraded in v11.3.0, was reverted in v11.3.1, and was reintroduced with some improvements in v11.5.0.
Fixed a regression where the SDK did not re-connect to IndexedDb after a disconnect.
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
`b97eab3` #9090 - Add deprecation label to totalBillableCharacters. totalTokens should be used instead.
For more detailed release notes, see Firebase JavaScript SDK Release Notes.
86155b3 #9115 - Added support for Firestore result types to be serialized with toJSON and then deserialized with fromJSON methods on the objects.Addeed support to resume onSnapshot listeners in the CSR phase based on serialized DataSnapshots and QuerySnapshots built in the SSR phase.
13e6cce #9085 - Add rollup config to generate modular typings for google3
Updated dependencies [13e6cce, 42ac401, bb57947, f73e08b, 86155b3, b97eab3]:
@firebase/remote-config@0.6.5
@firebase/analytics@0.10.17
@firebase/storage@0.13.14
@firebase/util@1.12.1
@firebase/app@0.13.2
@firebase/firestore@4.8.0
@firebase/ai@1.4.1
@firebase/remote-config-compat@0.2.18
@firebase/analytics-compat@0.2.23
@firebase/storage-compat@0.3.24
@firebase/app-check@0.10.1
@firebase/app-check-compat@0.3.26
@firebase/app-compat@0.4.2
@firebase/auth@1.10.8
@firebase/auth-compat@0.5.28
@firebase/data-connect@0.3.10
@firebase/database@1.0.20
@firebase/database-compat@2.0.11
@firebase/firestore-compat@0.3.53
@firebase/functions@0.12.9
@firebase/functions-compat@0.3.26
@firebase/installations@0.6.18
@firebase/installations-compat@0.2.18
@firebase/messaging@0.12.22
@firebase/messaging-compat@0.2.22
@firebase/performance@0.7.7
@firebase/performance-compat@0.2.20
86155b3 #9115 - Added support for Firestore result types to be serialized with toJSON and then deserialized with fromJSON methods on the objects.Addeed support to resume onSnapshot listeners in the CSR phase based on serialized DataSnapshots and QuerySnapshots built in the SSR phase.
f73e08b #9087 - Internal listener registration change for IndexedDB "versionchange" events.
Updated dependencies [42ac401]:
@firebase/util@1.12.1
@firebase/component@0.6.18
b97eab3 #9090 - Add deprecation label to totalBillableCharacters. totalTokens should be used instead.
Updated dependencies [42ac401]:
@firebase/util@1.12.1
@firebase/component@0.6.18
13e6cce #9085 - Add rollup config to generate modular typings for google3
Updated dependencies [42ac401]:
@firebase/util@1.12.1
@firebase/component@0.6.18
@firebase/installations@0.6.18
13e6cce, 42ac401]:bb57947 #9112 (fixes #8988) - Add "react-native" entry point to @firebase/app
Updated dependencies [42ac401]:
@firebase/util@1.12.1
@firebase/component@0.6.18
42ac401]:42ac401]:42ac401, bb57947]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401, f73e08b, 86155b3]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:42ac401]:13e6cce #9085 - Add rollup config to generate modular typings for google3
Updated dependencies [42ac401]:
@firebase/util@1.12.1
@firebase/component@0.6.18
@firebase/installations@0.6.18
13e6cce, 42ac401]:42ac401 #9111 - Fixed issue where Storage on Firebase Studio throws CORS errors.
Updated dependencies [42ac401]:
@firebase/util@1.12.1
@firebase/component@0.6.18
42ac401]:Added support for Firestore result types to be serialized with toJSON and then deserialized with fromJSON methods on the objects.
Added support to resume onSnapshot listeners in the CSR phase based on serialized DataSnapshot s and QuerySnapshot s built in the SSR phase.
Internal listener registration change for IndexedDB versionchange events.
Your coding agent can read these notes before it upgrades. Set up the MCP server →