Skip to content

Releases: firebase/firebase-js-sdk

[email protected]

19 Mar 14:13
852957b

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

Patch Changes

@firebase/[email protected]

Minor Changes

  • 9d33dd6 #9614 - Add validateArgsWithOptions() to Data Connect (internal change, no need to add to public release notes).

Patch Changes

[email protected]

Minor Changes

  • 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

Patch Changes

@firebase/[email protected]

Minor Changes

  • 78384d3 #9492 - Add support for array expressions arrayFirst, arrayFirstN,arrayLast,arrayLastN,arrayMinimum,arrayMinimumN,arrayMaximum,arrayMaximumN,arrayIndexOf, arrayLastIndexOf and arrayIndexOfAll

Patch Changes

  • 54ff05e #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]:

@firebase/[email protected]

Minor Changes

  • 2f7f426 #9608 - Remove updateEmulatorBanner(). (No release note needed.)

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

Read more

[email protected]

27 Feb 15:59
291851c

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

  • 47f8521 #9489 - Added automatic function calling capability when using ChatSession.

Patch Changes

@firebase/[email protected]

Minor Changes

  • eebba69 #9439 - Add Memory-Based caching to Queries in Firebase Data Connect.

Patch Changes

[email protected]

Minor Changes

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

Patch Changes

@firebase/[email protected]

Minor Changes

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

Patch Changes

@firebase/[email protected]

Minor Changes

  • eebba69 #9439 - Add Memory-Based caching to Queries in Firebase Data Connect.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

  • Updated dependencies [14d9745, f8996c4, eebba69, 659d9bb, [852162b](https://...
Read more

[email protected]

05 Feb 14:23
6f540dd

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

  • 8123231 #9461 - AI Logic: Extend the LiveSession.receive() return types to include a LiveServiceGoingAwayNotice
    which signifies that the service will soon close the session.

  • f9254b6 #9475 - Remove "preview" tags from code execution and URL context documentation.

  • 2e74329 #9462 - Add params on UsageMetadata that provide cache-related usage data when the implicit caching feature is used.

Patch Changes

  • 691a506 #9469 - Internal: Add tag to log requests made to cloud while in hybrid mode.

[email protected]

Minor Changes

  • 8123231 #9461 - AI Logic: Extend the LiveSession.receive() return types to include a LiveServiceGoingAwayNotice
    which signifies that the service will soon close the session.

  • f9254b6 #9475 - Remove "preview" tags from code execution and URL context documentation.

  • 2e74329 #9462 - Add params on UsageMetadata that provide cache-related usage data when the implicit caching feature is used.

  • 08e3acd #9459 - Add support for regexFind and regexFindAll Pipeline expressions.

Patch Changes

@firebase/[email protected]

Minor Changes

  • 08e3acd #9459 - Add support for regexFind and regexFindAll Pipeline expressions.

Patch Changes

  • 65a553b #9472 - Log a warning when databaseId is not found.

@firebase/[email protected]

Patch Changes

  • Update SDK_VERSION.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

[email protected]

14 Jan 23:32
817151e

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

  • 2ecf78b #8890 (fixes #8859) - Add support for AbortSignal, allowing requests to be aborted.

  • 5579b38 #9424 - Added ability to specify thinking levels in thinkingConfig.

  • f044045 #9440 - Update default hybrid-in-cloud model to gemini-2.5-flash-lite.

[email protected]

Minor Changes

  • 83e6864 #9356 - Release Firestore Pipelines for Enterprise edition in public preview.

  • 2ecf78b #8890 (fixes #8859) - Add support for AbortSignal, allowing requests to be aborted.

  • 5579b38 #9424 - Added ability to specify thinking levels in thinkingConfig.

  • f044045 #9440 - Update default hybrid-in-cloud model to gemini-2.5-flash-lite.

  • b282744 #9449 - Web support for ABT and Rollouts

Patch Changes

@firebase/[email protected]

Minor Changes

  • 83e6864 #9356 - Release Firestore Pipelines for Enterprise edition in public preview.

@firebase/[email protected]

Minor Changes

@firebase/[email protected]

Patch Changes

  • Update SDK_VERSION.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

[email protected]

16 Dec 13:56
8e26a55

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

  • 1e406a2 #9410 - Upgraded react-native-async-storage peerDependency to v2+.

[email protected]

Minor Changes

  • Update root "firebase" package as a "minor" release due to bumps in:
    @firebase/auth.

Patch Changes

@firebase/[email protected]

Patch Changes

  • bc2b2cd #9399 - update the link /genai to /ailogic

  • 5c7430d #9381 - Fix generateContentStream returning wrong inferenceSource.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

  • 5940794 #9386 (fixes #9378) - Fix: Corrected misleading error message when doc() is called with undefined.

@firebase/[email protected]

Patch Changes

[email protected]

13 Nov 21:39
c77c9df

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

[email protected]

Minor Changes

Patch Changes

@firebase/[email protected]

Patch Changes

  • Update SDK_VERSION.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

  • c47bd71 #9349 (fixes #9348) - Fixed issue where onComplete wasn't triggering when the user calls unsubscribe on a subscription.

[email protected]

30 Oct 15:47
1f44435

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Minor Changes

  • 22e0a1a #9291 - Deprecate sendMediaChunks() and sendMediaStream(). Instead, use the new methods added to the LiveSession class.
    Add sendTextRealtime(), sendAudioReatime(), and sendVideoRealtime() to the LiveSession class.

  • bc5a7c4 #9330 - Add support for audio transcriptions in the Live API.

  • c8263c4 #9315 - Add inferenceSource to the response from generateContent and generateContentStream. This property indicates whether on-device or in-cloud inference was used to generate the result.

Patch Changes

  • 44d9891 #9314 - Fix logic for merging default onDeviceParams with user-provided onDeviceParams.

[email protected]

Minor Changes

  • 22e0a1a #9291 - Deprecate sendMediaChunks() and sendMediaStream(). Instead, use the new methods added to the LiveSession class.
    Add sendTextRealtime(), sendAudioReatime(), and sendVideoRealtime() to the LiveSession class.

  • bc5a7c4 #9330 - Add support for audio transcriptions in the Live API.

  • c8263c4 #9315 - Add inferenceSource to the response from generateContent and generateContentStream. This property indicates whether on-device or in-cloud inference was used to generate the result.

Patch Changes

@firebase/[email protected]

Patch Changes

  • Update SDK_VERSION.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

  • 91c218d #9313 - Expose browserCookiePersistence beta feature in public typings.

  • 2615081 #9297 (fixes #9270) - Export MISSING_PASSWORD via AuthErrorCodes in @firebase/auth.

@firebase/[email protected]

Patch Changes

[email protected]

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/[email protected]

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

[email protected]

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/[email protected]

Patch Changes

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

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

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

@firebase/[email protected]

Patch Changes

  • Update SDK_VERSION.

@firebase/[email protected]

Patch Changes

[email protected]

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/[email protected]

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

[email protected]

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

@firebase/[email protected]

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/[email protected]

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/[email protected]

Patch Changes

  • Update SDK_VERSION.

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

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/[email protected]

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

Patch Changes

@firebase/[email protected]

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.

[email protected]

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/[email protected]

Patch Changes

[email protected]

Patch Changes