| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 * A stack overflow caused by a transformer being run multiple times on the | 71 * A stack overflow caused by a transformer being run multiple times on the |
| 72 package that defines it has been fixed. | 72 package that defines it has been fixed. |
| 73 | 73 |
| 74 * A transformer that tries to read a non-existent asset in another package | 74 * A transformer that tries to read a non-existent asset in another package |
| 75 will now be re-run if that asset is later created. | 75 will now be re-run if that asset is later created. |
| 76 | 76 |
| 77 [package spec proposal]: https://github.com/lrhn/dep-pkgspec | 77 [package spec proposal]: https://github.com/lrhn/dep-pkgspec |
| 78 | 78 |
| 79 ### VM Service Protocol Changes | 79 ### VM Service Protocol Changes |
| 80 | 80 |
| 81 * The service protocol now includes a `"jsonrpc"` property in its responses, as |
| 82 opposed to `"json-rpc"`. |
| 83 |
| 84 * The service protocol now properly handles requests with non-string ids. |
| 85 Numeric ids are no longer converted to strings, and null ids now don't produce |
| 86 a response. |
| 87 |
| 81 * Some RPCs that didn't include a `"jsonrpc"` property in their responses now | 88 * Some RPCs that didn't include a `"jsonrpc"` property in their responses now |
| 82 include one. | 89 include one. |
| 83 | 90 |
| 84 ## 1.11.2 | 91 ## 1.11.2 |
| 85 | 92 |
| 86 ### Core library changes | 93 ### Core library changes |
| 87 | 94 |
| 88 * Fix a bug where `WebSocket.close()` would crash if called after | 95 * Fix a bug where `WebSocket.close()` would crash if called after |
| 89 `WebSocket.cancel()`. | 96 `WebSocket.cancel()`. |
| 90 | 97 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 they will keep the Dart process alive until they time out. This fixes the | 438 they will keep the Dart process alive until they time out. This fixes the |
| 432 handling of persistent connections. Previously, the client would shut down | 439 handling of persistent connections. Previously, the client would shut down |
| 433 immediately after a request. | 440 immediately after a request. |
| 434 | 441 |
| 435 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 442 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 436 default. The new `autoCompress` property can be set to `true` to re-enable | 443 default. The new `autoCompress` property can be set to `true` to re-enable |
| 437 compression. | 444 compression. |
| 438 | 445 |
| 439 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 446 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 440 which controls how it resolves `package:` URIs. | 447 which controls how it resolves `package:` URIs. |
| OLD | NEW |