Skip to content

Commit

Permalink
[various] prepare for 7.0.0 release (#531)
Browse files Browse the repository at this point in the history
* prepare for 7.0.0 release

* app reference to platform interface
  • Loading branch information
MaikuB authored Aug 24, 2024
1 parent 8a614da commit 9667d92
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 31 deletions.
19 changes: 3 additions & 16 deletions flutter_appauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
## [7.0.0-dev.4]

* Fixed visibility of `FlutterAppAuthOAuthError` class so that it's exported by the plugin

## [7.0.0-dev.3]
# 7.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
* Added `FlutterAppAuthOAuthError` class that contains string constants representing OAuth 2.0 error codes defined by the [specification](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2).
* Updated API docs with more details
* 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 throw `FlutterAppAuthPlatformException`. See the API docs for both classes for more details on the available details. Both exception classes inherit from `PlatformException` so the changes should be backwards compatible
* Updated readme with more details on essential knowledge and links to OAuth 2.0 specifications

# 7.0.0-dev.2

* The `errorUri` property of the `FlutterAppAuthPlatformErrorDetails` class will now be populated on iOS/maCOS if available

# 7.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 throw `FlutterAppAuthPlatformException`. See the API docs for both classes for more details on the available details. Both exception classes inherit from `PlatformException` so the changes should be backwards compatible.

# 6.0.7

* [Android] updated plugin to specify `Theme.AppCompat.Translucent.NoTitleBar` as the theme for the `RedirectUriReceiverActivity` from the AppAuth Android SDK. This is to fix a crash raised with issues [#362](https://github.com/MaikuB/flutter_appauth/issues/362) and [#515](https://github.com/MaikuB/flutter_appauth/issues/515)
Expand Down
4 changes: 2 additions & 2 deletions flutter_appauth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 7.0.0-dev.4
version: 7.0.0
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth

environment:
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_appauth_platform_interface: ^7.0.0-dev.3
flutter_appauth_platform_interface: ^7.0.0

flutter:
plugin:
Expand Down
15 changes: 3 additions & 12 deletions flutter_appauth_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
## [7.0.0-dev.3]

* **Breaking change** all methods have now been made to return non-nullable types
* Updated API docs with more details
* Added `FlutterAppAuthOAuthError` class that contains string constants representing OAuth 2.0 error codes defined by the [specification](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2).

## [7.0.0-dev.2]

* Updated API docs for `FlutterAppAuthPlatformErrorDetails`'s `errorUri` property as this can now be returned on iOS/macOS

## [7.0.0-dev.1]
## [7.0.0]

* **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 throw `FlutterAppAuthPlatformException`. See the API docs for both classes for more details on the available details. Both exception classes inherit from `PlatformException` so the changes should be backwards compatible.
* **Breaking change** all methods have now been made to return non-nullable types
* 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 throw `FlutterAppAuthPlatformException`. See the API docs for both classes for more details on the available details. Both exception classes inherit from `PlatformException` so the changes should be backwards compatible

## [6.0.0]

Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_appauth_platform_interface
description: A common platform interface for the flutter_appauth plugin.
version: 7.0.0-dev.3
version: 7.0.0
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth_platform_interface

environment:
Expand Down

0 comments on commit 9667d92

Please sign in to comment.