Skip to content

Commit 44e8cfe

Browse files
authored
Bump latest supported language version to 3.9. (#1740)
1 parent 2a6c97b commit 44e8cfe

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.1.1-wip
2+
3+
* Update to latest analyzer and enable language version 3.9.
4+
15
## 3.1.0
26

37
This release contains a fairly large number of style changes in response to

lib/src/cli/formatter_options.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import 'show.dart';
1313
import 'summary.dart';
1414

1515
// Note: The following line of code is modified by tool/grind.dart.
16-
const dartStyleVersion = '3.1.0';
16+
const dartStyleVersion = '3.1.1-wip';
1717

1818
/// Global options parsed from the command line that affect how the formatter
1919
/// produces and uses its outputs.

lib/src/dart_formatter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final RegExp _widthCommentPattern = RegExp(r'^// dart format width=(\d+)$');
3434
final class DartFormatter {
3535
/// The latest Dart language version that can be parsed and formatted by this
3636
/// version of the formatter.
37-
static final latestLanguageVersion = Version(3, 8, 0);
37+
static final latestLanguageVersion = Version(3, 9, 0);
3838

3939
/// The latest Dart language version that will be formatted using the older
4040
/// "short" style.

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: dart_style
22
# Note: See tool/grind.dart for how to bump the version.
3-
version: 3.1.0
3+
version: 3.1.1-wip
44
description: >-
55
Opinionated, automatic Dart source code formatter.
66
Provides an API and a CLI tool.
77
repository: https://github.com/dart-lang/dart_style
88
environment:
9-
sdk: "^3.7.0"
9+
sdk: ^3.7.0
1010

1111
dependencies:
12-
analyzer: ">=7.3.0 <8.0.0"
12+
analyzer: ^7.5.2
1313
args: ">=1.0.0 <3.0.0"
1414
collection: "^1.17.0"
1515
package_config: ^2.1.0

tool/grind.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Future<void> major() async {
6060
/// 2. Run this task:
6161
///
6262
/// ```
63-
/// dart run grinder bump
63+
/// dart run grinder ship
6464
/// ```
6565
///
6666
/// 3. Commit the change to a branch, push it to GitHub, and review and merge

0 commit comments

Comments
 (0)