From 82bcae5657a30a4ff1921ce412b2fdd27e8947cc Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 8 Apr 2026 01:10:34 -0700 Subject: [PATCH] [release] Increase version on main to 3.13 Change-Id: Ice6dfd3b694637da4e20529af9374fece32eda4c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491821 Reviewed-by: Ivan Inozemtsev Reviewed-by: Konstantin Shcheglov Reviewed-by: Johnni Winther --- CHANGELOG.md | 4 ++++ pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart | 2 +- pkg/analyzer/lib/src/dart/analysis/experiments.g.dart | 2 +- .../general/too_high_version/main.dart.strong.expect | 2 +- .../general/too_high_version/main.dart.strong.modular.expect | 2 +- .../general/too_high_version/main.dart.strong.outline.expect | 2 +- .../testcases/general/version_too_high.dart.strong.expect | 2 +- .../general/version_too_high.dart.strong.modular.expect | 2 +- .../general/version_too_high.dart.strong.outline.expect | 2 +- .../general/version_too_high.dart.strong.transformed.expect | 2 +- pkg/front_end/testcases/pubspec.yaml | 2 +- pkg/kernel/lib/default_language_version.dart | 2 +- pubspec.yaml | 2 +- tools/VERSION | 2 +- tools/experimental_features.yaml | 2 +- 15 files changed, 18 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41fefb9ce1f..d1cc96baf29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.13.0 + +**Released on:** Unreleased + ## 3.12.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 2a23ffbeb4f..9a0328e7ea5 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, 12); +const Version defaultLanguageVersion = const Version(3, 13); /// 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 9bfb83707c3..67e632e349a 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.12.0'; +const _currentVersion = '3.13.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 3fe272a1a91..8238fe33dee 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.12. +// 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.13. // // 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 3fe272a1a91..8238fe33dee 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.12. +// 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.13. // // 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 3fe272a1a91..8238fe33dee 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.12. +// 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.13. // // 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 8806159af51..7836f69e0df 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.12. +// 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.13. // // @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 8806159af51..7836f69e0df 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.12. +// 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.13. // // @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 b63a65e8c23..6367a7b22ad 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.12. +// 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.13. // // @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 8806159af51..7836f69e0df 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.12. +// 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.13. // // @dart=100.200 // ^^^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/pubspec.yaml b/pkg/front_end/testcases/pubspec.yaml index 5d047339308..c2ede5ead3b 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.12.0-0 + sdk: ^3.13.0-0 resolution: workspace diff --git a/pkg/kernel/lib/default_language_version.dart b/pkg/kernel/lib/default_language_version.dart index 73a16a8776f..8e1104c336a 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, 12); +const Version defaultLanguageVersion = const Version(3, 13); diff --git a/pubspec.yaml b/pubspec.yaml index 43b6e922526..4bf56d1af6d 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.12.0-0 + sdk: ^3.13.0-0 # These are the packages that are contained in the SDK. workspace: diff --git a/tools/VERSION b/tools/VERSION index dd939a850af..fd0e127ea8e 100644 --- a/tools/VERSION +++ b/tools/VERSION @@ -25,7 +25,7 @@ # CHANNEL main MAJOR 3 -MINOR 12 +MINOR 13 PATCH 0 PRERELEASE 0 PRERELEASE_PATCH 0 diff --git a/tools/experimental_features.yaml b/tools/experimental_features.yaml index 5dab05dc6f9..1249e635438 100644 --- a/tools/experimental_features.yaml +++ b/tools/experimental_features.yaml @@ -126,7 +126,7 @@ # default 'language' "category" with code generated for both CFE and Analyzer, # while other categories can be tailored more specifically. -current-version: '3.12.0' +current-version: '3.13.0' features: variance: