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` | |
6 * Fixed DateTime implementation in the VM (issue #19923), but no API change. | |
7 | |
8 * `dart:io` | 5 * `dart:io` |
9 * Added `SecurityContext.alpnSupported`, which is true if a platform | 6 * Added `SecurityContext.alpnSupported`, which is true if a platform |
10 supports ALPN, and false otherwise. | 7 supports ALPN, and false otherwise. |
11 | 8 |
12 ### Analyzer | 9 ### Analyzer |
13 | 10 |
14 * Static checking of `for in` statements. These will now produce static | 11 * Static checking of `for in` statements. These will now produce static |
15 warnings: | 12 warnings: |
16 | 13 |
17 ```dart | 14 ```dart |
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
885 they will keep the Dart process alive until they time out. This fixes the | 882 they will keep the Dart process alive until they time out. This fixes the |
886 handling of persistent connections. Previously, the client would shut down | 883 handling of persistent connections. Previously, the client would shut down |
887 immediately after a request. | 884 immediately after a request. |
888 | 885 |
889 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 886 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
890 default. The new `autoCompress` property can be set to `true` to re-enable | 887 default. The new `autoCompress` property can be set to `true` to re-enable |
891 compression. | 888 compression. |
892 | 889 |
893 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 890 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
894 which controls how it resolves `package:` URIs. | 891 which controls how it resolves `package:` URIs. |
OLD | NEW |