mirror of
https://github.com/dart-lang/sdk
synced 2024-10-07 09:35:06 +00:00
Add new Iterable/List/Set/Map changes to CHANGELOG.md.
Change-Id: I3486631d64f37fe66ee38c3f87dfd4e053bc7a30 Reviewed-on: https://dart-review.googlesource.com/39660 Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Leaf Petersen <leafp@google.com>
This commit is contained in:
parent
e6bdddfc87
commit
f72e327df7
15
CHANGELOG.md
15
CHANGELOG.md
|
@ -68,6 +68,21 @@ the assignment to `y`.
|
|||
`ZERO` to `zero`.
|
||||
* Added `Provisional` annotation to `dart:core`.
|
||||
* Added static `escape` function to `RegExp` class.
|
||||
* Added members `cast`, `followedBy`, `retype` and `whereType` to `Iterable`.
|
||||
* Added `orElse` parameter to `Iterable.singleWhere`.
|
||||
* Added `+` operator, `first` and `last` setters, and `indexWhere`
|
||||
and `lastIndexWhere` methods to `List`.
|
||||
* Added `addEntries`, `cast`, `entries`, `map`, `removeWhere`, `retype`,
|
||||
`update` and `updateAll` members to `Map`.
|
||||
* If a class extends `IterableBase`, `ListBase`, `SetBase` or `MapBase`
|
||||
(or uses the corresponding mixins), the new members are implemented
|
||||
automatically.
|
||||
* Added constructor `Map.fromEntries`.
|
||||
* Added `MapEntry` class used by, e.g., `Map.entries`.
|
||||
* Changed `LinkedHashMap` to not implement `HashMap`, and `LinkedHashSet`
|
||||
to not implement `HashSet`. The "unlinked" version is a different
|
||||
implementation class than the linked version, not an abstract interface
|
||||
that the two share.
|
||||
|
||||
* `dart:convert`
|
||||
* `Utf8Decoder` when compiled with dart2js uses the browser's `TextDecoder` in
|
||||
|
|
Loading…
Reference in a new issue