Releases: MaikuB/flutter_appauth
Releases · MaikuB/flutter_appauth
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
- [iOS][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
flutter_appauth-v6.0.7
flutter_appauth-v7.0.0-dev.3
- Breaking change all methods have now been made to return non-nullable types
- [iOS][macOS] bumped AppAuth iOS dependency to 1.7.5
- Added
FlutterAppAuthOAuthError
class that contains string constants representing OAuth 2.0 error codes defined by the specification. - Updated API docs with more details
- Updated readme with more details on essential knowledge and links to OAuth 2.0 specifications
flutter_appauth-v7.0.0-dev.2
- The
errorUri
property of theFlutterAppAuthPlatformErrorDetails
class will now be populated on iOS/maCOS if available
flutter_appauth-v7.0.0-dev.1
- Breaking change Bumped minimum Flutter and Dart SDK constraints to 3.13.0 and 3.1.0 respectively
- 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.
flutter_appauth-v6.0.6
- [iOS][macOS] bumped AppAuth iOS dependency to 1.7.4
flutter_appauth-v6.0.5
- [iOS] bumped AppAuth iOS dependency to 1.7.2
flutter_appauth-v6.0.4
- [Android] when no suitable browser is found when calling either
authorize()
orauthorizeAndExchange()
, rather than crashing the plugin will now throw aPlatformException
with an error code ofno_browser_available
. Thanks to the PR from NikHomann - Removed duplicate asterisk from the 6.0.3 changelog entry around how the example app got updated