| 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`, adds `NodeTreeSanitizer.trusted`. This can be used |
| 6 instead of defining a `NullTreeSanitizer` class when calling |
| 7 `setInnerHtml` or other methods that create DOM from text. It is |
| 8 also more efficient, skipping the creation of a DocumentFragment. |
| 5 * In `dart:html`, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator` | 9 * In `dart:html`, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator` |
| 6 and `treeSanitizer` parameters, and the inputs are consistently | 10 and `treeSanitizer` parameters, and the inputs are consistently |
| 7 sanitized. See [45818 announcement] | 11 sanitized. See [45818 announcement] |
| 8 [45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic/an
nounce/GVO7EAcPi6A) | 12 [45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic/an
nounce/GVO7EAcPi6A) |
| 9 * List iterators may not throw ConcurrentModificationError as eagerly in | 13 * List iterators may not throw ConcurrentModificationError as eagerly in |
| 10 release mode. In checked mode, the modification check is still as eager | 14 release mode. In checked mode, the modification check is still as eager |
| 11 as possible. | 15 as possible. |
| 12 [r45198](https://code.google.com/p/dart/source/detail?r=45198) | 16 [r45198](https://code.google.com/p/dart/source/detail?r=45198) |
| 13 * `dart:core` | 17 * `dart:core` |
| 14 * Add `unmodifiable` constructor to `List` - | 18 * Add `unmodifiable` constructor to `List` - |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 they will keep the Dart process alive until they time out. This fixes the | 307 they will keep the Dart process alive until they time out. This fixes the |
| 304 handling of persistent connections. Previously, the client would shut down | 308 handling of persistent connections. Previously, the client would shut down |
| 305 immediately after a request. | 309 immediately after a request. |
| 306 | 310 |
| 307 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 311 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 308 default. The new `autoCompress` property can be set to `true` to re-enable | 312 default. The new `autoCompress` property can be set to `true` to re-enable |
| 309 compression. | 313 compression. |
| 310 | 314 |
| 311 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 315 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 312 which controls how it resolves `package:` URIs. | 316 which controls how it resolves `package:` URIs. |
| OLD | NEW |