arcane_framework 1.1.3
arcane_framework: ^1.1.3 copied to clipboard
Agnostic Reusable Component Architecture for New Ecosystems: a modern framework for bootstrapping new applications
1.1.3 #
- Arcane Auth no longer throws exceptions when log out fails, instead returning a
Result<void, String>. This behavior matches the login method.
1.1.2 #
- Removed Flutter exception handling from
ArcaneLoggingService, as this functionality should be defined by a users' interface.
Migration #
Add the following to your ArcaneLoggingInterface's init method to replicate the previous behavior:
// Handles unhandled Flutter errors by logging them.
FlutterError.onError = (errorDetails) {
Arcane.log(
errorDetails.exceptionAsString(),
level: Level.error,
module: errorDetails.library,
stackTrace: errorDetails.stack,
);
};
// Handles unhandled platform-specific errors by logging them.
PlatformDispatcher.instance.onError = (error, stack) {
Arcane.log(
"$error",
level: Level.error,
stackTrace: stack,
);
return false;
};
1.1.1+2 #
- Updated example in README
1.1.1+1 #
- Updated example in README
1.1.1 #
- [BREAKING] Updated ArcaneAuthInterface to make the
resendVerificationCode,confirmSignup, andresetPasswordmethods more versatile
Migration #
| 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}) |
1.1.0 #
- [BREAKING] Updated the authentication service and interface to be more versatile
Migration #
| Class | Migration path |
|---|---|
| ArcaneAuthInterface | loginWtihEmailAndPassword({String email, String password}) -> login<T>({T? input}) |
| ArcaneAuthInterface | signup({String email, String password}) -> register<T>({T? input}) |
1.0.8 #
- Added the
extraparameter to theArcane.logshortcut method
1.0.7 #
- Added the
extraparameter to theLoggingInterface
1.0.6+1 #
- Migrated linting rules to new arcane_analysis package.
1.0.6 #
- Removed get_it as a dependency
1.0.5+2 #
- Updated README and example project documentation
1.0.5+1 #
- Marked the
loginWithEmailAndPasswordmethod in ArcaneAuthenticationService as deprecated and updated example project
1.0.5 #
- 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
setMockedin your tests
- Migration guide: Remove usages of
1.0.4 #
- Resolved an issue with authentication using the ArcaneAuthenticationService when logging in with an email and password
1.0.3+1 #
- Added example project
1.0.3 #
- Added the ability to switch back to the normal environment from the debug environment in ArcaneEnvironment
- (breaking) Made the optional
onLoggedOutcallback 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
switchThememethod in ArcaneTheme
1.0.2 #
- Migrated ArcaneAuthenticationService's isSignedIn to a ValueListenable
1.0.1+1 #
- Removed ID and secure storage services to improve platform compatibility
1.0.0 #
- Initial release