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