OLD | NEW |
1 ## 1.16.0 | 1 ## 1.16.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
5 * `dart:convet` | 5 * `dart:convet` |
6 * Added `BASE64URL` codec and corresponding `Base64Codec.urlSafe` constructor. | 6 * Added `BASE64URL` codec and corresponding `Base64Codec.urlSafe` constructor. |
7 * `dart:io` | 7 * `dart:io` |
8 * Added `SecurityContext.alpnSupported`, which is true if a platform | 8 * Added `SecurityContext.alpnSupported`, which is true if a platform |
9 supports ALPN, and false otherwise. | 9 supports ALPN, and false otherwise. |
10 | 10 |
11 * `dart:convert` | |
12 * Introduce `ChunkedConverter` and deprecate chunked methods on `Converter`. | |
13 | |
14 ### Analyzer | 11 ### Analyzer |
15 | 12 |
16 * Static checking of `for in` statements. These will now produce static | 13 * Static checking of `for in` statements. These will now produce static |
17 warnings: | 14 warnings: |
18 | 15 |
19 ```dart | 16 ```dart |
20 // Not Iterable. | 17 // Not Iterable. |
21 for (var i in 1234) { ... } | 18 for (var i in 1234) { ... } |
22 | 19 |
23 // String cannot be assigned to int. | 20 // String cannot be assigned to int. |
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 they will keep the Dart process alive until they time out. This fixes the | 884 they will keep the Dart process alive until they time out. This fixes the |
888 handling of persistent connections. Previously, the client would shut down | 885 handling of persistent connections. Previously, the client would shut down |
889 immediately after a request. | 886 immediately after a request. |
890 | 887 |
891 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 888 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
892 default. The new `autoCompress` property can be set to `true` to re-enable | 889 default. The new `autoCompress` property can be set to `true` to re-enable |
893 compression. | 890 compression. |
894 | 891 |
895 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 892 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
896 which controls how it resolves `package:` URIs. | 893 which controls how it resolves `package:` URIs. |
OLD | NEW |