| 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` |
| 6 * `StreamController` added setters for the `onListen`, `onPause`, `onResume` |
| 7 and `onCancel` callbacks. |
| 8 |
| 5 * `dart:convert` | 9 * `dart:convert` |
| 6 * `LineSplitter` added a `split` static method returning an `Iterable`. | 10 * `LineSplitter` added a `split` static method returning an `Iterable`. |
| 7 | 11 |
| 8 * `dart:html` | 12 * `dart:html` |
| 9 * `NodeTreeSanitizer` added the `const trusted` field. It can be used | 13 * `NodeTreeSanitizer` added the `const trusted` field. It can be used |
| 10 instead of defining a `NullTreeSanitizer` class when calling | 14 instead of defining a `NullTreeSanitizer` class when calling |
| 11 `setInnerHtml` or other methods that create DOM from text. It is | 15 `setInnerHtml` or other methods that create DOM from text. It is |
| 12 also more efficient, skipping the creation of a `DocumentFragment`. | 16 also more efficient, skipping the creation of a `DocumentFragment`. |
| 13 | 17 |
| 14 * `dart:io` | 18 * `dart:io` |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 they will keep the Dart process alive until they time out. This fixes the | 412 they will keep the Dart process alive until they time out. This fixes the |
| 409 handling of persistent connections. Previously, the client would shut down | 413 handling of persistent connections. Previously, the client would shut down |
| 410 immediately after a request. | 414 immediately after a request. |
| 411 | 415 |
| 412 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 416 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 413 default. The new `autoCompress` property can be set to `true` to re-enable | 417 default. The new `autoCompress` property can be set to `true` to re-enable |
| 414 compression. | 418 compression. |
| 415 | 419 |
| 416 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 420 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 417 which controls how it resolves `package:` URIs. | 421 which controls how it resolves `package:` URIs. |
| OLD | NEW |