- [BREAKING] Updated ArcaneAuthInterface to make the
resendVerificationCode, confirmSignup, and resetPassword methods more versatile
| Class |
Migration path |
| ArcaneAuthInterface |
resendVerificationCode(String email) -> resendVerificationCode<T>({T? input}) |
| ArcaneAuthInterface |
confirmSignup({String email, String password}) -> confirmSignup({String? email, String? password}) |
| ArcaneAuthInterface |
resetPassword({String email, String? newPassword, String? code}) -> resetPassword({String? email, String? newPassword, String? code}) |
- [BREAKING] Updated the authentication service and interface to be more versatile
| Class |
Migration path |
| ArcaneAuthInterface |
loginWtihEmailAndPassword({String email, String password}) -> login<T>({T? input}) |
| ArcaneAuthInterface |
signup({String email, String password}) -> register<T>({T? input}) |
- Added the
extra parameter to the Arcane.log shortcut method
- Added the
extra parameter to the LoggingInterface
- Removed get_it as a dependency
- Updated README and example project documentation
- Marked the
loginWithEmailAndPassword method in ArcaneAuthenticationService as deprecated and updated example project
- Added the ability to use a generic type for the login method in ArcaneAuthenticationService
- Added the ability to reset the ArcaneAuthenticationService, which will unregister the current interface and clear the authentication state
- Removed unused testing tooling (e.g.,
@visibleForTesting) from the codebase
- Migration guide: Remove usages of
setMocked in your tests
- Resolved an issue with authentication using the ArcaneAuthenticationService when logging in with an email and password
- Added the ability to switch back to the normal environment from the debug environment in ArcaneEnvironment
- (breaking) Made the optional
onLoggedOut callback a Future instead of a void function in ArcaneAuthenticationService
- Added additional error handling to the login method in ArcaneAuthenticationService
- Added support for following the system's theme in ArcaneTheme
- Removed the BuildContext parameter from the
switchTheme method in ArcaneTheme
- Migrated ArcaneAuthenticationService's isSignedIn to a ValueListenable
- Removed ID and secure storage services to improve platform compatibility