Files
Christina HollandGitHubGoogle Open Source Botgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4e9bd2e824 Merge release into main
version 12.16.0

Co-authored-by: Google Open Source Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-09 13:34:45 -07:00

219 KiB
Raw Permalink Blame History

firebase

12.16.0

Minor Changes

Patch Changes

12.15.0

Minor Changes

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

Patch Changes

12.14.0

Minor Changes

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

Patch Changes

12.13.0

Minor Changes

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

Patch Changes

12.12.1

Patch Changes

12.12.0

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

12.11.0

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

12.10.0

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

12.9.0

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

12.8.0

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

12.7.0

Minor Changes

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

Patch Changes

12.6.0

Minor Changes

Patch Changes

12.5.0

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

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

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

12.2.1

Patch Changes

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

12.1.0

Minor Changes

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

Patch Changes

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

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

11.9.1

Patch Changes

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

11.8.1

Patch Changes

11.8.0

Minor Changes

  • 6be75f7 #9010 - Default automaticDataCollectionEnabled to true without changing App Check's default behavior.

  • e99683b #8922 - Add support for Gemini multimodal output

  • d5082f9 #8931 - Add support for the Gemini Developer API, enabling usage in a free tier, and add new AI API to accomodate new product naming.

Patch Changes

11.7.3

Patch Changes

11.7.2

Patch Changes

11.7.1

Patch Changes

11.7.0

Minor Changes

  • 3789b5a #8999 - Default automaticDataCollectionEnabled to true without changing App Check's default behavior.

Patch Changes

11.6.1

Patch Changes

11.6.0

Minor Changes

  • fb5d422 #8839 - Adding Persistence.COOKIE a new persistence method backed by cookies. The browserCookiePersistence implementation is designed to be used in conjunction with middleware that ensures both your front and backend authentication state remains synchronized.

Patch Changes

11.5.0

Minor Changes

  • 058afa2 #8741 - Added missing BlockReason and FinishReason enum values.

Patch Changes

11.4.0

Minor Changes

  • 9d82665 #8757 - Added support for modality-based token count.

  • 70e08cf #8699 - Adds support for initial state hydration (from SSR contexts)

  • 777f465 #8483 - Add support for the FIREBASE_WEBAPP_CONFIG environment variable at install time.

  • ce2c775 #8683 - Public Preview Added support for generating images using the Imagen 3 model.

Patch Changes

11.3.1

Patch Changes

11.3.0

Minor Changes

  • 2ec1c76 #8644 - Collect web vital metrics (INP,CLS,LCP) as part of page load event.

  • 97d48c7 #8651 - FirebaseServerApp can now be initalized with an App Check token instead of invoking the App Check getToken method. This should unblock the use of App Check enforced products in SSR environments where the App Check SDK cannot be initialized.

  • 313faf6 #8749 - Add custom request headers based on the type of SDK (JS/TS, React, Angular, etc) that's invoking Data Connect requests. This will help us understand how users interact with Data Connect when using the Web SDK.

  • 9d88e3a #8738 - Added ActionCodeSettings.linkDomain to customize the Firebase Hosting link domain that is used in mobile out-of-band email action flows. Also, deprecated ActionCodeSettings.dynamicLinkDomain.

Patch Changes

11.2.0

Minor Changes

  • 7bf2aec63 #8602 - Added support for custom signal targeting in Remote Config. Use setCustomSignals API for setting custom signals and use them to build custom targeting conditions in Remote Config.

  • c19a051ce #8667 - Updated to include promise instead of promiselike

Patch Changes

11.1.0

Minor Changes

  • f05509e8c #8609 - Add .stream() api for callable functions for consuming streaming responses.

Patch Changes

11.0.2

Patch Changes

11.0.1

Patch Changes

11.0.0

Major Changes

  • 479226bf3 #8475 - Release VertexAI in Firebase for general availability.

Minor Changes

  • b942e9e6e #8568 - [feature] Added reCAPTCHA Enterprise support for app verification during phone authentication.

Patch Changes

10.14.1

Patch Changes

10.14.0

Minor Changes

Patch Changes

10.13.2

Patch Changes

10.13.1

Patch Changes

10.13.0

Minor Changes

Patch Changes

10.12.5

Patch Changes

10.12.4

Patch Changes

10.12.3

Patch Changes

10.12.2

Patch Changes

10.12.1

Patch Changes

10.12.0

Minor Changes

