Skip to content

Releases: firebase/firebase-js-sdk

[email protected]

20 Apr 23:10
7bb8c35

Choose a tag to compare

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

What's Changed

@firebase/[email protected]

Patch Changes

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

[email protected]

Patch Changes

[email protected]

09 Apr 19:37
78fc282

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

  • f87c15e #9791 (fixes #9792) - Fixed a bug that causes the model to error if the user specifies responseSchema or responseJsonSchema.

@firebase/[email protected]

Minor Changes

  • 715c042 #9740 (fixes #9739) - Updated the peer dependency range for @react-native-async-storage/async-storage to support both v2 and v3

@firebase/[email protected]

Minor Changes

  • 34c63bf #9822 - Fix header names for auth and app check tokens over streaming

  • 87d5cc1 #9809 - Add streaming support for Firebase Data Connect.

[email protected]

Minor Changes

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

  • 44c234c #9773 - Add support for the parent expression

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

  • cecd028 #9720 - Add subquery support to Pipelines.

  • 87d5cc1 #9809 - Add streaming support for Firebase Data Connect.

  • 0e343c8 #9725 - Beta API Breaking Change: Change Type string union to be a raw string.

Patch Changes

@firebase/[email protected]

Minor Changes

Read more

[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

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