Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
51 KiB
@firebase/auth
1.13.3
Patch Changes
-
e389f70#9991 (fixes #9405) - Fix error causing Auth and AppCheck conflict when both are using ReCAPTCHA Enterprise. -
712091c#10049 - Update referrer policy for auth API requests from no-referrer to strict-origin-when-cross-origin to support HTTP Referrer-restricted API keys in browser environments.
1.13.2
Patch Changes
2697919#9845 (fixes #9732) - Updated_isAvailable()to use retry logic for the initial IndexedDB availability check, preventing incorrect fallbacks to in-memory persistence in environments where transactions may occasionally drop on startup.
1.13.1
Patch Changes
-
Updated dependencies [
8e384c9]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected].1
1.13.0
Minor Changes
715c042#9740 (fixes #9739) - Updated the peer dependency range for @react-native-async-storage/async-storage to support both v2 and v3
1.12.2
Patch Changes
-
2f7f426#9608 - RemoveupdateEmulatorBanner(). (No release note needed.) -
Updated dependencies [
2f7f426]:- @firebase/[email protected].0
- @firebase/[email protected]
1.12.1
Patch Changes
- Updated dependencies [
eebba69]:- @firebase/[email protected].0
- @firebase/[email protected]
1.12.0
Minor Changes
1.11.1
Patch Changes
-
91c218d#9313 - ExposebrowserCookiePersistencebeta feature in public typings. -
2615081#9297 (fixes #9270) - Export MISSING_PASSWORD via AuthErrorCodes in @firebase/auth.
1.11.0
Minor Changes
Patch Changes
-
Updated dependencies [
f18b25f,25b60fd]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected].0
1.10.8
Patch Changes
- Updated dependencies [
42ac401]:- @firebase/[email protected].1
- @firebase/[email protected]
1.10.7
Patch Changes
c0617a3#9075 - Fixed issue where Firebase Auth cookie refresh attempts issues in Firebase Studio resulted in CORS errors.
1.10.6
Patch Changes
1.10.5
Patch Changes
- Updated dependencies [
8a03143]:- @firebase/[email protected].0
- @firebase/[email protected]
1.10.4
Patch Changes
- Updated dependencies [
9bcd1ea]:- @firebase/[email protected].3
- @firebase/[email protected]
1.10.3
Patch Changes
-
Updated dependencies [
8593fa0]:- @firebase/[email protected].2
- @firebase/[email protected]
1.10.2
Patch Changes
-
6a02778#8998 - Fix issue where auth port wasn't properly set when setting up cookies in Firebase Studio. -
Updated dependencies [
ea1f913,0e12766]:- @firebase/[email protected].1
- @firebase/[email protected]
1.10.1
Patch Changes
1.10.0
Minor Changes
fb5d422#8839 - AddingPersistence.COOKIEa new persistence method backed by cookies. ThebrowserCookiePersistenceimplementation is designed to be used in conjunction with middleware that ensures both your front and backend authentication state remains synchronized.
1.9.1
Patch Changes
c791ecf#8750 - Fixed: invokingconnectAuthEmulatormultiple times with the same parameters will no longer cause an error. Fixes GitHub Issue #6824.- Updated dependencies [
777f465]:- @firebase/[email protected].0
- @firebase/[email protected]
1.9.0
Minor Changes
9d88e3a#8738 - AddedActionCodeSettings.linkDomainto customize the Firebase Hosting link domain that is used in mobile out-of-band email action flows. Also, deprecatedActionCodeSettings.dynamicLinkDomain.
Patch Changes
97d48c7#8651 -FirebaseServerAppcan now be initalized with an App Check token instead of invoking the App CheckgetTokenmethod. This should unblock the use of App Check enforced products in SSR environments where the App Check SDK cannot be initialized.
1.8.2
Patch Changes
- Updated dependencies [
25a6204c1]:- @firebase/[email protected].3
- @firebase/[email protected]
1.8.1
Patch Changes
-
Updated dependencies [
b80711925]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected].2
1.8.0
Minor Changes
b942e9e6e#8568 - [feature] Added reCAPTCHA Enterprise support for app verification during phone authentication.
Patch Changes
-
479226bf3#8475 - Remove ES5 bundles. The minimum required ES version is now ES2017. -
479226bf3#8475 - Removed dependency on undici and node-fetch in our node bundles, replacing them with the native fetch implementation. -
Updated dependencies [
479226bf3]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected].1
1.7.9
Patch Changes
-
16d62d4fa#8393 - Suppress the use of thefetchparameterreferrerPolicywithin Auth forfetchrequests originating from Cloudflare Workers. Clouldflare Worker environments do not support this parameter and throw when it's used. -
Updated dependencies [
16d62d4fa]:- @firebase/[email protected].0
- @firebase/[email protected]
1.7.8
Patch Changes
62348e116#8432 (fixes #8431) - Update undici dependency to 6.19.7 due to a memory leak in older versions.
1.7.7
Patch Changes
2ddbd4e49#8408 - Remove localStorage synchronization on storage events in Safari iframes. See GitHub PR #8408.
1.7.6
Patch Changes
025f2a103#8280 (fixes #8279) - Fixed typos in documentation and some internal variables and parameters.
1.7.5
Patch Changes
- Updated dependencies [
192561b15]:- @firebase/[email protected]
- @firebase/[email protected]
1.7.4
Patch Changes
1.7.3
Patch Changes
-
Updated dependencies [
ab883d016]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
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
-
fe09d8338#8138 (fixes #8132) - Update undici version to 5.28.4 due to CVE-2024-30260. -
ad8d5470d#8134 - Updated dependencies. See GitHub PR #8098.
1.7.0
Minor Changes
ed84efe50#8005 - Added the newFirebaseServerAppinterface to bridge state data between client and server runtime environments. This interface extendsFirebaseApp.
Patch Changes
-
9ca1a4e4f#8076 - Additional protection against misuse of the authTokenSyncURL experiment -
c8a2568dd#8097 - Updated transitive dependencies based on generated dependabot security reports. For more information see PR #8088. -
0c5150106#8079 - Updaterepository.urlfield in allpackage.jsonfiles to NPM's preferred format. -
Updated dependencies [
0c5150106]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
1.6.2
Patch Changes
-
6d487d7de#8060 - Do not allow double slash at beginning of authTokenSyncURL. (follow-up fix to https://github.com/firebase/firebase-js-sdk/pull/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
- Updated dependencies [
434f8418c]:- @firebase/[email protected]
- @firebase/[email protected]
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
Patch Changes
1.3.2
Patch Changes
33a2298af#7720 - fixes github issue https://github.com/firebase/firebase-js-sdk/issues/7701.
1.3.1
Patch Changes
-
f002ef36a#7634 (fixes #7633) - Fix FetchProvider in non-browser environments, by trying to get thefetchimplementation from not onlyselfbut also standardglobalThis. -
68927ced1#7685 - Create getProviderEnforcementState method to get reCAPTCHA Enterprise enforcement state of a provider. This is an internal code change preparing for future features.
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 - ImplementedauthStateReady(), 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-storagedependency 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 - Removefirebase/auth/react-nativeentry point. The React Native bundle should be automatically picked up by React Native build tools which recognize thereact-nativefields inpackage.json(at the top level and inexports). -
f1c8d3806#7128 (fixes #6493) - ChangegetAuth()in the React Native bundle to default to importingAsyncStoragefrom@react-native-async-storage/async-storageinstead of from thereact-nativecore package (which has recently removed it).
0.23.2
Patch Changes
0.23.1
Patch Changes
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 forTotpMultiFactorGenerator. 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
0.21.4
Patch Changes
-
c8a6e08b0#7038 - Modify _fail to use AuthErrorCode.INTERNAL_ERROR and pass in error message. -
Updated dependencies [
c59f537b1]:- @firebase/[email protected]
- @firebase/[email protected]
0.21.3
Patch Changes
-
d071bd1ac#7007 (fixes #7005) - Move exports.default fields to always be the last field. This fixes a bug caused in 9.17.0 that prevented some bundlers and frameworks from building. -
Updated dependencies [
d071bd1ac]:- @firebase/[email protected]
- @firebase/[email protected]
0.21.2
Patch Changes
-
6439f1173#6973 - Expose TOKEN_EXPIRED error when mfa unenroll logs out the user. -
0bab0b7a7#6981 - Added browser CJS entry points (expected by Jest when using JSDOM mode). -
Updated dependencies [
0bab0b7a7]:- @firebase/[email protected]
- @firebase/[email protected]
0.21.1
Patch Changes
-
50b8191f6#6914 (fixes #6827) - Fix to minimize a potential race condition between auth init and signInWithRedirect -
Updated dependencies [
d4114a4f7,06dc1364d]:- @firebase/[email protected]
- @firebase/[email protected]
0.21.0
Minor Changes
Patch Changes
-
e650f6498#6762 (fixes #6736) - move selenium-webdriver to devDependencies -
Updated dependencies [
c20633ed3,1625f7a95]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
0.20.11
Patch Changes
-
Updated dependencies [
4af28c1a4]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
0.20.10
Patch Changes
- Updated dependencies [
807f06aa2]:- @firebase/[email protected]
- @firebase/[email protected]
0.20.9
Patch Changes
- Updated dependencies [
171b78b76,29d034072]:- @firebase/[email protected]
- @firebase/[email protected]
0.20.8
Patch Changes
-
fdd4ab464#6526 - Add functionality to auto-initialize project config and emulator settings from global defaults provided by framework tooling. -
Updated dependencies [
fdd4ab464]:- @firebase/[email protected]
- @firebase/[email protected]
0.20.7
Patch Changes
0.20.6
Patch Changes
0.20.5
Patch Changes
-
8c52a96ed#6379 (fixes #6331) - Update user agent detection to better detect iPad; fixes bug for some iPad devices running Cordova apps -
Updated dependencies [
b12af44a5]:- @firebase/[email protected]
- @firebase/[email protected]
0.20.4
Patch Changes
- Updated dependencies [
efe2000fc]:- @firebase/[email protected]
- @firebase/[email protected]
0.20.3
Patch Changes
-
Updated dependencies [
2cd1cc76f]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
0.20.2
Patch Changes
63ac2ed28- Add missing field tofirebaseclaim in token result typing
0.20.1
Patch Changes
0.20.0
Minor Changes
1ac3c9d41#6151 - AddbeforeAuthStateChanged()middleware function which allows the user to provide callbacks that are run before an auth state change sets a new user.
Patch Changes
- Updated dependencies [
9c5c9c36d]:- @firebase/[email protected]
- @firebase/[email protected]
0.19.12
Patch Changes
- Updated dependencies [
e9e5f6b3c]:- @firebase/[email protected]
- @firebase/[email protected]
0.19.11
Patch Changes
- Updated dependencies [
3198d58dc]:- @firebase/[email protected]
- @firebase/[email protected]
0.19.10
Patch Changes
-
Updated dependencies [
2d672cead]:- @firebase/[email protected]
- @firebase/[email protected]
0.19.9
Patch Changes
0.19.8
Patch Changes
af9234866#5938 (fixes #917) - Fix bug whereuser.providerDatafield was being improperly initialized
0.19.7
Patch Changes
2820674b8#5927 - Prevent React Native from logging a warning about deprecation ofAsyncStorageif the developer has provided the non-deprecated version.
0.19.6
Patch Changes
0.19.5
Patch Changes
-
e3a5248fc#5811 (fixes #5791) - Fix persistence selection in compatibility layer in worker scripts -
Updated dependencies [
3b481f572]:- @firebase/[email protected]
- @firebase/[email protected]
0.19.4
Patch Changes
dc6b447ba#5777 (fixes #5720) - Fix errors during Auth initialization when the network is unavailable
0.19.3
Patch Changes
0.19.2
Patch Changes
-
dbd54f7c9#5700 (fixes #5631) - Fix lighthouse issues related to the embedded iframe used to perform OAuth sign in. -
Updated dependencies [
3281315fa]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
0.19.1
Patch Changes
-
0765b5e19#5686 (fixes #5685) - Fix bug that caused onAuthStateChanged to be fired twice -
Updated dependencies [
2322b6023]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
0.19.0
Minor Changes
Patch Changes
69ff8eb54#5616 - Fix the publicAuthErrortyping, and update theMultiFactorErrorimplementation to follow the new standard (all fields listed undercustomData)
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 toconnectAuthEmulatorwith thedisableWarningsflag set to true will no longer cause aconsole.infowarning to be printed
e1d551ddb#5574 (fixes #5553) - Fix bug in theOAuthProvider.prototype.credentialmethod that was preventing therawNoncefield from being populated in the returnedOAuthCredential.
f7d8324a1#5562 - Attempt to fix bug in compatability layer in Safari ("Right side of assignment cannot be destructured")
e456d00a7#5577 - Fix bug whereuser.tenantIdwasn't being carried over inupdateCurrentUserfunction
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 toinMemoryPersistencein Node, to avoid errors with server-side rendering
Patch Changes
07b88e6e8#5487 - Add missing phone FACTOR_ID static property to the PhoneMultiFactorGenerator class
-
c2362214a#5522 - Fix wrongly-typed tenantId fields in requests to some endpoints -
Updated dependencies [
a99943fe3,b835b4cba]:- @firebase/[email protected]
- @firebase/[email protected]
- @firebase/[email protected]
0.17.2
Patch Changes
0.17.1
Patch Changes
0.17.0
Minor Changes
0.16.8
Patch Changes
0.16.7
Patch Changes
c81cf82fa#4966 (fixes #4879) - Fix bug wherelinkWithPopup,linkWithRedirect,reauthenticateWithPopup, andreauthenticateWithRedirectweren't correctly picking up the emulator configuration.
0.16.6
Patch Changes
0.16.5
Patch Changes
- Updated dependencies [
3f370215a]:
0.16.4
Patch Changes
- Updated dependencies [
4ab5a9ce5]:
0.16.3
Patch Changes
0.16.2
Patch Changes
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: https://github.com/firebase/firebase-js-sdk/issues/3222
0.16.0
Minor Changes
0.15.3
Patch Changes
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';