Patch Changes

10.11.1

Patch Changes

10.11.0

Minor Changes

  • 666dddae0 #7999 - Enable queries with range & inequality filters on multiple fields.

Patch Changes

10.10.0

Minor Changes

  • ed84efe50 #8005 - Added the new FirebaseServerApp interface to bridge state data between client and server runtime environments. This interface extends FirebaseApp.

Patch Changes

10.9.0

Minor Changes

  • ce88e71e7 #7982 - Enable snapshot listener option to retrieve data from local cache only.

Patch Changes

10.8.1

Patch Changes

10.8.0

Minor Changes

  • 2f7ad0ac4 #8001 - Added a Web-Extension package that strips the external JS loading for developers to use when building Chrome Extension app.

Patch Changes

10.7.2

Patch Changes

10.7.1

Patch Changes

10.7.0

Minor Changes

  • bebecdaad #7705 - Replaced node-fetch v2.6.7 dependency with the latest version of undici (v5.26.5) in Node.js SDK builds for auth, firestore, functions and storage.

Patch Changes

10.6.0

Minor Changes

  • 5f496e401 #7745 - [feature] Add sign-in with Apple token revocation support.

Patch Changes

10.5.2

Patch Changes

10.5.1

Patch Changes

10.5.0

Minor Changes

  • 02e2518ca #7502 - Support sum and average aggregations.

  • cca47353c #7441 - Added a default template type parameter to withConverter() functions to improve backwards compatibility with the v9 SDK

Patch Changes

10.4.0

Minor Changes

  • fbd8e0e2e #7599 - Add enablePersistentCacheIndexAutoCreation() function to enable automatic creation of local cache query indexes, which can improve performance of local query execution.

Patch Changes

10.3.1

Patch Changes

10.3.0

Minor Changes

  • 309f7a914 #7570 - Remove dependency on @react-native-async-storage/async-storage and add warnings to remind React Native users to manually import it.

Patch Changes

10.2.0

Minor Changes

  • c9e2b0b8c #7514 - Add a validatePassword method for validating passwords against the password policy configured for the project or a tenant. This method returns a status object that can be used to display the requirements of the password policy and whether each one was met.

Patch Changes

10.1.0

Minor Changes

  • 52b17b426 #7452 - Update the grpc dependency to the latest version.

  • 8e15973fd #7384 - Implemented authStateReady(), which returns a promise that resolves immediately when the initial auth state is settled and currentUser is available. When the promise is resolved, the current user might be a valid user or null if there is no user signed in currently.

Patch Changes

10.0.0

Major Changes

  • 47860fe6e #7423 - Update to be consistent with the FirestoreDataConverter changes from #7310

  • 1ff891c0d #7326 - Reorder RecaptchaVerifier parameters so auth is the first parameter

  • f2fb56fc0 #7310 - Fixed updateDoc() typing issue by adding a 2nd type parameter to FirestoreDataConverter

  • c2686ed60 #7138 - Remove firebase/auth/react-native entry point. The React Native bundle should be automatically picked up by React Native build tools which recognize the react-native fields in package.json (at the top level and in exports).

  • f1c8d3806 #7128 (fixes #6493) - Change getAuth() in the React Native bundle to default to importing AsyncStorage from @react-native-async-storage/async-storage instead of from the react-native core package (which has recently removed it).

Patch Changes

9.23.0

Minor Changes

Patch Changes

9.22.2

Patch Changes

9.22.1

Patch Changes

9.22.0

Minor Changes

  • e45fea9b8 #7236 - Enabled long-polling networking mode auto detection by default. It can be explicitly disabled by setting FirestoreSettings.experimentalForceLongPolling to false.

  • 8051e4a99 #7176 - Added the ability to configure the long-polling hanging get request timeout using the new experimentalLongPollingOptions.timeoutSeconds setting

Patch Changes

9.21.0

Minor Changes

  • 253b998fc #6943 - Introduces a new LRU garbage document collector for memory cache.

  • 0a27d2fbf #7158 - Add method getGoogleAnalyticsClientId() to retrieve an unique identifier for a web client. This allows users to log purchase and other events from their backends using Google Analytics 4 Measurement Protocol and to have those events be connected to actions taken on the client within their Firebase web app. getGoogleAnalyticsClientId() will simplify this event recording process.

  • 98abcd5ed #7229 - Implemented an optimization in the local cache synchronization logic that reduces the number of billed document reads when documents were deleted on the server while the client was not actively listening to the query (e.g. while the client was offline).

  • 195e82ebb #7169 - Add new limited use token method to App Check

