Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: packages/dart_style/CHANGELOG.md

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « packages/dart_style/AUTHORS ('k') | packages/dart_style/LICENSE » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # 0.2.0
2
3 * Treat functions nested inside function calls like block arguments (#366).
4
5 # 0.2.0-rc.4
6
7 * Smarter indentation for function arguments (#369).
8
9 # 0.2.0-rc.3
10
11 * Optimize splitting complex lines (#391).
12
13 # 0.2.0-rc.2
14
15 * Allow splitting between adjacent strings (#201).
16 * Force multi-line comments to the next line (#241).
17 * Better splitting in metadata annotations in parameter lists (#247).
18 * New optimized line splitter (#360, #380).
19 * Allow splitting after argument name (#368).
20 * Parsing a statement fails if there is unconsumed input (#372).
21 * Don't force `for` fully split if initializers or updaters do (#375, #377).
22 * Split before `deferred` (#381).
23 * Allow splitting on `as` and `is` expressions (#384).
24 * Support null-aware operators (`?.`, `??`, and `??=`) (#385).
25 * Allow splitting before default parameter values (#389).
26
27 # 0.2.0-rc.1
28
29 * **BREAKING:** The `indent` argument to `new DartFormatter()` is now a number
30 of *spaces*, not *indentation levels*.
31
32 * This version introduces a new n-way constraint system replacing the previous
33 binary constraints. It's mostly an internal change, but allows us to fix a
34 number of bugs that the old solver couldn't express solutions to.
35
36 In particular, it forces argument and parameter lists to go one-per-line if
37 they don't all fit in two lines. And it allows function and collection
38 literals inside expressions to indent like expressions in some contexts.
39 (#78, #97, #101, #123, #139, #141, #142, #143, et. al.)
40
41 * Indent cascades more deeply when the receiver is a method call (#137).
42 * Preserve newlines in collections containing line comments (#139).
43 * Allow multiple variable declarations on one line if they fit (#155).
44 * Prefer splitting at "." on non-identifier method targets (#161).
45 * Enforce a blank line before and after classes (#168).
46 * More precisely control newlines between declarations (#173).
47 * Preserve mandatory newlines in inline block comments (#178).
48 * Splitting inside type parameter and type argument lists (#184).
49 * Nest blocks deeper inside a wrapped conditional operator (#186).
50 * Split named arguments if the positional arguments split (#189).
51 * Re-indent line doc comments even if they are flush left (#192).
52 * Nest cascades like expressions (#200, #203, #205, #221, #236).
53 * Prefer splitting after `=>` over other options (#217).
54 * Nested non-empty collections force surrounding ones to split (#223).
55 * Allow splitting inside with and implements clauses (#228, #259).
56 * Allow splitting after `=` in a constructor initializer (#242).
57 * If a `=>` function's parameters split, split after the `=>` too (#250).
58 * Allow splitting between successive index operators (#256).
59 * Correctly indent wrapped constructor initializers (#257).
60 * Set failure exit code for malformed input when reading from stdin (#359).
61 * Do not nest blocks inside single-argument function and method calls.
62 * Do nest blocks inside `=>` functions.
63
64 # 0.1.8+2
65
66 * Allow using analyzer 0.26.0-alpha.0.
67
68 # 0.1.8+1
69
70 * Use the new `test` package runner internally.
71
72 # 0.1.8
73
74 * Update to latest `analyzer` and `args` packages.
75 * Allow cascades with repeated method names to be one line.
76
77 # 0.1.7
78
79 * Update to latest analyzer (#177).
80 * Don't discard annotations on initializing formals (#197).
81 * Optimize formatting deeply nested expressions (#108).
82 * Discard unused nesting level to improve performance (#108).
83 * Discard unused spans to improve performance (#108).
84 * Harden splits that contain too much nesting (#108).
85 * Try to avoid splitting single-element lists (#211).
86 * Avoid splitting when the first argument is a function expression (#211).
87
88 # 0.1.6
89
90 * Allow passing in selection to preserve through command line (#194).
91
92 # 0.1.5+1, 0.1.5+2, 0.1.5+3
93
94 * Fix test files to work in main Dart repo test runner.
95
96 # 0.1.5
97
98 * Change executable name from `dartformat` to `dartfmt`.
99
100 # 0.1.4
101
102 * Don't mangle comma after function-typed initializing formal (#156).
103 * Add `--dry-run` option to show files that need formatting (#67).
104 * Try to avoid splitting in before index argument (#158, #160).
105 * Support `await for` statements (#154).
106 * Don't delete commas between enum values with doc comments (#171).
107 * Put a space between nested unary `-` calls (#170).
108 * Allow `-t` flag to preserve compatibility with old formatter (#166).
109 * Support `--machine` flag for machine-readable output (#164).
110 * If no paths are provided, read source from stdin (#165).
111
112 # 0.1.3
113
114 * Split different operators with the same precedence equally (#130).
115 * No spaces for empty for loop clauses (#132).
116 * Don't touch files whose contents did not change (#127).
117 * Skip formatting files in hidden directories (#125).
118 * Don't include trailing whitespace when preserving selection (#124).
119 * Force constructor initialization lists to their own line if the parameter
120 list is split across multiple lines (#151).
121 * Allow splitting in index operator calls (#140).
122 * Handle sync* and async* syntax (#151).
123 * Indent the parameter list more if the body is a wrapped "=>" (#144).
124
125 # 0.1.2
126
127 * Move split conditional operators to the beginning of the next line.
128
129 # 0.1.1
130
131 * Support formatting enums (#120).
132 * Handle Windows line endings in multiline strings (#126).
133 * Increase nesting for conditional operators (#122).
OLDNEW
« no previous file with comments | « packages/dart_style/AUTHORS ('k') | packages/dart_style/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698