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 * Added `replace` method on `DateTime`. |
15 | 16 |
16 * `dart:math` | 17 * `dart:math` |
17 * `Random` added a `secure` constructor returning a cryptographically secure | 18 * `Random` added a `secure` constructor returning a cryptographically secure |
18 random generator which reads from the entropy source provided by the | 19 random generator which reads from the entropy source provided by the |
19 embedder for every generated random value. | 20 embedder for every generated random value. |
20 | 21 |
21 * `dart:io` | 22 * `dart:io` |
22 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now | 23 * `Platform` added an `isiOS` getter and `Platform.operatingSystem` may now |
23 return `ios`. | 24 return `ios`. |
24 | 25 |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 they will keep the Dart process alive until they time out. This fixes the | 701 they will keep the Dart process alive until they time out. This fixes the |
701 handling of persistent connections. Previously, the client would shut down | 702 handling of persistent connections. Previously, the client would shut down |
702 immediately after a request. | 703 immediately after a request. |
703 | 704 |
704 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 705 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
705 default. The new `autoCompress` property can be set to `true` to re-enable | 706 default. The new `autoCompress` property can be set to `true` to re-enable |
706 compression. | 707 compression. |
707 | 708 |
708 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 709 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
709 which controls how it resolves `package:` URIs. | 710 which controls how it resolves `package:` URIs. |
OLD | NEW |