Patch Changes

9.20.0

Minor Changes

Patch Changes

9.19.1

Patch Changes

9.19.0

Minor Changes

  • 60a730e37 #7015 - Introduces a new way to config Firestore SDK Cache.

Patch Changes

9.18.0

Minor Changes

  • 5ba524313 #7053 - Add support for disjunctions in queries (OR queries).

Patch Changes

9.17.2

Patch Changes

9.17.1

Patch Changes

9.17.0

Minor Changes

  • 825e648b8 #6974 (fixes #6944) - Fixed issue where users were unable to check if an Error was an instance of StorageError.

Patch Changes

9.16.0

Minor Changes

  • 06dc1364d #6901 - Allow users to specify their environment as node or browser to override Firebase's runtime environment detection and force the SDK to act as if it were in the respective environment.

Patch Changes

9.15.0

Minor Changes

  • ab3f16cba #6796 - Upgrade TypeScript to 4.7.4 (was 4.2.2)

  • fde5adf63 #6694 - Functions in the Firestore package that return QueryConstraints (for example: where(...), limit(...), and orderBy(...)) now return a more specific type, which extends QueryConstraint. Refactoring and code that supports future features is also included in this release.

  • 1625f7a95 #6799 - Update TypeScript version to 4.7.4.

Patch Changes

9.14.0

Minor Changes

Patch Changes

9.13.0

Minor Changes

Patch Changes

9.12.1

Patch Changes

9.12.0

Minor Changes

  • 397317b53 #6643 - Set withCredentials=true when making requests via non-streaming RPCs, like is done for streaming RPCs.

Patch Changes

9.11.0

Minor Changes

  • fdd4ab464 #6526 - Add functionality to auto-initialize project config and emulator settings from global defaults provided by framework tooling.
  • ee871fc0b #6608 - Added getCountFromServer() (getCount() in the Lite SDK), which fetches the number of documents in the result set without actually downloading the documents.

Patch Changes

9.10.0

Minor Changes

  • 7c0c640a4 #6107 - Enable encodeInitMessageHeaders. This transitions the Firestore client from encoding HTTP Headers via the Query Param to the request's POST payload.

    Requires Cloud Firestore Emulator v1.14.4 or newer.

Patch Changes

9.9.4

Patch Changes

9.9.3

Patch Changes

9.9.2

Patch Changes

9.9.1

Patch Changes

9.9.0

Minor Changes

  • 1d3a34d7d #6376 - Add function setConsent() to set the applicable end user "consent" state.
  • 69e2ee064 #6367 - Add function setDefaultEventParameters() to set data that will be logged on every Analytics SDK event

Patch Changes

9.8.4

Patch Changes

9.8.3

Patch Changes

9.8.2

Patch Changes

9.8.1

Patch Changes

9.8.0

Minor Changes

  • 63caee2a5 #6237 - Bump main package due to minor bumps in auth and database.

Patch Changes

9.7.0

Minor Changes

  • e76305a0f #6191 - Minor version bump to umbrella package to match functions bump.

Patch Changes

9.6.11

Patch Changes

9.6.10

Patch Changes

9.6.9

Patch Changes

9.6.8

Patch Changes

9.6.7

Patch Changes

9.6.6

Patch Changes

9.6.5

Patch Changes

9.6.4

Patch Changes

9.6.3

Patch Changes

9.6.2

Patch Changes

9.6.1

Patch Changes

9.6.0

Minor Changes

Patch Changes

9.5.0

Minor Changes

  • e34e98e73 #5672 (fixes #76) - Adds getBytes(), getStream() and getBlob(), which allow direct file downloads from the SDK.

Patch Changes

9.4.1

Patch Changes

9.4.0

Minor Changes

  • 532b3cd93 #5675 (fixes #5661) - Expanded Firestore.WithFieldValue<T> to include T. This allows developers to delegate WithFieldValue<T> inside wrappers of type T to avoid exposing Firebase types beyond Firebase-specific logic.

Patch Changes

9.3.0

Minor Changes

  • 61604979c #5595 - Add ReCAPTCHA Enterprise as an attestation option for App Check.

Patch Changes

9.2.0

Minor Changes

  • 4d3640481 #5532 (fixes #5499) - Fix exports field to also point to Node ESM builds. This change requires Node.js version 10+.

