OLD | NEW |
1 ## 1.15.0 | 1 ## 1.16.0 |
2 | 2 |
3 ### Analyzer | 3 ### Analyzer |
4 | 4 |
5 * Static checking of `for in` statements. These will now produce static | 5 * Static checking of `for in` statements. These will now produce static |
6 warnings: | 6 warnings: |
7 | 7 |
8 ```dart | 8 ```dart |
9 // Not Iterable. | 9 // Not Iterable. |
10 for (var i in 1234) { ... } | 10 for (var i in 1234) { ... } |
11 | 11 |
12 // String cannot be assigned to int. | 12 // String cannot be assigned to int. |
13 for (int n in <String>["a", "b"]) { ... } | 13 for (int n in <String>["a", "b"]) { ... } |
14 | 14 |
| 15 ## 1.15.0 |
| 16 |
15 ### Core library changes | 17 ### Core library changes |
16 | 18 |
17 * `dart:async` | 19 * `dart:async` |
18 * Made `StreamView` class a `const` class. | 20 * Made `StreamView` class a `const` class. |
19 | 21 |
20 * `dart:core` | 22 * `dart:core` |
21 * Added `Uri.queryParametersAll` to handle multiple query parameters with | 23 * Added `Uri.queryParametersAll` to handle multiple query parameters with |
22 the same name. | 24 the same name. |
23 | 25 |
24 * `dart:io` | 26 * `dart:io` |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 they will keep the Dart process alive until they time out. This fixes the | 837 they will keep the Dart process alive until they time out. This fixes the |
836 handling of persistent connections. Previously, the client would shut down | 838 handling of persistent connections. Previously, the client would shut down |
837 immediately after a request. | 839 immediately after a request. |
838 | 840 |
839 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 841 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
840 default. The new `autoCompress` property can be set to `true` to re-enable | 842 default. The new `autoCompress` property can be set to `true` to re-enable |
841 compression. | 843 compression. |
842 | 844 |
843 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 845 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
844 which controls how it resolves `package:` URIs. | 846 which controls how it resolves `package:` URIs. |
OLD | NEW |