mirror of
https://github.com/dart-lang/sdk
synced 2024-10-01 19:19:16 +00:00
[release] Prepare changelog for 2.0.0-dev.57.0
Change-Id: I3f3ea74ee550d6110ebb2cdcf96a1b9f07293d99 Reviewed-on: https://dart-review.googlesource.com/56323 Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
e62f37f396
commit
cbe76eeea0
35
CHANGELOG.md
35
CHANGELOG.md
|
@ -1,21 +1,4 @@
|
|||
## 2.0.0-dev.XX.0
|
||||
|
||||
* Support Javascript Promise APIs as a Dart Future. In Javascript a Promise has two
|
||||
callbacks one for success and one for failure. For success the Future returns the
|
||||
value e.g.,
|
||||
|
||||
BackgroundFetchManager.get is exposed as:
|
||||
|
||||
```dart
|
||||
Future<BackgroundFetchRegistration> get(String id)
|
||||
```
|
||||
|
||||
usage could be:
|
||||
|
||||
BackgroundFetchRegistration result = await fetchMgr.get('abc');
|
||||
|
||||
The underlying JS Promise to Future mechanism will be exposed as a public API in a future checkin.
|
||||
|
||||
(Add new changes here, and they will be copied to the
|
||||
change section for the next dev version)
|
||||
|
||||
|
@ -33,6 +16,24 @@ usage could be:
|
|||
|
||||
#### Other Tools
|
||||
|
||||
## 2.0.0-dev.57.0
|
||||
|
||||
* Support Javascript Promise APIs as a Dart Future. In Javascript a Promise has two
|
||||
callbacks one for success and one for failure. For success the Future returns the
|
||||
value e.g.,
|
||||
|
||||
BackgroundFetchManager.get is exposed as:
|
||||
|
||||
```dart
|
||||
Future<BackgroundFetchRegistration> get(String id)
|
||||
```
|
||||
|
||||
usage could be:
|
||||
|
||||
BackgroundFetchRegistration result = await fetchMgr.get('abc');
|
||||
|
||||
The underlying JS Promise to Future mechanism will be exposed as a public API in a future checkin.
|
||||
|
||||
## 2.0.0-dev.56.0
|
||||
|
||||
### Language
|
||||
|
|
Loading…
Reference in a new issue