Skip to content

Latest commit

 

History

History
673 lines (369 loc) · 39 KB

CHANGELOG.md

File metadata and controls

673 lines (369 loc) · 39 KB

@firebase/auth

1.7.4

Patch Changes

1.7.3

Patch Changes

1.7.2

Patch Changes

  • 36b283f3f #8191 (fixes #8115) - Emit a module package file with esm2017 auth browser extension builds

  • 55fef6d62 #7001 - Update jszip transient dependency from 3.7.1 to 3.10.1 in auth.

1.7.1

Patch Changes

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

1.6.2

Patch Changes

  • 6d487d7de #8060 - Do not allow double slash at beginning of authTokenSyncURL. (follow-up fix to #8056)

  • 245dd26e1 #8056 - Fix possible XSS vulnerability through FIREBASE_DEFAULTS settings.

1.6.1

Patch Changes

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

1.5.1

Patch Changes

  • 70e4cf6a6 #7825 - Protection from enumerating an empty list in Auth's reading of IndexedDB results, as this causes errors in some macOS and iOS browser runtimes.

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

  • b2163b33d #7772 - Exposed INVALID_LOGIN_CREDENTIALS as auth/invalid-credential error and updated docs for various auth SDK methods.

1.4.0

Minor Changes

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

Patch Changes

1.3.2

Patch Changes

1.3.1

Patch Changes

  • f002ef36a #7634 (fixes #7633) - Fix FetchProvider in non-browser environments, by trying to get the fetch implementation from not only self but also standard globalThis.

  • 68927ced1 #7685 - Create getProviderEnforcementState method to get reCAPTCHA Enterprise enforcement state of a provider. This is an internal code change preparing for future features.

  • 3533b32b1 #7666 - Create handleRecaptchaFlow helper method

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

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

1.1.0

Minor Changes

  • 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

  • e91f82a20 #7467 (fixes #7448) - Unpin @react-native-async-storage/async-storage dependency to give users more control over the exact version.

1.0.0

Major Changes

  • 1af178f2b #7351 - Changed the type of ParsedToken value from any to unknown

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

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

0.23.2

Patch Changes

0.23.1

Patch Changes

  • 1d6771eb3 #7140 - Increase the popup poller timeout to 8s to support blocking functions + Firefox

0.23.0

Minor Changes

  • b04f04081 #7191 - [feature] Added Firebase App Check support to Firebase Auth.

  • 6b8e0c13d #7193 - [feature] Add reCAPTCHA enterprise support.

0.22.0

Minor Changes

Patch Changes

  • bd51cecba #7179 (fixes #7174) - Fix typings for TotpMultiFactorGenerator. This fixes a reversion in 9.19.0.

0.21.6

Patch Changes

  • 58bae8757 #7146 - Support TOTP as a multi-factor option in Firebase Auth/GCIP.

  • 00737a1ab #7125 (fixes #7118) - Modify _fail to use AuthErrorCode.NETWORK_REQUEST_FAILED

0.21.5

Patch Changes

  • e0b677e70 #7066 - Explicitly set createdAt and lastLoginAt when cloning UserImpl

0.21.4

Patch Changes

0.21.3

Patch Changes

0.21.2

Patch Changes

0.21.1

Patch Changes

0.21.0

Minor Changes

Patch Changes

0.20.11

Patch Changes

0.20.10

Patch Changes

0.20.9

Patch Changes

0.20.8

Patch Changes

0.20.7

Patch Changes

  • e06d9069c #6594 - Included a reference to AuthInternal in MultiFactorSessionImpl.

0.20.6

Patch Changes

  • bea604ea3 #6544 - Fix proactive refresh logic in Auth when RTDB/Firestore/Storage are in use

0.20.5

Patch Changes

  • 1261d8323 #6421 (fixes #6133) - Fix a bug causing ReCAPTCHA conflicts between Auth and App Check.

0.20.4

Patch Changes

0.20.3

Patch Changes

0.20.2

Patch Changes

  • 63ac2ed28 - Add missing field to firebase claim in token result typing
  • 88517b591 #6289 - Propagate customData in FirebaseError when the user is disabled.

0.20.1

Patch Changes

0.20.0

Minor Changes

  • 1ac3c9d41 #6151 - Add beforeAuthStateChanged() middleware function which allows the user to provide callbacks that are run before an auth state change sets a new user.

Patch Changes

0.19.12

Patch Changes

0.19.11

Patch Changes

0.19.10

Patch Changes

0.19.9

Patch Changes

  • 3a8d4c1d1 #6007 - Update chromedriver version number (dev dependency)

0.19.8

