4.0.0
This version introduces breaking changes to support Email Enumeration Protection and improve code quality.
Added
- The library now supports projects that have Email Enumeration Protection turned on.
- Firebase is now up to date to the latest version (#10).
verifyAndChange
function is now available to support the new Firebase email change flow.
Improved
login(email:password:allowMigration:)
is now just a shorthand forlogin(with:updateUserDisplayName:allowMigration:)
.LoginCredential
has been converted to an enum which is now calledCredentials
.LoginCredential.Provider
is now a separate enum calledAuthenticationProvider
.
Deprecated
accountExists
is now deprecated, following the Firebase SDK corresponding function. It will be removed once it's removed by Firebase.loginWithoutChecking
is now deprecated, as there is now no difference between invoking this function and any other login function. All login functions now handle errors according to the existing logic, as it's no longer possible to query the account availability beforehand.updateEmail
is now deprecated, following the Firebase SDK corresponding function. Use the newverifyAndChange
instead.