OLD | NEW |
1 ## 1.15.0 | 1 ## 1.15.0 |
2 | 2 |
| 3 ### Language features |
| 4 * Added support for [configuration-specific imports](https://github.com/munifice
nt/dep-interface-libraries/blob/master/Proposal.md). |
| 5 On the VM and dart2js, they can be enabled with `--conditional-directives`. |
| 6 |
| 7 The analyzer requires an additional option in an `options` file: |
| 8 ``` |
| 9 analyzer: |
| 10 language: |
| 11 enableConditionalDirectives: true |
| 12 ``` |
| 13 Then run the analyzer with `--options=<path-to-options-file>`. |
| 14 |
3 ### Core library changes | 15 ### Core library changes |
4 * Added `Uri.queryParametersAll` to handle multiple query parameters with | 16 * Added `Uri.queryParametersAll` to handle multiple query parameters with |
5 the same name. | 17 the same name. |
6 | 18 |
7 * `dart:io` | 19 * `dart:io` |
8 * Added `SecurityContext.usePrivateKeyBytes`, | 20 * Added `SecurityContext.usePrivateKeyBytes`, |
9 `SecurityContext.useCertificateChainBytes`, | 21 `SecurityContext.useCertificateChainBytes`, |
10 `SecurityContext.setTrustedCertificatesBytes`, and | 22 `SecurityContext.setTrustedCertificatesBytes`, and |
11 `SecurityContext.setClientAuthoritiesBytes`. | 23 `SecurityContext.setClientAuthoritiesBytes`. |
12 * The non-`Bytes` methods of `SecurityContext` are being renamed -`Sync`, as | 24 * The non-`Bytes` methods of `SecurityContext` are being renamed -`Sync`, as |
13 they will do synchronous IO. The non-`Bytes` and non-`Sync` methods are | 25 they will do synchronous IO. The non-`Bytes` and non-`Sync` methods are |
14 deprecated and will be removed in a later release. | 26 deprecated and will be removed in a later release. |
15 * **Breaking** The named `directory` argument of | 27 * **Breaking** The named `directory` argument of |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 they will keep the Dart process alive until they time out. This fixes the | 805 they will keep the Dart process alive until they time out. This fixes the |
794 handling of persistent connections. Previously, the client would shut down | 806 handling of persistent connections. Previously, the client would shut down |
795 immediately after a request. | 807 immediately after a request. |
796 | 808 |
797 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 809 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
798 default. The new `autoCompress` property can be set to `true` to re-enable | 810 default. The new `autoCompress` property can be set to `true` to re-enable |
799 compression. | 811 compression. |
800 | 812 |
801 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 813 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
802 which controls how it resolves `package:` URIs. | 814 which controls how it resolves `package:` URIs. |
OLD | NEW |