| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 * A stack overflow caused by a transformer being run multiple times on the | 74 * A stack overflow caused by a transformer being run multiple times on the |
| 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 |
| 85 server-to-client events. |
| 86 |
| 84 * The service protocol now includes a `"jsonrpc"` property in its responses, as | 87 * The service protocol now includes a `"jsonrpc"` property in its responses, as |
| 85 opposed to `"json-rpc"`. | 88 opposed to `"json-rpc"`. |
| 86 | 89 |
| 87 * The service protocol now properly handles requests with non-string ids. | 90 * The service protocol now properly handles requests with non-string ids. |
| 88 Numeric ids are no longer converted to strings, and null ids now don't produce | 91 Numeric ids are no longer converted to strings, and null ids now don't produce |
| 89 a response. | 92 a response. |
| 90 | 93 |
| 91 * Some RPCs that didn't include a `"jsonrpc"` property in their responses now | 94 * Some RPCs that didn't include a `"jsonrpc"` property in their responses now |
| 92 include one. | 95 include one. |
| 93 | 96 |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 they will keep the Dart process alive until they time out. This fixes the | 444 they will keep the Dart process alive until they time out. This fixes the |
| 442 handling of persistent connections. Previously, the client would shut down | 445 handling of persistent connections. Previously, the client would shut down |
| 443 immediately after a request. | 446 immediately after a request. |
| 444 | 447 |
| 445 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 448 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 446 default. The new `autoCompress` property can be set to `true` to re-enable | 449 default. The new `autoCompress` property can be set to `true` to re-enable |
| 447 compression. | 450 compression. |
| 448 | 451 |
| 449 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 452 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 450 which controls how it resolves `package:` URIs. | 453 which controls how it resolves `package:` URIs. |
| OLD | NEW |