Skip to content

Commit 98581ac

Browse files
buenaflorCursorcursoragent
committed
chore: Align Dart and Flutter SDK constraints
Every package, example and script now declares the same constraints that packages/flutter already required: Dart >=3.12.0 <4.0.0 and Flutter >=3.44.0. Previously only sentry_flutter had been bumped, leaving the rest of the monorepo advertising support for Dart 3.5 / Flutter 3.24 that v10 no longer targets. Also moves the pinned min-version job in dart.yml off Dart 3.5 and updates the prerequisites in CONTRIBUTING.md to match. The grpc4 example gains the experimental_member_use ignore that grpc5 already had, matching its sibling. Co-Authored-By: Cursor <noreply@cursor.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent b5a9952 commit 98581ac

26 files changed

Lines changed: 32 additions & 32 deletions

File tree

β€Ž.github/actions/dart-test/action.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ runs:
3535
fi
3636
3737
- name: Install better_test_reporter
38-
if: ${{ !cancelled() && !startsWith(matrix.sdk, '3.5') }}
38+
if: ${{ !cancelled() && !startsWith(matrix.sdk, '3.12') }}
3939
shell: bash
4040
run: dart pub global activate better_test_reporter 0.1.1
4141

4242
- name: Convert test results to JUnit XML
43-
if: ${{ !cancelled() && !startsWith(matrix.sdk, '3.5') }}
43+
if: ${{ !cancelled() && !startsWith(matrix.sdk, '3.12') }}
4444
working-directory: ${{ inputs.directory }}
4545
shell: bash
4646
run: dart pub global run better_test_reporter:report_to_junit --input test-vm.jsonl --output TEST-vm-junit.xml

β€Ž.github/workflows/dart.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
matrix:
3030
os: [ubuntu]
3131
sdk:
32-
- '3.5'
32+
- '3.12'
3333
- stable
3434
- beta
3535
include:

β€ŽCONTRIBUTING.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ you get started.
77

88
### Required Tools
99

10-
* **Dart SDK** `>=3.5.0` - Required for all packages
11-
* **Flutter SDK** `>=3.24.0` - Required for `sentry-flutter` and Flutter integrations
10+
* **Dart SDK** `>=3.12.0` - Required for all packages
11+
* **Flutter SDK** `>=3.44.0` - Required for `sentry-flutter` and Flutter integrations
1212
* **[fvm](https://fvm.app/)** - For Flutter/Dart version management
1313
* **[melos](https://melos.invertase.dev/)** - For managing the monorepo
1414

β€Že2e_test/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 1.0.0
55
publish_to: none
66

77
environment:
8-
sdk: '>=3.5.0 <4.0.0'
8+
sdk: '>=3.12.0 <4.0.0'
99

1010
dependencies:
1111
sentry:

β€Žpackages/_sentry_testing/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Testing utilities for Sentry Dart/Flutter SDK (internal use only)
44
publish_to: none
55

66
environment:
7-
sdk: '>=3.5.0 <4.0.0'
7+
sdk: '>=3.12.0 <4.0.0'
88

99
dependencies:
1010
sentry:

β€Žpackages/dart/example/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 1.0.0
55
publish_to: none
66

77
environment:
8-
sdk: '>=3.5.0 <4.0.0'
8+
sdk: '>=3.12.0 <4.0.0'
99

1010
dependencies:
1111
sentry:

β€Žpackages/dart/example_web/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: An absolute bare-bones web app.
44
publish_to: 'none'
55

66
environment:
7-
sdk: '>=3.5.0 <4.0.0'
7+
sdk: '>=3.12.0 <4.0.0'
88

99
dependencies:
1010
sentry:

β€Žpackages/dart/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ issue_tracker: https://github.com/getsentry/sentry-dart/issues
99
documentation: https://docs.sentry.io/platforms/dart/
1010

1111
environment:
12-
sdk: '>=3.5.0 <4.0.0'
12+
sdk: '>=3.12.0 <4.0.0'
1313

1414
platforms:
1515
android:

β€Žpackages/dio/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ issue_tracker: https://github.com/getsentry/sentry-dart/issues
77
documentation: https://docs.sentry.io/platforms/dart/integrations/dio/
88

99
environment:
10-
sdk: '>=3.5.0 <4.0.0'
10+
sdk: '>=3.12.0 <4.0.0'
1111

1212
platforms:
1313
android:

β€Žpackages/drift/pubspec.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repository: https://github.com/getsentry/sentry-dart
66
issue_tracker: https://github.com/getsentry/sentry-dart/issues
77

88
environment:
9-
sdk: '>=3.5.0 <4.0.0'
9+
sdk: '>=3.12.0 <4.0.0'
1010

1111
platforms:
1212
android:

0 commit comments

Comments
Β (0)