| OLD | NEW |
| 1 ## 1.12.0 | 1 ## 1.12.0 |
| 2 | 2 |
| 3 ### Core library changes | 3 ### Core library changes |
| 4 | 4 |
| 5 * `dart:async` | 5 * `dart:async` |
| 6 * `StreamController` added setters for the `onListen`, `onPause`, `onResume` | 6 * `StreamController` added setters for the `onListen`, `onPause`, `onResume` |
| 7 and `onCancel` callbacks. | 7 and `onCancel` callbacks. |
| 8 | 8 |
| 9 * `dart:convert` | 9 * `dart:convert` |
| 10 * `LineSplitter` added a `split` static method returning an `Iterable`. | 10 * `LineSplitter` added a `split` static method returning an `Iterable`. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 package that defines it has been fixed. | 75 package that defines it has been fixed. |
| 76 | 76 |
| 77 * A transformer that tries to read a non-existent asset in another package | 77 * A transformer that tries to read a non-existent asset in another package |
| 78 will now be re-run if that asset is later created. | 78 will now be re-run if that asset is later created. |
| 79 | 79 |
| 80 [package spec proposal]: https://github.com/lrhn/dep-pkgspec | 80 [package spec proposal]: https://github.com/lrhn/dep-pkgspec |
| 81 | 81 |
| 82 ### VM Service Protocol Changes | 82 ### VM Service Protocol Changes |
| 83 | 83 |
| 84 * **BREAKING** The service protocol now sends JSON-RPC 2.0-compatible | 84 * **BREAKING** The service protocol now sends JSON-RPC 2.0-compatible |
| 85 server-to-client events. | 85 server-to-client events. To reflect this, the service protocol version is |
| 86 now 2.0. |
| 86 | 87 |
| 87 * The service protocol now includes a `"jsonrpc"` property in its responses, as | 88 * The service protocol now includes a `"jsonrpc"` property in its responses, as |
| 88 opposed to `"json-rpc"`. | 89 opposed to `"json-rpc"`. |
| 89 | 90 |
| 90 * The service protocol now properly handles requests with non-string ids. | 91 * The service protocol now properly handles requests with non-string ids. |
| 91 Numeric ids are no longer converted to strings, and null ids now don't produce | 92 Numeric ids are no longer converted to strings, and null ids now don't produce |
| 92 a response. | 93 a response. |
| 93 | 94 |
| 94 * Some RPCs that didn't include a `"jsonrpc"` property in their responses now | 95 * Some RPCs that didn't include a `"jsonrpc"` property in their responses now |
| 95 include one. | 96 include one. |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 they will keep the Dart process alive until they time out. This fixes the | 445 they will keep the Dart process alive until they time out. This fixes the |
| 445 handling of persistent connections. Previously, the client would shut down | 446 handling of persistent connections. Previously, the client would shut down |
| 446 immediately after a request. | 447 immediately after a request. |
| 447 | 448 |
| 448 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 449 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 449 default. The new `autoCompress` property can be set to `true` to re-enable | 450 default. The new `autoCompress` property can be set to `true` to re-enable |
| 450 compression. | 451 compression. |
| 451 | 452 |
| 452 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 453 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 453 which controls how it resolves `package:` URIs. | 454 which controls how it resolves `package:` URIs. |
| OLD | NEW |