OLD | NEW |
1 ## 1.14.0 | 1 ## 1.14.0 |
2 | 2 |
3 ### Core library changes | 3 ### Core library changes |
4 * `dart:math` | 4 * `dart:math` |
5 * `Random` added a `secure` constructor returning a cryptographically secure | 5 * `Random` added a `secure` constructor returning a cryptographically secure |
6 random generator which reads from the entropy source provided by the | 6 random generator which reads from the entropy source provided by the |
7 embedder for every generated random value. | 7 embedder for every generated random value. |
8 | 8 |
9 * `dart:core` | 9 * `dart:core` |
10 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the | 10 * Added `Uri.data` getter for `data:` URIs, and `UriData` class for the |
11 return type. | 11 return type. |
12 | 12 |
13 * `dart:convert` | 13 * `dart:convert` |
14 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. | 14 * `Base64Decoder.convert` now takes optional `start` and `end` parameters. |
15 | 15 |
| 16 * `dart:io` |
| 17 * `Platform` added a `isiOS` getter and `Platform.operatingSystem` may now |
| 18 return `ios`. |
| 19 |
16 ## 1.13.0 | 20 ## 1.13.0 |
17 | 21 |
18 ### Core library changes | 22 ### Core library changes |
19 * `dart:async` | 23 * `dart:async` |
20 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` | 24 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` |
21 with the corresponding new `typedef void ControllerCallback()`. | 25 with the corresponding new `typedef void ControllerCallback()`. |
22 * `StreamController` added a getter for `onCancel` with the corresponding | 26 * `StreamController` added a getter for `onCancel` with the corresponding |
23 new `typedef ControllerCancelCallback()`; | 27 new `typedef ControllerCancelCallback()`; |
24 * `StreamTransformer` instances created with `fromHandlers` with no | 28 * `StreamTransformer` instances created with `fromHandlers` with no |
25 `handleError` callback now forward stack traces along with errors to the | 29 `handleError` callback now forward stack traces along with errors to the |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 they will keep the Dart process alive until they time out. This fixes the | 658 they will keep the Dart process alive until they time out. This fixes the |
655 handling of persistent connections. Previously, the client would shut down | 659 handling of persistent connections. Previously, the client would shut down |
656 immediately after a request. | 660 immediately after a request. |
657 | 661 |
658 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 662 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
659 default. The new `autoCompress` property can be set to `true` to re-enable | 663 default. The new `autoCompress` property can be set to `true` to re-enable |
660 compression. | 664 compression. |
661 | 665 |
662 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 666 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
663 which controls how it resolves `package:` URIs. | 667 which controls how it resolves `package:` URIs. |
OLD | NEW |