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

Side by Side Diff: CHANGELOG.md

Issue 1183633004: Harden named arguments if a hard split occurs in the positional ones. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update changelog. Created 5 years, 6 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 | « no previous file | lib/src/chunk_builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 0.2.0 1 # 0.2.0
2 2
3 * **BREAKING:** The `indent` argument to `new DartFormatter()` is now a number 3 * **BREAKING:** The `indent` argument to `new DartFormatter()` is now a number
4 of *spaces*, not *indentation levels*. 4 of *spaces*, not *indentation levels*.
5 5
6 * This version introduces a new n-way constraint system replacing the previous 6 * This version introduces a new n-way constraint system replacing the previous
7 binary constraints. It's mostly an internal change, but allows us to fix a 7 binary constraints. It's mostly an internal change, but allows us to fix a
8 number of bugs that the old solver couldn't express solutions to. 8 number of bugs that the old solver couldn't express solutions to.
9 9
10 In particular, it forces argument and parameter lists to go one-per-line if 10 In particular, it forces argument and parameter lists to go one-per-line if
11 they don't all fit in two lines. And it allows function and collection 11 they don't all fit in two lines. And it allows function and collection
12 literals inside expressions to indent like expressions in some contexts. 12 literals inside expressions to indent like expressions in some contexts.
13 13
14 (#78, #97, #101, #123, #139, #141, #142, #143) 14 (#78, #97, #101, #123, #139, #141, #142, #143)
15 15
16 * Allow splitting inside with and implements clauses (#228, #259). 16 * Allow splitting inside with and implements clauses (#228, #259).
17 * Preserve mandatory newlines in inline block comments (#178). 17 * Preserve mandatory newlines in inline block comments (#178).
18 * Allow multiple variable declarations on one line if they fit (#155). 18 * Allow multiple variable declarations on one line if they fit (#155).
19 * Splitting inside type parameter and type argument lists (#184). 19 * Splitting inside type parameter and type argument lists (#184).
20 * Enforce a blank line before and after classes (#186). 20 * Enforce a blank line before and after classes (#168).
21 * Re-indent line doc comments even if they are flush left (#192). 21 * Re-indent line doc comments even if they are flush left (#192).
22 * More precisely control newlines between declarations (#173). 22 * More precisely control newlines between declarations (#173).
23 * Nest cascades like expressions (#200, #203, #205, #221, #236). 23 * Nest cascades like expressions (#200, #203, #205, #221, #236).
24 * Do not nest blocks inside single-argument function and method calls. 24 * Do not nest blocks inside single-argument function and method calls.
25 * Do nest blocks inside `=>` functions. 25 * Do nest blocks inside `=>` functions.
26 * Set failure exit code for malformed input when reading from stdin (#359). 26 * Set failure exit code for malformed input when reading from stdin (#359).
27 * Indent cascades more deeply when the receiver is a method call (#137). 27 * Indent cascades more deeply when the receiver is a method call (#137).
28 * Prefer splitting at "." on non-identifier method targets (#161). 28 * Prefer splitting at "." on non-identifier method targets (#161).
29 * Nest blocks deeper inside a wrapped conditional operator (#186). 29 * Nest blocks deeper inside a wrapped conditional operator (#186).
30 * Split named arguments if the positional arguments split (#189).
30 31
31 # 0.1.8 32 # 0.1.8
32 33
33 * Update to latest `analyzer` and `args` packages. 34 * Update to latest `analyzer` and `args` packages.
34 * Allow cascades with repeated method names to be one line. 35 * Allow cascades with repeated method names to be one line.
35 36
36 # 0.1.7 37 # 0.1.7
37 38
38 * Update to latest analyzer (#177). 39 * Update to latest analyzer (#177).
39 * Don't discard annotations on initializing formals (#197). 40 * Don't discard annotations on initializing formals (#197).
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 # 0.1.2 85 # 0.1.2
85 86
86 * Move split conditional operators to the beginning of the next line. 87 * Move split conditional operators to the beginning of the next line.
87 88
88 # 0.1.1 89 # 0.1.1
89 90
90 * Support formatting enums (#120). 91 * Support formatting enums (#120).
91 * Handle Windows line endings in multiline strings (#126). 92 * Handle Windows line endings in multiline strings (#126).
92 * Increase nesting for conditional operators (#122). 93 * Increase nesting for conditional operators (#122).
OLDNEW
« no previous file with comments | « no previous file | lib/src/chunk_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698