Releases: MaikuB/flutter_appauth
Releases · MaikuB/flutter_appauth
flutter_appauth-v8.0.0+1
- Updated 8.0.0 as it was missing mention of the privacy manifest file to the macOS implementation of the plugin
flutter_appauth-v8.0.0
- Breaking change Replaced the
preferEphemeralSession
property in theAuthorizationRequest
,AuthorizationTokenRequest
andEndSessionRequest
classes withexternalUserAgent
. Thanks to the PR from john-slow.externalUserAgent
is presented by the newlyExternalUserAgent
enum that has the following valuesasWebAuthenticationSession
: uses the ASWebAuthenticationSession APIs where possible. This is the default value and was the default behaviour behaviour that aligns with what the AppAuth iOS SDK would do in choosing the best available user-agentephemeralAsWebAuthenticationSession
: uses an ephemeral session via the ASWebAuthenticationSession APIs. Applications that previously usedpreferEphemeralSession
and specified to betrue
can migrate by specifying this enum valuesfSafariViewController
: uses the SFSafariViewController APIs
- Updated iOS plugin details to indicate it needs a minimum iOS version of 11.0. This aligns with the minimum best supported version for Flutter 3.13.0
- Updated macOS plugin details to indicate it needs a minimum iOS version of 10.14. This aligns with the minimum best supported version for Flutter 3.13.0
- [Android] some refactoring around code related to
allowInsecureConnections
has been done in response to issue 554 - [Android] added logic to help with issues like 205 where an app tries to refresh a token but the instances of
AuthorizationService
have been disposed - [macOS] added privacy manifest file
flutter_appauth-v8.0.0-dev.4
flutter_appauth-v7.0.1
- [iOS] correctly bumped AppAuth iOS dependency to 1.7.5. The 7.0.0 release mistakenly only bumped the dependency for macOS
flutter_appauth-v8.0.0-dev.3
- Includes changes from the 7.0.1 release
flutter_appauth-v8.0.0-dev.2
- [iOS] Fixed issue 547 bug where specifying
ExternalUserAgent.sfSafariViewController
was using ephemeral session. Should now properly use the SFSafariViewController APIs
flutter_appauth-v8.0.0-dev.1
- Breaking change Replaced the
preferEphemeralSession
property in theAuthorizationRequest
,AuthorizationTokenRequest
andEndSessionRequest
classes withexternalUserAgent
. Thanks to the PR from john-slow.externalUserAgent
is presented by the newlyExternalUserAgent
enum that has the following valuesasWebAuthenticationSession
: uses the ASWebAuthenticationSession APIs where possible. This is the default value and was the default behaviour behaviour that aligns with what the AppAuth iOS SDK would do in choosing the best available user-agentephemeralAsWebAuthenticationSession
: uses an ephemeral session via the ASWebAuthenticationSession APIs. Applications that previously usedpreferEphemeralSession
and specified to betrue
can migrate by specifying this enum valuesfSafariViewController
: uses the SFSafariViewController APIs
- Updated iOS plugin details to indicate it needs a minimum iOS version of 11.0. This aligns with the minimum best supported version for Flutter 3.13.0
- Updated macOS plugin details to indicate it needs a minimum iOS version of 10.14. This aligns with the minimum best supported version for Flutter 3.13.0
flutter_appauth-v7.0.0
- Breaking change Bumped minimum Flutter and Dart SDK constraints to 3.13.0 and 3.1.0 respectively
- Breaking change all methods have now been made to return non-nullable types
- [macOS] bumped AppAuth iOS dependency to 1.7.5
- Updated error handling to expose more details for each platform. Plugin will now throw
FlutterAppAuthUserCancelledException
when an authorization request has been cancelled as a result of the user closing the browser. For other scenarios the plugin will throwFlutterAppAuthPlatformException
. See the API docs for both classes for more details on the available details. Both exception classes inherit fromPlatformException
so the changes should be backwards compatible - Updated readme with more details on essential knowledge and links to OAuth 2.0 specifications
flutter_appauth-v7.0.0-dev.4
- Fixed visibility of
FlutterAppAuthOAuthError
class so that it's exported by the plugin