Skip to content

Releases: firebase/firebase-js-sdk

firebase@12.4.0

09 Oct 11:58
b7e18d0

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.4.0

Minor Changes

  • 0bb2fe6 #9272 - Added a sendFunctionResponses method to LiveSession, allowing function responses to be sent during realtime sessions.
    Fixed an issue where function responses during audio conversations caused the WebSocket connection to close. See GitHub Issue #9264.

  • Breaking Change: Changed the functionCallingHandler property in StartAudioConversationOptions so that it now must return a Promise<FunctionResponse>.
    This breaking change is allowed in a minor release since the Live API is in Public Preview.

  • 0ffcb26 #9254 - Added support for the URL context tool, which allows the model to access content from provided public web URLs to inform and enhance its responses.

Patch Changes

  • 2596dd1 #9255 - Imagen Generation is now Generally Available (GA).

  • 2596dd1 #9255 - The Gemini Developer API is now Generally Available (GA).

  • ea85128 #9262 - Updated SDK to handle empty parts when streaming.

  • 7a7634f #9274 - Tag code execution with beta tag (public preview).

firebase@12.4.0

Minor Changes

  • 0bb2fe6 #9272 - Added a sendFunctionResponses method to LiveSession, allowing function responses to be sent during realtime sessions.
    Fixed an issue where function responses during audio conversations caused the WebSocket connection to close. See GitHub Issue #9264.

  • Breaking Change: Changed the functionCallingHandler property in StartAudioConversationOptions so that it now must return a Promise<FunctionResponse>.
    This breaking change is allowed in a minor release since the Live API is in Public Preview.

  • 0ffcb26 #9254 - Added support for the URL context tool, which allows the model to access content from provided public web URLs to inform and enhance its responses.

Patch Changes

@firebase/analytics@0.10.19

Patch Changes

  • 1bcf83d #9263 - Expose setUserProperties on internal Analytics instance.

@firebase/analytics-compat@0.2.25

Patch Changes

  • Updated dependencies [1bcf83d]:
  • @firebase/analytics@0.10.19

@firebase/analytics-interop-types@0.3.4

Patch Changes

  • 1bcf83d #9263 - Expose setUserProperties on internal Analytics instance.

@firebase/app@0.14.4

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.5.4

Patch Changes

  • Updated dependencies []:
  • @firebase/app@0.14.4

firebase@12.3.0

18 Sep 23:08
8d3211b

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.3.0

Minor Changes

  • 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.

  • 9b8ab02 #9249 - Added Code Execution feature.

Patch Changes

  • a4848b4 #9235 - Refactor component registration.

  • c123766 #9253 - Change documentation tags for hybrid inference from "EXPERIMENTAL" to "public preview".

firebase@12.3.0

Minor Changes

  • 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.

  • 9b8ab02 #9249 - Added Code Execution feature.

Patch Changes

  • Updated dependencies [06ab5c4, a4848b4, 120a308, 9b8ab02, c123766, 43276b0]:
  • @firebase/app@0.14.3
  • @firebase/ai@2.3.0
  • @firebase/remote-config@0.7.0
  • @firebase/firestore@4.9.2
  • @firebase/app-compat@0.5.3
  • @firebase/remote-config-compat@0.2.20
  • @firebase/firestore-compat@0.4.2

@firebase/remote-config@0.7.0

Minor Changes

  • 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.

@firebase/remote-config-types@0.5.0

Minor Changes

  • 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.

@firebase/app@0.14.3

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.5.3

Patch Changes

  • Updated dependencies []:
  • @firebase/app@0.14.3

@firebase/firestore@4.9.2

Patch Changes

  • 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 #8250.

  • Updated dependencies [43276b0]:

  • @firebase/webchannel-wrapper@1.0.5

@firebase/firestore-compat@0.4.2

Patch Changes

  • Updated dependencies [43276b0]:
  • @firebase/firestore@4.9.2

@firebase/remote-config-compat@0.2.20

Patch Changes

  • Updated dependencies [120a308]:
  • @firebase/remote-config@0.7.0
  • @firebase/remote-config-types@0.5.0

@firebase/webchannel-wrapper@1.0.5

Patch Changes

  • 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 #8250.

firebase@12.2.1

29 Aug 00:32
4d834de

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.2.1

Patch Changes

firebase@12.2.1

