File tree 4 files changed +7
-7
lines changed 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
2
2
3
3
* Don't indent parameters that have metadata annotations. Instead, align them
4
4
with the metadata and other parameters.
5
5
* Allow metadata annotations on parameters to split independently of annotations
6
6
on other parameters (#1212 ).
7
7
* Don't split before ` . ` following a record literal (#1213 ).
8
8
* 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` .
10
10
* Preserve ` ? ` on nullable empty record types (#1224 ).
11
11
12
12
## 2.3.1
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'show.dart';
11
11
import 'summary.dart' ;
12
12
13
13
// Note: The following line of code is modified by tool/grind.dart.
14
- const dartStyleVersion = '2.3.1 ' ;
14
+ const dartStyleVersion = '2.3.2 ' ;
15
15
16
16
/// Global options that affect how the formatter produces and uses its outputs.
17
17
class FormatterOptions {
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ final _unicodeEscapePattern = RegExp('[\x0a\x0c\x0d]');
14
14
Future <String > findTestDirectory () async {
15
15
var libraryUri = await Isolate .resolvePackageUri (
16
16
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' ));
19
19
}
20
20
21
21
/// A file containing a series of formatting tests.
Original file line number Diff line number Diff line change 1
1
name : dart_style
2
2
# Note: See tool/grind.dart for how to bump the version.
3
- version : 2.3.2-dev
3
+ version : 2.3.2
4
4
description : >-
5
5
Opinionated, automatic Dart source code formatter.
6
6
Provides an API and a CLI tool.
@@ -9,7 +9,7 @@ environment:
9
9
sdk : " >=2.19.0 <3.0.0"
10
10
11
11
dependencies :
12
- analyzer : ^ 5.12.0
12
+ analyzer : ' >= 5.12.0 <7.0.0 '
13
13
args : " >=1.0.0 <3.0.0"
14
14
path : ^1.0.0
15
15
pub_semver : " >=1.4.4 <3.0.0"
You can’t perform that action at this time.
0 commit comments