diff --git a/CHANGELOG.md b/CHANGELOG.md index 2af0273e1f..e26e913747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ 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) - -## `20221208t112900-all` - * Bumped runtimeVersion to `2022.12.12`. + * Bumped runtimeVersion to `2022.12.13`. * Upgraded stable Dart analysis SDK to `2.18.5`. * Upgraded preview Dart analysis SDK to `2.19.0-444.1.beta`. * Upgraded preview Flutter analysis SDK to `3.7.0-1.1.pre`. + * Upgraded dartdoc to `6.1.5`. + +## `20221208t112900-all` + * Bumped runtimeVersion to `2022.12.07`. * Upgraded pana to `0.21.22`. * Check valid (well-formatted) dependency names at upload. * Check that dependencies exist at upload. diff --git a/app/lib/shared/versions.dart b/app/lib/shared/versions.dart index 859ab4bc93..f7095caeec 100644 --- a/app/lib/shared/versions.dart +++ b/app/lib/shared/versions.dart @@ -22,10 +22,10 @@ final RegExp runtimeVersionPattern = RegExp(r'^\d{4}\.\d{2}\.\d{2}$'); /// when the version switch happens. const acceptedRuntimeVersions = [ // The current [runtimeVersion]. - '2022.12.12', + '2022.12.13', // Fallback runtime versions. + '2022.12.07', '2022.11.23', - '2022.11.10', ]; /// Represents a combined version of the overall toolchain and processing, @@ -68,7 +68,7 @@ final semanticToolStableFlutterSdkVersion = final String panaVersion = pana.packageVersion; // keep in-sync with pkg/pub_dartdoc/pubspec.yaml -final String dartdocVersion = '6.1.1'; +final String dartdocVersion = '6.1.5'; /// Whether the given runtime version (stored with the dartdoc entry) should /// be displayed on the live site (or a coordinated upgrade is in progress). diff --git a/app/pubspec.lock b/app/pubspec.lock index 4f0a1ae8fe..13fbfcf3ba 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -14,7 +14,7 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "47.0.0" + version: "51.0.0" _popularity: dependency: "direct main" description: @@ -35,7 +35,7 @@ packages: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.7.0" + version: "5.3.1" api_builder: dependency: "direct main" description: @@ -602,7 +602,7 @@ packages: name: shelf_router_generator url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.5" shelf_static: dependency: transitive description: diff --git a/app/test/dartdoc/golden/pana_0.12.2_index.html b/app/test/dartdoc/golden/pana_0.12.2_index.html index d98667af67..59fa8eea7f 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_index.html +++ b/app/test/dartdoc/golden/pana_0.12.2_index.html @@ -4,7 +4,7 @@ - + pana - Dart API docs diff --git a/app/test/dartdoc/golden/pana_0.12.2_index.out.html b/app/test/dartdoc/golden/pana_0.12.2_index.out.html index 813d000492..270c2cc459 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_index.out.html +++ b/app/test/dartdoc/golden/pana_0.12.2_index.out.html @@ -6,7 +6,7 @@ - + pana - Dart API docs diff --git a/app/test/dartdoc/golden/pana_0.12.2_license_file_class.html b/app/test/dartdoc/golden/pana_0.12.2_license_file_class.html index 0bfe0bd8c5..8699dabdd2 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_license_file_class.html +++ b/app/test/dartdoc/golden/pana_0.12.2_license_file_class.html @@ -73,6 +73,8 @@

