Skip to content

Commit

Permalink
Upgrade runtime SDK + dependencies. (dart-lang#7494)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Feb 21, 2024
1 parent f5495a5 commit fa01c58
Show file tree
Hide file tree
Showing 52 changed files with 522 additions and 495 deletions.
224 changes: 112 additions & 112 deletions .github/workflows/dart.yml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `2024.02.21`.
* Upgraded runtime Dart SDK to `3.3.0`.
* Upgraded dependencies including `markdown: ^7.2.1`.

## `20240220t074300-all`
* Bumped runtimeVersion to `2024.02.16`.
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.2.0
FROM dart:3.3.0

# After install we remove the apt-index again to keep the docker image diff small.
RUN apt-get update && \
Expand Down
6 changes: 3 additions & 3 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.02.16',
'2024.02.21',
// Fallback runtime versions.
'2024.02.16',
'2024.02.13',
'2024.02.09',
];

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

// keep in-sync with SDK version in .mono_repo.yml and Dockerfile
final String runtimeSdkVersion = '3.2.0';
final String runtimeSdkVersion = '3.3.0';
final String toolStableDartSdkVersion = '3.3.0';
final String toolStableFlutterSdkVersion = '3.19.0';
final String toolPreviewDartSdkVersion = '3.4.0-131.0.dev';
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.2.0
- 3.3.0

stages:
- smoke_test:
Expand Down
74 changes: 41 additions & 33 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49"
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
url: "https://pub.dev"
source: hosted
version: "65.0.0"
version: "67.0.0"
_popularity:
dependency: "direct main"
description:
Expand All @@ -35,10 +35,10 @@ packages:
dependency: transitive
description:
name: analyzer
sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
url: "https://pub.dev"
source: hosted
version: "6.3.0"
version: "6.4.1"
api_builder:
dependency: "direct main"
description:
Expand Down Expand Up @@ -138,10 +138,10 @@ packages:
dependency: transitive
description:
name: build_runner_core
sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185
sha256: "4ae8ffe5ac758da294ecf1802f2aff01558d8b1b00616aa7538ea9a8a5d50799"
url: "https://pub.dev"
source: hosted
version: "7.2.11"
version: "7.3.0"
build_verify:
dependency: "direct dev"
description:
Expand All @@ -162,10 +162,10 @@ packages:
dependency: transitive
description:
name: built_value
sha256: c9aabae0718ec394e5bc3c7272e6bb0dc0b32201a08fe185ec1d8401d3e39309
sha256: fedde275e0a6b798c3296963c5cd224e3e1b55d0e478d5b7e65e6b540f363a0e
url: "https://pub.dev"
source: hosted
version: "8.8.1"
version: "8.9.1"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -317,6 +317,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.2"
google_identity_services_web:
dependency: transitive
description:
name: google_identity_services_web
sha256: "972ff30eebf6a5eab28be3e1e47a45df087ed64d5aefdac0df47758ecdec5385"
url: "https://pub.dev"
source: hosted
version: "0.3.1"
googleapis:
dependency: "direct main"
description:
Expand All @@ -329,10 +337,10 @@ packages:
dependency: "direct main"
description:
name: googleapis_auth
sha256: af7c3a3edf9d0de2e1e0a77e994fae0a581c525fa7012af4fa0d4a52ed9484da
sha256: "772779fe28a8b70939eab9c390a5f8f46cbb59bda9f1f10ea60dd894eff59ff0"
url: "https://pub.dev"
source: hosted
version: "1.4.1"
version: "1.4.2"
graphs:
dependency: transitive
description:
Expand Down Expand Up @@ -361,10 +369,10 @@ packages:
dependency: "direct main"
description:
name: http
sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba
sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.2.1"
http2:
dependency: transitive
description:
Expand Down Expand Up @@ -424,10 +432,10 @@ packages:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.6.7"
version: "0.7.1"
json_annotation:
dependency: "direct main"
description:
Expand Down Expand Up @@ -480,10 +488,10 @@ packages:
dependency: "direct main"
description:
name: markdown
sha256: "4e304b422905967f1f7e35a03cd2a3f8f34306b3e1b0cc7a8677d7a306471a0e"
sha256: "1b134d9f8ff2da15cb298efe6cd8b7d2a78958c1b00384ebcbdf13fe340a6c90"
url: "https://pub.dev"
source: hosted
version: "7.2.0"
version: "7.2.1"
matcher:
dependency: transitive
description:
Expand All @@ -496,18 +504,18 @@ packages:
dependency: "direct main"
description:
name: meta
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.12.0"
mime:
dependency: "direct main"
description:
name: mime
sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
version: "1.0.5"
neat_cache:
dependency: "direct main"
description:
Expand Down Expand Up @@ -560,18 +568,18 @@ packages:
dependency: "direct main"
description:
name: pem
sha256: "198e02e1e9b73c9b4046944f109089c5d2a4ff79e4c47436efb969f4587dd9eb"
sha256: "3dfb24524f805ad694ba3cdbb6387ab31ab661fdb8ea873052ed88487fcfef86"
url: "https://pub.dev"
source: hosted
version: "2.0.4"
version: "2.0.5"
petitparser:
dependency: transitive
description:
name: petitparser
sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750
sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
url: "https://pub.dev"
source: hosted
version: "5.4.0"
version: "6.0.2"
pointycastle:
dependency: transitive
description:
Expand Down Expand Up @@ -799,10 +807,10 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: "694c108e13c6b35b15fcb0f8f03eddf8373f93b044c9497b5e81ce09f7381bda"
sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"
url: "https://pub.dev"
source: hosted
version: "1.25.1"
version: "1.25.2"
test_api:
dependency: transitive
description:
Expand Down Expand Up @@ -871,18 +879,18 @@ packages:
dependency: transitive
description:
name: web
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
sha256: "1d9158c616048c38f712a6646e317a3426da10e884447626167240d45209cbad"
url: "https://pub.dev"
source: hosted
version: "0.4.2"
version: "0.5.0"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
sha256: "939ab60734a4f8fa95feacb55804fa278de28bdeef38e616dc08e44a84adea23"
sha256: "1d8e795e2a8b3730c41b8a98a2dff2e0fb57ae6f0764a1c46ec5915387d257b2"
url: "https://pub.dev"
source: hosted
version: "2.4.3"
version: "2.4.4"
webkit_inspection_protocol:
dependency: transitive
description:
Expand All @@ -895,10 +903,10 @@ packages:
dependency: "direct dev"
description:
name: xml
sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84"
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
url: "https://pub.dev"
source: hosted
version: "6.3.0"
version: "6.5.0"
yaml:
dependency: "direct main"
description:
Expand All @@ -916,4 +924,4 @@ packages:
source: hosted
version: "2.1.1"
sdks:
dart: ">=3.2.0 <4.0.0"
dart: ">=3.3.0 <4.0.0"
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
json_annotation: '^4.3.0'
lints: ^3.0.0
logging: '>=0.9.3 <2.0.0'
markdown: ^7.2.0
markdown: ^7.2.1
meta: ^1.1.2
mime: '>=0.9.3 <2.0.0'
neat_cache: ^2.0.1
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 @@ -200,7 +200,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(319, 1));
expect((file!.bytes.length / 1024).round(), closeTo(322, 1));

