OLD | NEW |
1 ## 1.14.0 | 1 ## 1.14.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:async` | 4 * `dart:async` |
5 * Added `Future.any` static method. | 5 * Added `Future.any` static method. |
6 * Added `Stream.fromFutures` constructor. | 6 * Added `Stream.fromFutures` constructor. |
7 | 7 |
8 * `dart:convert` | 8 * `dart:convert` |
9 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. | 9 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. |
10 | 10 |
11 * `dart:core` | 11 * `dart:core` |
12 * Added `current` getter to `StackTrace` class. | 12 * Added `current` getter to `StackTrace` class. |
13 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the | 13 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the |
14 return type. | 14 return type. |
15 * Addad `Uri.queryParametersAll` to handle multiple query parameters with | 15 * Addad `Uri.queryParametersAll` to handle multiple query parameters with |
16 the same name. | 16 the same name. |
17 * Added `growable` parameter to `List.filled` constructor. | 17 * Added `growable` parameter to `List.filled` constructor. |
18 * Added microsecond support to `DateTime`: `DateTime.microsecond`, | 18 * Added microsecond support to `DateTime`: `DateTime.microsecond`, |
19 `DateTime.microsecondsSinceEpoch`, and | 19 `DateTime.microsecondsSinceEpoch`, and |
20 `new DateTime.fromMicrosecondsSinceEpoch`. | 20 `new DateTime.fromMicrosecondsSinceEpoch`. |
21 | 21 |
22 * `dart:math` | 22 * `dart:math` |
23 * `Random` added a `secure` constructor returning a cryptographically secure | 23 * `Random` added a `secure` constructor returning a cryptographically secure |
24 random generator which reads from the entropy source provided by the | 24 random generator which reads from the entropy source provided by the |
25 embedder for every generated random value. | 25 embedder for every generated random value. |
26 | 26 |
27 * `dart:io` | 27 * `dart:io` |
28 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now | 28 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now |
29 return `ios`. | 29 return `ios`. |
| 30 * Added support for WebSocket compression as standardized in RFC 7692. By |
| 31 default compression is turned on for all WebSocket connections. The |
| 32 optionally named parameter `compression` on the methods `WebSocket.connect`, |
| 33 `WebSocket.fromUpgradedSocket`, and `WebSocketTransformer.upgrade` and on |
| 34 the `WebSocketTransformer` constructor is used to select the compression |
| 35 options. |
30 | 36 |
31 ### Tool changes | 37 ### Tool changes |
32 | 38 |
33 * `dartfmt` | 39 * `dartfmt` |
34 | 40 |
35 * Better line splitting in a variety of cases. | 41 * Better line splitting in a variety of cases. |
36 | 42 |
37 * Other optimizations and bug fixes. | 43 * Other optimizations and bug fixes. |
38 | 44 |
39 * Pub | 45 * Pub |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 they will keep the Dart process alive until they time out. This fixes the | 743 they will keep the Dart process alive until they time out. This fixes the |
738 handling of persistent connections. Previously, the client would shut down | 744 handling of persistent connections. Previously, the client would shut down |
739 immediately after a request. | 745 immediately after a request. |
740 | 746 |
741 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 747 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
742 default. The new `autoCompress` property can be set to `true` to re-enable | 748 default. The new `autoCompress` property can be set to `true` to re-enable |
743 compression. | 749 compression. |
744 | 750 |
745 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 751 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
746 which controls how it resolves `package:` URIs. | 752 which controls how it resolves `package:` URIs. |
OLD | NEW |