Skip to content

Commit

Permalink
ci: update version sdk to latest supported
Browse files Browse the repository at this point in the history
  • Loading branch information
juliansteenbakker committed Dec 19, 2023
1 parent bca7879 commit 5863482
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 26 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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/[email protected]
# 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:
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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 !)

Expand Down
3 changes: 2 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5863482

Please sign in to comment.