final parts = cache.paths
.where((path) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>Constructors</h2>
(
<span class="parameter" id="-param-text">
<span class="type-annotation">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/String-class.html">String</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/String-class.html">String</a>
</span>
<span class="parameter-name">text</span>
</span>
Expand All @@ -86,11 +86,11 @@ <h2>Properties</h2>
<dl class="properties">
<dt id="hashCode" class="property inherited">
<span class="name">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Object/hashCode.html">hashCode</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Object/hashCode.html">hashCode</a>
</span>
<span class="signature">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/int-class.html">int</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/int-class.html">int</a>
</span>
</dt>
<dd class="inherited">
Expand All @@ -102,11 +102,11 @@ <h2>Properties</h2>
</dd>
<dt id="runtimeType" class="property inherited">
<span class="name">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Object/runtimeType.html">runtimeType</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Object/runtimeType.html">runtimeType</a>
</span>
<span class="signature">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Type-class.html">Type</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Type-class.html">Type</a>
</span>
</dt>
<dd class="inherited">
Expand All @@ -122,7 +122,7 @@ <h2>Properties</h2>
</span>
<span class="signature">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/String-class.html">String</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/String-class.html">String</a>
</span>
</dt>
<dd>
Expand All @@ -137,14 +137,14 @@ <h2>Methods</h2>
<dl class="callables">
<dt id="noSuchMethod" class="callable inherited">
<span class="name">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Object/noSuchMethod.html">noSuchMethod</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Object/noSuchMethod.html">noSuchMethod</a>
</span>
<span class="signature">
(
<wbr/>
<span class="parameter" id="noSuchMethod-param-invocation">
<span class="type-annotation">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Invocation-class.html">Invocation</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Invocation-class.html">Invocation</a>
</span>
<span class="parameter-name">invocation</span>
</span>
Expand All @@ -168,7 +168,7 @@ <h2>Methods</h2>
)
<span class="returntype parameter">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/String-class.html">String</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/String-class.html">String</a>
</span>
</span>
</dt>
Expand All @@ -187,7 +187,7 @@ <h2>Methods</h2>
)
<span class="returntype parameter">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/String-class.html">String</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/String-class.html">String</a>
</span>
</span>
</dt>
Expand All @@ -204,21 +204,21 @@ <h2>Operators</h2>
<dl class="callables">
<dt id="operator ==" class="callable inherited">
<span class="name">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Object/operator_equals.html">operator ==</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Object/operator_equals.html">operator ==</a>
</span>
<span class="signature">
(
<wbr/>
<span class="parameter" id="==-param-other">
<span class="type-annotation">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/Object-class.html">Object</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/Object-class.html">Object</a>
</span>
<span class="parameter-name">other</span>
</span>
)
<span class="returntype parameter">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/bool-class.html">bool</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/bool-class.html">bool</a>
</span>
</span>
</dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1>
<li>
<span class="parameter" id="-param-text">
<span class="type-annotation">
<a href="https://api.dart.dev/stable/3.2.0/dart-core/String-class.html">String</a>
<a href="https://api.dart.dev/stable/3.3.0/dart-core/String-class.html">String</a>
</span>
<span class="parameter-name">text</span>
</span>
Expand Down
Loading

0 comments on commit fa01c58

Please sign in to comment.