diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 6bbd36a8..d8a01571 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -25,25 +25,26 @@ jobs: run: flutter pub get - name: Linter run: flutter analyze - analysis_min_sdk: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: temurin - - uses: subosito/flutter-action@v2.12.0 - with: - cache: true - flutter-version: '3.13.9' - channel: 'stable' - - name: Version - run: flutter doctor -v - - name: Install dependencies - run: flutter pub get - - name: Linter - run: flutter analyze + # Min SDK is same as current SDK +# analysis_min_sdk: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v3 +# with: +# java-version: 17 +# distribution: temurin +# - uses: subosito/flutter-action@v2.12.0 +# with: +# cache: true +# flutter-version: '3.13.9' +# channel: 'stable' +# - name: Version +# run: flutter doctor -v +# - name: Install dependencies +# run: flutter pub get +# - name: Linter +# run: flutter analyze formatting: runs-on: ubuntu-latest steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c018160..6a11538f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -## 4.3.0 +## 5.0.0 +Breaking Changes: +- [Android] Upgraded to Gradle 8. Due to a dependency update, the minimum Flutter version is changed to 3.16. + Features: - Added keyboardDismissBehavior parameter to select the behaviour of the keyboard when scrolling. - Added initialIsoCode parameter to set the initial iso code for the widget [LoginUserType.intlPhone]. Defaults to ['US'] if not specified. @@ -8,9 +11,6 @@ Bugs fixed: - Navigate to login page after pressing sign up confirm button when loginAfterSignUp is disabled and additionalSignupData is not null. - Added context checks to prevent crashes when widget is not mounted anymore. -Other improvements: -- [Android] Upgraded to Gradle 8. - ## 4.2.1 - Added dynamic prefix-icon on recover card based on user type. (thanks @lucaloiacono !) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 7f94115b..f96ade90 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,7 +4,8 @@ version: 1.0.0+1 publish_to: 'none' environment: - sdk: ">=3.0.2 <4.0.0" + sdk: ">=3.2.0 <4.0.0" + flutter: ^3.16.0 dependencies: cupertino_icons: ^1.0.3 diff --git a/pubspec.yaml b/pubspec.yaml index 5d37dddf..b0c8b051 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,10 +1,11 @@ name: flutter_login description: A login widget with login/signup functionalities to help speed up development -version: 4.3.0 +version: 5.0.0 repository: https://github.com/NearHuscarl/flutter_login environment: - sdk: ">=3.0.2 <4.0.0" + sdk: ">=3.2.0 <4.0.0" + flutter: ^3.16.0 dependencies: another_flushbar: ^1.10.29