LicenseFile class
  • @JsonSerializable()
  • + + @@ -163,7 +165,7 @@

    Properties

    -
    @JsonKey(includeIfNull: false)final
    +
    final
    @@ -174,7 +176,7 @@

    Properties

    -
    @JsonKey(includeIfNull: false)final
    +
    final
    diff --git a/app/test/dartdoc/golden/pana_0.12.2_license_file_class.out.html b/app/test/dartdoc/golden/pana_0.12.2_license_file_class.out.html index 047c2d0629..3394ce03c4 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_license_file_class.out.html +++ b/app/test/dartdoc/golden/pana_0.12.2_license_file_class.out.html @@ -230,11 +230,6 @@

    Properties

    - - @ - JsonKey - (includeIfNull: false) - final
    @@ -249,11 +244,6 @@

    Properties

    - - @ - JsonKey - (includeIfNull: false) - final
    diff --git a/app/test/dartdoc/golden/pana_0.12.2_license_file_constructor.html b/app/test/dartdoc/golden/pana_0.12.2_license_file_constructor.html index 7151440dc4..7f85c3a036 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_license_file_constructor.html +++ b/app/test/dartdoc/golden/pana_0.12.2_license_file_constructor.html @@ -55,6 +55,7 @@

    LicenseFile constructor

    + LicenseFile(
    1. String path,
    2. String name,
    3. {String version,
    4. diff --git a/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.html b/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.html index cf541b7d59..3f5cbace38 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.html +++ b/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.html @@ -4,8 +4,8 @@ - - name property - LicenseFile extension - models library - Dart API + + name property - LicenseFile class - models library - Dart API @@ -55,6 +55,7 @@

      name property

      + String name
      final
      diff --git a/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.out.html b/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.out.html index bd54b96a29..e860d2ecf7 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.out.html +++ b/app/test/dartdoc/golden/pana_0.12.2_license_file_name_field.out.html @@ -6,8 +6,8 @@ - - name property - LicenseFile extension - models library - Dart API + + name property - LicenseFile class - models library - Dart API diff --git a/app/test/dartdoc/golden/pana_0.12.2_pretty_json.html b/app/test/dartdoc/golden/pana_0.12.2_pretty_json.html index 4fba177da8..b1252112e1 100644 --- a/app/test/dartdoc/golden/pana_0.12.2_pretty_json.html +++ b/app/test/dartdoc/golden/pana_0.12.2_pretty_json.html @@ -61,6 +61,8 @@

      prettyJson function prettyJson(
      1. dynamic obj
      ) + +

      diff --git a/pkg/api_builder/lib/src/api_router_generator.dart b/pkg/api_builder/lib/src/api_router_generator.dart index fcc3f03758..ea15b73871 100644 --- a/pkg/api_builder/lib/src/api_router_generator.dart +++ b/pkg/api_builder/lib/src/api_router_generator.dart @@ -107,7 +107,7 @@ code.Code _buildAddHandlerCode({ for (final param in handler.routeParameters) Code('$param,'), if (handler.hasPayload) Code( - 'await \$utilities.decodeJson<${handler.payloadType!.element2!.name}>(request, (o) => ${handler.payloadType!.element2!.name}.fromJson(o)),'), + 'await \$utilities.decodeJson<${handler.payloadType!.element!.name}>(request, (o) => ${handler.payloadType!.element!.name}.fromJson(o)),'), for (final param in handler.queryParameters) Code( '${param.name}: ' diff --git a/pkg/api_builder/lib/src/client_library_generator.dart b/pkg/api_builder/lib/src/client_library_generator.dart index 48d78c231c..354edfd3ee 100644 --- a/pkg/api_builder/lib/src/client_library_generator.dart +++ b/pkg/api_builder/lib/src/client_library_generator.dart @@ -14,7 +14,7 @@ import 'package:source_gen/source_gen.dart' as g; import 'shared.dart' show EndPointGenerator, Handler; code.Reference _referToType(DartType type) => - code.refer(type.element2!.name!, type.element2!.source!.uri.toString()); + code.refer(type.element!.name!, type.element!.source!.uri.toString()); final _responseType = g.TypeChecker.fromRuntime(shelf.Response); diff --git a/pkg/api_builder/pubspec.lock b/pkg/api_builder/pubspec.lock index 80b1130086..f739a2d49e 100644 --- a/pkg/api_builder/pubspec.lock +++ b/pkg/api_builder/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "47.0.0" + version: "51.0.0" analyzer: dependency: "direct main" description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.7.0" + version: "5.3.1" args: dependency: transitive description: diff --git a/pkg/api_builder/pubspec.yaml b/pkg/api_builder/pubspec.yaml index fa2840ac74..17dfed23f3 100644 --- a/pkg/api_builder/pubspec.yaml +++ b/pkg/api_builder/pubspec.yaml @@ -9,7 +9,7 @@ dependencies: build: ^2.0.0 build_config: ^1.0.0 source_gen: ^1.0.0 - analyzer: ^4.0.0 + analyzer: ^5.0.0 shelf_router: ^1.0.0 code_builder: ^4.0.0 shelf: ^1.0.0 diff --git a/pkg/pub_dartdoc/lib/pub_data_generator.dart b/pkg/pub_dartdoc/lib/pub_data_generator.dart index eeeab82ad5..a976ab4110 100644 --- a/pkg/pub_dartdoc/lib/pub_data_generator.dart +++ b/pkg/pub_dartdoc/lib/pub_data_generator.dart @@ -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. +// ignore_for_file: deprecated_export_use + import 'dart:convert' as convert; import 'package:analyzer/file_system/file_system.dart'; diff --git a/pkg/pub_dartdoc/pubspec.lock b/pkg/pub_dartdoc/pubspec.lock index b150374ed0..33eb0b4751 100644 --- a/pkg/pub_dartdoc/pubspec.lock +++ b/pkg/pub_dartdoc/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "50.0.0" + version: "51.0.0" analyzer: dependency: "direct main" description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "5.2.0" + version: "5.3.1" args: dependency: transitive description: @@ -84,7 +84,7 @@ packages: name: dartdoc url: "https://pub.dartlang.org" source: hosted - version: "6.1.1" + version: "6.1.5" file: dependency: transitive description: @@ -98,14 +98,14 @@ packages: name: frontend_server_client url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "3.2.0" glob: dependency: transitive description: name: glob url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" html: dependency: transitive description: @@ -189,7 +189,7 @@ packages: name: mime url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.3" node_preamble: dependency: transitive description: @@ -210,7 +210,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.8.3" pool: dependency: transitive description: @@ -231,7 +231,7 @@ packages: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" shelf: dependency: transitive description: @@ -322,21 +322,21 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.22.0" + version: "1.22.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.16" + version: "0.4.17" test_core: dependency: transitive description: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.4.20" + version: "0.4.21" typed_data: dependency: transitive description: diff --git a/pkg/pub_dartdoc/pubspec.yaml b/pkg/pub_dartdoc/pubspec.yaml index 48ea0b2d2e..6e03358b1f 100644 --- a/pkg/pub_dartdoc/pubspec.yaml +++ b/pkg/pub_dartdoc/pubspec.yaml @@ -8,7 +8,7 @@ dependencies: pub_dartdoc_data: path: ../pub_dartdoc_data # dartdoc version to be pinned, keep in-sync with app/lib/shared/versions.dart - dartdoc: 6.1.1 + dartdoc: 6.1.5 dev_dependencies: coverage: any # test already depends on it diff --git a/pkg/pub_worker/pubspec.lock b/pkg/pub_worker/pubspec.lock index 54637d6f06..48441dbd80 100644 --- a/pkg/pub_worker/pubspec.lock +++ b/pkg/pub_worker/pubspec.lock @@ -7,7 +7,7 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "47.0.0" + version: "51.0.0" _pub_shared: dependency: "direct main" description: @@ -21,7 +21,7 @@ packages: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.7.0" + version: "5.3.1" api_builder: dependency: "direct main" description: @@ -182,7 +182,7 @@ packages: name: dartdoc url: "https://pub.dartlang.org" source: hosted - version: "6.1.1" + version: "6.1.4" file: dependency: transitive description: diff --git a/pkg/web_app/pubspec.lock b/pkg/web_app/pubspec.lock index 0f7be65319..e37a01b583 100644 --- a/pkg/web_app/pubspec.lock +++ b/pkg/web_app/pubspec.lock @@ -7,7 +7,7 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "47.0.0" + version: "51.0.0" _pub_shared: dependency: "direct main" description: @@ -21,7 +21,7 @@ packages: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.7.0" + version: "5.3.1" api_builder: dependency: "direct main" description: