Skip to content

Commit

Permalink
Upgrade analysis SDKs (dart-lang#7424)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Jan 22, 2024
1 parent 11d293d commit c215696
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ 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.01.22`.
* Upgraded stable Dart analysis SDK to `3.2.5`.
* Upgraded stable Flutter analysis SDK to `3.16.8`.
* Upgraded preview Flutter analysis SDK to `3.19.0-0.2.pre`.

## `20240118t104800-all`
* Upgraded dependencies including `markdown: ^7.2.0`.
Expand Down
6 changes: 3 additions & 3 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.3
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

# Setup Flutter SDK into /home/worker/flutter/{stable,preview}/
RUN tool/setup-flutter.sh /home/worker/flutter/stable 3.16.5
RUN XDG_CONFIG_HOME=/home/worker/config/preview tool/setup-flutter.sh /home/worker/flutter/preview 3.18.0-0.2.pre
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

# Setup webp
RUN tool/setup-webp.sh /home/worker/bin
Expand Down
10 changes: 5 additions & 5 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.10',
'2024.01.22',
// Fallback runtime versions.
'2024.01.10',
'2023.12.18',
'2023.12.08',
];

/// 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.3';
final String toolStableFlutterSdkVersion = '3.16.5';
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.18.0-0.2.pre';
final String toolPreviewFlutterSdkVersion = '3.19.0-0.2.pre';

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

0 comments on commit c215696

Please sign in to comment.