OLD | NEW |
1 ## 1.15.0 | 1 ## 1.15.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * Addad `Uri.queryParametersAll` to handle multiple query parameters with | 4 * Added `Uri.queryParametersAll` to handle multiple query parameters with |
5 the same name. | 5 the same name. |
6 | 6 |
7 ## 1.14.0 | 7 ## 1.14.0 |
8 | 8 |
9 ### Core library changes | 9 ### Core library changes |
10 * `dart:async` | 10 * `dart:async` |
11 * Added `Future.any` static method. | 11 * Added `Future.any` static method. |
12 * Added `Stream.fromFutures` constructor. | 12 * Added `Stream.fromFutures` constructor. |
13 | 13 |
14 * `dart:convert` | 14 * `dart:convert` |
15 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. | 15 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. |
16 | 16 |
17 * `dart:core` | 17 * `dart:core` |
18 * Added `current` getter to `StackTrace` class. | 18 * Added `current` getter to `StackTrace` class. |
19 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the | 19 * `Uri` class added support for data URIs |
20 return type. | 20 * Added two new constructors: `dataFromBytes` and `dataFromString`. |
| 21 * Added a `data` getter for `data:` URIs with a new `UriData` class for |
| 22 the return type. |
21 * Added `growable` parameter to `List.filled` constructor. | 23 * Added `growable` parameter to `List.filled` constructor. |
22 * Added microsecond support to `DateTime`: `DateTime.microsecond`, | 24 * Added microsecond support to `DateTime`: `DateTime.microsecond`, |
23 `DateTime.microsecondsSinceEpoch`, and | 25 `DateTime.microsecondsSinceEpoch`, and |
24 `new DateTime.fromMicrosecondsSinceEpoch`. | 26 `new DateTime.fromMicrosecondsSinceEpoch`. |
25 | 27 |
26 * `dart:math` | 28 * `dart:math` |
27 * `Random` added a `secure` constructor returning a cryptographically secure | 29 * `Random` added a `secure` constructor returning a cryptographically secure |
28 random generator which reads from the entropy source provided by the | 30 random generator which reads from the entropy source provided by the |
29 embedder for every generated random value. | 31 embedder for every generated random value. |
30 | 32 |
31 * `dart:io` | 33 * `dart:io` |
32 * `Platform` added an `isIOS` getter and `Platform.operatingSystem` may now | 34 * `Platform` added a static `isIOS` getter and `Platform.operatingSystem` may |
33 return `ios`. | 35 now return `ios`. |
34 * Added support for WebSocket compression as standardized in RFC 7692. By | 36 * `Platform` added a static `packageConfig` getter. |
35 default compression is turned on for all WebSocket connections. The | 37 * Added support for WebSocket compression as standardized in RFC 7692. |
36 optionally named parameter `compression` on the methods `WebSocket.connect`, | 38 * Compression is enabled by default for all WebSocket connections. |
37 `WebSocket.fromUpgradedSocket`, and `WebSocketTransformer.upgrade` and on | 39 * The optionally named parameter `compression` on the methods |
38 the `WebSocketTransformer` constructor is used to select the compression | 40 `WebSocket.connect`, `WebSocket.fromUpgradedSocket`, and |
39 options. | 41 `WebSocketTransformer.upgrade` and the `WebSocketTransformer` |
| 42 constructor can be used to modify or disable compression using the new |
| 43 `CompressionOptions` class. |
| 44 |
| 45 * `dart:isolate` |
| 46 * Added **_experimental_** support for [Package Resolution Configuration]. |
| 47 * Added `packageConfig` and `packageRoot` instance getters to `Isolate`. |
| 48 * Added a `resolvePackageUri` method to `Isolate`. |
| 49 * Added named arguments `packageConfig` and `automaticPackageResolution` to |
| 50 the `Isolate.spawnUri` constructor. |
| 51 |
| 52 [Package Resolution Configuration File]: https://github.com/dart-lang/dart_enhan
cement_proposals/blob/master/Accepted/0005%20-%20Package%20Specification/DEP-pkg
spec.md |
40 | 53 |
41 ### Tool changes | 54 ### Tool changes |
42 | 55 |
43 * `dartfmt` | 56 * `dartfmt` |
44 | 57 |
45 * Better line splitting in a variety of cases. | 58 * Better line splitting in a variety of cases. |
46 | 59 |
47 * Other optimizations and bug fixes. | 60 * Other optimizations and bug fixes. |
48 | 61 |
49 * Pub | 62 * Pub |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 they will keep the Dart process alive until they time out. This fixes the | 760 they will keep the Dart process alive until they time out. This fixes the |
748 handling of persistent connections. Previously, the client would shut down | 761 handling of persistent connections. Previously, the client would shut down |
749 immediately after a request. | 762 immediately after a request. |
750 | 763 |
751 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 764 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
752 default. The new `autoCompress` property can be set to `true` to re-enable | 765 default. The new `autoCompress` property can be set to `true` to re-enable |
753 compression. | 766 compression. |
754 | 767 |
755 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 768 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
756 which controls how it resolves `package:` URIs. | 769 which controls how it resolves `package:` URIs. |
OLD | NEW |