Patch Changes

  • Updated dependencies [095c098]:
  • @firebase/ai@2.2.1

firebase@12.2.0

28 Aug 15:51
f2ecae7

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.2.0

Minor Changes

  • 984086b #9224 - Add support for the Gemini Live API.

  • 9b63cd6 #9192 - Add thoughtSummary() convenience method to EnhancedGenerateContentResponse.

  • 02280d7 #9201 - Add App Check limited use token option to getAI().

Patch Changes

  • 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.

firebase@12.2.0

Minor Changes

  • 984086b #9224 - Add support for the Gemini Live API.

  • 9b63cd6 #9192 - Add thoughtSummary() convenience method to EnhancedGenerateContentResponse.

  • 02280d7 #9201 - Add App Check limited use token option to getAI().

Patch Changes

  • Updated dependencies [984086b, 9b63cd6, 84b8bed, c5f08a9, 02280d7, 2058432, 5501791, cbef6c6]:
  • @firebase/ai@2.2.0
  • @firebase/app@0.14.2
  • @firebase/firestore@4.9.1
  • @firebase/functions@0.13.1
  • @firebase/app-compat@0.5.2
  • @firebase/firestore-compat@0.4.1
  • @firebase/functions-compat@0.4.1

@firebase/app@0.14.2

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.5.2

Patch Changes

  • Updated dependencies []:
  • @firebase/app@0.14.2

@firebase/firestore@4.9.1

Patch Changes

  • 2058432 #9177 (fixes #9147) - Fixed a bug where a rejected promise with an empty message in a transaction would cause a timeout.

@firebase/firestore-compat@0.4.1

Patch Changes

  • Updated dependencies [2058432]:
  • @firebase/firestore@4.9.1

@firebase/functions@0.13.1

Patch Changes

  • 5501791 #9204 - Fixed issue where Firebase Functions SDK caused CORS errors when connected to emulators in Firebase Studio

@firebase/functions-compat@0.4.1

Patch Changes

  • Updated dependencies [5501791]:
  • @firebase/functions@0.13.1

firebase@12.1.0

07 Aug 21:04
44d8d74

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.1.0

Minor Changes

  • e25317f #9029 - Add hybrid inference options to the Firebase AI SDK.

firebase@12.1.0

Minor Changes

  • e25317f #9029 - Add hybrid inference options to the Firebase AI SDK.

Patch Changes

  • Updated dependencies [e25317f, a4897a6]:
  • @firebase/app@0.14.1
  • @firebase/ai@2.1.0
  • @firebase/performance@0.7.9
  • @firebase/app-compat@0.5.1
  • @firebase/performance-compat@0.2.22

@firebase/app@0.14.1

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.5.1

Patch Changes

  • Updated dependencies []:
  • @firebase/app@0.14.1

@firebase/performance@0.7.9

Patch Changes

  • a4897a6 #9178 (fixes #9136) - Fixed errors thrown when capturing long target element names for the out-of-the-box metrics.

@firebase/performance-compat@0.2.22

Patch Changes

  • Updated dependencies [a4897a6]:
  • @firebase/performance@0.7.9

firebase@12.0.0

17 Jul 21:11
52c8579

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@2.0.0

Major Changes

Minor Changes

  • a4ccd25 #9068 - Add support for Grounding with Google Search.

  • 6ab4e13 #9156 - Add support for Thinking Budget.

  • 25b60fd #9128 - Update node "engines" version to a minimum of Node 20.

Patch Changes

  • ae976d0 #8948 (fixes #8944) - Fix typings for functionDeclaration.parameters.

  • f18b25f #9167 - Set build targets to ES2020.

  • Updated dependencies [f18b25f, 25b60fd]:

  • @firebase/component@0.7.0

  • @firebase/logger@0.5.0

  • @firebase/util@1.13.0

firebase@12.0.0

Major Changes

Minor Changes

  • a4ccd25 #9068 - Add support for Grounding with Google Search.

  • 6ab4e13 #9156 - Add support for Thinking Budget.

  • d91169f #9151 (fixes #8863) - initializeServerApp now supports auto-initialization for Firebase App Hosting.

