OLD | NEW |
1 ## 1.12.0 | 1 ## 1.12.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
| 5 * `dart:convert` |
| 6 * `LineSplitter` added a `split` static method returning an `Iterable`. |
| 7 |
5 * `dart:html` | 8 * `dart:html` |
6 * `NodeTreeSanitizer` added the `const trusted` field. It can be used | 9 * `NodeTreeSanitizer` added the `const trusted` field. It can be used |
7 instead of defining a `NullTreeSanitizer` class when calling | 10 instead of defining a `NullTreeSanitizer` class when calling |
8 `setInnerHtml` or other methods that create DOM from text. It is | 11 `setInnerHtml` or other methods that create DOM from text. It is |
9 also more efficient, skipping the creation of a `DocumentFragment`. | 12 also more efficient, skipping the creation of a `DocumentFragment`. |
10 | 13 |
11 * `dart:io` | 14 * `dart:io` |
12 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for | 15 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for |
13 opening a file write only. | 16 opening a file write only. |
14 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) | 17 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 they will keep the Dart process alive until they time out. This fixes the | 401 they will keep the Dart process alive until they time out. This fixes the |
399 handling of persistent connections. Previously, the client would shut down | 402 handling of persistent connections. Previously, the client would shut down |
400 immediately after a request. | 403 immediately after a request. |
401 | 404 |
402 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 405 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
403 default. The new `autoCompress` property can be set to `true` to re-enable | 406 default. The new `autoCompress` property can be set to `true` to re-enable |
404 compression. | 407 compression. |
405 | 408 |
406 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 409 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
407 which controls how it resolves `package:` URIs. | 410 which controls how it resolves `package:` URIs. |
OLD | NEW |