Skip to content

Commit

Permalink
Upgrade analysis SDKs (dart-lang#7461)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Feb 6, 2024
1 parent 47f95aa commit 4416a19
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ 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 `2024.02.05`.
* Upgraded stable Dart analysis SDK to `3.2.6`.
* Upgraded stable Flutter analysis SDK to `3.16.9`.
* Upgraded preview Dart analysis SDK to `3.3.0-279.3.beta`.
* Upgraded preview Flutter analysis SDK to `3.19.0-0.4.pre`.

## `20240201t145300-all`
* Note: temporarily disabled email notification on package published events.
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ WORKDIR /home/worker/pub-dev
RUN mkdir -p /home/worker/config/preview

# Setup Dart SDK into /home/worker/dart/{stable,preview}/
RUN tool/setup-dart.sh /home/worker/dart/stable 3.2.5
RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-dart.sh /home/worker/dart/preview 3.3.0-279.1.beta
RUN tool/setup-dart.sh /home/worker/dart/stable 3.2.6
RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-dart.sh /home/worker/dart/preview 3.3.0-279.3.beta

# Setup Flutter SDK into /home/worker/flutter/{stable,preview}/
RUN tool/setup-flutter.sh /home/worker/flutter/stable 3.16.8
RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-flutter.sh /home/worker/flutter/preview 3.19.0-0.2.pre
RUN tool/setup-flutter.sh /home/worker/flutter/stable 3.16.9
RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-flutter.sh /home/worker/flutter/preview 3.19.0-0.4.pre

# Setup webp
RUN tool/setup-webp.sh /home/worker/bin
Expand Down
12 changes: 6 additions & 6 deletions app/lib/shared/versions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ final RegExp runtimeVersionPattern = RegExp(r'^\d{4}\.\d{2}\.\d{2}$');
/// when the version switch happens.
const _acceptedRuntimeVersions = <String>[
// The current [runtimeVersion].
'2024.01.30',
'2024.02.05',
// Fallback runtime versions.
'2024.01.30',
'2024.01.22',
'2024.01.10',
];

/// Sets the current runtime versions.
Expand Down Expand Up @@ -62,10 +62,10 @@ 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.5';
final String toolStableFlutterSdkVersion = '3.16.8';
final String toolPreviewDartSdkVersion = '3.3.0-279.1.beta';
final String toolPreviewFlutterSdkVersion = '3.19.0-0.2.pre';
final String toolStableDartSdkVersion = '3.2.6';
final String toolStableFlutterSdkVersion = '3.16.9';
final String toolPreviewDartSdkVersion = '3.3.0-279.3.beta';
final String toolPreviewFlutterSdkVersion = '3.19.0-0.4.pre';

final semanticToolStableDartSdkVersion =
Version.parse(toolStableDartSdkVersion);
Expand Down

0 comments on commit 4416a19

Please sign in to comment.