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