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