diff --git a/CHANGELOG.md b/CHANGELOG.md index df16cbc3f5b..53fd8fac84a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.11.0 + +**Released on:** Unreleased + ## 3.10.0 **Released on:** Unreleased diff --git a/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart b/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart index 9336c29579d..4aff84ec756 100644 --- a/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart +++ b/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart @@ -6,7 +6,7 @@ // // Instead modify 'tools/experimental_features.yaml' and run // 'dart pkg/front_end/tool/cfe.dart generate-experimental-flags' to update. -const Version defaultLanguageVersion = const Version(3, 10); +const Version defaultLanguageVersion = const Version(3, 11); /// Enum for experimental flags shared between the CFE and the analyzer. enum ExperimentalFlag { diff --git a/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart b/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart index d7efe38307d..1a8a10ad262 100644 --- a/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart +++ b/pkg/analyzer/lib/src/dart/analysis/experiments.g.dart @@ -12,7 +12,7 @@ part of 'experiments.dart'; /// The current version of the Dart language (or, for non-stable releases, the /// version of the language currently in the process of being developed). -const _currentVersion = '3.10.0'; +const _currentVersion = '3.11.0'; /// A map containing information about all known experimental flags. final _knownFeatures = { diff --git a/pkg/front_end/testcases/general/too_high_version/main.dart.strong.expect b/pkg/front_end/testcases/general/too_high_version/main.dart.strong.expect index 75eb436207b..4324bfc5e87 100644 --- a/pkg/front_end/testcases/general/too_high_version/main.dart.strong.expect +++ b/pkg/front_end/testcases/general/too_high_version/main.dart.strong.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/general/too_high_version/too_high/lib/too_high_lib.dart:1:1: Error: The language version 100.200 specified for the package 'too_high' is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/too_high_version/too_high/lib/too_high_lib.dart:1:1: Error: The language version 100.200 specified for the package 'too_high' is too high. The highest supported language version is 3.11. // // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file // ^ // diff --git a/pkg/front_end/testcases/general/too_high_version/main.dart.strong.modular.expect b/pkg/front_end/testcases/general/too_high_version/main.dart.strong.modular.expect index 75eb436207b..4324bfc5e87 100644 --- a/pkg/front_end/testcases/general/too_high_version/main.dart.strong.modular.expect +++ b/pkg/front_end/testcases/general/too_high_version/main.dart.strong.modular.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/general/too_high_version/too_high/lib/too_high_lib.dart:1:1: Error: The language version 100.200 specified for the package 'too_high' is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/too_high_version/too_high/lib/too_high_lib.dart:1:1: Error: The language version 100.200 specified for the package 'too_high' is too high. The highest supported language version is 3.11. // // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file // ^ // diff --git a/pkg/front_end/testcases/general/too_high_version/main.dart.strong.outline.expect b/pkg/front_end/testcases/general/too_high_version/main.dart.strong.outline.expect index 75eb436207b..4324bfc5e87 100644 --- a/pkg/front_end/testcases/general/too_high_version/main.dart.strong.outline.expect +++ b/pkg/front_end/testcases/general/too_high_version/main.dart.strong.outline.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/general/too_high_version/too_high/lib/too_high_lib.dart:1:1: Error: The language version 100.200 specified for the package 'too_high' is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/too_high_version/too_high/lib/too_high_lib.dart:1:1: Error: The language version 100.200 specified for the package 'too_high' is too high. The highest supported language version is 3.11. // // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file // ^ // diff --git a/pkg/front_end/testcases/general/version_too_high.dart.strong.expect b/pkg/front_end/testcases/general/version_too_high.dart.strong.expect index 9d50a63424f..59001ebd661 100644 --- a/pkg/front_end/testcases/general/version_too_high.dart.strong.expect +++ b/pkg/front_end/testcases/general/version_too_high.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.11. // // @dart=100.200 // ^^^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/general/version_too_high.dart.strong.modular.expect b/pkg/front_end/testcases/general/version_too_high.dart.strong.modular.expect index 9d50a63424f..59001ebd661 100644 --- a/pkg/front_end/testcases/general/version_too_high.dart.strong.modular.expect +++ b/pkg/front_end/testcases/general/version_too_high.dart.strong.modular.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.11. // // @dart=100.200 // ^^^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/general/version_too_high.dart.strong.outline.expect b/pkg/front_end/testcases/general/version_too_high.dart.strong.outline.expect index 11c46833cfb..f19a44ffcff 100644 --- a/pkg/front_end/testcases/general/version_too_high.dart.strong.outline.expect +++ b/pkg/front_end/testcases/general/version_too_high.dart.strong.outline.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.11. // // @dart=100.200 // ^^^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/general/version_too_high.dart.strong.transformed.expect b/pkg/front_end/testcases/general/version_too_high.dart.strong.transformed.expect index 9d50a63424f..59001ebd661 100644 --- a/pkg/front_end/testcases/general/version_too_high.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/version_too_high.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.10. +// pkg/front_end/testcases/general/version_too_high.dart:5:1: Error: The specified language version 100.200 is too high. The highest supported language version is 3.11. // // @dart=100.200 // ^^^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/pubspec.yaml b/pkg/front_end/testcases/pubspec.yaml index b8de8ed9950..78014a3f1e9 100644 --- a/pkg/front_end/testcases/pubspec.yaml +++ b/pkg/front_end/testcases/pubspec.yaml @@ -2,5 +2,5 @@ name: front_end_testcases # This package is not intended for consumption on pub.dev. DO NOT publish. publish_to: none environment: - sdk: ^3.10.0-0 + sdk: ^3.11.0-0 resolution: workspace diff --git a/pkg/kernel/lib/default_language_version.dart b/pkg/kernel/lib/default_language_version.dart index 5c448ac1206..3a39211802a 100644 --- a/pkg/kernel/lib/default_language_version.dart +++ b/pkg/kernel/lib/default_language_version.dart @@ -9,4 +9,4 @@ import "ast.dart"; -const Version defaultLanguageVersion = const Version(3, 10); +const Version defaultLanguageVersion = const Version(3, 11); diff --git a/pubspec.yaml b/pubspec.yaml index 8e030be6033..26ab9d72586 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ environment: # # It needs to be updated before testing language features introduced in the # next language version. - sdk: ^3.10.0-0 + sdk: ^3.11.0-0 # These are the packages that are contained in the SDK. workspace: diff --git a/tools/VERSION b/tools/VERSION index 0e15ef80387..9124a14d6aa 100644 --- a/tools/VERSION +++ b/tools/VERSION @@ -25,7 +25,7 @@ # CHANNEL main MAJOR 3 -MINOR 10 +MINOR 11 PATCH 0 PRERELEASE 0 PRERELEASE_PATCH 0 diff --git a/tools/experimental_features.yaml b/tools/experimental_features.yaml index 3e368779fbd..c3e42c8db74 100644 --- a/tools/experimental_features.yaml +++ b/tools/experimental_features.yaml @@ -122,7 +122,7 @@ # default 'language' "category" with code generated for both CFE and Analyzer, # while other categories can be tailored more specifically. -current-version: '3.10.0' +current-version: '3.11.0' features: variance: