| 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`. |
| 11 | 11 |
| 12 * `dart:core` |
| 13 * `Uri` class now perform path normalization when a URI is created. |
| 14 This removes most `..` and `.` sequences from the URI path. |
| 15 Purely relative paths (no scheme or authority) are allowed to retain |
| 16 some leading "dot" segments. |
| 17 |
| 12 * `dart:html` | 18 * `dart:html` |
| 13 * `NodeTreeSanitizer` added the `const trusted` field. It can be used | 19 * `NodeTreeSanitizer` added the `const trusted` field. It can be used |
| 14 instead of defining a `NullTreeSanitizer` class when calling | 20 instead of defining a `NullTreeSanitizer` class when calling |
| 15 `setInnerHtml` or other methods that create DOM from text. It is | 21 `setInnerHtml` or other methods that create DOM from text. It is |
| 16 also more efficient, skipping the creation of a `DocumentFragment`. | 22 also more efficient, skipping the creation of a `DocumentFragment`. |
| 17 | 23 |
| 18 * `dart:io` | 24 * `dart:io` |
| 19 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for | 25 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for |
| 20 opening a file write only. | 26 opening a file write only. |
| 21 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) | 27 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 they will keep the Dart process alive until they time out. This fixes the | 418 they will keep the Dart process alive until they time out. This fixes the |
| 413 handling of persistent connections. Previously, the client would shut down | 419 handling of persistent connections. Previously, the client would shut down |
| 414 immediately after a request. | 420 immediately after a request. |
| 415 | 421 |
| 416 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 422 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 417 default. The new `autoCompress` property can be set to `true` to re-enable | 423 default. The new `autoCompress` property can be set to `true` to re-enable |
| 418 compression. | 424 compression. |
| 419 | 425 |
| 420 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 426 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 421 which controls how it resolves `package:` URIs. | 427 which controls how it resolves `package:` URIs. |
| OLD | NEW |