OLD | NEW |
1 ## 1.16.0 | 1 ## 1.16.0 |
2 | 2 |
| 3 ### Core library changes |
| 4 |
| 5 * `dart:core` |
| 6 * Fixed DateTime implementation in the VM (issue #19923), but no API change. |
| 7 |
3 ### Analyzer | 8 ### Analyzer |
4 | 9 |
5 * Static checking of `for in` statements. These will now produce static | 10 * Static checking of `for in` statements. These will now produce static |
6 warnings: | 11 warnings: |
7 | 12 |
8 ```dart | 13 ```dart |
9 // Not Iterable. | 14 // Not Iterable. |
10 for (var i in 1234) { ... } | 15 for (var i in 1234) { ... } |
11 | 16 |
12 // String cannot be assigned to int. | 17 // String cannot be assigned to int. |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 they will keep the Dart process alive until they time out. This fixes the | 871 they will keep the Dart process alive until they time out. This fixes the |
867 handling of persistent connections. Previously, the client would shut down | 872 handling of persistent connections. Previously, the client would shut down |
868 immediately after a request. | 873 immediately after a request. |
869 | 874 |
870 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 875 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
871 default. The new `autoCompress` property can be set to `true` to re-enable | 876 default. The new `autoCompress` property can be set to `true` to re-enable |
872 compression. | 877 compression. |
873 | 878 |
874 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 879 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
875 which controls how it resolves `package:` URIs. | 880 which controls how it resolves `package:` URIs. |
OLD | NEW |