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` | 11 * `dart:io` |
12 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for | 12 * Added two new file modes, `WRITE_ONLY` and `WRITE_ONLY_APPEND` for |
13 opening a file write only. | 13 opening a file write only. |
14 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) | 14 [eaeecf2](https://github.com/dart-lang/sdk/commit/eaeecf2ed13ba6c7fbfd653c3c
592974a7120960) |
| 15 * Change stdout/stderr to binary mode on Windows. |
| 16 [4205b29](https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f
46ed6259ab7277) |
15 | 17 |
16 ### Tool changes | 18 ### Tool changes |
17 | 19 |
18 * Pub | 20 * Pub |
19 | 21 |
20 * Pub will now generate a ".packages" file in addition to the "packages" | 22 * Pub will now generate a ".packages" file in addition to the "packages" |
21 directory when running `pub get` or similar operations, per the | 23 directory when running `pub get` or similar operations, per the |
22 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that | 24 [package spec proposal][]. Pub now has a `--no-package-symlinks` flag that |
23 will stop "packages" directories from being generated at all. | 25 will stop "packages" directories from being generated at all. |
24 | 26 |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 they will keep the Dart process alive until they time out. This fixes the | 381 they will keep the Dart process alive until they time out. This fixes the |
380 handling of persistent connections. Previously, the client would shut down | 382 handling of persistent connections. Previously, the client would shut down |
381 immediately after a request. | 383 immediately after a request. |
382 | 384 |
383 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 385 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
384 default. The new `autoCompress` property can be set to `true` to re-enable | 386 default. The new `autoCompress` property can be set to `true` to re-enable |
385 compression. | 387 compression. |
386 | 388 |
387 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 389 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
388 which controls how it resolves `package:` URIs. | 390 which controls how it resolves `package:` URIs. |
OLD | NEW |