OLD | NEW |
1 ## 1.11.0 | 1 ## 1.11.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 | 4 |
5 * In dart:html, appendHtml and insertAdjacentHtml now take validator | 5 * In `dart:html`, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator` |
6 and treeSanitizer parameters, and the inputs are consistently sanitized. | 6 and `treeSanitizer` parameters, and the inputs are consistently |
| 7 sanitized. See [45818 announcement] |
| 8 [45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic/an
nounce/GVO7EAcPi6A) |
7 * List iterators may not throw ConcurrentModificationError as eagerly in | 9 * List iterators may not throw ConcurrentModificationError as eagerly in |
8 release mode. In checked mode, the modification check is still as eager | 10 release mode. In checked mode, the modification check is still as eager |
9 as possible. | 11 as possible. |
10 [r45198](https://code.google.com/p/dart/source/detail?r=45198), | 12 [r45198](https://code.google.com/p/dart/source/detail?r=45198) |
11 * `dart:core` | 13 * `dart:core` |
12 * Add `unmodifiable` constructor to `List` - | 14 * Add `unmodifiable` constructor to `List` - |
13 [r45334](https://code.google.com/p/dart/source/detail?r=45334) | 15 [r45334](https://code.google.com/p/dart/source/detail?r=45334) |
14 * Add `unmodifiable` constructor to `Map` - | 16 * Add `unmodifiable` constructor to `Map` - |
15 [r45733](https://code.google.com/p/dart/source/detail?r=45733) | 17 [r45733](https://code.google.com/p/dart/source/detail?r=45733) |
16 * Add `empty` constructor to `Iterable` - | 18 * Add `empty` constructor to `Iterable` - |
17 [dcf0286f](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e663
18d3bf19abf454b) | 19 [dcf0286f](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e663
18d3bf19abf454b) |
18 * `dart:isolate`: | 20 * `dart:isolate`: |
19 * Make the priority parameter of `Isolate.ping` and `Isolate.kill` methods | 21 * Make the priority parameter of `Isolate.ping` and `Isolate.kill` methods |
20 a named parameter named `priority`. | 22 a named parameter named `priority`. |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 they will keep the Dart process alive until they time out. This fixes the | 303 they will keep the Dart process alive until they time out. This fixes the |
302 handling of persistent connections. Previously, the client would shut down | 304 handling of persistent connections. Previously, the client would shut down |
303 immediately after a request. | 305 immediately after a request. |
304 | 306 |
305 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 307 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
306 default. The new `autoCompress` property can be set to `true` to re-enable | 308 default. The new `autoCompress` property can be set to `true` to re-enable |
307 compression. | 309 compression. |
308 | 310 |
309 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 311 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
310 which controls how it resolves `package:` URIs. | 312 which controls how it resolves `package:` URIs. |
OLD | NEW |