Skip to content

Commit e21442b

Browse files
authored
Upgrade analysis SDKs + runtime Dart SDK (#8565)
1 parent b766a85 commit e21442b

34 files changed

+170
-130
lines changed

.github/workflows/dart.yml

Lines changed: 112 additions & 112 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Important changes to data models, configuration, and migrations between each
22
AppEngine version, listed here to ease deployment and troubleshooting.
33

44
## Next Release (replace with git tag when deployed)
5+
* Bump runtimeVersion to `2025.02.14`.
6+
* Upgraded runtime Dart SDK to `3.7.0`.
7+
* Upgraded stable Dart analysis SDK to `3.7.0`
8+
* Upgraded stable Flutter analysis SDK to `3.29.0`.
59

610
## `20250211t121000-all`
711

Dockerfile.app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Keep version in-sync with .mono_repo.yml and app/lib/shared/versions.dart
2-
FROM dart:3.6.0
2+
FROM dart:3.7.0
33

44
# After install we remove the apt-index again to keep the docker image diff small.
55
RUN apt-get update && \

Dockerfile.worker

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ RUN mkdir -p /home/worker/config/dart-stable
2323
RUN mkdir -p /home/worker/config/flutter-stable
2424

2525
# Setup Dart SDK into /home/worker/dart/{stable,preview}/
26-
RUN XDG_CONFIG_HOME=/home/worker/config/dart-stable tool/setup-dart.sh /home/worker/dart/stable stable/raw/hash/a8bfb132c5f7b9555d13ea79eaf0eaa77825824d
26+
RUN XDG_CONFIG_HOME=/home/worker/config/dart-stable tool/setup-dart.sh /home/worker/dart/stable 3.7.0
2727

2828
# Setup Flutter SDK into /home/worker/flutter/{stable,preview}/
29-
RUN XDG_CONFIG_HOME=/home/worker/config/flutter-stable tool/setup-flutter.sh /home/worker/flutter/stable 3.27.4
29+
RUN XDG_CONFIG_HOME=/home/worker/config/flutter-stable tool/setup-flutter.sh /home/worker/flutter/stable 3.29.0
3030

3131
# Setup webp
3232
RUN tool/setup-webp.sh /home/worker/bin

app/lib/shared/versions.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ final RegExp runtimeVersionPattern = RegExp(r'^\d{4}\.\d{2}\.\d{2}$');
2424
/// when the version switch happens.
2525
const _acceptedRuntimeVersions = <String>[
2626
// The current [runtimeVersion].
27-
'2025.02.10',
27+
'2025.02.14',
2828
// Fallback runtime versions.
29+
'2025.02.10',
2930
'2025.01.31',
30-
'2025.01.24',
3131
];
3232

3333
/// Sets the current runtime versions.
@@ -61,9 +61,9 @@ bool shouldGCVersion(String version) =>
6161
version.compareTo(gcBeforeRuntimeVersion) < 0;
6262

6363
// keep in-sync with SDK version in .mono_repo.yml and Dockerfile
64-
final String runtimeSdkVersion = '3.6.0';
64+
final String runtimeSdkVersion = '3.7.0';
6565
final String toolStableDartSdkVersion = '3.7.0';
66-
final String toolStableFlutterSdkVersion = '3.27.4';
66+
final String toolStableFlutterSdkVersion = '3.29.0';
6767

6868
final semanticToolStableDartSdkVersion =
6969
Version.parse(toolStableDartSdkVersion);

app/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://github.com/dart-lang/mono_repo for details
22
sdk:
3-
- 3.6.0
3+
- 3.7.0
44

55
stages:
66
- smoke_test:

app/test/frontend/static_files_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void main() {
212212
test('script.dart.js and parts size check', () {
213213
final file = cache.getFile('/static/js/script.dart.js');
214214
expect(file, isNotNull);
215-
expect((file!.bytes.length / 1024).round(), closeTo(345, 20));
215+
expect((file!.bytes.length / 1024).round(), closeTo(366, 20));
216216

217217
final parts = cache.paths
218218
.where((path) =>

pkg/_pub_shared/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://github.com/dart-lang/mono_repo for details
22
sdk:
3-
- 3.6.0
3+
- 3.7.0
44

55
stages:
66
- smoke_test:

pkg/api_builder/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://github.com/dart-lang/mono_repo for details
22
sdk:
3-
- 3.6.0
3+
- 3.7.0
44

55
stages:
66
- smoke_test:

pkg/fake_gcloud/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://pub.dev/packages/mono_repo for details on this file
22
sdk:
3-
- 3.6.0
3+
- 3.7.0
44

55
stages:
66
- smoke_test:

0 commit comments

Comments
 (0)