File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- ## 2.3.2-dev
1+ ## 2.3.2
22
33* Don't indent parameters that have metadata annotations. Instead, align them
44 with the metadata and other parameters.
55* Allow metadata annotations on parameters to split independently of annotations
66 on other parameters (#1212 ).
77* Don't split before ` . ` following a record literal (#1213 ).
88* Don't force split on a line comment before a switch expression case (#1215 ).
9- * Require ` package:analyzer ` ` ^ 5.12.0` .
9+ * Require ` package:analyzer ` ` >= 5.12.0 <7.0 .0` .
1010* Preserve ` ? ` on nullable empty record types (#1224 ).
1111
1212## 2.3.1
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'show.dart';
1111import 'summary.dart' ;
1212
1313// Note: The following line of code is modified by tool/grind.dart.
14- const dartStyleVersion = '2.3.1 ' ;
14+ const dartStyleVersion = '2.3.2 ' ;
1515
1616/// Global options that affect how the formatter produces and uses its outputs.
1717class FormatterOptions {
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ final _unicodeEscapePattern = RegExp('[\x0a\x0c\x0d]');
1414Future <String > findTestDirectory () async {
1515 var libraryUri = await Isolate .resolvePackageUri (
1616 Uri .parse ('package:dart_style/src/testing/test_file.dart' ));
17- return p. normalize (
18- p.join (p.dirname (libraryUri! .toFilePath ()), '../../../test' ));
17+ return p
18+ . normalize ( p.join (p.dirname (libraryUri! .toFilePath ()), '../../../test' ));
1919}
2020
2121/// A file containing a series of formatting tests.
Original file line number Diff line number Diff line change 11name : dart_style
22# Note: See tool/grind.dart for how to bump the version.
3- version : 2.3.2-dev
3+ version : 2.3.2
44description : >-
55 Opinionated, automatic Dart source code formatter.
66 Provides an API and a CLI tool.
@@ -9,7 +9,7 @@ environment:
99 sdk : " >=2.19.0 <3.0.0"
1010
1111dependencies :
12- analyzer : ^ 5.12.0
12+ analyzer : ' >= 5.12.0 <7.0.0 '
1313 args : " >=1.0.0 <3.0.0"
1414 path : ^1.0.0
1515 pub_semver : " >=1.4.4 <3.0.0"
You can’t perform that action at this time.
0 commit comments