Patch Changes

  • Updated dependencies [a4ccd25, 5200f7b, f11b552, 6ab4e13, 9771bff, 3d44792, ae976d0, e59cd7d, cb19688, f18b25f, d91169f, ec5f374, a029ce3, 25b60fd]:
  • @firebase/ai@2.0.0
  • @firebase/firestore@4.9.0
  • @firebase/performance@0.7.8
  • @firebase/installations-compat@0.2.19
  • @firebase/remote-config-compat@0.2.19
  • @firebase/performance-compat@0.2.21
  • @firebase/analytics-compat@0.2.24
  • @firebase/app-check-compat@0.4.0
  • @firebase/firestore-compat@0.4.0
  • @firebase/functions-compat@0.4.0
  • @firebase/messaging-compat@0.2.23
  • @firebase/database-compat@2.1.0
  • @firebase/storage-compat@0.4.0
  • @firebase/installations@0.6.19
  • @firebase/remote-config@0.6.6
  • @firebase/data-connect@0.3.11
  • @firebase/auth-compat@0.6.0
  • @firebase/app-compat@0.5.0
  • @firebase/analytics@0.10.18
  • @firebase/app-check@0.11.0
  • @firebase/functions@0.13.0
  • @firebase/messaging@0.12.23
  • @firebase/database@1.1.0
  • @firebase/storage@0.14.0
  • @firebase/auth@1.11.0
  • @firebase/util@1.13.0
  • @firebase/app@0.14.0

@firebase/app@0.14.0

Minor Changes

  • 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.

Patch Changes

  • f18b25f #9167 - Set build targets to ES2020.

  • Updated dependencies [f18b25f, 25b60fd]:

  • @firebase/component@0.7.0

  • @firebase/logger@0.5.0

  • @firebase/util@1.13.0

@firebase/app-check@0.11.0

Minor Changes

  • 25b60fd #9128 - Update node "engines" version to a minimum of Node 20.

Patch Changes

  • f18b25f #9167 - Set build targets to ES2020.

  • Updated dependencies [f18b25f, 25b60fd]:

  • @firebase/component@0.7.0

  • @firebase/logger@0.5.0

  • @firebase/util@1.13.0

@firebase/app-check-compat@0.4.0

Minor Changes

  • 25b60fd #9128 - Update node "engines" version to a minimum of Node 20.

Patch Changes

  • f18b25f #9167 - Set build targets to ES2020.

  • Updated dependencies [f18b25f, 25b60fd]:

  • @firebase/app-check@0.11.0

  • @firebase/component@0.7.0

  • @firebase/logger@0.5.0

  • @firebase/util@1.13.0

@firebase/app-compat@0.5.0

Minor Changes

Read more

firebase@11.10.0

30 Jun 16:49
3c759f0

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

firebase@11.10.0

Minor Changes

  • 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.

Patch Changes

  • 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

@firebase/firestore@4.8.0

Minor Changes

  • 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.

Patch Changes

  • f73e08b #9087 - Internal listener registration change for IndexedDB "versionchange" events.

  • Updated dependencies [42ac401]:

  • @firebase/util@1.12.1

  • @firebase/component@0.6.18

@firebase/ai@1.4.1

Patch Changes

  • 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

@firebase/analytics@0.10.17

Patch Changes

  • 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

@firebase/analytics-compat@0.2.23

Patch Changes

  • Updated dependencies [13e6cce, 42ac401]:
  • @firebase/analytics@0.10.17
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/app@0.13.2

Patch Changes

  • 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

@firebase/app-check@0.10.1

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/app-check-compat@0.3.26

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/app-check@0.10.1
  • @firebase/component@0.6.18

@firebase/app-compat@0.4.2

Patch Changes

  • Updated dependencies [42ac401, bb57947]:
  • @firebase/util@1.12.1
  • @firebase/app@0.13.2
  • @firebase/component@0.6.18

@firebase/auth@1.10.8

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/auth-compat@0.5.28

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/auth@1.10.8
  • @firebase/component@0.6.18

@firebase/component@0.6.18

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1

@firebase/data-connect@0.3.10

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/database@1.0.20

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/database-compat@2.0.11

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18
  • @firebase/database@1.0.20
  • @firebase/database-types@1.0.15

@firebase/database-types@1.0.15

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1

@firebase/firestore-compat@0.3.53

Patch Changes

  • Updated dependencies [42ac401, f73e08b, 86155b3]:
  • @firebase/util@1.12.1
  • @firebase/firestore@4.8.0
  • @firebase/component@0.6.18