Patch Changes

9.1.3

Patch Changes

9.1.2

Patch Changes

9.1.1

Patch Changes

9.1.0

Minor Changes

  • f90c1d081 #3623 - Issue 2393 - Add environment check to Remote-Config Module

Patch Changes

9.0.2

Patch Changes

9.0.1

Patch Changes

9.0.0

Major Changes

  • 5bc6afb75 #5268 (fixes #4277) - This change contains multiple quality-of-life improvements when using the FirestoreDataConverter in @firebase/firestore/lite and @firebase/firestore:
    • Support for passing in FieldValue property values when using a converter (via WithFieldValue<T> and PartialWithFieldValue<T>).
    • Support for omitting properties in nested fields when performing a set operation with {merge: true} with a converter (via PartialWithFieldValue<T>).
    • Support for typed update operations when using a converter (via the newly typed UpdateData). Improperly typed fields in update operations on typed document references will no longer compile.

Patch Changes

8.10.0

Minor Changes

  • d0710d500 #5139 - Allows retrieval of messageId from MessagePayload.
  • 3c6a11c8d #5282 - Implement mockUserToken for Storage and fix JWT format bugs.

Patch Changes

8.9.1

Patch Changes

8.9.0

Minor Changes

  • 8599d9141 #4902 - Add RecaptchaV3Provider and CustomProvider classes that can be supplied to firebase.appCheck().activate().
  • bd50d8310 #5206 - Fix formatting of links in comments and update some event typings to correctly match GA4 specs.

Patch Changes

8.8.1

Patch Changes

8.8.0

Minor Changes

  • b3caa5158 #5149 - Add NodeJS support to Cloud Storage for Firebase. This release changes the main field in package.json to point to a Node specific build. If you are building a bundle for browser usage, please make sure that your bundler uses the browser field (the default).
  • 02586c975 #5070 - Add firebase_screen and firebase_screen_class to logEvent() overload for screen_view events.

Patch Changes

8.7.1

Patch Changes

8.7.0

Minor Changes

  • 870dd5e35 #5033 - Added getToken() and onTokenChanged methods to App Check.

Patch Changes

8.6.8

Patch Changes

8.6.7

Patch Changes

8.6.6

Patch Changes

8.6.5

Patch Changes

8.6.4

Patch Changes

8.6.3

Patch Changes

8.6.2

Patch Changes

8.6.1

Patch Changes

8.6.0

Minor Changes

Patch Changes

8.5.0

Minor Changes

Patch Changes

8.4.3

Patch Changes

8.4.2

Patch Changes

8.4.1

Patch Changes

8.4.0

Minor Changes

  • 5ae73656d #4346 - Add storage().useEmulator() method to enable emulator mode for storage, allowing users to set a storage emulator host and port.

Patch Changes

8.3.3

Patch Changes

8.3.2

Patch Changes

8.3.1

Patch Changes

8.3.0

Minor Changes

  • b6080a857 #4577 - Added support to remove a FirestoreDataConverter on a Firestore reference by calling withConverter(null)

Patch Changes

8.2.10

Patch Changes

  • d4ba8daa2 #4469 - Change the eventParams argument in the signature of analytics().logEvent() to be optional.

8.2.9

Patch Changes

8.2.8

Patch Changes

8.2.7

Patch Changes

8.2.6

Patch Changes

8.2.5

Patch Changes

8.2.4

Patch Changes

8.2.3

Patch Changes

8.2.2

Patch Changes

8.2.1

Patch Changes

8.2.0

Minor Changes

  • b662f8c0a #4168 - Release Firestore Bundles (pre-packaged Firestore data). For NPM users, this can be enabled via an additional import: 'firebase/firestore/bundle'. For CDN usage, it is enabled by default.
  • c9f379cf7 #4112 - Add option to hide banner in auth when using the emulator

Patch Changes

8.1.2

Patch Changes

8.1.1

Patch Changes

8.1.0

Minor Changes

  • 34973cde2 #3812 - Add a get method for database queries that returns server result when connected

Patch Changes

8.0.2

Patch Changes

8.0.1

Patch Changes

8.0.0

