Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

CHANGELOG.md 99KB

firebase

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

  • b6f30c24f #5617 (fixes #5610) - Fix behavior on subsequent calls to getRedirectResult()

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.
  • cdada6c68 #5345 (fixes #5015) - Release modularized SDKs

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 borwser 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 depreacted experimentalTabSynchronization settings. To enable multi-tab sychronization, 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

  • 79b049375 #3909 - Add a useEmulator(host, port) method to Firestore

  • 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

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

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

7.16.0

Minor Changes

Patch Changes