OLD | NEW |
1 ## 1.14.0 | 1 ## 1.14.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:convert` | 4 * `dart:convert` |
5 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. | 5 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. |
6 | 6 |
7 * `dart:core` | 7 * `dart:core` |
8 * Added `current` getter to `StackTrace` class. | 8 * Added `current` getter to `StackTrace` class. |
9 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the | 9 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the |
10 return type. | 10 return type. |
11 * Added `growable` parameter to `List.filled` constructor. | 11 * Added `growable` parameter to `List.filled` constructor. |
12 * Added microsecond support to `DateTime`: `DateTime.microsecond`, | 12 * Added microsecond support to `DateTime`: `DateTime.microsecond`, |
13 `DateTime.microsecondsSinceEpoch`, and | 13 `DateTime.microsecondsSinceEpoch`, and |
14 `new DateTime.fromMicrosecondsSinceEpoch`. | 14 `new DateTime.fromMicrosecondsSinceEpoch`. |
15 | 15 |
16 * `dart:math` | 16 * `dart:math` |
17 * `Random` added a `secure` constructor returning a cryptographically secure | 17 * `Random` added a `secure` constructor returning a cryptographically secure |
18 random generator which reads from the entropy source provided by the | 18 random generator which reads from the entropy source provided by the |
19 embedder for every generated random value. | 19 embedder for every generated random value. |
20 | 20 |
21 * `dart:io` | 21 * `dart:io` |
22 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now | 22 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now |
23 return `ios`. | 23 return `ios`. |
24 | 24 |
25 ### Tool changes | 25 ### Tool changes |
26 | 26 |
| 27 * `dartfmt` |
| 28 |
| 29 * Better line splitting in a variety of cases. |
| 30 |
| 31 * Other optimizations and bug fixes. |
| 32 |
27 * Pub | 33 * Pub |
28 | 34 |
29 * **Breaking:** Pub now eagerly emits an error when a pubspec's "name" field | 35 * **Breaking:** Pub now eagerly emits an error when a pubspec's "name" field |
30 is not a valid Dart identifier. Since packages with non-identifier names | 36 is not a valid Dart identifier. Since packages with non-identifier names |
31 were never allowed to be published, and some of them already caused crashes | 37 were never allowed to be published, and some of them already caused crashes |
32 when being written to a `.packages` file, this is unlikely to break many | 38 when being written to a `.packages` file, this is unlikely to break many |
33 people in practice. | 39 people in practice. |
34 | 40 |
35 * `pub serve` now GZIPs the assets it serves to make load times more similar | 41 * `pub serve` now GZIPs the assets it serves to make load times more similar |
36 to real-world use-cases. | 42 to real-world use-cases. |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 they will keep the Dart process alive until they time out. This fixes the | 700 they will keep the Dart process alive until they time out. This fixes the |
695 handling of persistent connections. Previously, the client would shut down | 701 handling of persistent connections. Previously, the client would shut down |
696 immediately after a request. | 702 immediately after a request. |
697 | 703 |
698 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 704 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
699 default. The new `autoCompress` property can be set to `true` to re-enable | 705 default. The new `autoCompress` property can be set to `true` to re-enable |
700 compression. | 706 compression. |
701 | 707 |
702 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 708 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
703 which controls how it resolves `package:` URIs. | 709 which controls how it resolves `package:` URIs. |
OLD | NEW |