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 ## 1.11.0 | 11 ## 1.11.0 |
12 | 12 |
13 ### Core library changes | 13 ### Core library changes |
14 | 14 |
15 * `dart:core` | 15 * `dart:core` |
16 * `Iterable` added an `empty` constructor. | 16 * `Iterable` added an `empty` constructor. |
17 [dcf0286](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e6631
8d3bf19abf454b) | 17 [dcf0286](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e6631
8d3bf19abf454b) |
18 * `List` added an `unmodifiable` constructor. | 18 * `List` added an `unmodifiable` constructor. |
19 [r45334](https://code.google.com/p/dart/source/detail?r=45334) | 19 [r45334](https://code.google.com/p/dart/source/detail?r=45334) |
20 * `Map` added an `unmodifiable` constructor. | 20 * `Map` added an `unmodifiable` constructor. |
21 [r45733](https://code.google.com/p/dart/source/detail?r=45733) | 21 [r45733](https://code.google.com/p/dart/source/detail?r=45733) |
| 22 * `int` added a `gcd` method. |
| 23 [a192ef4](https://github.com/dart-lang/sdk/commit/a192ef4acb95fad1aad1887f59
eed071eb5e8201) |
22 * `int` added a `modInverse` method. | 24 * `int` added a `modInverse` method. |
23 [f6f338c](https://github.com/dart-lang/sdk/commit/f6f338ce67eb8801b350417baa
cf6d3681b26002) | 25 [f6f338c](https://github.com/dart-lang/sdk/commit/f6f338ce67eb8801b350417baa
cf6d3681b26002) |
24 * `StackTrace` added a `fromString` constructor. | 26 * `StackTrace` added a `fromString` constructor. |
25 [68dd6f6](https://github.com/dart-lang/sdk/commit/68dd6f6338e63d0465041d662e
778369c02c2ce6) | 27 [68dd6f6](https://github.com/dart-lang/sdk/commit/68dd6f6338e63d0465041d662e
778369c02c2ce6) |
26 * `Uri` added a `directory` constructor. | 28 * `Uri` added a `directory` constructor. |
27 [d8dbb4a](https://github.com/dart-lang/sdk/commit/d8dbb4a60f5e8a7f874c2a4fbf
59eaf1a39f4776) | 29 [d8dbb4a](https://github.com/dart-lang/sdk/commit/d8dbb4a60f5e8a7f874c2a4fbf
59eaf1a39f4776) |
28 * List iterators may not throw `ConcurrentModificationError` as eagerly in | 30 * List iterators may not throw `ConcurrentModificationError` as eagerly in |
29 release mode. In checked mode, the modification check is still as eager | 31 release mode. In checked mode, the modification check is still as eager |
30 as possible. | 32 as possible. |
31 [r45198](https://code.google.com/p/dart/source/detail?r=45198) | 33 [r45198](https://code.google.com/p/dart/source/detail?r=45198) |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 they will keep the Dart process alive until they time out. This fixes the | 341 they will keep the Dart process alive until they time out. This fixes the |
340 handling of persistent connections. Previously, the client would shut down | 342 handling of persistent connections. Previously, the client would shut down |
341 immediately after a request. | 343 immediately after a request. |
342 | 344 |
343 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 345 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
344 default. The new `autoCompress` property can be set to `true` to re-enable | 346 default. The new `autoCompress` property can be set to `true` to re-enable |
345 compression. | 347 compression. |
346 | 348 |
347 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 349 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
348 which controls how it resolves `package:` URIs. | 350 which controls how it resolves `package:` URIs. |
OLD | NEW |