From a6b295962486e88fd54e268f0c4f155dfea201ac Mon Sep 17 00:00:00 2001 From: Michael Bui <25263378+MaikuB@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:00:04 +1100 Subject: [PATCH] prepare plugin for 8.0.0 release (#560) --- flutter_appauth/CHANGELOG.md | 17 +++-------------- flutter_appauth/pubspec.yaml | 4 ++-- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/flutter_appauth/CHANGELOG.md b/flutter_appauth/CHANGELOG.md index aa65f63..a427315 100644 --- a/flutter_appauth/CHANGELOG.md +++ b/flutter_appauth/CHANGELOG.md @@ -1,17 +1,4 @@ -## [8.0.0-dev.4] - -* [Android] some refactoring around code related to `allowInsecureConnections` has been done in response to issue [554](https://github.com/MaikuB/flutter_appauth/issues/554) -* [Android] added logic to help with issues like [205](https://github.com/MaikuB/flutter_appauth/issues/205) where an app tries to refresh a token but the instances of `AuthorizationService` have been disposed - -## [8.0.0-dev.3] - -* Includes changes from the 7.0.1 release - -## [8.0.0-dev.2] - -* [iOS] Fixed issue [547](https://github.com/MaikuB/flutter_appauth/issues/547) bug where specifying `ExternalUserAgent.sfSafariViewController` was using ephemeral session. Should now properly use the [SFSafariViewController](https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller) APIs - -## [8.0.0-dev.1] +## [8.0.0] * **Breaking change** Replaced the `preferEphemeralSession` property in the `AuthorizationRequest`, `AuthorizationTokenRequest` and `EndSessionRequest` classes with `externalUserAgent`. Thanks to the PR from [john-slow](https://github.com/john-slow). `externalUserAgent` is presented by the newly `ExternalUserAgent` enum that has the following values * `asWebAuthenticationSession`: uses the [ASWebAuthenticationSession](https://developer.apple.com/documentation/authenticationservices/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-agent @@ -19,6 +6,8 @@ * `sfSafariViewController`: uses the [SFSafariViewController](https://developer.apple.com/documentation/safariservices/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](https://github.com/MaikuB/flutter_appauth/issues/554) +* [Android] added logic to help with issues like [205](https://github.com/MaikuB/flutter_appauth/issues/205) where an app tries to refresh a token but the instances of `AuthorizationService` have been disposed # 7.0.1 diff --git a/flutter_appauth/pubspec.yaml b/flutter_appauth/pubspec.yaml index 76008c9..8e41bfc 100644 --- a/flutter_appauth/pubspec.yaml +++ b/flutter_appauth/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_appauth description: This plugin provides an abstraction around the Android and iOS AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID Connect providers -version: 8.0.0-dev.4 +version: 8.0.0 homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth environment: @@ -12,7 +12,7 @@ environment: dependencies: flutter: sdk: flutter - flutter_appauth_platform_interface: ^8.0.0-dev.1 + flutter_appauth_platform_interface: ^8.0.0 flutter: plugin: