Releases: MrAsterisco/RxFireAuth
7.0.0
This version drops support for iOS 12 and macOS 10.15, following updated requirements from Firebase and JWTDecode.
Added
- Update Firebase to version 11.
- Update JWTDecode to version 3.
Note: this version also optimizes the dependencies to a stricter definition by removing RxCocoa
in favor of RxSwift
. If your target was depending on RxCocoa
to be indirectly available through RxFireAuth
, you'll need to update your configuration.
6.2.0
New Features
- It is now possible to trigger the password reset flow by invoking
resetPassword(for:)
.
6.1.0
6.0.0
New Features
- When automatic linking of a user account fails, it is now possible to specify whether an anonymous user should be restored automatically. See #14 for further information.
Deprecated
- All functions that are based on passing
email
andpassword
separately are now deprecated. Use the generic implementation withCredentials
instead by passing.password(email, password)
.
Other changes
- The
UserManagerType
and its implementation are now split into sections. - Documentation has been improved.
5.0.0
This version now uses the Google Sign In SDK, instead of the generic implementation via AppAuth.
This version now requires macOS 10.15 or later.
Improvements
- Now using the Google Sign In SDK to authenticate with Google.
4.0.2
This version updates Firebase to version 10.24.0
.
Improvements
- Errors emitted by external providers (Google and Apple) are now mapped into
ProvidersError
to make it easier to capture (and ignore) user cancellation errors.
4.0.1
Bugs Fixed
- Fixed an issue that prevented the
login
function from working correctly with Sign in with Apple and anonymous account. This was caused by the fact that the Firebase error returned for these cases is different: please note that SIWA credentials are not reusable, so if a user is signing into an account that already exists while being logged-in as anonymous, they will have to sign in twice. This process is handled entirely by RxFireAuth.
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.
3.0.1
All dependencies are now updated to the latest versions.
3.0.0
Improved
- Updated the Firebase SDK to the latest version.
- Updated RxSwift.