| OLD | NEW |
| 1 ## 1.16.0 | 1 ## 1.16.0 |
| 2 | 2 |
| 3 ### Analyzer | 3 ### Analyzer |
| 4 | 4 |
| 5 * Static checking of `for in` statements. These will now produce static | 5 * Static checking of `for in` statements. These will now produce static |
| 6 warnings: | 6 warnings: |
| 7 | 7 |
| 8 ```dart | 8 ```dart |
| 9 // Not Iterable. | 9 // Not Iterable. |
| 10 for (var i in 1234) { ... } | 10 for (var i in 1234) { ... } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 `SecurityContext.setClientAuthoritiesBytes`. | 31 `SecurityContext.setClientAuthoritiesBytes`. |
| 32 * **Breaking** The named `directory` argument of | 32 * **Breaking** The named `directory` argument of |
| 33 `SecurityContext.setTrustedCertificates` has been removed. | 33 `SecurityContext.setTrustedCertificates` has been removed. |
| 34 * Added support to `SecurityContext` for PKCS12 certificate and key | 34 * Added support to `SecurityContext` for PKCS12 certificate and key |
| 35 containers. | 35 containers. |
| 36 * All calls in `SecurityContext` that accept certificate data now accept an | 36 * All calls in `SecurityContext` that accept certificate data now accept an |
| 37 optional named parameter `password`, similar to | 37 optional named parameter `password`, similar to |
| 38 `SecurityContext.usePrivateKeyBytes`, for use as the password for PKCS12 | 38 `SecurityContext.usePrivateKeyBytes`, for use as the password for PKCS12 |
| 39 data. | 39 data. |
| 40 | 40 |
| 41 ### Dartium | 41 ### Tool changes |
| 42 | 42 |
| 43 * Dartium and content shell |
| 43 * The Chrome-based tools that ship as part of the Dart SDK – Dartium and | 44 * The Chrome-based tools that ship as part of the Dart SDK – Dartium and |
| 44 content shell – are now based on Chrome version 45 (instead of Chrome 39). | 45 content shell – are now based on Chrome version 45 (instead of Chrome 39). |
| 45 * Dart browser libraries (`dart:html`, `dart:svg`, etc) have not been updated. | 46 * Dart browser libraries (`dart:html`, `dart:svg`, etc) *have not* been |
| 47 updated. |
| 46 * These are still based on Chrome 39. | 48 * These are still based on Chrome 39. |
| 47 * These APIs will be updated in a future release. | 49 * These APIs will be updated in a future release. |
| 48 * Note that there are experimental APIs which have changed in the underlying | 50 * Note that there are experimental APIs which have changed in the underlying |
| 49 browser, and will not work with the older libraries. | 51 browser, and will not work with the older libraries. |
| 50 For example, `Element.animate`. | 52 For example, `Element.animate`. |
| 51 | 53 |
| 54 * `dartfmt` - upgraded to v0.2.4 |
| 55 * Better handling for long collections with comments. |
| 56 * Always put member metadata annotations on their own line. |
| 57 * Indent functions in named argument lists with non-functions. |
| 58 * Force the parameter list to split if a split occurs inside a function-typed |
| 59 parameter. |
| 60 * Don't force a split for before a single named argument if the argument |
| 61 itself splits. |
| 62 |
| 52 ### Service protocol changes | 63 ### Service protocol changes |
| 53 | 64 |
| 54 * Fixed a documentation bug where the field `extensionRPCs` in `Isolate` | 65 * Fixed a documentation bug where the field `extensionRPCs` in `Isolate` |
| 55 was not marked optional. | 66 was not marked optional. |
| 56 | 67 |
| 57 ### Experimental language features | 68 ### Experimental language features |
| 58 * Added support for [configuration-specific imports](https://github.com/munifi
cent/dep-interface-libraries/blob/master/Proposal.md). | 69 * Added support for [configuration-specific imports](https://github.com/munifi
cent/dep-interface-libraries/blob/master/Proposal.md). |
| 59 On the VM and `dart2js`, they can be enabled with `--conditional-directives`
. | 70 On the VM and `dart2js`, they can be enabled with `--conditional-directives`
. |
| 60 | 71 |
| 61 The analyzer requires additional configuration: | 72 The analyzer requires additional configuration: |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 they will keep the Dart process alive until they time out. This fixes the | 857 they will keep the Dart process alive until they time out. This fixes the |
| 847 handling of persistent connections. Previously, the client would shut down | 858 handling of persistent connections. Previously, the client would shut down |
| 848 immediately after a request. | 859 immediately after a request. |
| 849 | 860 |
| 850 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 861 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 851 default. The new `autoCompress` property can be set to `true` to re-enable | 862 default. The new `autoCompress` property can be set to `true` to re-enable |
| 852 compression. | 863 compression. |
| 853 | 864 |
| 854 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 865 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 855 which controls how it resolves `package:` URIs. | 866 which controls how it resolves `package:` URIs. |
| OLD | NEW |