From 3d31e4e62482f5cb217f7ca5e0ed939c951f8661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20So=C3=B3s?= Date: Mon, 18 Dec 2023 13:53:28 +0100 Subject: [PATCH] Upgrade analysis SDKs (#7312) --- CHANGELOG.md | 3 +++ Dockerfile.worker | 4 ++-- app/lib/shared/versions.dart | 8 ++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c95af4429..74caff35fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ Important changes to data models, configuration, and migrations between each AppEngine version, listed here to ease deployment and troubleshooting. ## Next Release (replace with git tag when deployed) + * Bumped runtimeVersion to `2023.12.18`. + * Upgraded stable Flutter analysis SDK to `3.16.4`. + * Upgraded preview Flutter analysis SDK to `3.18.0-0.2.pre`. ## `20231212t114900-all` * Bumped runtimeVersion to `2023.12.08`. diff --git a/Dockerfile.worker b/Dockerfile.worker index 4e47f87e5e..8df6b91040 100644 --- a/Dockerfile.worker +++ b/Dockerfile.worker @@ -28,9 +28,9 @@ RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-dart.sh /home/worker/ RUN mv /home/worker/dart/dart-sdk /home/worker/dart/preview # Setup Flutter SDK into /home/worker/flutter/{stable,preview}/ -RUN tool/setup-flutter.sh /home/worker/flutter 3.16.3 +RUN tool/setup-flutter.sh /home/worker/flutter 3.16.4 RUN mv /home/worker/flutter/flutter /home/worker/flutter/stable -RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-flutter.sh /home/worker/flutter 3.18.0-0.1.pre +RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-flutter.sh /home/worker/flutter 3.18.0-0.2.pre RUN mv /home/worker/flutter/flutter /home/worker/flutter/preview # Setup webp diff --git a/app/lib/shared/versions.dart b/app/lib/shared/versions.dart index 25641fff18..0c59043b99 100644 --- a/app/lib/shared/versions.dart +++ b/app/lib/shared/versions.dart @@ -24,10 +24,10 @@ final RegExp runtimeVersionPattern = RegExp(r'^\d{4}\.\d{2}\.\d{2}$'); /// when the version switch happens. const _acceptedRuntimeVersions = [ // The current [runtimeVersion]. - '2023.12.08', + '2023.12.18', // Fallback runtime versions. + '2023.12.08', '2023.11.28', - '2023.11.21', ]; /// Sets the current runtime versions. @@ -63,9 +63,9 @@ bool shouldGCVersion(String version) => // keep in-sync with SDK version in .mono_repo.yml and Dockerfile final String runtimeSdkVersion = '3.2.0'; final String toolStableDartSdkVersion = '3.2.3'; -final String toolStableFlutterSdkVersion = '3.16.3'; +final String toolStableFlutterSdkVersion = '3.16.4'; final String toolPreviewDartSdkVersion = '3.3.0-174.2.beta'; -final String toolPreviewFlutterSdkVersion = '3.18.0-0.1.pre'; +final String toolPreviewFlutterSdkVersion = '3.18.0-0.2.pre'; final semanticToolStableDartSdkVersion = Version.parse(toolStableDartSdkVersion);