Releases: MrAsterisco/RxFireAuth
Releases · MrAsterisco/RxFireAuth
2.1.0
Added
- The library is now compatible with Mac Catalyst.
Improved
- Google SignIn has been removed and it has been replaced by
AppAuth
on iOS as well.
2.0.0
This version increases the minimum iOS version to iOS 10 and the minimum macOS version to 10.12, following the same requirements from the Firebase SDK version 7.
To use this library in projects targeting Apple Silicon, you must use Swift Package Manager.
Added
- It's now possible to get the user's
accessToken
.
1.6.0
1.5.1
1.5.0
Added
- New
signInWithGoogle
method to use Google Sign-in. - New
confirmAuthenticationWithApple
andconfirmAuthenticationWithGoogle
methods to confirm authentication of a user through login providers.
Improved
- The
confirmAuthentication
function now uses the same logic as other login providers.
1.4.0
Added
- Add
deleteUser(resetToAnonymous:)
that deletes the currently logged-in account. - Add
updatePassword(newPassword:)
to update or set a password for the currently logged-in account. - Add
authenticationProviders
property toUserData
to enumerate the authentication providers of a user (only known providers are mapped).
Improved
- Improve example project.
1.3.0
Added
- New
func login(with credentials: LoginCredentials, updateUserDisplayName: Bool, allowMigration: Bool?) -> Single<LoginDescriptor>
method to support the migration flow when using Sign in with Apple. - New
LoginCredentials
struct that wraps OAuth credentials.
Improved
- The
migrationRequired
error now embeds aLoginCredentials
instance.
Fixed
- #3 It is no longer necessary to call Sign in with Apple twice when data migration is required.
- Fixed mapping of errors in Sign in with Apple.
1.2.0
This version focuses on making sure that all actions are wrapped inside an Rx object correctly. Plus, all Firebase errors are now wrapped inside UserError
cases.
Added
- All Firebase errors are now available as
UserError
cases.
Improved
- All methods that return an Rx object are now correctly wrapped inside a
deferred
call so that even preconditions are executed only when somebody has subscribed to the resulting Observable.
Fixed
- #2 Fixed an issue that would prevent the
resetToAnonymous
parameter in thelogout
method from working correctly.
1.1.0
This version improves how clients can update a User profile.
Added
- New
func update(userConfigurationHandler: @escaping (UserData) -> UserData) -> Completable
inUserManagerType
that lets client take the currently logged-in user and update it.
Improved
- Documentation around initialising a
UserData
instance and updating it.
1.0.0
First public release of RxFireAuth!