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

Side by Side Diff: CHANGELOG.md

Issue 2777623003: Bring dartfmt 1.0.1 (now 1.0.2) into the SDK. (Closed)
Patch Set: Update CHANGELOG. Created 3 years, 8 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 | DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.23.0 1 ## 1.23.0
2 2
3 ### Language 3 ### Language
4 * Allow using URI strings in `part of` declarations to refer to the 4 * Allow using URI strings in `part of` declarations to refer to the
5 importing library. 5 importing library.
6 6
7 ### Core library changes 7 ### Core library changes
8 8
9 * `dart:core` 9 * `dart:core`
10 * Added `Uri.isScheme` function to check the scheme of a URI. 10 * Added `Uri.isScheme` function to check the scheme of a URI.
(...skipping 19 matching lines...) Expand all
30 * Strong mode will prefer the expected type to infer generic types, 30 * Strong mode will prefer the expected type to infer generic types,
31 functions, and methods 31 functions, and methods
32 (SDK issue [27586](https://github.com/dart-lang/sdk/issues/27586)). 32 (SDK issue [27586](https://github.com/dart-lang/sdk/issues/27586)).
33 33
34 ```dart 34 ```dart
35 main() { 35 main() {
36 List<Object> foo = /*infers: <Object>*/['hello', 'world']; 36 List<Object> foo = /*infers: <Object>*/['hello', 'world'];
37 var bar = /*infers: <String>*/['hello', 'world']; 37 var bar = /*infers: <String>*/['hello', 'world'];
38 } 38 }
39 ``` 39 ```
40 40
41 * Strong mode inference error messages are improved 41 * Strong mode inference error messages are improved
42 (SDK issue [29108](https://github.com/dart-lang/sdk/issues/29108)). 42 (SDK issue [29108](https://github.com/dart-lang/sdk/issues/29108)).
43 43
44 ```dart 44 ```dart
45 import 'dart:math'; 45 import 'dart:math';
46 test(Iterable/* fix is to add <num> here */ values) { 46 test(Iterable/* fix is to add <num> here */ values) {
47 num n = values.fold(values.first as num, max); 47 num n = values.fold(values.first as num, max);
48 } 48 }
49 ``` 49 ```
50 Now produces the error on the generic function "max": 50 Now produces the error on the generic function "max":
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 uploaded with the user and group names set to "pub". 115 uploaded with the user and group names set to "pub".
116 * No longer fails with a stack overflow when uploading a package that uses 116 * No longer fails with a stack overflow when uploading a package that uses
117 Git submodules. 117 Git submodules.
118 * `pub get` and `pub upgrade` 118 * `pub get` and `pub upgrade`
119 * Produce more informative error messages if they're run directly in a 119 * Produce more informative error messages if they're run directly in a
120 package that uses Flutter. 120 package that uses Flutter.
121 * Properly unlock SDK and path dependencies if they have a new version 121 * Properly unlock SDK and path dependencies if they have a new version
122 that's also valid according to the user's pubspec. 122 that's also valid according to the user's pubspec.
123 123
124 * dartfmt 124 * dartfmt
125 * Support new generic function typedef syntax.
125 * Make the precedence of cascades more visible. 126 * Make the precedence of cascades more visible.
126 * Fix a couple of places where spurious newlines were inserted. 127 * Fix a couple of places where spurious newlines were inserted.
127 * Correctly report unchanged formatting when reading from stdin. 128 * Correctly report unchanged formatting when reading from stdin.
129 * Ensure space between `-` and `--`. Code that does this is pathological, but
130 it technically meant dartfmt could change the semantics of the code.
131 * Preserve a blank line between enum cases.
128 * Other small formatting tweaks. 132 * Other small formatting tweaks.
129 133
130 ## 1.22.0 134 ## 1.22.0
131 135
132 ### Language 136 ### Language
133 137
134 * Breaking change: 138 * Breaking change:
135 ['Generalized tear-offs'](https://github.com/gbracha/generalizedTearOffs/blo b/master/proposal.md) 139 ['Generalized tear-offs'](https://github.com/gbracha/generalizedTearOffs/blo b/master/proposal.md)
136 are no longer supported, and will cause errors. We updated the language spec 140 are no longer supported, and will cause errors. We updated the language spec
137 and added warnings in 1.21, and are now taking the last step to fully 141 and added warnings in 1.21, and are now taking the last step to fully
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 they will keep the Dart process alive until they time out. This fixes the 1798 they will keep the Dart process alive until they time out. This fixes the
1795 handling of persistent connections. Previously, the client would shut down 1799 handling of persistent connections. Previously, the client would shut down
1796 immediately after a request. 1800 immediately after a request.
1797 1801
1798 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1802 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1799 default. The new `autoCompress` property can be set to `true` to re-enable 1803 default. The new `autoCompress` property can be set to `true` to re-enable
1800 compression. 1804 compression.
1801 1805
1802 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1806 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1803 which controls how it resolves `package:` URIs. 1807 which controls how it resolves `package:` URIs.
OLDNEW
« no previous file with comments | « no previous file | DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698