Skip to content

Commit

Permalink
Upgrade analysis SDKs (dart-lang#7256)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Dec 6, 2023
1 parent b8ff701 commit b36a530
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 `2023.12.06`.
* Upgraded stable Dart analysis SDK to `3.2.2`.
* Upgraded stable Flutter analysis SDK to `3.16.2`.
* Upgraded preview Dart analysis SDK to `3.3.0-174.2.beta`.
* Upgraded preview Flutter analysis SDK to `3.18.0-0.1.pre`.

## `20231128t115900-all`
* Bumped runtimeVersion to `2023.11.28`.
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ COPY --chown=worker:worker . /home/worker/pub-dev
WORKDIR /home/worker/pub-dev

# Setup Dart SDK into /home/worker/dart/{stable,preview}/
RUN tool/setup-dart.sh /home/worker/dart 3.2.1
RUN tool/setup-dart.sh /home/worker/dart 3.2.2
RUN mv /home/worker/dart/dart-sdk /home/worker/dart/stable
RUN tool/setup-dart.sh /home/worker/dart 3.3.0-166.0.dev
RUN tool/setup-dart.sh /home/worker/dart 3.3.0-174.2.beta
RUN tool/setup-webp.sh /home/worker/bin
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.1
RUN tool/setup-flutter.sh /home/worker/flutter 3.16.2
RUN mv /home/worker/flutter/flutter /home/worker/flutter/stable
RUN tool/setup-flutter.sh /home/worker/flutter 3.17.0-0.0.pre
RUN tool/setup-flutter.sh /home/worker/flutter 3.18.0-0.1.pre
RUN mv /home/worker/flutter/flutter /home/worker/flutter/preview

# Configure SDKs to be used for analysis
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].
'2023.11.28',
'2023.12.06',
// Fallback runtime versions.
'2023.11.28',
'2023.11.21',
'2023.11.16',
];

/// 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.1';
final String toolStableFlutterSdkVersion = '3.16.1';
final String toolPreviewDartSdkVersion = '3.3.0-166.0.dev';
final String toolPreviewFlutterSdkVersion = '3.17.0-0.0.pre';
final String toolStableDartSdkVersion = '3.2.2';
final String toolStableFlutterSdkVersion = '3.16.2';
final String toolPreviewDartSdkVersion = '3.3.0-174.2.beta';
final String toolPreviewFlutterSdkVersion = '3.18.0-0.1.pre';

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

0 comments on commit b36a530

Please sign in to comment.