mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
v1.1.7
- Fixed an issue with the `ArcaneAuthenticationService` where an exception would be thrown when attempting to access an authentication token while no `ArcaneAuthInterface` was registered. Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
This commit is contained in:
+38
-17
@@ -1,6 +1,13 @@
|
||||
## 1.1.7
|
||||
|
||||
- Fixed an issue with the `ArcaneAuthenticationService` where an exception would
|
||||
be thrown when attempting to access an authentication token while no
|
||||
`ArcaneAuthInterface` was registered.
|
||||
|
||||
## 1.1.6
|
||||
|
||||
- Updated logging feature to indicate the feature which was enabled or disabled within the log message, instead of only in the metadata
|
||||
- Updated logging feature to indicate the feature which was enabled or disabled
|
||||
within the log message, instead of only in the metadata.
|
||||
|
||||
## 1.1.5
|
||||
|
||||
@@ -12,15 +19,18 @@
|
||||
|
||||
## 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.
|
||||
- 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.
|
||||
- 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:
|
||||
Add the following to your `ArcaneLoggingInterface`'s `init` method to replicate
|
||||
the previous behavior:
|
||||
|
||||
```dart
|
||||
// Handles unhandled Flutter errors by logging them.
|
||||
@@ -54,9 +64,10 @@ PlatformDispatcher.instance.onError = (error, stack) {
|
||||
|
||||
## 1.1.1
|
||||
|
||||
- [BREAKING] Updated ArcaneAuthInterface to make the `resendVerificationCode`, `confirmSignup`, and `resetPassword` methods more versatile
|
||||
- [BREAKING] Updated ArcaneAuthInterface to make the `resendVerificationCode`,
|
||||
`confirmSignup`, and `resetPassword` methods more versatile
|
||||
|
||||
### Migration
|
||||
Migration:
|
||||
|
||||
| Class | Migration path |
|
||||
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
@@ -66,9 +77,10 @@ PlatformDispatcher.instance.onError = (error, stack) {
|
||||
|
||||
## 1.1.0
|
||||
|
||||
- [BREAKING] Updated the authentication service and interface to be more versatile
|
||||
- [BREAKING] Updated the authentication service and interface to be more
|
||||
versatile
|
||||
|
||||
### Migration
|
||||
Migration:
|
||||
|
||||
| Class | Migration path |
|
||||
| ------------------- | -------------------------------------------------------------------------------------- |
|
||||
@@ -85,7 +97,8 @@ PlatformDispatcher.instance.onError = (error, stack) {
|
||||
|
||||
## 1.0.6+1
|
||||
|
||||
- Migrated linting rules to new [arcane_analysis](https://pub.dev/packages/arcane_analysis) package.
|
||||
- Migrated linting rules to new
|
||||
[arcane_analysis](https://pub.dev/packages/arcane_analysis) package.
|
||||
|
||||
## 1.0.6
|
||||
|
||||
@@ -97,18 +110,22 @@ PlatformDispatcher.instance.onError = (error, stack) {
|
||||
|
||||
## 1.0.5+1
|
||||
|
||||
- Marked the `loginWithEmailAndPassword` method in ArcaneAuthenticationService as deprecated and updated example project
|
||||
- Marked the `loginWithEmailAndPassword` method 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
|
||||
- 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
|
||||
|
||||
## 1.0.4
|
||||
|
||||
- Resolved an issue with authentication using the ArcaneAuthenticationService when logging in with an email and password
|
||||
- Resolved an issue with authentication using the ArcaneAuthenticationService
|
||||
when logging in with an email and password
|
||||
|
||||
## 1.0.3+1
|
||||
|
||||
@@ -116,11 +133,15 @@ PlatformDispatcher.instance.onError = (error, stack) {
|
||||
|
||||
## 1.0.3
|
||||
|
||||
- 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 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
|
||||
- Removed the BuildContext parameter from the `switchTheme` method in
|
||||
ArcaneTheme
|
||||
|
||||
## 1.0.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user