OLD | NEW |
1 ## 1.12.0 | 1 ## 1.12.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
5 * `dart:html` | 5 * `dart:html` |
6 * `NodeTreeSanitizer` added the `const trusted` field. It can be used | 6 * `NodeTreeSanitizer` added the `const trusted` field. It can be used |
7 instead of defining a `NullTreeSanitizer` class when calling | 7 instead of defining a `NullTreeSanitizer` class when calling |
8 `setInnerHtml` or other methods that create DOM from text. It is | 8 `setInnerHtml` or other methods that create DOM from text. It is |
9 also more efficient, skipping the creation of a `DocumentFragment`. | 9 also more efficient, skipping the creation of a `DocumentFragment`. |
10 | 10 |
| 11 * `dart:io` |
| 12 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for |
| 13 opening a file write only. |
| 14 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) |
| 15 |
11 ### Tool changes | 16 ### Tool changes |
12 | 17 |
13 * Pub | 18 * Pub |
14 | 19 |
15 * Pub will now generate a ".packages" file in addition to the "packages" | 20 * Pub will now generate a ".packages" file in addition to the "packages" |
16 directory when running `pub get` or similar operations, per the | 21 directory when running `pub get` or similar operations, per the |
17 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that | 22 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that |
18 will stop "packages" directories from being generated at all. | 23 will stop "packages" directories from being generated at all. |
19 | 24 |
20 * When `pub publish` finds a violation, it will emit a non-zero exit code. | 25 * When `pub publish` finds a violation, it will emit a non-zero exit code. |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 they will keep the Dart process alive until they time out. This fixes the | 370 they will keep the Dart process alive until they time out. This fixes the |
366 handling of persistent connections. Previously, the client would shut down | 371 handling of persistent connections. Previously, the client would shut down |
367 immediately after a request. | 372 immediately after a request. |
368 | 373 |
369 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 374 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
370 default. The new `autoCompress` property can be set to `true` to re-enable | 375 default. The new `autoCompress` property can be set to `true` to re-enable |
371 compression. | 376 compression. |
372 | 377 |
373 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 378 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
374 which controls how it resolves `package:` URIs. | 379 which controls how it resolves `package:` URIs. |
OLD | NEW |