| OLD | NEW |
| 1 ## 1.19.0 | 1 ## 1.19.0 |
| 2 | 2 |
| 3 ### Language changes | 3 ### Language changes |
| 4 | 4 |
| 5 * The language now allows a trailing comma after the last argument of a call and | 5 * The language now allows a trailing comma after the last argument of a call and |
| 6 the last parameter of a function declaration. This can make long argument or | 6 the last parameter of a function declaration. This can make long argument or |
| 7 parameter lists easier to maintain, as commas can be left as-is when | 7 parameter lists easier to maintain, as commas can be left as-is when |
| 8 reordering lines. For details, see SDK issue | 8 reordering lines. For details, see SDK issue |
| 9 [26644](https://github.com/dart-lang/sdk/issues/26644). | 9 [26644](https://github.com/dart-lang/sdk/issues/26644). |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 * Breaking change - smarter inference for async functions | 79 * Breaking change - smarter inference for async functions |
| 80 (SDK issue [25322](https://github.com/dart-lang/sdk/issues/25322)). | 80 (SDK issue [25322](https://github.com/dart-lang/sdk/issues/25322)). |
| 81 | 81 |
| 82 ```dart | 82 ```dart |
| 83 void test() async { | 83 void test() async { |
| 84 List<int> x = await [4]; // was previously inferred | 84 List<int> x = await [4]; // was previously inferred |
| 85 List<int> y = await new Future.value([4]); // now inferred too | 85 List<int> y = await new Future.value([4]); // now inferred too |
| 86 } | 86 } |
| 87 ``` | 87 ``` |
| 88 | 88 |
| 89 * Breaking change - sideways casts are no longer allowed |
| 90 (SDK issue [26120](https://github.com/dart-lang/sdk/issues/26120)). |
| 91 |
| 89 ### Dart VM | 92 ### Dart VM |
| 90 | 93 |
| 91 * The dependency on BoringSSL has been rolled forward. Going forward, builds | 94 * The dependency on BoringSSL has been rolled forward. Going forward, builds |
| 92 of the Dart VM including secure sockets will require a compiler with C++11 | 95 of the Dart VM including secure sockets will require a compiler with C++11 |
| 93 support, and to link against glibc 2.16 or newer. For details, see the | 96 support, and to link against glibc 2.16 or newer. For details, see the |
| 94 [Building wiki page](https://github.com/dart-lang/sdk/wiki/Building). | 97 [Building wiki page](https://github.com/dart-lang/sdk/wiki/Building). |
| 95 | 98 |
| 96 ### Tool Changes | 99 ### Tool Changes |
| 97 | 100 |
| 98 * `dartfmt` - upgraded to v0.2.9 | 101 * `dartfmt` - upgraded to v0.2.9 |
| (...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 they will keep the Dart process alive until they time out. This fixes the | 1189 they will keep the Dart process alive until they time out. This fixes the |
| 1187 handling of persistent connections. Previously, the client would shut down | 1190 handling of persistent connections. Previously, the client would shut down |
| 1188 immediately after a request. | 1191 immediately after a request. |
| 1189 | 1192 |
| 1190 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1193 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1191 default. The new `autoCompress` property can be set to `true` to re-enable | 1194 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1192 compression. | 1195 compression. |
| 1193 | 1196 |
| 1194 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1197 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1195 which controls how it resolves `package:` URIs. | 1198 which controls how it resolves `package:` URIs. |
| OLD | NEW |