@firebase/functions@0.12.9

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/functions-compat@0.3.26

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18
  • @firebase/functions@0.12.9

@firebase/installations@0.6.18

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18

@firebase/installations-compat@0.2.18

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18
  • @firebase/installations@0.6.18

@firebase/messaging@0.12.22

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18
  • @firebase/installations@0.6.18

@firebase/messaging-compat@0.2.22

Patch Changes

  • Updated dependencies [42ac401]:
  • @firebase/util@1.12.1
  • @firebase/component@0.6.18
  • @firebase/messaging@0.12.22

@firebase/performance@0.7.7

Pat...

Read more

firebase@11.9.1

10 Jun 18:57
a058309

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/auth@1.10.7

Patch Changes

  • c0617a3 #9075 - Fixed issue where Firebase Auth cookie refresh attempts issues in Firebase Studio resulted in CORS errors.

@firebase/auth-compat@0.5.27

Patch Changes

  • Updated dependencies [c0617a3]:
  • @firebase/auth@1.10.7

firebase@11.9.1

Patch Changes

  • Updated dependencies [0f891d8, c0617a3]:
  • @firebase/storage@0.13.13
  • @firebase/auth@1.10.7
  • @firebase/storage-compat@0.3.23
  • @firebase/auth-compat@0.5.27

@firebase/storage@0.13.13

Patch Changes

  • 0f891d8 #9059 - Fixed issue where Firebase Studio wasn't populating cookies for Storage users

@firebase/storage-compat@0.3.23

Patch Changes

  • Updated dependencies [0f891d8]:
  • @firebase/storage@0.13.13

firebase@11.9.0

05 Jun 14:40
89051ca

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/ai@1.4.0

Minor Changes

  • 1933324 #9026 - Add support for minItems and maxItems to Schema.

  • 40be2db #9047 - Add title, maximum, minimum, propertyOrdering to Schema builder

firebase@11.9.0

Minor Changes

  • 1933324 #9026 - Add support for minItems and maxItems to Schema.

  • 40be2db #9047 - Add title, maximum, minimum, propertyOrdering to Schema builder

Patch Changes

  • Updated dependencies [1933324, 9964849, 40be2db]:
  • @firebase/ai@1.4.0
  • @firebase/app@0.13.1
  • @firebase/firestore@4.7.17
  • @firebase/app-compat@0.4.1
  • @firebase/firestore-compat@0.3.52

@firebase/app@0.13.1

Patch Changes

  • Update SDK_VERSION.

@firebase/app-compat@0.4.1

Patch Changes

  • Updated dependencies []:
  • @firebase/app@0.13.1

@firebase/firestore@4.7.17

Patch Changes

  • 9964849 #9041 - Clean up leaked WebChannel instances when the Firestore instance is terminated.

@firebase/firestore-compat@0.3.52

Patch Changes

  • Updated dependencies [9964849]:
  • @firebase/firestore@4.7.17

firebase@11.8.1

22 May 00:15
770e455

Choose a tag to compare

For more detailed release notes, see Firebase JavaScript SDK Release Notes.

What's Changed

@firebase/auth@1.10.6

Patch Changes

@firebase/auth-compat@0.5.26

Patch Changes

@firebase/data-connect@0.3.9

Patch Changes

  • b5df4ae #9055 - Updated to only show banner when calling connect*Emulator

@firebase/database@1.0.19

Patch Changes

@firebase/database-compat@2.0.10

Patch Changes

firebase@11.8.1

Patch Changes

  • Updated dependencies [35ad526, b5df4ae]:
  • @firebase/auth@1.10.6
  • @firebase/database@1.0.19
  • @firebase/firestore@4.7.16
  • @firebase/functions@0.12.8
  • @firebase/storage@0.13.12
  • @firebase/data-connect@0.3.9
  • @firebase/auth-compat@0.5.26
  • @firebase/database-compat@2.0.10
  • @firebase/firestore-compat@0.3.51
  • @firebase/functions-compat@0.3.25
  • @firebase/storage-compat@0.3.22

@firebase/firestore@4.7.16

Patch Changes

@firebase/firestore-compat@0.3.51

Patch Changes

@firebase/functions@0.12.8

Patch Changes

@firebase/functions-compat@0.3.25

Patch Changes

@firebase/storage@0.13.12

Patch Changes

@firebase/storage-compat@0.3.22

Patch Changes