diff --git a/CHANGELOG.md b/CHANGELOG.md index 01e0d697c74c..e2730fc58fa3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 3.8.0 + ## 3.7.0 ### Language diff --git a/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart b/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart index f32c1ced7d9f..9419dd2f7ff4 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, 7); +const Version defaultLanguageVersion = const Version(3, 8); /// 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 3c4b256845d4..7f78b8407ea2 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.7.0'; +const _currentVersion = '3.8.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 8499a621dcf3..20f8d69da801 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.7. +// 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.8. // // 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 8499a621dcf3..20f8d69da801 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.7. +// 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.8. // // 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 8499a621dcf3..20f8d69da801 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.7. +// 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.8. // // 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 33c5a33db91d..3fc3380fd014 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.7. +// 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.8. // // @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 33c5a33db91d..3fc3380fd014 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.7. +// 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.8. // // @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 04929fdbc813..4bf1b99a8d8a 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.7. +// 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.8. // // @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 33c5a33db91d..3fc3380fd014 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.7. +// 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.8. // // @dart=100.200 // ^^^^^^^^^^^^^^^^ // diff --git a/pkg/kernel/lib/default_language_version.dart b/pkg/kernel/lib/default_language_version.dart index 374391d4f2f2..d107afdbb4db 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, 7); +const Version defaultLanguageVersion = const Version(3, 8); diff --git a/tools/VERSION b/tools/VERSION index 126379c1ea23..940f07d13486 100644 --- a/tools/VERSION +++ b/tools/VERSION @@ -25,7 +25,7 @@ # CHANNEL main MAJOR 3 -MINOR 7 +MINOR 8 PATCH 0 PRERELEASE 0 PRERELEASE_PATCH 0 diff --git a/tools/experimental_features.yaml b/tools/experimental_features.yaml index 039001464eec..2a8d83d66225 100644 --- a/tools/experimental_features.yaml +++ b/tools/experimental_features.yaml @@ -24,6 +24,7 @@ # # kernel: # dart pkg/front_end/tool/cfe.dart generate-experimental-flags +# dart pkg/front_end/tool/update_expectations.dart # # vm: # dart tools/generate_experimental_flags.dart @@ -109,7 +110,7 @@ # default 'language' "category" with code generated for both CFE and Analyzer, # while other categories can be tailored more specifically. -current-version: '3.7.0' +current-version: '3.8.0' features: variance: