Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: CHANGELOG.md

Issue 2202533003: Return futures on Stream.cancel when possible. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Don't make Pipe.cancel wait for the null future. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sdk/lib/async/stream.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.20.0 1 ## 1.20.0
2 2
3 ### Dart VM 3 ### Dart VM
4 4
5 * We have improved the way that the VM locates the native code library for a 5 * We have improved the way that the VM locates the native code library for a
6 native extension (e.g. `dart-ext:` import). We have updated this 6 native extension (e.g. `dart-ext:` import). We have updated this
7 [article on native extensions](https://www.dartlang.org/articles/dart-vm/nativ e-extensions) 7 [article on native extensions](https://www.dartlang.org/articles/dart-vm/nativ e-extensions)
8 to reflect the VM's improved behavior. 8 to reflect the VM's improved behavior.
9 9
10 ### Core library changes 10 ### Core library changes
11 * `dart:core`: Remove deprecated `Resource` class. 11 * `dart:core`: Remove deprecated `Resource` class.
12 Use the class in `package:resource` instead. 12 Use the class in `package:resource` instead.
13 * `dart:async` 13 * `dart:async`
14 * `Future.wait` now catches synchronous errors and returns them in the 14 * `Future.wait` now catches synchronous errors and returns them in the
15 returned Future. 15 returned Future.
16 * More aggressively returns a Future on Stream.cancel operations.
17 Discourages to return `null` from `cancel`.
18 * Fixes a few bugs where the cancel future wasn't passed through
19 transformations.
16 * `dart:io` 20 * `dart:io`
17 * Added `WebSocket.addUtf8Text` to allow sending a pre-encoded text message 21 * Added `WebSocket.addUtf8Text` to allow sending a pre-encoded text message
18 without a round-trip UTF-8 conversion. 22 without a round-trip UTF-8 conversion.
19 23
20 ## Strong Mode 24 ## Strong Mode
21 25
22 * Breaking change - it is an error if a generic type parameter cannot be 26 * Breaking change - it is an error if a generic type parameter cannot be
23 inferred (SDK issue [26992](https://github.com/dart-lang/sdk/issues/26992)). 27 inferred (SDK issue [26992](https://github.com/dart-lang/sdk/issues/26992)).
24 28
25 ```dart 29 ```dart
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 they will keep the Dart process alive until they time out. This fixes the 1237 they will keep the Dart process alive until they time out. This fixes the
1234 handling of persistent connections. Previously, the client would shut down 1238 handling of persistent connections. Previously, the client would shut down
1235 immediately after a request. 1239 immediately after a request.
1236 1240
1237 * **Breaking change:** `HttpServer` no longer compresses all traffic by 1241 * **Breaking change:** `HttpServer` no longer compresses all traffic by
1238 default. The new `autoCompress` property can be set to `true` to re-enable 1242 default. The new `autoCompress` property can be set to `true` to re-enable
1239 compression. 1243 compression.
1240 1244
1241 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, 1245 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument,
1242 which controls how it resolves `package:` URIs. 1246 which controls how it resolves `package:` URIs.
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698