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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 (such as the built-in `$dart2js` transformer) has been fixed. | 72 (such as the built-in `$dart2js` transformer) has been fixed. |
73 | 73 |
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 * Formatter (`dartfmt`) |
| 83 |
| 84 * Over 50 bugs fixed. |
| 85 |
| 86 * Optimized line splitter is much faster and produces better output on |
| 87 complex code. |
| 88 |
82 ### VM Service Protocol Changes | 89 ### VM Service Protocol Changes |
83 | 90 |
84 * **BREAKING** The service protocol now sends JSON-RPC 2.0-compatible | 91 * **BREAKING** The service protocol now sends JSON-RPC 2.0-compatible |
85 server-to-client events. | 92 server-to-client events. |
86 | 93 |
87 * The service protocol now includes a `"jsonrpc"` property in its responses, as | 94 * The service protocol now includes a `"jsonrpc"` property in its responses, as |
88 opposed to `"json-rpc"`. | 95 opposed to `"json-rpc"`. |
89 | 96 |
90 * The service protocol now properly handles requests with non-string ids. | 97 * 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 | 98 Numeric ids are no longer converted to strings, and null ids now don't produce |
(...skipping 352 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 | 451 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 | 452 handling of persistent connections. Previously, the client would shut down |
446 immediately after a request. | 453 immediately after a request. |
447 | 454 |
448 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 455 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
449 default. The new `autoCompress` property can be set to `true` to re-enable | 456 default. The new `autoCompress` property can be set to `true` to re-enable |
450 compression. | 457 compression. |
451 | 458 |
452 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 459 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
453 which controls how it resolves `package:` URIs. | 460 which controls how it resolves `package:` URIs. |
OLD | NEW |