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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 [a192ef4](https://github.com/dart-lang/sdk/commit/a192ef4acb95fad1aad1887f59
eed071eb5e8201) | 46 [a192ef4](https://github.com/dart-lang/sdk/commit/a192ef4acb95fad1aad1887f59
eed071eb5e8201) |
47 * `int` added a `modInverse` method. | 47 * `int` added a `modInverse` method. |
48 [f6f338c](https://github.com/dart-lang/sdk/commit/f6f338ce67eb8801b350417baa
cf6d3681b26002) | 48 [f6f338c](https://github.com/dart-lang/sdk/commit/f6f338ce67eb8801b350417baa
cf6d3681b26002) |
49 * `StackTrace` added a `fromString` constructor. | 49 * `StackTrace` added a `fromString` constructor. |
50 [68dd6f6](https://github.com/dart-lang/sdk/commit/68dd6f6338e63d0465041d662e
778369c02c2ce6) | 50 [68dd6f6](https://github.com/dart-lang/sdk/commit/68dd6f6338e63d0465041d662e
778369c02c2ce6) |
51 * `Uri` added a `directory` constructor. | 51 * `Uri` added a `directory` constructor. |
52 [d8dbb4a](https://github.com/dart-lang/sdk/commit/d8dbb4a60f5e8a7f874c2a4fbf
59eaf1a39f4776) | 52 [d8dbb4a](https://github.com/dart-lang/sdk/commit/d8dbb4a60f5e8a7f874c2a4fbf
59eaf1a39f4776) |
53 * List iterators may not throw `ConcurrentModificationError` as eagerly in | 53 * List iterators may not throw `ConcurrentModificationError` as eagerly in |
54 release mode. In checked mode, the modification check is still as eager | 54 release mode. In checked mode, the modification check is still as eager |
55 as possible. | 55 as possible. |
56 [r45198](https://code.google.com/p/dart/source/detail?r=45198) | 56 [r45198](https://github.com/dart-lang/sdk/commit/5a79c03) |
57 | 57 |
58 * `dart:developer` - **NEW** | 58 * `dart:developer` - **NEW** |
59 * Replaces the deprecated `dart:profiler` library. | 59 * Replaces the deprecated `dart:profiler` library. |
60 * Adds new functions `debugger` and `inspect`. | 60 * Adds new functions `debugger` and `inspect`. |
61 [6e42aec](https://github.com/dart-lang/sdk/blob/6e42aec4f64cf356dde7bad9426e
07e0ea5b58d5/sdk/lib/developer/developer.dart) | 61 [6e42aec](https://github.com/dart-lang/sdk/blob/6e42aec4f64cf356dde7bad9426e
07e0ea5b58d5/sdk/lib/developer/developer.dart) |
62 | 62 |
63 * `dart:io` | 63 * `dart:io` |
64 * `FileSystemEntity` added a `uri` property. | 64 * `FileSystemEntity` added a `uri` property. |
65 [8cf32dc](https://github.com/dart-lang/sdk/commit/8cf32dc1a1664b516e57f80452
4e46e55fae88b2) | 65 [8cf32dc](https://github.com/dart-lang/sdk/commit/8cf32dc1a1664b516e57f80452
4e46e55fae88b2) |
66 * `Platform` added a `static resolvedExecutable` property. | 66 * `Platform` added a `static resolvedExecutable` property. |
(...skipping 28 matching lines...) Expand all Loading... |
95 of dart2js | 95 of dart2js |
96 | 96 |
97 ## 1.10.0 – 2015-04-29 | 97 ## 1.10.0 – 2015-04-29 |
98 | 98 |
99 ### Core library changes | 99 ### Core library changes |
100 | 100 |
101 * `dart:convert` | 101 * `dart:convert` |
102 * **POTENTIALLY BREAKING** Fix behavior of `HtmlEscape`. It no longer escapes | 102 * **POTENTIALLY BREAKING** Fix behavior of `HtmlEscape`. It no longer escapes |
103 no-break space (U+00A0) anywhere or forward slash (`/`, `U+002F`) in element | 103 no-break space (U+00A0) anywhere or forward slash (`/`, `U+002F`) in element |
104 context. Slash is still escaped using `HtmlEscapeMode.UNKNOWN`. | 104 context. Slash is still escaped using `HtmlEscapeMode.UNKNOWN`. |
105 [r45003](https://code.google.com/p/dart/source/detail?r=45003), | 105 [r45003](https://github.com/dart-lang/sdk/commit/8b8223d), |
106 [r45153](https://code.google.com/p/dart/source/detail?r=45153), | 106 [r45153](https://github.com/dart-lang/sdk/commit/8a5d049), |
107 [r45189](https://code.google.com/p/dart/source/detail?r=45189) | 107 [r45189](https://github.com/dart-lang/sdk/commit/3c39ad2) |
108 | 108 |
109 * `dart:core` | 109 * `dart:core` |
110 * `Uri.parse` added `start` and `end` positional arguments. | 110 * `Uri.parse` added `start` and `end` positional arguments. |
111 | 111 |
112 * `dart:html` | 112 * `dart:html` |
113 * **POTENTIALLY BREAKING** `CssClassSet` method arguments must now be 'tokens'
, i.e. non-empty | 113 * **POTENTIALLY BREAKING** `CssClassSet` method arguments must now be 'tokens'
, i.e. non-empty |
114 strings with no white-space characters. The implementation was incorrect for | 114 strings with no white-space characters. The implementation was incorrect for |
115 class names containing spaces. The fix is to forbid spaces and provide a | 115 class names containing spaces. The fix is to forbid spaces and provide a |
116 faster implementation. | 116 faster implementation. |
117 [Announcement](https://groups.google.com/a/dartlang.org/d/msg/announce/jmUI2XJ
HfC8/UZUCvJH3p2oJ) | 117 [Announcement](https://groups.google.com/a/dartlang.org/d/msg/announce/jmUI2XJ
HfC8/UZUCvJH3p2oJ) |
(...skipping 247 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 | 365 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 | 366 handling of persistent connections. Previously, the client would shut down |
367 immediately after a request. | 367 immediately after a request. |
368 | 368 |
369 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 369 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
370 default. The new `autoCompress` property can be set to `true` to re-enable | 370 default. The new `autoCompress` property can be set to `true` to re-enable |
371 compression. | 371 compression. |
372 | 372 |
373 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 373 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
374 which controls how it resolves `package:` URIs. | 374 which controls how it resolves `package:` URIs. |
OLD | NEW |