Patch Changes

  • af9234866 #5938 (fixes #917) - Fix bug where user.providerData field was being improperly initialized

0.19.7

Patch Changes

  • 4983f4d5a #5923 - Fix errors in compatibility layer when cookies are fully disabled in Chrome
  • d612d6f6e #5928 - Upgrade node-fetch dependency due to a security issue.
  • 2820674b8 #5927 - Prevent React Native from logging a warning about deprecation of AsyncStorage if the developer has provided the non-deprecated version.

0.19.6

Patch Changes

  • 67b6decbb #5908 - Add cordova and react-native paths to auth package.json exports field.

0.19.5

Patch Changes

0.19.4

Patch Changes

  • dc6b447ba #5777 (fixes #5720) - Fix errors during Auth initialization when the network is unavailable

0.19.3

Patch Changes

  • 1583a8202 #5715 - Fix Provider.credentialFromResult documentation snippets

0.19.2

Patch Changes

0.19.1

Patch Changes

  • 31bd6f27f #5689 - Add SAMLAuthProvider to the compatability layer (it was missing before)

0.19.0

Minor Changes

Patch Changes

  • 69ff8eb54 #5616 - Fix the public AuthError typing, and update the MultiFactorError implementation to follow the new standard (all fields listed under customData)
  • 4594d3fd6 #5673 - Export Phone sign in functionality in React Native entrypoint (except for RecaptchaVerifier)
  • 6dacc2400 #5635 (fixes #5618) - Make the library resilient against localStorage and sessionStorage permissions errors

0.18.3

Patch Changes

0.18.2

Patch Changes

  • 1b0e7af13 #5564 - Calls to connectAuthEmulator with the disableWarnings flag set to true will no longer cause a console.info warning to be printed
  • e1d551ddb #5574 (fixes #5553) - Fix bug in the OAuthProvider.prototype.credential method that was preventing the rawNonce field from being populated in the returned OAuthCredential.
  • f7d8324a1 #5562 - Attempt to fix bug in compatability layer in Safari ("Right side of assignment cannot be destructured")
  • e456d00a7 #5577 - Fix bug where user.tenantId wasn't being carried over in updateCurrentUser function

0.18.1

Patch Changes

  • 49b0406ab #5542 (fixes #5541) - Fix incorrectly-cased parameter in out-of-band request that was causing incorrect behavior in some cases

0.18.0

Minor Changes

  • 4d2a54fb0 #5527 - Update all persistences to map to inMemoryPersistence in Node, to avoid errors with server-side rendering

Patch Changes

  • a5d87bc5c #5511 - Fix bug with the user emailVerified field persistence across tabs
  • 07b88e6e8 #5487 - Add missing phone FACTOR_ID static property to the PhoneMultiFactorGenerator class

0.17.2

Patch Changes

  • 08ec55d6d #5423 - Fix bug where custom errors from blocking functions were being dropped.

0.17.1

Patch Changes

  • 66596f3f8 #5397 (fixes #5392) - Fix typings where the constructor of OAuthProvider was missing.

0.17.0

Minor Changes

0.16.8

Patch Changes

  • 56a6a9d4a #5071 (fixes #4932) - Auto initialize auth-internal after auth has been initialized.

0.16.7

Patch Changes

  • c81cf82fa #4966 (fixes #4879) - Fix bug where linkWithPopup, linkWithRedirect, reauthenticateWithPopup, and reauthenticateWithRedirect weren't correctly picking up the emulator configuration.

0.16.6

Patch Changes

0.16.5

Patch Changes

0.16.4

Patch Changes

0.16.3

Patch Changes

0.16.2

Patch Changes

  • 92a7f4345 #4280 - Add the useEmulator() function and emulatorConfig to the firebase package externs

0.16.1

Patch Changes

  • 9fd3f5233 #4210 - Update auth token logic to rely on device clock time instead of server time. This fixes an issue seen when a device's clock is skewed by a lot: #3222

0.16.0

Minor Changes

  • c9f379cf7 #4112 - Add option to hide banner in auth when using the emulator

0.15.3

Patch Changes

  • 11563b227 #4146 - Fix issue with IndexedDB retry logic causing uncaught errors

0.15.2

Patch Changes

  • c2b215c19 #4059 (fixes #1926) - Retry IndexedDB errors a fixed number of times to handle connection issues in mobile webkit.

0.15.1

Patch 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';
    

0.15.0

Minor Changes

  • eeb1dfa4f #3810 - Add ability to configure the SDK to communicate with the Firebase Auth emulator.

Patch Changes

0.14.9

Patch Changes

0.14.8

Patch Changes