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 |
(...skipping 11 matching lines...) Expand all Loading... |
22 * `int` added a `modInverse` method. | 22 * `int` added a `modInverse` method. |
23 [f6f338c](https://github.com/dart-lang/sdk/commit/f6f338ce67eb8801b350417baa
cf6d3681b26002) | 23 [f6f338c](https://github.com/dart-lang/sdk/commit/f6f338ce67eb8801b350417baa
cf6d3681b26002) |
24 * `StackTrace` added a `fromString` constructor. | 24 * `StackTrace` added a `fromString` constructor. |
25 [68dd6f6](https://github.com/dart-lang/sdk/commit/68dd6f6338e63d0465041d662e
778369c02c2ce6) | 25 [68dd6f6](https://github.com/dart-lang/sdk/commit/68dd6f6338e63d0465041d662e
778369c02c2ce6) |
26 * `Uri` added a `directory` constructor. | 26 * `Uri` added a `directory` constructor. |
27 [d8dbb4a](https://github.com/dart-lang/sdk/commit/d8dbb4a60f5e8a7f874c2a4fbf
59eaf1a39f4776) | 27 [d8dbb4a](https://github.com/dart-lang/sdk/commit/d8dbb4a60f5e8a7f874c2a4fbf
59eaf1a39f4776) |
28 * List iterators may not throw `ConcurrentModificationError` as eagerly in | 28 * List iterators may not throw `ConcurrentModificationError` as eagerly in |
29 release mode. In checked mode, the modification check is still as eager | 29 release mode. In checked mode, the modification check is still as eager |
30 as possible. | 30 as possible. |
31 [r45198](https://code.google.com/p/dart/source/detail?r=45198) | 31 [r45198](https://code.google.com/p/dart/source/detail?r=45198) |
| 32 |
| 33 * `dart:developer` - **NEW** |
| 34 * Replaces the deprecated `dart:profiler` library. |
| 35 * Adds new functions `debugger` and `inspect`. |
| 36 [6e42aec](https://github.com/dart-lang/sdk/blob/6e42aec4f64cf356dde7bad9426e
07e0ea5b58d5/sdk/lib/developer/developer.dart) |
| 37 |
32 * `dart:io` | 38 * `dart:io` |
33 * `FileSystemEntity` added a `uri` property. | 39 * `FileSystemEntity` added a `uri` property. |
34 [8cf32dc](https://github.com/dart-lang/sdk/commit/8cf32dc1a1664b516e57f80452
4e46e55fae88b2) | 40 [8cf32dc](https://github.com/dart-lang/sdk/commit/8cf32dc1a1664b516e57f80452
4e46e55fae88b2) |
35 * `Platform` added a `static resolvedExecutable` property. | 41 * `Platform` added a `static resolvedExecutable` property. |
36 [c05c8c6](https://github.com/dart-lang/sdk/commit/c05c8c66069db91cc2fd48691d
fc406c818d411d) | 42 [c05c8c6](https://github.com/dart-lang/sdk/commit/c05c8c66069db91cc2fd48691d
fc406c818d411d) |
| 43 |
37 * `dart:html` | 44 * `dart:html` |
38 * `Element` methods, `appendHtml` and `insertAdjacentHtml` now take `nodeValid
ator` | 45 * `Element` methods, `appendHtml` and `insertAdjacentHtml` now take `nodeValid
ator` |
39 and `treeSanitizer` parameters, and the inputs are consistently | 46 and `treeSanitizer` parameters, and the inputs are consistently |
40 sanitized. | 47 sanitized. |
41 [r45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic
/announce/GVO7EAcPi6A) | 48 [r45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic
/announce/GVO7EAcPi6A) |
| 49 |
42 * `dart:isolate` | 50 * `dart:isolate` |
43 * **BREAKING** The positional `priority` parameter of `Isolate.ping` and `Isol
ate.kill` is | 51 * **BREAKING** The positional `priority` parameter of `Isolate.ping` and `Isol
ate.kill` is |
44 now a named parameter named `priority`. | 52 now a named parameter named `priority`. |
45 * **BREAKING** Removed the `Isolate.AS_EVENT` priority. | 53 * **BREAKING** Removed the `Isolate.AS_EVENT` priority. |
46 * `Isolate` methods `ping` and `addOnExitListener` now have a named parameter | 54 * `Isolate` methods `ping` and `addOnExitListener` now have a named parameter |
47 `response`. | 55 `response`. |
48 [r45092](https://github.com/dart-lang/sdk/commit/1b208bd) | 56 [r45092](https://github.com/dart-lang/sdk/commit/1b208bd) |
49 * Remove the experimental state of the API. | 57 * Remove the experimental state of the API. |
50 | 58 |
| 59 * `dart:profiler` - **DEPRECATED** |
| 60 * This library will be removed in 1.12. Use `dart:developer` instead. |
| 61 |
51 ### Tool changes | 62 ### Tool changes |
52 | 63 |
| 64 * This is the first release that does not include the Eclipse-based |
| 65 **Dart Editor**. |
| 66 See [dartlang.org/tools](https://www.dartlang.org/tools/]) for alternatives. |
53 * This is the last release that ships the (unsupported) | 67 * This is the last release that ships the (unsupported) |
54 dart2dart (aka `dart2js --output-type=dart`) utility as part | 68 dart2dart (aka `dart2js --output-type=dart`) utility as part |
55 of dart2js | 69 of dart2js |
56 | 70 |
57 ## 1.10.0 – 2015-04-29 | 71 ## 1.10.0 – 2015-04-29 |
58 | 72 |
59 ### Core library changes | 73 ### Core library changes |
60 | 74 |
61 * `dart:convert` | 75 * `dart:convert` |
62 * **POTENTIALLY BREAKING** Fix behavior of `HtmlEscape`. It no longer escapes | 76 * **POTENTIALLY BREAKING** Fix behavior of `HtmlEscape`. It no longer escapes |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 they will keep the Dart process alive until they time out. This fixes the | 339 they will keep the Dart process alive until they time out. This fixes the |
326 handling of persistent connections. Previously, the client would shut down | 340 handling of persistent connections. Previously, the client would shut down |
327 immediately after a request. | 341 immediately after a request. |
328 | 342 |
329 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 343 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
330 default. The new `autoCompress` property can be set to `true` to re-enable | 344 default. The new `autoCompress` property can be set to `true` to re-enable |
331 compression. | 345 compression. |
332 | 346 |
333 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 347 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
334 which controls how it resolves `package:` URIs. | 348 which controls how it resolves `package:` URIs. |
OLD | NEW |