Major Changes

  • a5768b0aa #3932 - Point browser field to esm build. Now you need to use default import instead of namespace import to import firebase.

    Before this change

    import * as firebase from 'firebase/app';
    

    After this change

    import firebase from 'firebase/app';
    
  • 8939aeca0 #3944 - Removed the undocumented Firestore.logLevel property.
  • 344bd8856 #3943 - Removed deprecated experimentalTabSynchronization settings. To enable multi-tab synchronization, use synchronizeTabs instead.
  • 4b540f91d #3939 - This releases removes all input validation. Please use our TypeScript types to validate API usage.
  • ffef32e38 #3897 (fixes #3879) - Removed the timestampsInSnapshots option from FirestoreSettings. Now, Firestore always returns Timestamp values for all timestamp values.
  • b247ffa76 #3967 - This releases removes all input validation. Please use our TypeScript types to validate API usage.

Minor Changes

  • ef33328f7 #3904 - Add a useEmulator(host, port) method to Realtime Database
  • 0322c1bda #3906 - Add a useEmulator(host, port) method to Cloud Functions

Patch Changes

7.24.0

Minor Changes

  • eeb1dfa4f #3810 - Add ability to configure the SDK to communicate with the Firebase Auth emulator.
  • 4f997bce1 #3724 - Adds a new experimentalAutoDetectLongPolling to FirestoreSettings. When enabled, the SDK's underlying transport (WebChannel) automatically detects if long-polling should be used. This is very similar to experimentalForceLongPolling, but only uses long-polling if required.

Patch Changes

7.23.0

Minor Changes

  • d4db75ff8 #3836 (fixes #3573) - Analytics now warns instead of throwing if it detects a browser environment where analytics does not work.

Patch Changes

  • 48b0b0f7c #3850 - Moved loggingEnabled check to wait until performance initialization finishes, thus avoid dropping custom traces right after getting performance object.

7.22.1

Patch Changes

7.22.0

Minor Changes

  • a6af7c279 #3825 - Allow setting a custom domain for callable Cloud Functions.

Patch Changes

7.21.1

Patch Changes

7.21.0

Minor Changes

  • f9004177e #3772 - [feature] Added not-in and != query operators for use with .where(). not-in finds documents where a specified field’s value is not in a specified array. != finds documents where a specified field's value does not equal the specified value. Neither query operator will match documents where the specified field is not present.

Patch Changes

7.20.0

Minor Changes

  • fb3b095e4 #2800 - Analytics now dynamically fetches the app's Measurement ID from the Dynamic Config backend instead of depending on the local Firebase config. It will fall back to any measurementId value found in the local config if the Dynamic Config fetch fails.

Patch Changes

7.19.1

Patch Changes

  • 61b4cd31b #3464 (fixes #3354) - feat: Added merge option to firestore.settings(), which merges the provided settings with settings from a previous call. This allows adding settings on top of the settings that were applied by @firebase/testing.
  • Updated dependencies [61b4cd31b]:

7.19.0

Minor Changes

  • 67501b980 #3424 - Issue 2393 - Add environment check to Performance Module

Patch Changes

7.18.0

Minor Changes

  • 29327b21 #3234 - Add getToken(options:{serviceWorkerRegistration, vapidKey}),onBackgroundMessage. Deprecate setBackgroundMessageHandler, onTokenRefresh, useVapidKey, useServiceWorker, getToken.

    Add Typing MessagePayload, NotificationPayload, FcmOptions.

Patch Changes

  • d4ca3da0 #3585 - Extended Usage of isIndexedDBAvailable to Service Worker

7.17.2

Patch Changes

7.17.1

Patch Changes

7.17.0

Minor Changes

  • 02419ce8 #3165 - Issue 2393 fix - analytics module

    • Added a public method isSupported to Analytics module which returns true if current browser context supports initialization of analytics module.
    • Added runtime checks to Analytics module that validate if cookie is enabled in current browser and if current browser environment supports indexedDB functionalities.

Patch Changes

7.16.1

Patch Changes

  • c2b737b2 #3228 Thanks @schmidt-sebastian! - [fix] Instead of using production auth, the SDK will use test credentials to connect to the Emulator when the RTDB SDK is used via the Firebase Admin SDK.

7.16.0

Minor Changes

Patch Changes

  • 17c628eb #3312 Thanks @Feiyang1! - Fixed an issue where we try to update token for every getToken() call because we don't save the updated token in the IndexedDB.
  • e90304c8 #3309 Thanks @schmidt-sebastian! - Removed internal wrapper around our public API that was meant to prevent incorrect SDK usage for JavaScript users, but caused our SDK to stop working in IE11.