Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
224 changes: 112 additions & 112 deletions .github/workflows/dart.yml

Large diffs are not rendered by default.

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)
* Bump runtimeVersion to `2025.02.14`.
* Upgraded runtime Dart SDK to `3.7.0`.
* Upgraded stable Dart analysis SDK to `3.7.0`
* Upgraded stable Flutter analysis SDK to `3.29.0`.

## `20250211t121000-all`

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.app
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Keep version in-sync with .mono_repo.yml and app/lib/shared/versions.dart
FROM dart:3.6.0
FROM dart:3.7.0

# After install we remove the apt-index again to keep the docker image diff small.
RUN apt-get update && \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ RUN mkdir -p /home/worker/config/dart-stable
RUN mkdir -p /home/worker/config/flutter-stable

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

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

# Setup webp
RUN tool/setup-webp.sh /home/worker/bin
Expand Down
8 changes: 4 additions & 4 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].
'2025.02.10',
'2025.02.14',
// Fallback runtime versions.
'2025.02.10',
'2025.01.31',
'2025.01.24',
];

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

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

final semanticToolStableDartSdkVersion =
Version.parse(toolStableDartSdkVersion);
Expand Down
2 changes: 1 addition & 1 deletion app/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://github.com/dart-lang/mono_repo for details
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion app/test/frontend/static_files_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void main() {
test('script.dart.js and parts size check', () {
final file = cache.getFile('/static/js/script.dart.js');
expect(file, isNotNull);
expect((file!.bytes.length / 1024).round(), closeTo(345, 20));
expect((file!.bytes.length / 1024).round(), closeTo(366, 20));

final parts = cache.paths
.where((path) =>
Expand Down
2 changes: 1 addition & 1 deletion pkg/_pub_shared/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://github.com/dart-lang/mono_repo for details
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/api_builder/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://github.com/dart-lang/mono_repo for details
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/fake_gcloud/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/indexed_blob/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/pub_integration/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/pub_package_reader/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/pub_worker/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/script.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:mdc_web/mdc_web.dart' as mdc show autoInit;
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/_dom_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:mdc_web/mdc_web.dart' show MDCDialog;
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/account.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'admin_pages.dart' deferred as admin_pages;
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/admin_pages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/data/account_api.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/api_client/_rpc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/pubapi.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/api_client/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/pubapi.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/deferred/http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:collection/collection.dart' show IterableExtension;
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/deferred/markdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:markdown/markdown.dart' as md;
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/foldable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';
import 'dart:math' show max, min;

Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/hoverable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/format/x_ago_format.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/issues.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

void setupIssues() {
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/likes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/format/number_format.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/mobile_nav.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

void setupMobileNav() {
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/page_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/data/page_data.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/page_updater.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:http/http.dart' deferred as http show get;
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/screenshot_carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:convert';
// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import '_dom_helper.dart';
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/scroll.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

void setupScroll() {
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_app/lib/src/search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// TODO: migrate to package:web
// ignore: deprecated_member_use
import 'dart:html';

import 'package:_pub_shared/search/search_form.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkg/web_app/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
2 changes: 1 addition & 1 deletion pkg/web_css/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pub.dev/packages/mono_repo for details on this file
sdk:
- 3.6.0
- 3.7.0

stages:
- smoke_test:
Expand Down
Loading