Skip to content

Commit f624489

Browse files
authored
Add support for language version 3.11. (#1798)
There are no meaningful changes.
1 parent bdae98c commit f624489

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.1.5
2+
3+
* Support upcoming Dart language version 3.11.
4+
15
## 3.1.4
26

37
* Remove dependencies on analyzer internal implementation.

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.4';
16+
const dartStyleVersion = '3.1.5';
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
@@ -35,7 +35,7 @@ final RegExp _widthCommentPattern = RegExp(r'^// dart format width=(\d+)$');
3535
final class DartFormatter {
3636
/// The latest Dart language version that can be parsed and formatted by this
3737
/// version of the formatter.
38-
static final latestLanguageVersion = Version(3, 10, 0);
38+
static final latestLanguageVersion = Version(3, 11, 0);
3939

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

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dart_style
22
# Note: See tool/grind.dart for how to bump the version.
3-
version: 3.1.4
3+
version: 3.1.5
44
description: >-
55
Opinionated, automatic Dart source code formatter.
66
Provides an API and a CLI tool.

0 commit comments

Comments
 (0)