OLD | NEW |
1 ## 1.12.0 | 1 ## 1.12.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
5 * In `dart:html`, adds `NodeTreeSanitizer.trusted`. This can be used | 5 * `dart:html` |
6 instead of defining a `NullTreeSanitizer` class when calling | 6 * Added `const NodeTreeSanitizer.trusted`. This can be used |
7 `setInnerHtml` or other methods that create DOM from text. It is | 7 instead of defining a `NullTreeSanitizer` class when calling |
8 also more efficient, skipping the creation of a DocumentFragment. | 8 `setInnerHtml` or other methods that create DOM from text. It is |
| 9 also more efficient, skipping the creation of a DocumentFragment. |
9 | 10 |
10 ## 1.11.0 | 11 ## 1.11.0 |
11 | 12 |
12 ### Core library changes | 13 ### Core library changes |
13 | 14 |
14 * In `dart:html`, adds `NodeTreeSanitizer.trusted`. This can be used | |
15 instead of defining a `NullTreeSanitizer` class when calling | |
16 `setInnerHtml` or other methods that create DOM from text. It is | |
17 also more efficient, skipping the creation of a DocumentFragment. | |
18 * In `dart:html`, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator` | |
19 and `treeSanitizer` parameters, and the inputs are consistently | |
20 sanitized. See [45818 announcement] | |
21 [45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic/an
nounce/GVO7EAcPi6A) | |
22 * List iterators may not throw ConcurrentModificationError as eagerly in | |
23 release mode. In checked mode, the modification check is still as eager | |
24 as possible. | |
25 [r45198](https://code.google.com/p/dart/source/detail?r=45198) | |
26 * `dart:core` | 15 * `dart:core` |
27 * Add `unmodifiable` constructor to `List` - | 16 * `Iterable` added the `empty` constructor. |
| 17 [dcf0286](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e6631
8d3bf19abf454b) |
| 18 * `List` added the `unmodifiable` constructor. |
28 [r45334](https://code.google.com/p/dart/source/detail?r=45334) | 19 [r45334](https://code.google.com/p/dart/source/detail?r=45334) |
29 * Add `unmodifiable` constructor to `Map` - | 20 * `Map` added the `unmodifiable` constructor. |
30 [r45733](https://code.google.com/p/dart/source/detail?r=45733) | 21 [r45733](https://code.google.com/p/dart/source/detail?r=45733) |
31 * Add `empty` constructor to `Iterable` - | 22 * List iterators may not throw `ConcurrentModificationError` as eagerly in |
32 [dcf0286f](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e663
18d3bf19abf454b) | 23 release mode. In checked mode, the modification check is still as eager |
33 * `dart:isolate`: | 24 as possible. |
34 * Make the priority parameter of `Isolate.ping` and `Isolate.kill` methods | 25 [r45198](https://code.google.com/p/dart/source/detail?r=45198) |
35 a named parameter named `priority`. | 26 * `dart:io` |
36 * Remove the `Isolate.AS_EVENT` priority. | 27 * `FileSystemEntity` added a `uri` property. |
37 * Add extra `response` parameter to `Isolate.ping` and | 28 [8cf32dc](https://github.com/dart-lang/sdk/commit/8cf32dc1a1664b516e57f80452
4e46e55fae88b2) |
38 `Isolate.addOnExitListener` - | 29 * `Platform` added a `static resolvedExecutable` property. |
39 [r45092](https://code.google.com/p/dart/source/detail?r=45092) | 30 [c05c8c6](https://github.com/dart-lang/sdk/commit/c05c8c66069db91cc2fd48691d
fc406c818d411d) |
| 31 * `dart:html` |
| 32 * `Element` methods, `appendHtml` and `insertAdjacentHtml` now take `nodeValid
ator` |
| 33 and `treeSanitizer` parameters, and the inputs are consistently |
| 34 sanitized. |
| 35 [r45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic
/announce/GVO7EAcPi6A) |
| 36 * `dart:isolate` |
| 37 * **BREAKING** The positional `priority` parameter of `Isolate.ping` and `Isol
ate.kill` is |
| 38 now a named parameter named `priority`. |
| 39 * **BREAKING** Removed the `Isolate.AS_EVENT` priority. |
| 40 * `Isolate` methods `ping` and `addOnExitListener` now have a named parameter |
| 41 `response`. |
| 42 [r45092](https://github.com/dart-lang/sdk/commit/1b208bd) |
40 * Remove the experimental state of the API. | 43 * Remove the experimental state of the API. |
41 | 44 |
42 ### Tool changes | 45 ### Tool changes |
43 | 46 |
44 * This is the last release that ships the (unsupported) | 47 * This is the last release that ships the (unsupported) |
45 dart2dart (aka `dart2js --output-type=dart`) utility as part | 48 dart2dart (aka `dart2js --output-type=dart`) utility as part |
46 of dart2js | 49 of dart2js |
47 | 50 |
48 ## 1.10.0 – 2015-04-29 | 51 ## 1.10.0 – 2015-04-29 |
49 | 52 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 they will keep the Dart process alive until they time out. This fixes the | 319 they will keep the Dart process alive until they time out. This fixes the |
317 handling of persistent connections. Previously, the client would shut down | 320 handling of persistent connections. Previously, the client would shut down |
318 immediately after a request. | 321 immediately after a request. |
319 | 322 |
320 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 323 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
321 default. The new `autoCompress` property can be set to `true` to re-enable | 324 default. The new `autoCompress` property can be set to `true` to re-enable |
322 compression. | 325 compression. |
323 | 326 |
324 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 327 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
325 which controls how it resolves `package:` URIs. | 328 which controls how it resolves `package:` URIs. |
OLD | NEW |