OLD | NEW |
1 ## 1.15.0 | 1 ## 1.15.0 |
2 | 2 |
3 ### Language features | 3 ### Language features |
4 * Added support for [configuration-specific imports](https://github.com/munifice
nt/dep-interface-libraries/blob/master/Proposal.md). | 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`. | 5 On the VM and dart2js, they can be enabled with `--conditional-directives`. |
6 | 6 |
7 The analyzer requires an additional option in an `options` file: | 7 The analyzer requires an additional option in an `options` file: |
8 ```yaml | 8 ```yaml |
9 analyzer: | 9 analyzer: |
10 language: | 10 language: |
11 enableConditionalDirectives: true | 11 enableConditionalDirectives: true |
12 ``` | 12 ``` |
13 Then run the analyzer with `--options=<path-to-options-file>`. | 13 Then run the analyzer with `--options=<path-to-options-file>`. |
14 | 14 |
15 ### Core library changes | 15 ### Core library changes |
16 | 16 |
17 * `dart:async` | 17 * `dart:async` |
18 * Made `StreamView` class a `const` class. | 18 * Made `StreamView` class a `const` class. |
19 | 19 |
20 * `dart:core` | 20 * `dart:core` |
21 * Added `Uri.queryParametersAll` to handle multiple query parameters with | 21 * Added `Uri.queryParametersAll` to handle multiple query parameters with |
22 the same name. | 22 the same name. |
23 | 23 |
24 * `dart:io` | 24 * `dart:io` |
25 * Added `SecurityContext.usePrivateKeyBytes`, | 25 * Added `SecurityContext.usePrivateKeyBytes`, |
26 `SecurityContext.useCertificateChainBytes`, | 26 `SecurityContext.useCertificateChainBytes`, |
27 `SecurityContext.setTrustedCertificatesBytes`, and | 27 `SecurityContext.setTrustedCertificatesBytes`, and |
28 `SecurityContext.setClientAuthoritiesBytes`. | 28 `SecurityContext.setClientAuthoritiesBytes`. |
29 * The non-`Bytes` methods of `SecurityContext` are being renamed -`Sync`, as | |
30 they will do synchronous IO. The non-`Bytes` and non-`Sync` methods are | |
31 deprecated and will be removed in a later release. | |
32 * **Breaking** The named `directory` argument of | 29 * **Breaking** The named `directory` argument of |
33 `SecurityContext.setTrustedCertificates` is no longer supported. | 30 `SecurityContext.setTrustedCertificates` has been removed. |
34 The method now only supports one argument for the PEM file name containing | |
35 the trusted certificates. | |
36 * Added support to `SecurityContext` for PKCS12 certificate and key | 31 * Added support to `SecurityContext` for PKCS12 certificate and key |
37 containers. | 32 containers. |
38 * All calls in `SecurityContext` that accept certificate data now accept an | 33 * All calls in `SecurityContext` that accept certificate data now accept an |
39 optional named parameter `password`, similar to | 34 optional named parameter `password`, similar to |
40 `SecurityContext.usePrivateKeyBytes`, for use as the password for PKCS12 | 35 `SecurityContext.usePrivateKeyBytes`, for use as the password for PKCS12 |
41 data. | 36 data. |
42 | 37 |
43 ## 1.14.2 - 2016-02-09 | 38 ## 1.14.2 - 2016-02-09 |
44 | 39 |
45 * Fixes a bug where pub would download packages from pub.dartlang.org even when | 40 * Fixes a bug where pub would download packages from pub.dartlang.org even when |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 they will keep the Dart process alive until they time out. This fixes the | 804 they will keep the Dart process alive until they time out. This fixes the |
810 handling of persistent connections. Previously, the client would shut down | 805 handling of persistent connections. Previously, the client would shut down |
811 immediately after a request. | 806 immediately after a request. |
812 | 807 |
813 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 808 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
814 default. The new `autoCompress` property can be set to `true` to re-enable | 809 default. The new `autoCompress` property can be set to `true` to re-enable |
815 compression. | 810 compression. |
816 | 811 |
817 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 812 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
818 which controls how it resolves `package:` URIs. | 813 which controls how it resolves `package:` URIs. |
OLD | NEW |