mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 01:25:41 +00:00
CHANGELOG a number of updates for 1.11
TBR Review URL: https://codereview.chromium.org//1197283005.
This commit is contained in:
parent
f3c0a280d2
commit
d7bf5501fc
51
CHANGELOG.md
51
CHANGELOG.md
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
### Core library changes
|
### Core library changes
|
||||||
|
|
||||||
* In `dart:html`, adds `NodeTreeSanitizer.trusted`. This can be used
|
* `dart:html`
|
||||||
|
* Added `const NodeTreeSanitizer.trusted`. This can be used
|
||||||
instead of defining a `NullTreeSanitizer` class when calling
|
instead of defining a `NullTreeSanitizer` class when calling
|
||||||
`setInnerHtml` or other methods that create DOM from text. It is
|
`setInnerHtml` or other methods that create DOM from text. It is
|
||||||
also more efficient, skipping the creation of a DocumentFragment.
|
also more efficient, skipping the creation of a DocumentFragment.
|
||||||
|
@ -11,32 +12,34 @@
|
||||||
|
|
||||||
### Core library changes
|
### Core library changes
|
||||||
|
|
||||||
* In `dart:html`, adds `NodeTreeSanitizer.trusted`. This can be used
|
* `dart:core`
|
||||||
instead of defining a `NullTreeSanitizer` class when calling
|
* `Iterable` added the `empty` constructor.
|
||||||
`setInnerHtml` or other methods that create DOM from text. It is
|
[dcf0286](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e66318d3bf19abf454b)
|
||||||
also more efficient, skipping the creation of a DocumentFragment.
|
* `List` added the `unmodifiable` constructor.
|
||||||
* In `dart:html`, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator`
|
[r45334](https://code.google.com/p/dart/source/detail?r=45334)
|
||||||
and `treeSanitizer` parameters, and the inputs are consistently
|
* `Map` added the `unmodifiable` constructor.
|
||||||
sanitized. See [45818 announcement]
|
[r45733](https://code.google.com/p/dart/source/detail?r=45733)
|
||||||
[45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic/announce/GVO7EAcPi6A)
|
* List iterators may not throw `ConcurrentModificationError` as eagerly in
|
||||||
* List iterators may not throw ConcurrentModificationError as eagerly in
|
|
||||||
release mode. In checked mode, the modification check is still as eager
|
release mode. In checked mode, the modification check is still as eager
|
||||||
as possible.
|
as possible.
|
||||||
[r45198](https://code.google.com/p/dart/source/detail?r=45198)
|
[r45198](https://code.google.com/p/dart/source/detail?r=45198)
|
||||||
* `dart:core`
|
* `dart:io`
|
||||||
* Add `unmodifiable` constructor to `List` -
|
* `FileSystemEntity` added a `uri` property.
|
||||||
[r45334](https://code.google.com/p/dart/source/detail?r=45334)
|
[8cf32dc](https://github.com/dart-lang/sdk/commit/8cf32dc1a1664b516e57f804524e46e55fae88b2)
|
||||||
* Add `unmodifiable` constructor to `Map` -
|
* `Platform` added a `static resolvedExecutable` property.
|
||||||
[r45733](https://code.google.com/p/dart/source/detail?r=45733)
|
[c05c8c6](https://github.com/dart-lang/sdk/commit/c05c8c66069db91cc2fd48691dfc406c818d411d)
|
||||||
* Add `empty` constructor to `Iterable` -
|
* `dart:html`
|
||||||
[dcf0286f](https://github.com/dart-lang/sdk/commit/dcf0286f5385187a68ce9e66318d3bf19abf454b)
|
* `Element` methods, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator`
|
||||||
* `dart:isolate`:
|
and `treeSanitizer` parameters, and the inputs are consistently
|
||||||
* Make the priority parameter of `Isolate.ping` and `Isolate.kill` methods
|
sanitized.
|
||||||
a named parameter named `priority`.
|
[r45818 announcement](https://groups.google.com/a/dartlang.org/forum/#!topic/announce/GVO7EAcPi6A)
|
||||||
* Remove the `Isolate.AS_EVENT` priority.
|
* `dart:isolate`
|
||||||
* Add extra `response` parameter to `Isolate.ping` and
|
* **BREAKING** The positional `priority` parameter of `Isolate.ping` and `Isolate.kill` is
|
||||||
`Isolate.addOnExitListener` -
|
now a named parameter named `priority`.
|
||||||
[r45092](https://code.google.com/p/dart/source/detail?r=45092)
|
* **BREAKING** Removed the `Isolate.AS_EVENT` priority.
|
||||||
|
* `Isolate` methods `ping` and `addOnExitListener` now have a named parameter
|
||||||
|
`response`.
|
||||||
|
[r45092](https://github.com/dart-lang/sdk/commit/1b208bd)
|
||||||
* Remove the experimental state of the API.
|
* Remove the experimental state of the API.
|
||||||
|
|
||||||
### Tool changes
|
### Tool changes
|
||||||
|
|
Loading…
Reference in a new issue