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:io` |
| 10 * `Platform` added a `isiOS` getter and `Platform.operatingSystem` may now |
| 11 return `ios`. |
| 12 |
9 ## 1.13.0 | 13 ## 1.13.0 |
10 | 14 |
11 ### Core library changes | 15 ### Core library changes |
12 * `dart:async` | 16 * `dart:async` |
13 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` | 17 * `StreamController` added getters for `onListen`, `onPause`, and `onResume` |
14 with the corresponding new `typedef void ControllerCallback()`. | 18 with the corresponding new `typedef void ControllerCallback()`. |
15 * `StreamController` added a getter for `onCancel` with the corresponding | 19 * `StreamController` added a getter for `onCancel` with the corresponding |
16 new `typedef ControllerCancelCallback()`; | 20 new `typedef ControllerCancelCallback()`; |
17 * `StreamTransformer` instances created with `fromHandlers` with no | 21 * `StreamTransformer` instances created with `fromHandlers` with no |
18 `handleError` callback now forward stack traces along with errors to the | 22 `handleError` callback now forward stack traces along with errors to the |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 they will keep the Dart process alive until they time out. This fixes the | 613 they will keep the Dart process alive until they time out. This fixes the |
610 handling of persistent connections. Previously, the client would shut down | 614 handling of persistent connections. Previously, the client would shut down |
611 immediately after a request. | 615 immediately after a request. |
612 | 616 |
613 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 617 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
614 default. The new `autoCompress` property can be set to `true` to re-enable | 618 default. The new `autoCompress` property can be set to `true` to re-enable |
615 compression. | 619 compression. |
616 | 620 |
617 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 621 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
618 which controls how it resolves `package:` URIs. | 622 which controls how it resolves `package:` URIs. |
OLD | NEW |