Skip to content

Commit

Permalink
feat: Bump minimum supported Flutter SDK >= 3.0.0 (#1996)
Browse files Browse the repository at this point in the history
Bump minimum supported Flutter SDK >= 3.0.0 to allow us to reduce the
maintenance cost.
  • Loading branch information
littleGnAl authored Sep 5, 2024
1 parent 5fa017a commit 9d81117
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: ubuntu-latest
timeout-minutes: 120
env:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.16"]
version: ["3.0.0", "3.16"]
runs-on: macos-12
timeout-minutes: 120
env:
Expand All @@ -140,7 +140,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: macos-12
timeout-minutes: 120
env:
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: windows-2019
timeout-minutes: 120
env:
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -259,7 +259,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
Expand All @@ -280,7 +280,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: macos-12
timeout-minutes: 120
steps:
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["2.10.5", "3.x"]
version: ["3.0.0", "3.x"]
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Demonstrates how to use the agora_rtc_engine plugin.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.16.1 <3.0.0"
sdk: ">=2.17.0 <4.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ version: 6.3.2
homepage: https://www.agora.io
repository: https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/tree/main
environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.5.0'
sdk: '>=2.17.0 <4.0.0'
flutter: '>=3.0.0'
dependencies:
flutter:
sdk: flutter
Expand Down
4 changes: 2 additions & 2 deletions test_shard/fake_test_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.0.0'
sdk: '>=2.17.0 <4.0.0'
flutter: '>=3.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
3 changes: 2 additions & 1 deletion test_shard/integration_test_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.14.0 <3.0.0"
sdk: '>=2.17.0 <4.0.0'
flutter: '>=3.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 2 additions & 2 deletions test_shard/iris_tester/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.0.1
homepage:

environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.0.0'
sdk: '>=2.17.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions test_shard/rendering_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.14.0 <3.0.0'
flutter: '>=2.0.0'
sdk: '>=2.17.0 <4.0.0'
flutter: '>=3.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down

0 comments on commit 9d81117

Please sign in to comment.